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.java54 private int mSdpHandle = -1; field in MnsService
68 mSdpHandle = sdpManager.createMapMnsRecord("MAP Message Notification Service", in MnsService()
86 if (mSdpHandle < 0) { in cleanUpSdpRecord()
90 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
91 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java62 private int mSdpHandle = -1; field in BluetoothMapMasInstance
130 if (mAdapter != null && mSdpHandle >= 0 && SdpManager.getDefaultManager() != null) { in removeSdpRecord()
133 + " Object reference: " + this + "SDP handle: " + mSdpHandle); in removeSdpRecord()
135 boolean status = SdpManager.getDefaultManager().removeSdpRecord(mSdpHandle); in removeSdpRecord()
137 mSdpHandle = -1; in removeSdpRecord()
299 mSdpHandle = createMasSdpRecord(mServerSockets.getRfcommChannel(), in startSocketListeners()
304 + " Object reference: " + this + "SDP handle: " + mSdpHandle); in startSocketListeners()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java151 private int mSdpHandle = -1; field in BluetoothPbapService
306 if (mSdpHandle > -1) { in createSdpRecord()
309 mSdpHandle = SdpManager.getDefaultManager() in createSdpRecord()
315 Log.d(TAG, "created Sdp record, mSdpHandle=" + mSdpHandle); in createSdpRecord()
320 if (mSdpHandle < 0) { in cleanUpSdpRecord()
324 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
325 mSdpHandle = -1; in cleanUpSdpRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java58 private int mSdpHandle = -1; field in PbapClientService
137 mSdpHandle = sdpManager.createPbapPceRecord(SERVICE_NAME, in registerSdpRecord()
142 if (mSdpHandle < 0) { in cleanUpSdpRecord()
146 int sdpHandle = mSdpHandle; in cleanUpSdpRecord()
147 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()