Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 23 of 23) sorted by relevance

/cts/suite/audio_quality/lib/include/audio/
DAudioProtocol.h82 AudioProtocol(ClientSocket& socket, uint32_t command) in AudioProtocol()
105 CmdDownload(ClientSocket& socket) in CmdDownload()
114 CmdStartPlayback(ClientSocket& socket) in CmdStartPlayback()
122 CmdStopPlayback(ClientSocket& socket) in CmdStopPlayback()
129 CmdStartRecording(ClientSocket& socket) in CmdStartRecording()
140 CmdStopRecording(ClientSocket& socket) in CmdStopRecording()
147 CmdGetDeviceInfo(ClientSocket& socket) in CmdGetDeviceInfo()
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java64 DatagramSocket socket = new DatagramSocket(); in testProtect_DatagramSocket() local
78 Socket socket = new Socket(); in testProtect_Socket() local
92 DatagramSocket socket = new DatagramSocket(); in testProtect_int() local
DSSLCertificateSocketFactoryTest.java76 Socket socket = new Socket(); in testCreateSocket() local
82 Socket socket = null; in testCreateSocket() local
DTrafficStatsTest.java127 Socket socket = new Socket("localhost", server.getLocalPort()); in testTrafficStatsForLocalhost() local
157 Socket socket = server.accept(); in testTrafficStatsForLocalhost() local
DLocalSocketTest.java121 LocalSocket socket = new LocalSocket(); in testAccessors() local
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLEarlyCCSTest.java239 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in clientConnectAndHandshake() local
286 SSLSocket socket = null; in serverAcceptAndHandshake() local
500 private synchronized void setServerListeningSocket(SSLServerSocket socket) { in setServerListeningSocket()
508 private synchronized void setServerSocket(SSLSocket socket) { in setServerSocket()
516 private synchronized void setClientSocket(SSLSocket socket) { in setClientSocket()
524 private synchronized void setMitmListeningSocket(ServerSocket socket) { in setMitmListeningSocket()
532 private synchronized void setMitmServerSocket(Socket socket) { in setMitmServerSocket()
540 private synchronized void setMitmClientSocket(Socket socket) { in setMitmClientSocket()
DOpenSSLHeartbleedTest.java242 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in clientConnectAndHandshake() local
288 SSLSocket socket = null; in serverAcceptAndHandshake() local
535 private synchronized void setServerListeningSocket(SSLServerSocket socket) { in setServerListeningSocket()
543 private synchronized void setServerSocket(SSLSocket socket) { in setServerSocket()
551 private synchronized void setClientSocket(SSLSocket socket) { in setClientSocket()
559 private synchronized void setMitmListeningSocket(ServerSocket socket) { in setMitmListeningSocket()
567 private synchronized void setMitmServerSocket(Socket socket) { in setMitmServerSocket()
575 private synchronized void setMitmClientSocket(Socket socket) { in setMitmClientSocket()
886 public static void closeQuietly(ServerSocket socket) { in closeQuietly()
894 public static void closeQuietly(Socket socket) { in closeQuietly()
[all …]
DListeningPortsTest.java239 Socket socket = new Socket(); in isTcpConnectable() local
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioGroupTest.java77 private void assertPacket(DatagramSocket socket, int length) throws Exception { in assertPacket()
84 private void drain(DatagramSocket socket) throws Exception { in drain()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java122 FileDescriptor socket = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); in checkPing() local
170 FileDescriptor socket = null; in tryPosixConnect() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java85 BluetoothServerSocket socket = mAdapter.listenUsingRfcommWithServiceRecord( in testListenUsingRfcommWithServiceRecord() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java165 public synchronized void connected(BluetoothSocket socket, BluetoothDevice in connected()
300 BluetoothSocket socket = null; in run() local
434 public ConnectedThread(BluetoothSocket socket, String socketType) { in ConnectedThread()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java205 Socket socket = new Socket("localhost", server.getLocalPort()); in createTrafficStatsWithTags() local
226 Socket socket = server.accept(); in createTrafficStatsWithTags() local
/cts/suite/audio_quality/lib/src/audio/
DAudioProtocol.cpp52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id) in handleReplyHeader()
DRemoteAudio.cpp29 RemoteAudio::RemoteAudio(ClientSocket& socket) in RemoteAudio()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java215 BluetoothServerSocket socket = adapter.listenUsingRfcommWithServiceRecord( in test_listenUsingRfcommWithServiceRecord() local
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerFlakyNetworkTest.java284 Socket socket, int buffersize, HttpParams params) throws IOException { in createHttpDataTransmitter()
289 Socket socket, int buffersize, HttpParams params) throws IOException { in createSessionOutputBuffer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java371 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias()
390 Socket socket) { in chooseServerAlias()
/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java342 ServerSocket socket; in testNDSManager() local
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java102 Socket socket; in testFromSocket() local
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java950 Socket socket = mSocket.accept(); in run() local
1020 HttpRequest request, Socket socket) { in HandleResponseTask()
DTestWebServer.java580 Socket socket = mSocket.accept(); in run() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1459 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias()
1464 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias()