Home
last modified time | relevance | path

Searched refs:mMnsRecord (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java63 private SdpMnsRecord mMnsRecord; field in BluetoothMnsObexClient
90 mMnsRecord = mnsRecord; in BluetoothMnsObexClient()
288 return (mMnsRecord != null); in isValidMnsRecord()
298 mMnsRecord = mnsRecord; in setMnsRecord()
338 if (isValidMnsRecord() && mMnsRecord.getL2capPsm() > 0) { in connect()
340 btSocket = mRemoteDevice.createL2capSocket(mMnsRecord.getL2capPsm()); in connect()
342 } else if (isValidMnsRecord() && mMnsRecord.getRfcommChannelNumber() > 0) { in connect()
344 btSocket = mRemoteDevice.createRfcommSocket(mMnsRecord.getRfcommChannelNumber()); in connect()
DBluetoothMapService.java145 private SdpMnsRecord mMnsRecord = null; field in BluetoothMapService
249 new BluetoothMnsObexClient(sRemoteDevice, mMnsRecord, mSessionStatusHandler); in startObexServerSessions()
1118 mMnsRecord = intent.getParcelableExtra(BluetoothDevice.EXTRA_SDP_RECORD); in onReceive()
1121 Log.v(TAG, " -> MNS Record:" + mMnsRecord); in onReceive()
1125 mBluetoothMnsObexClient.setMnsRecord(mMnsRecord); in onReceive()
1127 if (status != -1 && mMnsRecord != null) { in onReceive()
1130 .setRemoteFeatureMask(mMnsRecord.getSupportedFeatures()); in onReceive()