Home
last modified time | relevance | path

Searched refs:DeviceEvent (Results 1 – 6 of 6) sorted by relevance

/test/testfwk/xdevice/src/xdevice/_core/environment/
Ddevice_state.py66 class DeviceEvent(Enum): class
89 if event == DeviceEvent.CONNECTED_ONLINE \
90 or event == DeviceEvent.STATE_CHANGE_ONLINE:
95 elif event == DeviceEvent.CONNECTED_OFFLINE \
96 or event == DeviceEvent.STATE_CHANGE_OFFLINE \
97 or event == DeviceEvent.DISCONNECTED:
102 elif event == DeviceEvent.ALLOCATE_REQUEST:
104 elif event == DeviceEvent.FREE_AVAILABLE:
106 elif event == DeviceEvent.FREE_UNAVAILABLE:
108 elif event == DeviceEvent.AVAILABLE_CHECK_IGNORED:
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/
Dmanager_device.py33 from xdevice import DeviceEvent
158 DeviceEvent.ALLOCATE_REQUEST)
173 self.handle_device_event(device, DeviceEvent.FREE_AVAILABLE)
175 self.handle_device_event(device, DeviceEvent.FREE_UNAVAILABLE)
278 event = DeviceEvent.AVAILABLE_CHECK_IGNORED
280 event = DeviceEvent.AVAILABLE_CHECK_PASSED
352 DeviceEvent.STATE_CHANGE_ONLINE)
355 DeviceEvent.STATE_CHANGE_OFFLINE)
371 DeviceEvent.CONNECTED_ONLINE)
374 DeviceEvent.CONNECTED_OFFLINE)
[all …]
/test/xts/hats/hdf/usb/UsbSubscriberTest/
DUsbSubscriberTest.cpp21 int32_t UsbSubscriberTest::DeviceEvent(const USBDeviceInfo &info) in DeviceEvent() function in OHOS::USB::UsbSubscriberTest
DUsbSubscriberTest.h37 int32_t DeviceEvent(const USBDeviceInfo &info) override;
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/src/
Dusb_impl_mock.cpp110 auto ret = subscriber_->DeviceEvent(info); in SubscriberDeviceEvent()
/test/testfwk/xdevice/src/xdevice/
D__init__.py129 from _core.environment.device_state import DeviceEvent