/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 | 66 BluetoothDevice remoteDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local 69 Log.d(TAG, "Received BT device selected intent, bt device: " + remoteDevice); in onReceive() 72 if (remoteDevice == null) { in onReceive() 77 mOppManager.startTransfer(remoteDevice); in onReceive() 80 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 | BluetoothOppUtility.java | 131 BluetoothDevice remoteDevice = adapter.getRemoteDevice(info.mDestAddr); in fillRecord() local 132 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 | 273 void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument 293 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 308 mNativeInterface.atResponseString(remoteDevice, atCommandResponse); in handleCpbrCommand() 309 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand() 320 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 328 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 348 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand() 356 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() 359 atCommandResult = processCpbrCommand(remoteDevice); in handleCpbrCommand() 361 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 | 409 BluetoothDevice remoteDevice = sm.getRemoteDevice(); in handleMessage() local 412 mPbapStateMachineMap.remove(remoteDevice); in handleMessage() 745 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothSocket socket) { in onConnect() argument 746 if (remoteDevice == null || socket == null) { in onConnect() 747 Log.e(TAG, "onConnect(): Unexpected null. remoteDevice=" + remoteDevice in onConnect() 752 PbapStateMachine sm = PbapStateMachine.make(this, mHandlerThread.getLooper(), remoteDevice, in onConnect() 759 mPbapStateMachineMap.put(remoteDevice, sm); in onConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 88 public MasClient(BluetoothDevice remoteDevice, StateMachine callback, in MasClient() argument 90 if (remoteDevice == null) { in MasClient() 93 mRemoteDevice = remoteDevice; in MasClient()
|
/packages/apps/Bluetooth/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/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 97 BluetoothDevice remoteDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach() local 99 mCachedDevice = manager.getCachedDeviceManager().findDevice(remoteDevice); in onAttach()
|
/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/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 | 888 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothMapMasInstance masInst) { in onConnect() argument 895 sRemoteDevice = remoteDevice; in onConnect() 913 } else if (!sRemoteDevice.equals(remoteDevice)) { in onConnect() 915 (remoteDevice == null) ? "unknown" : remoteDevice.getName())); in onConnect()
|
/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()
|