Home
last modified time | relevance | path

Searched refs:mRemoteDevice (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java84 private BluetoothDevice mRemoteDevice = null; field in SapService
356 mRemoteDevice = mConnSocket.getRemoteDevice(); in run()
358 if (mRemoteDevice == null) { in run()
363 sRemoteDeviceName = mRemoteDevice.getName(); in run()
368 int permission = mRemoteDevice.getSimAccessPermission(); in run()
390 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice); in run()
442 sendCancelUserConfirmationIntent(mRemoteDevice);
522 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice); in setState()
532 return mRemoteDevice; in getRemoteDevice()
542 if (mRemoteDevice != null && mRemoteDevice.equals(device)) { in disconnect()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java85 private BluetoothDevice mRemoteDevice; field in PbapStateMachine
99 mRemoteDevice = device; in PbapStateMachine()
121 return mRemoteDevice; in getRemoteDevice()
170 stateLogD("connection state changed: " + mRemoteDevice + ": " + mPrevState + " -> " in broadcastStateTransitions()
172 broadcastConnectionState(mRemoteDevice, prevStateInt, getConnectionStateInt()); in broadcastStateTransitions()
196 + " for device " + mRemoteDevice); in enforceValidConnectionStateTransition()
201 log(getName() + ": currentDevice=" + mRemoteDevice + ", msg=" + msg); in stateLogD()
300 mRemoteDevice, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in enter()
370 clickIntent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in createPbapNotification()
380 String name = mRemoteDevice.getName(); in createPbapNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java82 private BluetoothDevice mRemoteDevice; field in MasClient
93 mRemoteDevice = remoteDevice; in MasClient()
114 mSocket = mRemoteDevice.createL2capSocket(l2capSocket); in connect()
120 mSocket = mRemoteDevice.createRfcommSocket(mSdpMasRecord.getRfcommCannelNumber()); in connect()
122 if (DBG) Log.d(TAG, mRemoteDevice.toString() + "Socket: " + mSocket.toString()); in connect()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java400 private final BluetoothDevice mRemoteDevice; field in BluetoothOppManager.InsertShareInfoThread
418 this.mRemoteDevice = device; in InsertShareInfoThread()
438 if (mRemoteDevice == null) { in run()
473 values.put(BluetoothShare.DESTINATION, mRemoteDevice.getAddress()); in insertMultipleShare()
483 mRemoteDevice)); in insertMultipleShare()
495 values.put(BluetoothShare.DESTINATION, mRemoteDevice.getAddress()); in insertSingleShare()
504 mRemoteDevice)); in insertSingleShare()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java58 BluetoothDevice mRemoteDevice; field in BluetoothMnsObexClient
82 mRemoteDevice = remoteDevice; in BluetoothMnsObexClient()
340 btSocket = mRemoteDevice.createL2capSocket(mMnsRecord.getL2capPsm()); in connect()
344 btSocket = mRemoteDevice.createRfcommSocket(mMnsRecord.getRfcommChannelNumber()); in connect()
349 btSocket = mRemoteDevice.createInsecureRfcommSocketToServiceRecord( in connect()
DBluetoothMapMasInstance.java74 private BluetoothDevice mRemoteDevice = null; field in BluetoothMapMasInstance
516 mRemoteDevice = device; in onConnect()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java123 final BluetoothDevice mRemoteDevice; field in BeamTransferManager
149 mRemoteDevice = pendingTransfer.remoteDevice; in BeamTransferManager()
202 new BluetoothOppHandover(mContext, mRemoteDevice, mUris, mRemoteActivating).start(); in start()
216 if (mIncoming && mRemoteDevice != null) whitelistOppDevice(mRemoteDevice); in updateFileProgress()
496 intent.putExtra(BeamStatusReceiver.EXTRA_ADDRESS, mRemoteDevice.getAddress()); in buildCancelIntent()