Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/storage/
Ddevice_test.cc56 …Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::LEGACY_KEY_AD… in TEST() local
57 ASSERT_EQ(device2, device3); in TEST()
58 ASSERT_TRUE(device3.Exists()); in TEST()
59 ASSERT_THAT(device3.GetName(), Optional(StrEq("hello"))); in TEST()
81 …Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::CLASSIC_ADDRE… in TEST() local
82 ASSERT_EQ(device2, device3); in TEST()
83 ASSERT_TRUE(device3.Exists()); in TEST()
84 ASSERT_THAT(device3.GetName(), Optional(StrEq("hello"))); in TEST()
209 …Device device3(&config_alt, &memory_only_config_alt, address, Device::ConfigKeyAddressType::LEGACY… in TEST() local
210 ASSERT_NE(device1, device3); in TEST()
Dclassic_device_test.cc64 ClassicDevice device3(&config, &memory_only_config, address3.ToString()); in TEST() local
65 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
227 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
230 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
254 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
257 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
260 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
263 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
293 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
296 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java90 private BluetoothDevice device3; field in BluetoothDeviceManagerTest
102 device3 = makeBluetoothDevice("00:00:00:00:00:03"); in setUp()
207 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testMultiDeviceConnectAndDisconnect()
214 buildConnectionActionIntent(BluetoothHeadset.STATE_DISCONNECTED, device3, in testMultiDeviceConnectAndDisconnect()
305 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testHeadsetServiceDisconnect()
315 verify(mRouteManager).onDeviceLost(device3.getAddress()); in testHeadsetServiceDisconnect()
328 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testHearingAidServiceDisconnect()
339 verify(mRouteManager, never()).onDeviceLost(device3.getAddress()); in testHearingAidServiceDisconnect()
351 buildConnectionActionIntent(BluetoothHeadset.STATE_CONNECTED, device3, in testLeAudioServiceDisconnect()
362 verify(mRouteManager, never()).onDeviceLost(device3.getAddress()); in testLeAudioServiceDisconnect()
[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/bass_client/
DBassClientServiceTest.java2271 final BluetoothDevice device3 = in testSelectSource_queueAndRemoveAfterMaxLimit() local
2374 onScanResult(device3, broadcastId3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2378 onSyncEstablished(device3, handle3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2387 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2412 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2436 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2457 assertThat(mBassClientService.getDeviceForSyncHandle(handle3)).isEqualTo(device3); in testSelectSource_queueAndRemoveAfterMaxLimit()
2478 final BluetoothDevice device3 = in testAddSourceToUnsyncedSource_causesSyncBeforeAddingSource() local
2506 onScanResult(device3, broadcastId3); in testAddSourceToUnsyncedSource_causesSyncBeforeAddingSource()
2507 onSyncEstablished(device3, handle3); in testAddSourceToUnsyncedSource_causesSyncBeforeAddingSource()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java1788 BluetoothDevice device3 = TestUtils.getTestDevice(mAdapter, 2); in testPhoneStateChange_SynchronousCallStateChanged() local
1789 assertThat(device3).isNotNull(); in testPhoneStateChange_SynchronousCallStateChanged()
1790 connectTestDevice(device3); in testPhoneStateChange_SynchronousCallStateChanged()