Home
last modified time | relevance | path

Searched refs:device3 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/gd/storage/
Ddevice_test.cc58 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()
Dclassic_device_test.cc65 ClassicDevice device3(&config, &memory_only_config, address3.ToString()); in TEST() local
66 ASSERT_NE(device1, device3); in TEST()
Dle_device_test.cc64 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/
Dmetrics_collector_test.cc102 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/
DUtilsTest.java191 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/
DBluetoothDeviceManagerTest.java101 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/
DBassClientServiceTest.java893 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/
DMediaDeviceUpdateWorkerTest.java154 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/
DHeadsetServiceAndStateMachineTest.java1733 BluetoothDevice device3 = getTestDevice(2); in testPhoneStateChange_SynchronousCallStateChanged() local
1734 assertThat(device3).isNotNull(); in testPhoneStateChange_SynchronousCallStateChanged()
1735 connectTestDevice(device3); in testPhoneStateChange_SynchronousCallStateChanged()