Searched refs:mSocket (Results 1 – 8 of 8) sorted by relevance
61 private Socket mSocket; field in MailTransport115 mSocket = SSLUtils.getSSLSocketFactory( in open()118 mSocket = new Socket(); in open()120 mSocket.connect(socketAddress, SOCKET_CONNECT_TIMEOUT); in open()123 verifyHostname(mSocket, getHost()); in open()127 if (mSocket instanceof SSLSocket) { in open()128 final SSLSocket sslSocket = (SSLSocket) mSocket; in open()135 mIn = new BufferedInputStream(mSocket.getInputStream(), 1024); in open()136 mOut = new BufferedOutputStream(mSocket.getOutputStream(), 512); in open()137 mSocket.setSoTimeout(SOCKET_READ_TIMEOUT); in open()[all …]
61 private Socket mSocket; field in MailTransport101 mSocket = HttpsURLConnection.getDefaultSSLSocketFactory().createSocket(); in open()105 mSocket = new Socket(); in open()112 mSocket = mNetwork.getSocketFactory().createSocket(); in open()122 mSocket.connect(socketAddresses.remove(0), SOCKET_CONNECT_TIMEOUT); in open()127 verifyHostname(mSocket, mHost); in open()130 mIn = new BufferedInputStream(mSocket.getInputStream(), 1024); in open()131 mOut = new BufferedOutputStream(mSocket.getOutputStream(), 512); in open()132 mSocket.setSoTimeout(SOCKET_READ_TIMEOUT); in open()183 mSocket != null && mSocket.isConnected() && !mSocket.isClosed()); in isOpen()[all …]
33 private BluetoothSocket mSocket = null; field in BluetoothObexTransport36 this.mSocket = socket; in BluetoothObexTransport()40 mSocket.close(); in close()52 return mSocket.getInputStream(); in openInputStream()56 return mSocket.getOutputStream(); in openOutputStream()76 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP) { in getMaxTransmitPacketSize()79 return mSocket.getMaxTransmitPacketSize(); in getMaxTransmitPacketSize()83 if (mSocket.getConnectionType() != BluetoothSocket.TYPE_L2CAP) { in getMaxReceivePacketSize()86 return mSocket.getMaxReceivePacketSize(); in getMaxReceivePacketSize()90 if (mSocket == null) in getRemoteAddress()[all …]
46 private final BluetoothSocket mSocket; field in ObexRejectServer54 mSocket = socket; in ObexRejectServer()76 mSocket.close(); in shutdown()
34 final LlcpSocket mSocket; field in SnepMessenger39 mSocket = socket; in SnepMessenger()58 mSocket.send(tmpBuffer); in sendMessage()67 mSocket.receive(responseBytes); in sendMessage()86 mSocket.send(tmpBuffer); in sendMessage()109 size = mSocket.receive(partial); in getMessage()113 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage()120 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage()144 mSocket.send(SnepMessage.getMessage(fieldContinue).toByteArray()); in getMessage()152 size = mSocket.receive(partial); in getMessage()[all …]
28 LocalSocket mSocket = null; field in SapRilReceiver107 if (mSocket != null) sendShutdownMessage(); in notifyShutdown()124 if (mSocket != null) { in shutdown()126 mSocket.shutdownOutput(); in shutdown()129 mSocket.shutdownInput(); in shutdown()132 mSocket.close(); in shutdown()136 mSocket = null; in shutdown()204 mSocket = openRilBtSocket(); in run()205 mRilBtInStream = mSocket.getInputStream(); in run()206 mRilBtOutStream = CodedOutputStreamMicro.newInstance(mSocket.getOutputStream()); in run()
45 private LlcpSocket mSocket; field in NdefPushClient83 mSocket = sock; in connect()95 sock = mSocket; in push()132 if (mSocket != null) { in close()135 mSocket.close(); in close()139 mSocket = null; in close()
42 LlcpSocket mSocket; field in HandoverClient80 mSocket = sock; in connect()87 if (mSocket != null) { in close()89 mSocket.close(); in close()93 mSocket = null; in close()106 sock = mSocket; in sendHandoverRequest()