/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothProfileDeviceManagerTest.java | 222 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); in makeDeviceList() 482 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SINGLE_DEVICE_LIST.get(0)); in testAddDeviceAlreadyInList_priorityListUnchanged() 504 mProfileDeviceManager.removeDevice(mBluetoothAdapter.getRemoteDevice("DE:AD:BE:EF:00:00")); in testRemoveDeviceFromEmptyList_priorityListUnchanged() 521 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SINGLE_DEVICE_LIST.get(0)); in testRemoveDeviceFront_deviceNoLongerInPriorityList() 542 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SMALL_DEVICE_LIST.get(1)); in testRemoveDeviceMiddle_deviceNoLongerInPriorityList() 562 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SMALL_DEVICE_LIST.get(2)); in testRemoveDeviceEnd_deviceNoLongerInPriorityList() 582 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice("10:20:30:40:50:60"); in testRemoveDeviceNotInList_priorityListUnchanged() 624 BluetoothDevice deviceNotPresent = mBluetoothAdapter.getRemoteDevice("10:20:30:40:50:60"); in testGetConnectionPriorityDeviceNotInList_negativeOneReturned() 655 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SMALL_DEVICE_LIST.get(1)); in testSetConnectionPriority_listOrderedCorrectly() 716 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice("10:20:30:40:50:60"); in testSetConnectionPriorityNewDevice_listOrderedCorrectly() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 343 BluetoothDevice device = mAdapter.getRemoteDevice(address); in onConnectionStateChanged() 370 BluetoothDevice device = mAdapter.getRemoteDevice(address); in getRcPsm() 389 BluetoothDevice device = mAdapter.getRemoteDevice(address); in handleRegisterNotificationAbsVol() 402 BluetoothDevice device = mAdapter.getRemoteDevice(address); in handleSetAbsVolume() 417 BluetoothDevice device = mAdapter.getRemoteDevice(address); in onTrackChanged() 443 BluetoothDevice device = mAdapter.getRemoteDevice(address); in onPlayPositionChanged() 477 BluetoothDevice device = mAdapter.getRemoteDevice(address); in onPlayStatusChanged() 491 BluetoothDevice device = mAdapter.getRemoteDevice(address); in handlePlayerAppSetting() 507 BluetoothDevice device = mAdapter.getRemoteDevice(address); in onPlayerAppSettingChanged() 523 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onAvailablePlayerChanged() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpNativeInterface.java | 192 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in setActiveDevice() 199 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in deviceConnected() 211 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in deviceDisconnected()
|
D | AvrcpVolumeManager.java | 111 BluetoothDevice d = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(key); in AvrcpVolumeManager() 281 .getRemoteDevice(entry.getKey()); in dump()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceControllerTest.java | 134 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 138 mSecondBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp() 142 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp() 146 mRightBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_4)); in setUp() 505 secondBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2); in onPreferenceChange_toBtDevices_shouldSetSecondBtDeviceName()
|
D | MediaOutputPreferenceControllerTest.java | 134 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 138 mSecondBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp() 142 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp() 146 mRightBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_4)); in setUp()
|
D | AudioOutputSwitchPreferenceControllerTest.java | 143 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 147 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp() 149 mRightBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 356 mRemoteDevice = mConnSocket.getRemoteDevice(); in run() 531 public BluetoothDevice getRemoteDevice() { in getRemoteDevice() method in SapService 590 if (getState() == BluetoothSap.STATE_CONNECTED && getRemoteDevice().equals(device)) { in getConnectionState() 955 Log.v(TAG, "getClient() - returning " + service.getRemoteDevice()); in getClient() 956 return service.getRemoteDevice(); in getClient() 966 return (service.getState() == BluetoothSap.STATE_CONNECTED && service.getRemoteDevice() in isConnected()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 168 mMapProfile.disconnect(mBluetoothAdapter.getRemoteDevice((device))); in disconnectDevice() 197 remoteDevice = mBluetoothAdapter.getRemoteDevice( in getMessages() 215 remoteDevice = mBluetoothAdapter.getRemoteDevice( in getUploadingFeatureValue() 243 remoteDevice = mBluetoothAdapter.getRemoteDevice( in sendMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListing.java | 96 BluetoothMapService.getRemoteDevice().getAddress(), in encode() 128 if (DeviceWorkArounds.addressStartsWith(BluetoothMapService.getRemoteDevice().getAddress(), in encode()
|
D | BluetoothMapService.java | 495 public static BluetoothDevice getRemoteDevice() { in getRemoteDevice() method in BluetoothMapService 532 if (getRemoteDevice() != null && getRemoteDevice().equals(device)) { in disconnectMap() 586 if (getState() == BluetoothMap.STATE_CONNECTED && getRemoteDevice().equals(device)) { in getConnectionState() 1241 BluetoothDevice client = BluetoothMapService.getRemoteDevice(); in getClient() 1255 && BluetoothMapService.getRemoteDevice().equals(device); in isConnected()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputIndicatorSliceTest.java | 103 mA2dpDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_A2DP_DEVICE_ADDRESS)); in setUp() 107 mHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_HAP_DEVICE_ADDRESS)); in setUp()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverDataParser.java | 377 result.device = mBluetoothAdapter.getRemoteDevice(address); in parseNokia() 400 result.device = mBluetoothAdapter.getRemoteDevice(address); in parseBtOob() 481 result.device = mBluetoothAdapter.getRemoteDevice(address); in parseBleOob()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | ProjectionCallHandlerTest.java | 209 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(NON_HFP_ADDRESS)); in activeApp_withNonMatchingBluetoothDeviceExtra_doesNotSuppress() 221 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(HFP_ADDRESS)); in activeApp_withMatchingBluetoothDeviceExtra_suppresses()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 95 mTestDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_BT_ADDR); in setUp() 96 mTestDevice2 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_BT_ADDR2); in setUp() 97 mTestDevice3 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_BT_ADDR3); in setUp() 297 .getRemoteDevice(OTHER_BT_ADDR1); in testRemoveUnusedMetadata_WithMultiBondedDevices() 299 .getRemoteDevice(OTHER_BT_ADDR2); in testRemoveUnusedMetadata_WithMultiBondedDevices()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 366 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, stateMachine.getRemoteDevice()); in handleMessage() 409 BluetoothDevice remoteDevice = sm.getRemoteDevice(); in handleMessage() 772 BluetoothDevice device = stateMachine.getRemoteDevice(); in checkOrGetPhonebookPermission()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicesGroupPreferenceControllerTest.java | 90 mDevice1 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:11:22:33:AA:BB"); in setUp() 92 BluetoothDevice device2 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionService.java | 267 return mAdapter.getRemoteDevice(btAddr); in getDevice() 325 BluetoothDevice device = mAdapter.getRemoteDevice(btAddr); in findBlockForHandle()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothHelper.java | 60 BluetoothDevice device = adapter.getRemoteDevice(deviceAddress); in sendMessage()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpCoverArtStorageTest.java | 64 mDevice1 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice("AA:BB:CC:DD:EE:FF"); in setUp() 65 mDevice2 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice("BB:CC:DD:EE:FF:AA"); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | BluetoothObexTransport.java | 104 return mSocket.getRemoteDevice().getAddress(); in getRemoteAddress()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | RemoteRenameDialogFragment.java | 54 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RemoteDeviceNameDialogFragment.java | 49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RemoteDeviceNameDialogFragment.java | 49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
D | BluetoothConnection.java | 43 this(BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bluetoothAddress)); in BluetoothConnection()
|