Searched refs:PrimaryCompanionService (Results 1 – 8 of 8) sorted by relevance
9 import android.companion.cts.common.PrimaryCompanionService47 PrimaryCompanionService.waitAssociationToAppear(associationId) in test_ble_device_event()51 actual = PrimaryCompanionService.getCurrentEvent() in test_ble_device_event()55 PrimaryCompanionService.waitAssociationToDisappear(associationId) in test_ble_device_event()58 actual = PrimaryCompanionService.getCurrentEvent() in test_ble_device_event()61 PrimaryCompanionService.forgetDevicePresence(associationId) in test_ble_device_event()77 PrimaryCompanionService.waitAssociationToBtConnect(idA) in test_classic_bt_device_event()80 actual = PrimaryCompanionService.getCurrentEvent() in test_classic_bt_device_event()84 PrimaryCompanionService.waitAssociationToBtDisconnect(idA) in test_classic_bt_device_event()85 PrimaryCompanionService.waitAssociationToDisappear(idA) in test_classic_bt_device_event()[all …]
29 import android.companion.cts.common.PrimaryCompanionService66 PrimaryCompanionService.clearDeviceUuidPresence() in tearDown()118 PrimaryCompanionService.waitDeviceUuidConnect(UUID_A) in test_startObservingDeviceUuidPresence_singleDevice()119 PrimaryCompanionService.getCurrentEvent() in test_startObservingDeviceUuidPresence_singleDevice()125 PrimaryCompanionService.waitDeviceUuidDisconnect(UUID_A) in test_startObservingDeviceUuidPresence_singleDevice()126 PrimaryCompanionService.getCurrentEvent() in test_startObservingDeviceUuidPresence_singleDevice()140 PrimaryCompanionService.waitDeviceUuidConnect(UUID_A) in test_startObservingDeviceUuidPresence_multiDevices()141 PrimaryCompanionService.getCurrentEvent() in test_startObservingDeviceUuidPresence_multiDevices()145 actual = PrimaryCompanionService.connectedUuidBondDevices, in test_startObservingDeviceUuidPresence_multiDevices()152 PrimaryCompanionService.waitDeviceUuidConnect(UUID_B) in test_startObservingDeviceUuidPresence_multiDevices()[all …]
24 import android.companion.cts.common.PrimaryCompanionService51 PrimaryCompanionService.clearConnectedDevices() in tearDown()52 PrimaryCompanionService.clearDeviceUuidPresence() in tearDown()82 PrimaryCompanionService.waitAssociationToAppear(associationId) in test_ble_event_on_device_locked()84 PrimaryCompanionService.getCurrentEvent() in test_ble_event_on_device_locked()122 PrimaryCompanionService.waitAssociationToBtConnect(associationId) in test_bt_event_on_device_locked()124 PrimaryCompanionService.getCurrentEvent() in test_bt_event_on_device_locked()169 PrimaryCompanionService.waitAssociationToAppear(associationId) in test_bt_ble_event_on_device_locked()170 PrimaryCompanionService.waitAssociationToBtConnect(associationId) in test_bt_ble_event_on_device_locked()197 PrimaryCompanionService.waitDeviceUuidConnect(UUID_A) in test_uuid_event_on_device_locked()[all …]
26 import android.companion.cts.common.PrimaryCompanionService74 PrimaryCompanionService.getCurrentEvent() in test_selfReporting_singleDevice_multipleServices()85 PrimaryCompanionService.getCurrentEvent() in test_selfReporting_singleDevice_multipleServices()108 actual = PrimaryCompanionService.associationIdsForConnectedDevices, in test_selfReporting_multipleDevices_multipleServices()119 actual = PrimaryCompanionService.associationIdsForConnectedDevices, in test_selfReporting_multipleDevices_multipleServices()211 PrimaryCompanionService.waitAssociationToAppear(associationId) in test_notifyAppears_from_onAssociationCreated()
25 import android.companion.cts.common.PrimaryCompanionService69 assertEmpty(PrimaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault()163 assertEmpty(PrimaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()231 actual = PrimaryCompanionService.associationIdsForConnectedDevices, in test_startObservingDevicePresence_multipleDevices()244 actual = PrimaryCompanionService.associationIdsForConnectedDevices, in test_startObservingDevicePresence_multipleDevices()306 PrimaryCompanionService.forgetDevicePresence(idA) in test_stopObservingDevicePresence_unbindsApplication()315 PrimaryCompanionService.forgetDevicePresence(idB) in test_stopObservingDevicePresence_unbindsApplication()
23 import android.companion.cts.common.PrimaryCompanionService66 val isBound = PrimaryCompanionService.isBound || in test_noService()70 val receivedCallback = PrimaryCompanionService.connectedDevices.isNotEmpty() || in test_noService()
273 PrimaryCompanionService.isBound && SecondaryCompanionService.isBound in assertValidCompanionDeviceServicesBind()284 !PrimaryCompanionService.isBound || !SecondaryCompanionService.isBound in assertValidCompanionDeviceServicesRemainBound()295 !PrimaryCompanionService.isBound && !SecondaryCompanionService.isBound in assertValidCompanionDeviceServicesUnbind()306 PrimaryCompanionService.isBound || SecondaryCompanionService.isBound in assertValidCompanionDeviceServicesRemainUnbound()335 PrimaryCompanionService.waitAssociationToAppear(associationId) in assertOnlyPrimaryCompanionDeviceServiceNotified()336 assertContains(PrimaryCompanionService.associationIdsForConnectedDevices, associationId) in assertOnlyPrimaryCompanionDeviceServiceNotified()338 PrimaryCompanionService.waitAssociationToDisappear(associationId) in assertOnlyPrimaryCompanionDeviceServiceNotified()340 PrimaryCompanionService.associationIdsForConnectedDevices.contains(associationId) in assertOnlyPrimaryCompanionDeviceServiceNotified()
257 class PrimaryCompanionService : CompanionService<PrimaryCompanionService>(Companion) { class258 companion object : InstanceHolder<PrimaryCompanionService>()