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.java66 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()
DBluetoothOppTransferAdapter.java95 BluetoothDevice remoteDevice = in bindView() local
97 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
DBluetoothOppUtility.java131 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/
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.java273 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/
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.java409 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/
DMasClient.java88 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/
DAvrcpBipClient.java123 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/
DBluetoothDeviceDetailsFragment.java97 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/
DBluetoothDeviceDetailsFragment.java91 BluetoothDevice remoteDevice = in getCachedDevice() local
93 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
/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.java888 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/
DBluetoothDeviceDetailsFragment.java92 BluetoothDevice remoteDevice = in getCachedDevice() local
94 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()