/cts/tests/tests/companion/noservices/src/android/companion/cts/noservices/ |
D | NoCompanionDeviceServiceTest.kt | 70 val receivedCallback = PrimaryCompanionService.connectedDevices.isNotEmpty() || in test_noService() 71 SecondaryCompanionService.connectedDevices.isNotEmpty() || in test_noService() 72 MissingPermissionCompanionService.connectedDevices.isNotEmpty() || in test_noService() 73 MissingIntentFilterActionCompanionService.connectedDevices.isNotEmpty() in test_noService()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | CompanionService.kt | 39 if (!isBound && !connectedDevices.isEmpty()) { 47 val connectedDevices: Collection<AssociationInfo> constant in android.companion.cts.common.CompanionService 158 val connectedDevices: Collection<AssociationInfo> constant in android.companion.cts.common.InstanceHolder 159 get() = instance?.connectedDevices ?: emptySet() 162 get() = instance?.connectedDevices ?: emptySet()
|
D | TestBase.kt | 329 val snapshotSecondary = HashSet(SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified() 330 val snapshotUnauthorized = HashSet(MissingPermissionCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified() 331 val snapshotInvalid = HashSet(MissingIntentFilterActionCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified() 347 assertContentEquals(snapshotSecondary, SecondaryCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified() 348 assertContentEquals(snapshotUnauthorized, MissingPermissionCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified() 349 assertContentEquals(snapshotInvalid, MissingIntentFilterActionCompanionService.connectedDevices) in assertOnlyPrimaryCompanionDeviceServiceNotified()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeBroadcastAssistantTest.java | 509 List<BluetoothDevice> connectedDevices = in getConnectedDevices() local 511 assertNotNull(connectedDevices); in getConnectedDevices() 512 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 517 connectedDevices = mBluetoothLeBroadcastAssistant.getConnectedDevices(); in getConnectedDevices() 518 assertNotNull(connectedDevices); in getConnectedDevices() 519 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 530 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 532 assertNotNull(connectedDevices); in getDevicesMatchingConnectionStates() 533 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates() 542 connectedDevices = in getDevicesMatchingConnectionStates() [all …]
|
D | BluetoothPbapTest.java | 136 List<BluetoothDevice> connectedDevices = mBluetoothPbap.getConnectedDevices(); in getConnectedDevices() local 137 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 168 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 170 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothPbapClientTest.java | 133 List<BluetoothDevice> connectedDevices = mBluetoothPbapClient.getConnectedDevices(); in getConnectedDevices() local 134 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 184 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 186 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothPanTest.java | 132 List<BluetoothDevice> connectedDevices = mBluetoothPan.getConnectedDevices(); in getConnectedDevices() local 133 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 145 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 147 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothHidDeviceTest.java | 148 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 150 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates() 207 List<BluetoothDevice> connectedDevices = mBluetoothHidDevice.getConnectedDevices(); in getConnectedDevices() local 208 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices()
|
D | BluetoothMapTest.java | 136 List<BluetoothDevice> connectedDevices = mBluetoothMap.getConnectedDevices(); in getConnectedDevices() local 137 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 187 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 189 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothHeadsetClientTest.java | 134 List<BluetoothDevice> connectedDevices = mBluetoothHeadsetClient.getConnectedDevices(); in getConnectedDevices() local 135 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 147 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 149 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothMapClientTest.java | 148 List<BluetoothDevice> connectedDevices = mBluetoothMapClient.getConnectedDevices(); in getConnectedDevices() local 149 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 199 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 201 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothHidHostTest.java | 149 List<BluetoothDevice> connectedDevices = mHidHost.getConnectedDevices(); in getConnectedDevices() local 150 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 162 List<BluetoothDevice> connectedDevices = mHidHost.getDevicesMatchingConnectionStates(null); in getDevicesMatchingConnectionStates() local 163 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothCsipSetCoordinatorTest.java | 197 List<BluetoothDevice> connectedDevices = mBluetoothCsipSetCoordinator.getConnectedDevices(); in getConnectedDevices() local 198 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 210 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 212 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothHapClientTest.java | 118 List<BluetoothDevice> connectedDevices = mService.getConnectedDevices(); in getConnectedDevices() local 119 assertThat(connectedDevices.isEmpty()).isTrue(); in getConnectedDevices() 128 List<BluetoothDevice> connectedDevices = mService.getDevicesMatchingConnectionStates(null); in getDevicesMatchingConnectionStates() local 129 assertThat(connectedDevices.isEmpty()).isTrue(); in getDevicesMatchingConnectionStates()
|
D | BluetoothLeAudioTest.java | 194 List<BluetoothDevice> connectedDevices = mBluetoothLeAudio.getConnectedDevices(); in getConnectedDevices() local 195 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 207 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 209 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
D | BluetoothVolumeControlTest.java | 223 List<BluetoothDevice> connectedDevices = mBluetoothVolumeControl.getConnectedDevices(); in getConnectedDevices() local 224 assertTrue(connectedDevices.isEmpty()); in getConnectedDevices() 236 List<BluetoothDevice> connectedDevices = in getDevicesMatchingConnectionStates() local 238 assertTrue(connectedDevices.isEmpty()); in getDevicesMatchingConnectionStates()
|
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | ObservingDevicePresenceTest.kt | 69 assertEmpty(PrimaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault() 70 assertEmpty(SecondaryCompanionService.connectedDevices) in test_observingDevicePresence_isOffByDefault() 163 assertEmpty(PrimaryCompanionService.connectedDevices) in test_stopObservingDevicePresence() 164 assertEmpty(SecondaryCompanionService.connectedDevices) in test_stopObservingDevicePresence()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | HidDeviceActivity.java | 216 List<BluetoothDevice> connectedDevices = mBluetoothHidDevice.getConnectedDevices(); in getConnectedDevice() local 217 if (connectedDevices.size() == 0) { in getConnectedDevice()
|