Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java133 private volatile SocketState mSocketState; field in BluetoothSocket
167 mSocketState = SocketState.INIT; in BluetoothSocket()
191 as.mSocketState = SocketState.CONNECTED; in acceptSocket()
277 return mSocketState == SocketState.CONNECTED; in isConnected()
305 if (mSocketState == SocketState.CLOSED) throw new IOException("socket closed"); in connect()
312 if (DBG) Log.d(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd); in connect()
313 if (mSocketState == SocketState.CLOSED) throw new IOException("socket closed"); in connect()
327 if (mSocketState == SocketState.CLOSED) in connect()
329 mSocketState = SocketState.CONNECTED; in connect()
342 if (mSocketState == SocketState.CLOSED) return EBADFD; in bindListen()
[all …]