Home
last modified time | relevance | path

Searched refs:assertDevicePresenceEvent (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/companion/core/src/android/companion/cts/core/
DObservingDeviceUuidEventTest.kt32 import android.companion.cts.common.assertDevicePresenceEvent
120 ?.let { assertDevicePresenceEvent(EVENT_BT_CONNECTED, it) } in test_startObservingDeviceUuidPresence_singleDevice()
127 ?.let { assertDevicePresenceEvent(EVENT_BT_DISCONNECTED, it) } in test_startObservingDeviceUuidPresence_singleDevice()
142 ?.let { assertDevicePresenceEvent(EVENT_BT_CONNECTED, it) } in test_startObservingDeviceUuidPresence_multiDevices()
154 ?.let { assertDevicePresenceEvent(EVENT_BT_CONNECTED, it) } in test_startObservingDeviceUuidPresence_multiDevices()
203 ?.let { assertDevicePresenceEvent(EVENT_BLE_APPEARED, it) } in test_observingDevicePresence_bothAssociationAndUuid()
211 ?.let { assertDevicePresenceEvent(EVENT_BT_CONNECTED, it) } in test_observingDevicePresence_bothAssociationAndUuid()
DDeviceEventTest.kt10 import android.companion.cts.common.assertDevicePresenceEvent
109 ?.let { assertDevicePresenceEvent(EVENT_BLE_APPEARED, it) } in test_both_bt_ble_device_event()
114 ?.let { assertDevicePresenceEvent(EVENT_BT_CONNECTED, it) } in test_both_bt_ble_device_event()
119 ?.let { assertDevicePresenceEvent(EVENT_BT_DISCONNECTED, it) } in test_both_bt_ble_device_event()
124 ?.let { assertDevicePresenceEvent(EVENT_BLE_DISAPPEARED, it) } in test_both_bt_ble_device_event()
DSelfPresenceReportingTest.kt27 import android.companion.cts.common.assertDevicePresenceEvent
75 ?.let { assertDevicePresenceEvent(EVENT_SELF_MANAGED_APPEARED, it) } in test_selfReporting_singleDevice_multipleServices()
86 ?.let { assertDevicePresenceEvent(EVENT_SELF_MANAGED_DISAPPEARED, it) } in test_selfReporting_singleDevice_multipleServices()
DDeviceEventDeviceLockedTest.kt26 import android.companion.cts.common.assertDevicePresenceEvent
85 ?.let { assertDevicePresenceEvent(DevicePresenceEvent.EVENT_BLE_APPEARED, it) } in test_ble_event_on_device_locked()
125 ?.let { assertDevicePresenceEvent(DevicePresenceEvent.EVENT_BT_CONNECTED, it) } in test_bt_event_on_device_locked()
201 ?.let { assertDevicePresenceEvent(DevicePresenceEvent.EVENT_BT_CONNECTED, it) } in test_uuid_event_on_device_locked()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt352 fun assertDevicePresenceEvent(expected: Int, actual: Int) { in assertDevicePresenceEvent() method