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.java55 private int mSdpHandle = -1; field in MnsService
69 mSdpHandle = sdpManager.createMapMnsRecord("MAP Message Notification Service", in MnsService()
87 if (mSdpHandle < 0) { in cleanUpSdpRecord()
91 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
92 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.java154 private int mSdpHandle = -1; field in BluetoothPbapService
309 if (mSdpHandle > -1) { in createSdpRecord()
312 mSdpHandle = SdpManager.getDefaultManager() in createSdpRecord()
318 Log.d(TAG, "created Sdp record, mSdpHandle=" + mSdpHandle); in createSdpRecord()
323 if (mSdpHandle < 0) { in cleanUpSdpRecord()
327 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
328 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java63 private int mSdpHandle = -1; field in PbapClientService
166 mSdpHandle = sdpManager.createPbapPceRecord(SERVICE_NAME, in registerSdpRecord()
171 if (mSdpHandle < 0) { in cleanUpSdpRecord()
175 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
176 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java82 private int mSdpHandle = -1; field in SapService
121 if (mAdapter != null && mSdpHandle >= 0 && SdpManager.getDefaultManager() != null) { in removeSdpRecord()
123 Log.d(TAG, "Removing SDP record handle: " + mSdpHandle); in removeSdpRecord()
125 boolean status = SdpManager.getDefaultManager().removeSdpRecord(mSdpHandle); in removeSdpRecord()
126 mSdpHandle = -1; in removeSdpRecord()
161 mSdpHandle = SdpManager.getDefaultManager() in initSocket()