class Object

Defined at line 32 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

Public Methods

void Object ()

Defined at line 34 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

void Object (zx_obj_type_t type)

Defined at line 35 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t get_child (zx_handle_t , uint64_t , zx_rights_t , zx_handle_t * )

For each object-related syscall we stub out a fake-specific version that

can be implemented within the derived fake objects. syscall symbols defined

in the fake-object source will route to the fake impl or real impl

depending on the handle's validity.

Defined at line 40 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t get_info (zx_handle_t , uint32_t , void * , size_t , size_t * , size_t * )

Defined at line 45 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t get_property (zx_handle_t , uint32_t , void * , size_t )

Defined at line 51 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t set_profile (zx_handle_t , zx_handle_t , uint32_t )

Defined at line 56 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t set_property (zx_handle_t , uint32_t , const void * , size_t )

Defined at line 61 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t signal (zx_handle_t , uint32_t , uint32_t )

Defined at line 66 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t signal_peer (zx_handle_t , uint32_t , uint32_t )

Defined at line 71 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t wait_one (zx_handle_t , zx_signals_t , zx_time_t , zx_signals_t * )

Defined at line 76 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_status_t wait_async (zx_handle_t , zx_handle_t , uint64_t , zx_signals_t , uint32_t )

|zx_object_wait_many| is omitted because we would need to define what it means to wait on

both real objects and fake objects at the same time due to it taking a handle table parameter.

Defined at line 84 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

void ~Object ()

Defined at line 90 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_koid_t get_koid ()

For the purposes of tests we only need to ensure the koid is unique to the object.

Defined at line 93 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h

zx_obj_type_t type ()

Defined at line 94 of file ../../src/devices/testing/fake-object/include/lib/fake-object/object.h