Home
last modified time | relevance | path

Searched refs:mSdpHandle (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMnsService.java56 private int mSdpHandle = -1; field in MnsService
70 mSdpHandle = sdpManager.createMapMnsRecord("MAP Message Notification Service", in MnsService()
88 if (mSdpHandle < 0) { in cleanUpSdpRecord()
92 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
93 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java69 private int mSdpHandle = -1; field in BluetoothMapMasInstance
138 if (mAdapter != null && mSdpHandle >= 0 && SdpManager.getDefaultManager() != null) { in removeSdpRecord()
141 + " Object reference: " + this + "SDP handle: " + mSdpHandle); in removeSdpRecord()
143 boolean status = SdpManager.getDefaultManager().removeSdpRecord(mSdpHandle); in removeSdpRecord()
145 mSdpHandle = -1; in removeSdpRecord()
307 mSdpHandle = createMasSdpRecord(mServerSockets.getRfcommChannel(), in startSocketListeners()
312 + " Object reference: " + this + "SDP handle: " + mSdpHandle); in startSocketListeners()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java158 private int mSdpHandle = -1; field in BluetoothPbapService
313 if (mSdpHandle > -1) { in createSdpRecord()
316 mSdpHandle = SdpManager.getDefaultManager() in createSdpRecord()
322 Log.d(TAG, "created Sdp record, mSdpHandle=" + mSdpHandle); in createSdpRecord()
327 if (mSdpHandle < 0) { in cleanUpSdpRecord()
331 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
332 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java67 private int mSdpHandle = -1; field in PbapClientService
170 mSdpHandle = sdpManager.createPbapPceRecord(SERVICE_NAME, in registerSdpRecord()
175 if (mSdpHandle < 0) { in cleanUpSdpRecord()
179 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
180 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java87 private int mSdpHandle = -1; field in SapService
126 if (mAdapterService != null && mSdpHandle >= 0 && SdpManager.getDefaultManager() != null) { in removeSdpRecord()
128 Log.d(TAG, "Removing SDP record handle: " + mSdpHandle); in removeSdpRecord()
130 boolean status = SdpManager.getDefaultManager().removeSdpRecord(mSdpHandle); in removeSdpRecord()
131 mSdpHandle = -1; in removeSdpRecord()
166 mSdpHandle = SdpManager.getDefaultManager() in initSocket()