/cts/suite/audio_quality/lib/src/ |
D | ClientSocket.cpp | 29 : mSocket(-1), in ClientSocket() 43 mSocket = socket(AF_INET, SOCK_STREAM, 0); in init() 44 if (mSocket < 0) { in init() 49 if (setsockopt(mSocket, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse)) == -1) { in init() 64 if (connect(mSocket, (struct sockaddr *)&serverAddr, sizeof(serverAddr)) < 0) { in init() 83 flOriginal = fcntl(mSocket, F_GETFL,0); in readData() 88 if (fcntl(mSocket, F_SETFL, flOriginal | O_NONBLOCK) == -1) { in readData() 105 FD_SET(mSocket, &rfds); in readData() 106 if (select(mSocket + 1, &rfds, NULL, NULL, &tv) == -1) { in readData() 111 if (!FD_ISSET(mSocket, &rfds)) { in readData() [all …]
|
D | SignalProcessingImpl.cpp | 54 if (mSocket.get() != NULL) { in ~SignalProcessingImpl() 57 mSocket->release(); in ~SignalProcessingImpl() 91 mSocket.reset(new ClientSocket()); in init() 92 if (mSocket.get() == NULL) { in init() 96 if (mSocket->init("127.0.0.1", SCRIPT_PORT, true)) { in init() 104 mSocket.reset(NULL); in init() 244 return mSocket->sendData(data, len); in send() 251 return mSocket->readData(data, len, READ_TIMEOUT_MS); in read()
|
D | ClientImpl.h | 35 return mSocket; in getSocket() 43 ClientSocket mSocket;
|
D | ClientImpl.cpp | 24 : mAudio(new RemoteAudio(mSocket)) in ClientImpl()
|
D | SignalProcessingImpl.h | 49 UniquePtr<ClientSocket> mSocket; variable
|
/cts/suite/audio_quality/lib/include/ |
D | ClientSocket.h | 32 return mSocket; in getFD() 36 int mSocket;
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioProtocol.h | 84 mSocket(socket) {}; in AudioProtocol() 87 return mSocket.sendData(data, len); in sendData() 92 return mSocket.readData(data, len); in readData() 99 ClientSocket& mSocket; variable
|
D | RemoteAudio.h | 102 ClientSocket& mSocket; variable
|
/cts/suite/audio_quality/lib/src/audio/ |
D | RemoteAudio.cpp | 31 mSocket(socket), in RemoteAudio() 84 if (!mSocket.init("127.0.0.1", mPort)) { in threadLoop() 88 LOGD("adding fd %d to polling", mSocket.getFD()); in threadLoop() 89 mLooper->addFd(mSocket.getFD(), EIdSocket, ALOOPER_EVENT_INPUT, socketRxCallback, this); in threadLoop() 107 if (!AudioProtocol::handleReplyHeader(mSocket, data, id)) { in handlePacket() 334 mSocket.release(); in release()
|
/cts/suite/audio_quality/test/ |
D | RemoteAudioFakeTcpTest.cpp | 53 close(mSocket); in ~ClientSocketForTest() 65 mSocket = pipefd[0]; in init() 72 read(mSocket, data, len); in readData()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 180 mServerUri = "https://localhost:" + mServerThread.mSocket.getLocalPort(); in CtsTestServer() 182 mServerUri = "http://localhost:" + mServerThread.mSocket.getLocalPort(); in CtsTestServer() 796 private ServerSocket mSocket; field in CtsTestServer.ServerThread 864 mSocket = mSslContext.getServerSocketFactory().createServerSocket(0); in ServerThread() 866 mSocket = new ServerSocket(0); in ServerThread() 883 Socket socket = mSocket.accept(); in run() 916 mSocket.close(); in run()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 120400 private final android.net.LocalSocket mSocket 127144 android.net.LocalSocket mSocket
|