Home
last modified time | relevance | path

Searched refs:SecondaryCompanionService (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/companion/noservices/src/android/companion/cts/noservices/
DNoCompanionDeviceServiceTest.kt24 import android.companion.cts.common.SecondaryCompanionService
67 SecondaryCompanionService.isBound || in test_noService()
71 SecondaryCompanionService.connectedDevices.isNotEmpty() || in test_noService()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt273 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()
329 val snapshotSecondary = HashSet(SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified()
347 assertContentEquals(snapshotSecondary, SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified()
DCompanionService.kt261 class SecondaryCompanionService : CompanionService<SecondaryCompanionService>(Companion) { class
262 companion object : InstanceHolder<SecondaryCompanionService>()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DObservingDevicePresenceTest.kt26 import android.companion.cts.common.SecondaryCompanionService
70 assertEmpty(SecondaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault()
164 assertEmpty(SecondaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()