Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { in getChannelKey() argument
99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey()
102 public String getName(BluetoothDevice remoteDevice) { in getName() argument
103 if (remoteDevice.getAddress().equals("FF:FF:FF:00:00:00")) { in getName()
107 String name = mNames.get(remoteDevice.getAddress()); in getName()
115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() argument
116 String key = getChannelKey(remoteDevice, uuid); in getChannel()
121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + in getChannel()
127 public void setName(BluetoothDevice remoteDevice, String name) { in setName() argument
128 if (V) Log.v(TAG, "Setname for " + remoteDevice + " to " + name); in setName()
[all …]
DBluetoothOppReceiver.java67 BluetoothDevice remoteDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
69 if (V) Log.v(TAG, "Received BT device selected intent, bt device: " + remoteDevice); in onReceive()
72 mOppManager.startTransfer(remoteDevice); in onReceive()
75 String deviceName = mOppManager.getDeviceName(remoteDevice); in onReceive()
DBluetoothOppTransferAdapter.java96 BluetoothDevice remoteDevice = adapter.getRemoteDevice(cursor in bindView() local
98 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
DBluetoothOppUtility.java127 BluetoothDevice remoteDevice = adapter.getRemoteDevice(info.mDestAddr); in fillRecord() local
129 BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in fillRecord()
DBluetoothOppTransferActivity.java376 BluetoothDevice remoteDevice = mAdapter.getRemoteDevice(mTransInfo.mDestAddr); in onClick() local
382 this).getDeviceName(remoteDevice)), Toast.LENGTH_SHORT) in onClick()
/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.java151 mRemoteDevice = pendingTransfer.remoteDevice; in BeamTransferManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java263 public void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument
284 atCommandErrorCode, getByteAddress(remoteDevice)); in handleCpbrCommand()
300 getByteAddress(remoteDevice)); in handleCpbrCommand()
302 getByteAddress(remoteDevice)); in handleCpbrCommand()
314 getByteAddress(remoteDevice)); in handleCpbrCommand()
322 getByteAddress(remoteDevice)); in handleCpbrCommand()
341 getByteAddress(remoteDevice)); in handleCpbrCommand()
348 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand()
351 atCommandResult = processCpbrCommand(remoteDevice); in handleCpbrCommand()
354 getByteAddress(remoteDevice)); in handleCpbrCommand()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DMapMceTestFragment.java155 BluetoothDevice remoteDevice; in getMessages() local
157 remoteDevice = mBluetoothAdapter.getRemoteDevice( in getMessages()
166 mMapProfile.getUnreadMessages(remoteDevice); in getMessages()
173 BluetoothDevice remoteDevice; in sendMessage() local
175 remoteDevice = mBluetoothAdapter.getRemoteDevice( in sendMessage()
199 remoteDevice, in sendMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java65 public MasClient(BluetoothDevice remoteDevice, in MasClient() argument
67 if (remoteDevice == null) { in MasClient()
70 mRemoteDevice = remoteDevice; in MasClient()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java77 public BluetoothMnsObexClient(BluetoothDevice remoteDevice, in BluetoothMnsObexClient() argument
79 if (remoteDevice == null) { in BluetoothMnsObexClient()
82 mRemoteDevice = remoteDevice; in BluetoothMnsObexClient()
DBluetoothMapService.java834 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothMapMasInstance masInst) { in onConnect() argument
841 mRemoteDevice = remoteDevice; in onConnect()
859 } else if (!mRemoteDevice.equals(remoteDevice)) { in onConnect()
861 ((remoteDevice==null)?"unknown":remoteDevice.getName())); in onConnect()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceProfilesSettings.java88 BluetoothDevice remoteDevice = mManager.getBluetoothAdapter().getRemoteDevice(address); in onCreate() local
90 mCachedDevice = deviceManager.findDevice(remoteDevice); in onCreate()
93 mManager.getProfileManager(), remoteDevice); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java994 public boolean onConnect(BluetoothDevice remoteDevice, BluetoothSocket socket) { in onConnect() argument
995 mRemoteDevice = remoteDevice; in onConnect()