/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 100 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { in getChannelKey() argument 101 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey() 104 public String getName(BluetoothDevice remoteDevice) { in getName() argument 105 if (remoteDevice.getAddress().equals("FF:FF:FF:00:00:00")) { in getName() 109 String name = mNames.get(remoteDevice.getAddress()); in getName() 117 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() argument 118 String key = getChannelKey(remoteDevice, uuid); in getChannel() 127 "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " as " in getChannel() 134 public void setName(BluetoothDevice remoteDevice, String name) { in setName() argument 136 Log.v(TAG, "Setname for " + remoteDevice + " to " + name); in setName() [all …]
|
D | BluetoothOppReceiver.java | 65 BluetoothDevice remoteDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local 68 Log.d(TAG, "Received BT device selected intent, bt device: " + remoteDevice); in onReceive() 71 if (remoteDevice == null) { in onReceive() 76 mOppManager.startTransfer(remoteDevice); in onReceive() 79 String deviceName = mOppManager.getDeviceName(remoteDevice); in onReceive()
|
D | BluetoothOppTransferAdapter.java | 95 BluetoothDevice remoteDevice = in bindView() local 97 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
|
D | BluetoothOppTransferActivity.java | 396 BluetoothDevice remoteDevice = mAdapter.getRemoteDevice(mTransInfo.mDestAddr); in onClick() local 400 BluetoothOppManager.getInstance(this).getDeviceName(remoteDevice)), in onClick()
|
D | BluetoothOppUtility.java | 132 BluetoothDevice remoteDevice = adapter.getRemoteDevice(info.mDestAddr); in fillRecord() local 133 info.mDeviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in fillRecord()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamTransferRecord.java | 34 public BluetoothDevice remoteDevice; field in BeamTransferRecord 37 private BeamTransferRecord(BluetoothDevice remoteDevice, in BeamTransferRecord() argument 40 this.remoteDevice = remoteDevice; in BeamTransferRecord() 48 BluetoothDevice remoteDevice, boolean remoteActivating, in forBluetoothDevice() argument 50 return new BeamTransferRecord(remoteDevice, remoteActivating, uris); in forBluetoothDevice() 63 BluetoothDevice remoteDevice = in.readParcelable(getClass().getClassLoader()); 72 return new BeamTransferRecord(remoteDevice, 91 dest.writeParcelable(remoteDevice, 0); in writeToParcel()
|
D | BeamTransferManager.java | 149 mRemoteDevice = pendingTransfer.remoteDevice; in BeamTransferManager()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 268 void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument 288 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 303 mNativeInterface.atResponseString(remoteDevice, atCommandResponse); in handleCpbrCommand() 304 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 315 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 323 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 343 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 351 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() 354 atCommandResult = processCpbrCommand(remoteDevice); in handleCpbrCommand() 356 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 195 BluetoothDevice remoteDevice; in getMessages() local 197 remoteDevice = mBluetoothAdapter.getRemoteDevice( in getMessages() 206 mMapProfile.getUnreadMessages(remoteDevice); in getMessages() 213 BluetoothDevice remoteDevice; in getUploadingFeatureValue() local 215 remoteDevice = mBluetoothAdapter.getRemoteDevice( in getUploadingFeatureValue() 224 return (mMapProfile.isUploadingSupported(remoteDevice)) ? 1 : 0; in getUploadingFeatureValue() 241 BluetoothDevice remoteDevice; in sendMessage() local 243 remoteDevice = mBluetoothAdapter.getRemoteDevice( in sendMessage() 268 remoteDevice, in sendMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 406 BluetoothDevice remoteDevice = sm.getRemoteDevice(); in handleMessage() local 409 mPbapStateMachineMap.remove(remoteDevice); in handleMessage() 661 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothSocket socket) { in onConnect() argument 662 if (remoteDevice == null || socket == null) { in onConnect() 663 Log.e(TAG, "onConnect(): Unexpected null. remoteDevice=" + remoteDevice in onConnect() 668 PbapStateMachine sm = PbapStateMachine.make(this, mHandlerThread.getLooper(), remoteDevice, in onConnect() 675 mPbapStateMachineMap.put(remoteDevice, sm); in onConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 82 public MasClient(BluetoothDevice remoteDevice, StateMachine callback, in MasClient() argument 84 if (remoteDevice == null) { in MasClient() 87 mRemoteDevice = remoteDevice; in MasClient()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 81 BluetoothDevice remoteDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach() local 83 mCachedDevice = manager.getCachedDeviceManager().findDevice(remoteDevice); in onAttach()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMnsObexClient.java | 77 public BluetoothMnsObexClient(BluetoothDevice remoteDevice, SdpMnsRecord mnsRecord, in BluetoothMnsObexClient() argument 79 if (remoteDevice == null) { in BluetoothMnsObexClient() 82 mRemoteDevice = remoteDevice; in BluetoothMnsObexClient()
|
D | BluetoothMapService.java | 829 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothMapMasInstance masInst) { in onConnect() argument 836 sRemoteDevice = remoteDevice; in onConnect() 854 } else if (!sRemoteDevice.equals(remoteDevice)) { in onConnect() 856 (remoteDevice == null) ? "unknown" : remoteDevice.getName())); in onConnect()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 91 BluetoothDevice remoteDevice = in getCachedDevice() local 93 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 92 BluetoothDevice remoteDevice = in getCachedDevice() local 94 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
|