/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 | 285 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onConnectionStateChanged() 320 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleRegisterNotificationAbsVol() 333 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleSetAbsVolume() 348 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onTrackChanged() 362 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayPositionChanged() 396 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayStatusChanged() 410 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handlePlayerAppSetting() 425 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayerAppSettingChanged() 452 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleGetFolderItemsRsp() 478 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handleGetPlayerItemsRsp() [all …]
|
/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() 914 Log.v(TAG, "getClient() - returning " + service.getRemoteDevice()); in getClient() 915 return service.getRemoteDevice(); in getClient() 925 return (service.getState() == BluetoothSap.STATE_CONNECTED && service.getRemoteDevice() in isConnected()
|
/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 | 106 BluetoothDevice d = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(key); in AvrcpVolumeManager() 233 .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 | 146 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 150 mLeftBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2)); in setUp() 152 mRightBluetoothHapDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3)); in setUp()
|
/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 | 489 public static BluetoothDevice getRemoteDevice() { in getRemoteDevice() method in BluetoothMapService 521 if (getRemoteDevice() != null && getRemoteDevice().equals(device)) { in disconnectMap() 568 if (getState() == BluetoothMap.STATE_CONNECTED && getRemoteDevice().equals(device)) { in getConnectionState() 1182 BluetoothDevice client = BluetoothMapService.getRemoteDevice(); in getClient() 1196 && BluetoothMapService.getRemoteDevice().equals(device); in isConnected()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 69 mTestDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_BT_ADDR); in setUp() 268 .getRemoteDevice(OTHER_BT_ADDR1); in testRemoveUnusedMetadata_WithMultiBondedDevices() 270 .getRemoteDevice(OTHER_BT_ADDR2); in testRemoveUnusedMetadata_WithMultiBondedDevices()
|
/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/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 363 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, stateMachine.getRemoteDevice()); in handleMessage() 406 BluetoothDevice remoteDevice = sm.getRemoteDevice(); in handleMessage() 688 BluetoothDevice device = stateMachine.getRemoteDevice(); in checkOrGetPhonebookPermission()
|
/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/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionService.java | 262 return mAdapter.getRemoteDevice(btAddr); in getDevice() 320 BluetoothDevice device = mAdapter.getRemoteDevice(btAddr); in findBlockForHandle()
|
/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/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothHelper.java | 60 BluetoothDevice device = adapter.getRemoteDevice(deviceAddress); in sendMessage()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RemoteDeviceNameDialogFragment.java | 49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RemoteDeviceNameDialogFragment.java | 49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
D | ForgetDeviceDialogFragment.java | 56 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()
|