/packages/modules/Bluetooth/system/gd/storage/ |
D | device_test.cc | 58 Device device3(&config, &memory_only_config, address3, in TEST() local 60 ASSERT_EQ(device2, device3); in TEST() 61 ASSERT_TRUE(device3.Exists()); in TEST() 62 ASSERT_THAT(device3.GetName(), Optional(StrEq("hello"))); in TEST() 86 Device device3(&config, &memory_only_config, address3, in TEST() local 88 ASSERT_EQ(device2, device3); in TEST() 89 ASSERT_TRUE(device3.Exists()); in TEST() 90 ASSERT_THAT(device3.GetName(), Optional(StrEq("hello"))); in TEST() 223 Device device3(&config_alt, &memory_only_config_alt, address, in TEST() local 225 ASSERT_NE(device1, device3); in TEST()
|
D | classic_device_test.cc | 65 ClassicDevice device3(&config, &memory_only_config, address3.ToString()); in TEST() local 66 ASSERT_NE(device1, device3); in TEST()
|
D | le_device_test.cc | 64 LeDevice device3(&config, &memory_only_config, address3.ToString()); in TEST() local 65 ASSERT_NE(device1, device3); in TEST()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | metrics_collector_test.cc | 102 const RawAddress device3 = RawAddress({0x11, 0x22, 0x33, 0x44, 0x55, 0x68}); variable 226 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 229 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 253 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 256 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 259 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 262 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 292 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F() 295 collector->OnConnectionStateChanged(group_id2, device3, in TEST_F()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | UtilsTest.java | 191 BluetoothDevice device3 = mock(BluetoothDevice.class); in enableLeAudioProfile_multipleDeviceInGroup() local 194 when(cachedDevice3.getDevice()).thenReturn(device3); in enableLeAudioProfile_multipleDeviceInGroup() 213 verify(mLeAudioProfile, never()).setEnabled(eq(device3), anyBoolean()); in enableLeAudioProfile_multipleDeviceInGroup() 214 verify(mA2dpProfile, never()).setEnabled(eq(device3), anyBoolean()); in enableLeAudioProfile_multipleDeviceInGroup() 215 verify(mHeadsetProfile, never()).setEnabled(eq(device3), anyBoolean()); in enableLeAudioProfile_multipleDeviceInGroup() 263 BluetoothDevice device3 = mock(BluetoothDevice.class); in disableLeAudioProfile_multipleDeviceInGroup() local 266 when(cachedDevice3.getDevice()).thenReturn(device3); in disableLeAudioProfile_multipleDeviceInGroup() 285 verify(mLeAudioProfile, never()).setEnabled(eq(device3), anyBoolean()); in disableLeAudioProfile_multipleDeviceInGroup() 286 verify(mA2dpProfile, never()).setEnabled(eq(device3), anyBoolean()); in disableLeAudioProfile_multipleDeviceInGroup() 287 verify(mHeadsetProfile, never()).setEnabled(eq(device3), anyBoolean()); in disableLeAudioProfile_multipleDeviceInGroup()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 101 private BluetoothDevice device3; field in BluetoothDeviceManagerTest 113 device3 = makeBluetoothDevice("00:00:00:00:00:03"); in setUp() 220 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testMultiDeviceConnectAndDisconnect() 227 buildConnectionActionIntent(BluetoothHeadset.STATE_DISCONNECTED, device3, in testMultiDeviceConnectAndDisconnect() 350 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testHeadsetServiceDisconnect() 360 verify(mRouteManager).onDeviceLost(device3.getAddress()); in testHeadsetServiceDisconnect() 373 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testHearingAidServiceDisconnect() 384 verify(mRouteManager, never()).onDeviceLost(device3.getAddress()); in testHearingAidServiceDisconnect() 396 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testLeAudioServiceDisconnect() 407 verify(mRouteManager, never()).onDeviceLost(device3.getAddress()); in testLeAudioServiceDisconnect() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientServiceTest.java | 893 final BluetoothDevice device3 = in testNotRemovingCachedBroadcastOnFailEstablishWithoutScanning() local 921 onScanResult(device3, broadcastId3); in testNotRemovingCachedBroadcastOnFailEstablishWithoutScanning() 922 onSyncEstablished(device3, handle3); in testNotRemovingCachedBroadcastOnFailEstablishWithoutScanning() 2796 final BluetoothDevice device3 = in testSelectSource_queueAndRemoveAfterMaxLimit() local 2889 onScanResult(device3, broadcastId3); in testSelectSource_queueAndRemoveAfterMaxLimit() 2894 onSyncEstablished(device3, handle3); in testSelectSource_queueAndRemoveAfterMaxLimit() 2900 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit() 2924 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit() 2949 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit() 2968 expect.that(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaDeviceUpdateWorkerTest.java | 154 final MediaDevice device3 = mock(MediaDevice.class); in onDeviceListUpdate_add1DeviceToDeviceList_shouldBeEqual() local 158 newDevices.add(device3); in onDeviceListUpdate_add1DeviceToDeviceList_shouldBeEqual()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 1733 BluetoothDevice device3 = getTestDevice(2); in testPhoneStateChange_SynchronousCallStateChanged() local 1734 assertThat(device3).isNotNull(); in testPhoneStateChange_SynchronousCallStateChanged() 1735 connectTestDevice(device3); in testPhoneStateChange_SynchronousCallStateChanged()
|