Searched refs:otherDevice (Results 1 – 4 of 4) sorted by relevance
199 CachedBluetoothDevice otherDevice = mock(CachedBluetoothDevice.class); in compareTo_sameType_usesDeviceCompareTo() local201 otherDevice); in compareTo_sameType_usesDeviceCompareTo()202 when(mCachedDevice.compareTo(otherDevice)).thenReturn(1); in compareTo_sameType_usesDeviceCompareTo()203 when(otherDevice.compareTo(mCachedDevice)).thenReturn(-1); in compareTo_sameType_usesDeviceCompareTo()
764 BluetoothDevice otherDevice = mAdapter.getRemoteDevice("05:04:03:02:01:00"); in testSetSilenceMode() local766 connectDevice(otherDevice); in testSetSilenceMode()786 Assert.assertTrue(mA2dpService.setSilenceMode(otherDevice, true)); in testSetSilenceMode()787 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, true); in testSetSilenceMode()791 Assert.assertTrue(mA2dpService.setSilenceMode(otherDevice, false)); in testSetSilenceMode()792 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, false); in testSetSilenceMode()
853 BluetoothDevice otherDevice = TestUtils.getTestDevice(mAdapter, 1); in testSetSilenceMode() local868 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, true)); in testSetSilenceMode()872 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, false)); in testSetSilenceMode()
505 ConnectedDevice otherDevice = connectedDevices.get(1); in registerDeviceCallback_doesNotSendMissedMessageForDifferentDevice() local508 mConnectedDeviceManager.onMessageReceived(otherDevice.getDeviceId(), message); in registerDeviceCallback_doesNotSendMissedMessageForDifferentDevice()