HomeSort by relevance Sort by last modified time
    Searched refs:mSocket (Results 1 - 25 of 25) sorted by null

  /frameworks/base/core/java/android/bluetooth/
BluetoothInputStream.java 30 private BluetoothSocket mSocket;
33 mSocket = s;
40 return mSocket.available();
44 mSocket.close();
60 int ret = mSocket.read(b, 0, 1);
96 return mSocket.read(b, offset, length);
BluetoothOutputStream.java 30 private BluetoothSocket mSocket;
33 mSocket = s;
40 mSocket.close();
56 mSocket.write(b, 0, 1);
85 mSocket.write(b, offset, count);
BluetoothServerSocket.java 62 /*package*/ final BluetoothSocket mSocket;
79 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
107 return mSocket.accept(timeout);
123 mSocket.close();
BluetoothAdapter.java     [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppRfcommTransport.java 47 private final BluetoothSocket mSocket;
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/
BluetoothPbapRfcommTransport.java 46 private BluetoothSocket mSocket = null;
50 this.mSocket = rfs;
54 mSocket.close();
66 return mSocket.getInputStream();
70 return mSocket.getOutputStream();
  /system/core/include/sysutils/
FrameworkClient.h 9 int mSocket;
SocketClient.h 10 int mSocket;
31 int getSocket() { return mSocket; }
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 34 final LlcpSocket mSocket;
39 mSocket = socket;
58 mSocket.send(tmpBuffer);
67 mSocket.receive(responseBytes);
86 mSocket.send(tmpBuffer);
109 size = mSocket.receive(partial);
113 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray());
120 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray());
144 mSocket.send(SnepMessage.getMessage(fieldContinue).toByteArray());
152 size = mSocket.receive(partial)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/transport/
MailTransport.java 76 private Socket mSocket;
170 mSocket = SSLUtils.getSSLSocketFactory(canTrustAllCertificates()).createSocket();
172 mSocket = new Socket();
174 mSocket.connect(socketAddress, SOCKET_CONNECT_TIMEOUT);
177 verifyHostname(mSocket, getHost());
179 mIn = new BufferedInputStream(mSocket.getInputStream(), 1024);
180 mOut = new BufferedOutputStream(mSocket.getOutputStream(), 512);
206 mSocket = SSLUtils.getSSLSocketFactory(canTrustAllCertificates())
207 .createSocket(mSocket, getHost(), getPort(), true);
208 mSocket.setSoTimeout(SOCKET_READ_TIMEOUT)
    [all...]
  /system/core/libsysutils/src/
FrameworkClient.cpp 12 mSocket = socket;
18 if (mSocket < 0) {
24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1));
SocketClient.cpp 14 : mSocket(socket)
39 close(mSocket);
67 if (mSocket < 0) {
91 rc = write(mSocket, p, brtw);
  /frameworks/base/media/libstagefright/rtsp/
UDPPusher.h 43 int mSocket;
UDPPusher.cpp 38 mSocket = socket(AF_INET, SOCK_DGRAM, 0);
46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr)));
55 close(mSocket);
56 mSocket = -1;
89 mSocket, buffer->data(), buffer->size(), 0,
134 mSocket, buffer->data(), buffer->size(), 0,
ARTSPConnection.cpp 49 mSocket(-1),
57 if (mSocket >= 0) {
60 HTTPBase::UnRegisterSocketUserTag(mSocket);
62 close(mSocket);
63 mSocket = -1;
209 HTTPBase::UnRegisterSocketUserTag(mSocket);
211 close(mSocket);
212 mSocket = -1;
257 mSocket = socket(AF_INET, SOCK_STREAM, 0);
260 HTTPBase::RegisterSocketUserTag(mSocket, mUID
    [all...]
ARTPWriter.h 79 int mSocket;
ARTSPConnection.h 83 int mSocket;
ARTPWriter.cpp 58 mSocket = socket(AF_INET, SOCK_DGRAM, 0);
59 CHECK_GE(mSocket, 0);
100 close(mSocket);
101 mSocket = -1;
313 mSocket, buffer->data(), buffer->size(), 0,
  /frameworks/base/services/java/com/android/server/pm/
Installer.java 37 LocalSocket mSocket;
44 if (mSocket != null) {
49 mSocket = new LocalSocket();
54 mSocket.connect(address);
56 mIn = mSocket.getInputStream();
57 mOut = mSocket.getOutputStream();
68 if (mSocket != null)
69 mSocket.close();
82 mSocket = null;
  /frameworks/base/voip/jni/rtp/
AudioGroup.cpp 117 int mSocket;
151 mSocket = -1;
159 close(mSocket);
162 LOGD("stream[%d] is dead", mSocket);
201 mSocket = socket;
221 LOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket,
272 LOGV("stream[%d] skips %d packets", mSocket, skipped);
296 sendto(mSocket, buffer, sizeof(buffer), MSG_DONTWAIT,
337 LOGV("stream[%d] no data", mSocket);
343 send(mSocket, samples, sizeof(samples), MSG_DONTWAIT)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
ZygoteConnection.java 68 * mSocket is retained in the child process in "peer wait" mode, so
72 private final LocalSocket mSocket;
96 mSocket = socket;
104 mSocket.setSoTimeout(CONNECTION_TIMEOUT_MILLIS);
107 peer = mSocket.getPeerCredentials();
120 return mSocket.getFileDescriptor();
182 descriptors = mSocket.getAncillaryFileDescriptors();
271 mSocket.close();
805 ZygoteInit.setCloseOnExec(mSocket.getFileDescriptor(), true);
806 sPeerWaitSocket = mSocket;
    [all...]
  /frameworks/base/services/java/com/android/server/
NativeDaemonConnector.java 45 private String mSocket;
76 mSocket = socket;
116 LocalSocketAddress address = new LocalSocketAddress(mSocket,
BackupManagerService.java     [all...]
  /cts/tests/src/android/webkit/cts/
CtsTestServer.java 680 private ServerSocket mSocket;
748 mSocket = mSslContext.getServerSocketFactory().createServerSocket(
751 mSocket = new ServerSocket(SERVER_PORT);
768 Socket socket = mSocket.accept();
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
RIL.java 212 LocalSocket mSocket;
301 s = mSocket;
542 mSocket = s;
547 InputStream is = mSocket.getInputStream();
582 mSocket.close();
586 mSocket = null;
    [all...]

Completed in 440 milliseconds