Searched refs:SecondaryCompanionService (Results 1 – 4 of 4) sorted by relevance
24 import android.companion.cts.common.SecondaryCompanionService67 SecondaryCompanionService.isBound || in test_noService()71 SecondaryCompanionService.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()329 val snapshotSecondary = HashSet(SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified()347 assertContentEquals(snapshotSecondary, SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified()
261 class SecondaryCompanionService : CompanionService<SecondaryCompanionService>(Companion) { class262 companion object : InstanceHolder<SecondaryCompanionService>()
26 import android.companion.cts.common.SecondaryCompanionService70 assertEmpty(SecondaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault()164 assertEmpty(SecondaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()