Searched refs:SocketState (Results 1 – 1 of 1) sorted by relevance
124 private enum SocketState { enum in BluetoothSocket132 private volatile SocketState mSocketState;166 mSocketState = SocketState.INIT; in BluetoothSocket()190 as.mSocketState = SocketState.CONNECTED; in acceptSocket()276 return mSocketState == SocketState.CONNECTED; in isConnected()304 if (mSocketState == SocketState.CLOSED) throw new IOException("socket closed"); in connect()312 if (mSocketState == SocketState.CLOSED) throw new IOException("socket closed"); in connect()326 if (mSocketState == SocketState.CLOSED) in connect()328 mSocketState = SocketState.CONNECTED; in connect()341 if (mSocketState == SocketState.CLOSED) return EBADFD; in bindListen()[all …]