Searched refs:mDevice3 (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDialogHandlerTest.java | 117 @Mock private BluetoothDevice mDevice3; field in AudioSharingDialogHandlerTest 165 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in setup() 175 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in setup() 253 ImmutableList<BluetoothDevice> deviceList = ImmutableList.of(mDevice1, mDevice3); in handleUserTriggeredLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog() 296 ImmutableList<BluetoothDevice> deviceList = ImmutableList.of(mDevice1, mDevice3); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog() 301 when(mAssistant.getAllSources(mDevice3)).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog() 341 ImmutableList<BluetoothDevice> deviceList = ImmutableList.of(mDevice1, mDevice3, mDevice4); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog() 346 when(mAssistant.getAllSources(mDevice3)).thenReturn(ImmutableList.of(mState)); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog() 380 verify(mAssistant).removeSource(mDevice3, TEST_SOURCE_ID); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog() 452 ImmutableList<BluetoothDevice> deviceList = ImmutableList.of(mDevice1, mDevice3); in handleLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog() [all …]
|
D | AudioSharingDisconnectDialogFragmentTest.java | 98 @Mock private BluetoothDevice mDevice3; field in AudioSharingDisconnectDialogFragmentTest 118 when(mDevice3.getAnonymizedAddress()).thenReturn(TEST_ADDRESS3); in setUp() 123 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in setUp()
|
D | AudioSharingCallAudioPreferenceControllerTest.java | 130 @Mock private BluetoothDevice mDevice3; field in AudioSharingCallAudioPreferenceControllerTest 366 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in displayPreference_showCorrectSummary() 370 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in displayPreference_showCorrectSummary() 374 .thenReturn(ImmutableList.of(mDevice1, mDevice2, mDevice3)); in displayPreference_showCorrectSummary()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkServiceTest.java | 69 private BluetoothDevice mDevice3; field in A2dpSinkServiceTest 89 mDevice3 = mAdapter.getRemoteDevice("33:33:33:33:33:33"); in setUp() 94 new BluetoothDevice[] {mDevice1, mDevice2, mDevice3, mDevice4, mDevice5, mDevice6}; in setUp() 192 mockDevicePriority(mDevice3, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in testConnectMultipleDevices() 199 setupDeviceConnection(mDevice3); in testConnectMultipleDevices() 348 expected.add(mDevice3); in testGetDevicesMatchingConnectionStatesDisconnected()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 99 private BluetoothDevice mDevice3; field in HapClientTest 140 mDevice3 = TestUtils.getTestDevice(mAdapter, 2); in setUp() 141 when(mNativeInterface.getDevice(getByteAddress(mDevice3))).thenReturn(mDevice3); in setUp() 181 doReturn(Arrays.asList(mDevice3)).when(mCsipService).getGroupDevicesOrdered(0x03); in setUp() 182 doReturn(groups3).when(mCsipService).getGroupUuidMapByDevice(mDevice3); in setUp() 474 testConnectingDevice(order, mDevice3); in testGetHapGroupCoordinatedOps() 477 mNativeInterface.onFeaturesUpdate(getByteAddress(mDevice3), 0x04); in testGetHapGroupCoordinatedOps() 487 Assert.assertEquals(3, mService.getHapGroup(mDevice3)); in testGetHapGroupCoordinatedOps() 525 testConnectingDevice(order, mDevice3); in testGroupSelectActivePresetNative() 528 mNativeInterface.onFeaturesUpdate(getByteAddress(mDevice3), flags); in testGroupSelectActivePresetNative() [all …]
|