Home
last modified time | relevance | path

Searched refs:remoteDevice (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java100 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 …]
DBluetoothOppReceiver.java65 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()
DBluetoothOppTransferAdapter.java95 BluetoothDevice remoteDevice = in bindView() local
97 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
DBluetoothOppTransferActivity.java396 BluetoothDevice remoteDevice = mAdapter.getRemoteDevice(mTransInfo.mDestAddr); in onClick() local
400 BluetoothOppManager.getInstance(this).getDeviceName(remoteDevice)), in onClick()
DBluetoothOppUtility.java132 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/
DBeamTransferRecord.java34 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()
DBeamTransferManager.java149 mRemoteDevice = pendingTransfer.remoteDevice; in BeamTransferManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java268 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/
DMapMceTestFragment.java195 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/
DBluetoothPbapService.java406 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/
DMasClient.java82 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/
DBluetoothDeviceDetailsFragment.java81 BluetoothDevice remoteDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in onAttach() local
83 mCachedDevice = manager.getCachedDeviceManager().findDevice(remoteDevice); in onAttach()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java77 public BluetoothMnsObexClient(BluetoothDevice remoteDevice, SdpMnsRecord mnsRecord, in BluetoothMnsObexClient() argument
79 if (remoteDevice == null) { in BluetoothMnsObexClient()
82 mRemoteDevice = remoteDevice; in BluetoothMnsObexClient()
DBluetoothMapService.java829 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/
DBluetoothDeviceDetailsFragment.java91 BluetoothDevice remoteDevice = in getCachedDevice() local
93 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceDetailsFragment.java92 BluetoothDevice remoteDevice = in getCachedDevice() local
94 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()