Searched defs:socket (Results 1 - 7 of 7) sorted by relevance
/cts/suite/audio_quality/lib/src/audio/ |
H A D | AudioProtocol.cpp | 19 #include <sys/socket.h> 52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id) argument 54 if (!socket.readData((char*)data, REPLY_HEADER_SIZE)) {
|
H A D | RemoteAudio.cpp | 20 #include <sys/socket.h> 29 RemoteAudio::RemoteAudio(ClientSocket& socket) argument 31 mSocket(socket), 38 mCmds[AudioProtocol::ECmdDownload - AudioProtocol::ECmdStart] = new CmdDownload(socket); 40 new CmdStartPlayback(socket); 42 new CmdStopPlayback(socket); 44 new CmdStartRecording(socket); 46 new CmdStopRecording(socket); 48 new CmdGetDeviceInfo(socket); 76 // initial action until socket connectio [all...] |
/cts/tests/tests/net/src/android/net/rtp/cts/ |
H A D | AudioGroupTest.java | 77 private void assertPacket(DatagramSocket socket, int length) throws Exception { argument 79 socket.setSoTimeout(3000); 80 socket.receive(packet); 84 private void drain(DatagramSocket socket) throws Exception { argument 86 socket.setSoTimeout(1); 88 // Drain the socket by retrieving all the packets queued on it. 91 socket.receive(packet);
|
/cts/suite/audio_quality/test_description/ |
H A D | processing_main.py | 20 import socket namespace 151 if justRead == 0: # socket closed 208 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 209 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 215 # close the server socket to allow other instance to run
|
/cts/tests/tests/media/src/android/media/cts/ |
H A D | MediaPlayerFlakyNetworkTest.java | 265 Socket socket, int buffersize, HttpParams params) throws IOException { 266 return createSessionOutputBuffer(socket, buffersize, params); 270 Socket socket, int buffersize, HttpParams params) throws IOException { 271 return new SocketOutputBuffer(socket, buffersize, params) { 264 createHttpDataTransmitter( Socket socket, int buffersize, HttpParams params) argument 269 createSessionOutputBuffer( Socket socket, int buffersize, HttpParams params) argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
H A D | BluetoothChatService.java | 63 // Name for the SDP record when creating server socket 162 * @param socket The BluetoothSocket on which the connection was made 165 public synchronized void connected(BluetoothSocket socket, BluetoothDevice argument 186 mConnectedThread = new ConnectedThread(socket, socketType); 274 // The local server socket 282 // Create a new listening server socket 300 BluetoothSocket socket = null; 302 // Listen to the server socket if we're not connected 307 socket = mmServerSocket.accept(); 314 if (socket ! 434 ConnectedThread(BluetoothSocket socket, String socketType) argument [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
H A D | AudioProtocol.h | 74 * @param socket socket to read 79 static bool handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id); 82 AudioProtocol(ClientSocket& socket, uint32_t command) argument 84 mSocket(socket) {}; 105 CmdDownload(ClientSocket& socket) argument 106 : AudioProtocol(socket, ECmdDownload) {}; 114 CmdStartPlayback(ClientSocket& socket) argument 115 : AudioProtocol(socket, ECmdStartPlayback) {}; 122 CmdStopPlayback(ClientSocket& socket) argument 129 CmdStartRecording(ClientSocket& socket) argument 140 CmdStopRecording(ClientSocket& socket) argument 147 CmdGetDeviceInfo(ClientSocket& socket) argument [all...] |
Completed in 287 milliseconds