Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java56 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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java73 private ObexServerSockets mServerSockets = null; field in BluetoothMapMasInstance
283 if (mServerSockets != null) { in startSocketListeners()
287 mServerSockets = ObexServerSockets.create(this); in startSocketListeners()
290 if (mServerSockets == null) { in startSocketListeners()
303 mServerSockets.getRfcommChannel(), mServerSockets.getL2capPsm()); in startSocketListeners()
458 ObexServerSockets sockets = mServerSockets; in closeServerSockets()
461 mServerSockets = null; in closeServerSockets()
524 mServerSockets = null; // Will cause a new to be created when calling start. in onAcceptFailed()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java132 private ObexServerSockets mServerSockets = null; field in BluetoothPbapService
362 if (mServerSockets != null) { in cleanUpServerSocket()
363 mServerSockets.shutdown(false); in cleanUpServerSocket()
364 mServerSockets = null; in cleanUpServerSocket()
388 mServerSockets.getRfcommChannel(), in createSdpRecord()
389 mServerSockets.getL2capPsm(), in createSdpRecord()
496 mServerSockets = ObexServerSockets.create(BluetoothPbapService.this); in handleMessage()
497 if (mServerSockets == null) { in handleMessage()