/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 104 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { in getChannelKey() argument 105 return getBrEdrAddress(remoteDevice) + "_" + Integer.toHexString(uuid); in getChannelKey() 108 public String getName(BluetoothDevice remoteDevice) { in getName() argument 109 String identityAddress = getBrEdrAddress(remoteDevice); in getName() 122 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() argument 123 String key = getChannelKey(remoteDevice, uuid); in getChannel() 131 + BluetoothUtils.toAnonymizedAddress(getBrEdrAddress(remoteDevice)) in getChannel() 140 public void setName(BluetoothDevice remoteDevice, String name) { in setName() argument 141 String brEdrAddress = getBrEdrAddress(remoteDevice); in setName() 145 if (name != null && !name.equals(getName(remoteDevice))) { in setName() [all …]
|
D | BluetoothOppReceiver.java | 73 BluetoothDevice remoteDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local 75 if (remoteDevice == null) { in onReceive() 85 ? Utils.getBrEdrAddress(remoteDevice) in onReceive() 86 : remoteDevice.getIdentityAddress())); in onReceive() 89 mOppManager.startTransfer(remoteDevice); in onReceive() 92 String deviceName = mOppManager.getDeviceName(remoteDevice); in onReceive()
|
D | BluetoothOppTransferAdapter.java | 94 BluetoothDevice remoteDevice = in bindView() local 96 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
|
D | BluetoothOppUtility.java | 147 BluetoothDevice remoteDevice = adapter.getRemoteDevice(info.mDestAddr); in fillRecord() local 148 info.mDeviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in fillRecord()
|
/packages/modules/Connectivity/remoteauth/framework/java/android/remoteauth/ |
D | RemoteAuthManager.java | 200 public void onDiscovered(RemoteDevice remoteDevice) throws RemoteException { in onDiscovered() argument 201 if (remoteDevice == null) { in onDiscovered() 205 Log.i(TAG, "Notifying the caller about discovered: " + remoteDevice); in onDiscovered() 208 mDeviceDiscoveryCallback.onDeviceUpdate(remoteDevice, STATE_SEEN); in onDiscovered() 213 public void onLost(RemoteDevice remoteDevice) throws RemoteException { in onLost() argument 214 if (remoteDevice == null) { in onLost() 218 Log.i(TAG, "Notifying the caller about lost: " + remoteDevice); in onLost() 221 mDeviceDiscoveryCallback.onDeviceUpdate(remoteDevice, STATE_LOST); in onLost()
|
D | IDeviceDiscoveryListener.aidl | 28 void onDiscovered(in RemoteDevice remoteDevice); in onDiscovered() argument 31 void onLost(in RemoteDevice remoteDevice); in onLost() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 278 void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument 299 remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 313 mNativeInterface.atResponseString(remoteDevice, atCommandResponse); in handleCpbrCommand() 314 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 326 remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 334 remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 354 remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 361 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() 364 atCommandResult = processCpbrCommand(remoteDevice); in handleCpbrCommand() 367 remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 459 BluetoothPbapService service, BluetoothDevice remoteDevice) { in handleNotificationTask() argument 464 pce_version = adapterService.getRemotePbapPceVersion(remoteDevice.getAddress()); in handleNotificationTask() 471 remoteDevice.getAddress()); in handleNotificationTask() 571 BluetoothDevice remoteDevice = sm.getRemoteDevice(); in handleMessage() local 574 mPbapStateMachineMap.remove(remoteDevice); in handleMessage() 912 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothSocket socket) { in onConnect() argument 913 if (remoteDevice == null || socket == null) { in onConnect() 917 + remoteDevice in onConnect() 927 remoteDevice, in onConnect() 936 mPbapStateMachineMap.put(remoteDevice, sm); in onConnect()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 150 BluetoothDevice remoteDevice = in getCachedDevice() local 152 if (remoteDevice == null) { in getCachedDevice() 156 mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice() 160 Log.i(TAG, "Add device to cached device manager: " + remoteDevice.getAnonymizedAddress()); in getCachedDevice() 161 return mManager.getCachedDeviceManager().addDevice(remoteDevice); in getCachedDevice()
|
D | BluetoothFindBroadcastsFragment.java | 190 BluetoothDevice remoteDevice = in getCachedDevice() local 192 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 91 BluetoothDevice remoteDevice, StateMachine callback, SdpMasRecord sdpMasRecord) { in MasClient() argument 92 if (remoteDevice == null) { in MasClient() 95 mRemoteDevice = remoteDevice; in MasClient()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | DistanceMeasurementManager.java | 182 public int getChannelSoundingMaxSupportedSecurityLevel(@NonNull BluetoothDevice remoteDevice) { in getChannelSoundingMaxSupportedSecurityLevel() argument 183 Objects.requireNonNull(remoteDevice, "remote device is null"); in getChannelSoundingMaxSupportedSecurityLevel() 192 remoteDevice, mAttributionSource); in getChannelSoundingMaxSupportedSecurityLevel()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | RfcommTest.kt | 142 mBumbleDevice = mBumble.remoteDevice in setUp() 322 private suspend fun bondDevice(remoteDevice: BluetoothDevice) { in bondDevice() 327 if (mAdapter.bondedDevices.contains(remoteDevice)) { in bondDevice() 332 val flow = bondingFlow(mContext, remoteDevice, BluetoothDevice.BOND_BONDED) in bondDevice() 334 Truth.assertThat(remoteDevice.createBond()).isTrue() in bondDevice()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 67 BluetoothDevice remoteDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach() local 69 mCachedDevice = manager.getCachedDeviceManager().findDevice(remoteDevice); in onAttach()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpBipClient.java | 123 public AvrcpBipClient(BluetoothDevice remoteDevice, int psm, Callback callback) { in AvrcpBipClient() argument 124 if (remoteDevice == null) { in AvrcpBipClient() 131 mDevice = remoteDevice; in AvrcpBipClient()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 316 BluetoothDevice remoteDevice; in sendMessage() local 318 remoteDevice = mBluetoothAdapter.getRemoteDevice( in sendMessage() 343 remoteDevice, in sendMessage()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMnsObexClient.java | 76 BluetoothDevice remoteDevice, SdpMnsRecord mnsRecord, Handler callback) { in BluetoothMnsObexClient() argument 77 if (remoteDevice == null) { in BluetoothMnsObexClient() 80 mRemoteDevice = remoteDevice; in BluetoothMnsObexClient()
|
D | BluetoothMapService.java | 922 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothMapMasInstance masInst) { in onConnect() argument 929 sRemoteDevice = remoteDevice; in onConnect() 950 } else if (!sRemoteDevice.equals(remoteDevice)) { in onConnect() 954 + ((remoteDevice == null) in onConnect() 956 : Utils.getName(remoteDevice))); in onConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppUtilityTest.java | 295 BluetoothDevice remoteDevice = adapter.getRemoteDevice(destinationValue); in fillRecord_filledAllProperties() local 297 BluetoothOppManager.getInstance(mContext).getDeviceName(remoteDevice); in fillRecord_filledAllProperties()
|
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/ |
D | MainActivity.java | 1621 private AudioConfig determineAudioConfig(DeviceInfo localDevice, DeviceInfo remoteDevice) { in determineAudioConfig() argument 1626 remoteDevice.getAudioCodecs(), CODEC_ORDER); in determineAudioConfig() 1632 remoteDevice.getAmrModes(), AMR_MODE_ORDER); in determineAudioConfig() 1638 remoteDevice.getEvsModes(), EVS_MODE_ORDER); in determineAudioConfig() 1640 remoteDevice.getEvsBandwidths(), EVS_BANDWIDTH_ORDER); in determineAudioConfig()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothGatt.aidl | 192 …int getChannelSoundingMaxSupportedSecurityLevel(in BluetoothDevice remoteDevice, in AttributionSou… in getChannelSoundingMaxSupportedSecurityLevel() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | DistanceMeasurementManager.java | 199 int getChannelSoundingMaxSupportedSecurityLevel(BluetoothDevice remoteDevice) { in getChannelSoundingMaxSupportedSecurityLevel() argument
|
D | GattService.java | 1246 BluetoothDevice remoteDevice, AttributionSource attributionSource) { in getChannelSoundingMaxSupportedSecurityLevel() argument 1258 return service.getChannelSoundingMaxSupportedSecurityLevel(remoteDevice); in getChannelSoundingMaxSupportedSecurityLevel() 2068 int getChannelSoundingMaxSupportedSecurityLevel(BluetoothDevice remoteDevice) { in getChannelSoundingMaxSupportedSecurityLevel() argument 2070 remoteDevice); in getChannelSoundingMaxSupportedSecurityLevel()
|