Home
last modified time | relevance | path

Searched refs:getRemoteDevice (Results 1 – 25 of 78) sorted by relevance

1234

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java222 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/
DAvrcpControllerService.java285 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/
DSapService.java356 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/
DAvrcpNativeInterface.java192 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in setActiveDevice()
199 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in deviceConnected()
211 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bdaddr.toUpperCase()); in deviceDisconnected()
DAvrcpVolumeManager.java106 BluetoothDevice d = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(key); in AvrcpVolumeManager()
233 .getRemoteDevice(entry.getKey()); in dump()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java134 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()
DMediaOutputPreferenceControllerTest.java134 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()
DAudioOutputSwitchPreferenceControllerTest.java146 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/
DMapMceTestFragment.java168 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/
DBluetoothMapMessageListing.java96 BluetoothMapService.getRemoteDevice().getAddress(), in encode()
128 if (DeviceWorkArounds.addressStartsWith(BluetoothMapService.getRemoteDevice().getAddress(), in encode()
DBluetoothMapService.java489 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/
DDatabaseManagerTest.java69 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/
DMediaOutputIndicatorSliceTest.java103 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/
DBluetoothPbapService.java363 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/
DHandoverDataParser.java377 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/
DProjectionCallHandlerTest.java209 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/
DHfpClientConnectionService.java262 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/
DBluetoothDevicesGroupPreferenceControllerTest.java90 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/
DBluetoothHelper.java60 BluetoothDevice device = adapter.getRemoteDevice(deviceAddress); in sendMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DBluetoothObexTransport.java104 return mSocket.getRemoteDevice().getAddress(); in getRemoteAddress()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DRemoteRenameDialogFragment.java54 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DRemoteDeviceNameDialogFragment.java49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRemoteDeviceNameDialogFragment.java49 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
DForgetDeviceDialogFragment.java56 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java43 this(BluetoothAdapter.getDefaultAdapter().getRemoteDevice(bluetoothAddress)); in BluetoothConnection()

1234