Searched refs:mSocket (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppRfcommTransport.java47 private final BluetoothSocket mSocket; field in class:BluetoothOppRfcommTransport
51 this.mSocket = socket;
55 mSocket.close();
67 return mSocket.getInputStream();
71 return mSocket.getOutputStream();
87 //return mSocket.isConnected();
93 if (mSocket == null)
95 return mSocket.getRemoteDevice().getAddress();
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapRfcommTransport.java46 private BluetoothSocket mSocket = null; field in class:BluetoothPbapRfcommTransport
50 this.mSocket = rfs;
54 mSocket.close();
66 return mSocket.getInputStream();
70 return mSocket.getOutputStream();
/packages/apps/Email/src/com/android/email/mail/transport/
H A DMailTransport.java66 private Socket mSocket; field in class:MailTransport
159 mSocket = SSLUtils.getSSLSocketFactory(canTrustAllCertificates()).createSocket();
161 mSocket = new Socket();
163 mSocket.connect(socketAddress, SOCKET_CONNECT_TIMEOUT);
166 verifyHostname(mSocket, getHost());
168 mIn = new BufferedInputStream(mSocket.getInputStream(), 1024);
169 mOut = new BufferedOutputStream(mSocket.getOutputStream(), 512);
194 mSocket = SSLUtils.getSSLSocketFactory(canTrustAllCertificates())
195 .createSocket(mSocket, getHost(), getPort(), true);
196 mSocket
[all...]
/packages/apps/IM/src/com/android/im/imps/
H A DTcpCirChannel.java46 private Socket mSocket; field in class:TcpCirChannel
97 if(mSocket != null) {
98 mSocket.close();
236 if (mSocket != null) {
241 mSocket.close();
247 mSocket = new Socket(mAddress, mPort);
260 new InputStreamReader(mSocket.getInputStream(), "UTF-8"),
294 mSocket.getOutputStream().write(s.getBytes("UTF-8"));

Completed in 68 milliseconds