Home
last modified time | relevance | path

Searched refs:mServerSockets (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpCoverArtService.java55 private ObexServerSockets mServerSockets = null; field in AvrcpCoverArtService
108 mServerSockets = ObexServerSockets.create(mAcceptThread); in startBipServer()
109 if (mServerSockets == null) { in startBipServer()
113 registerBipServer(mServerSockets.getL2capPsm()); in startBipServer()
115 debug("Service started, psm=" + mServerSockets.getL2capPsm()); in startBipServer()
125 if (mServerSockets != null) { in stopBipServer()
126 mServerSockets.shutdown(false); in stopBipServer()
127 mServerSockets = null; in stopBipServer()
141 return (mServerLock != null ? mServerSockets.getL2capPsm() : 0); in getL2capPsm()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMasInstance.java68 private ObexServerSockets mServerSockets = null; field in BluetoothMapMasInstance
294 if (mServerSockets != null) { in startSocketListeners()
298 mServerSockets = ObexServerSockets.create(this); in startSocketListeners()
301 if (mServerSockets == null) { in startSocketListeners()
307 mSdpHandle = createMasSdpRecord(mServerSockets.getRfcommChannel(), in startSocketListeners()
308 mServerSockets.getL2capPsm()); in startSocketListeners()
464 ObexServerSockets sockets = mServerSockets; in closeServerSockets()
467 mServerSockets = null; in closeServerSockets()
531 mServerSockets = null; // Will cause a new to be created when calling start. in onAcceptFailed()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java145 private ObexServerSockets mServerSockets = null; field in BluetoothPbapService
306 if (mServerSockets != null) { in cleanUpServerSocket()
307 mServerSockets.shutdown(false); in cleanUpServerSocket()
308 mServerSockets = null; in cleanUpServerSocket()
318 mServerSockets.getRfcommChannel(), mServerSockets.getL2capPsm(), in createSdpRecord()
357 mServerSockets = ObexServerSockets.create(BluetoothPbapService.this); in handleMessage()
358 if (mServerSockets == null) { in handleMessage()