Home
last modified time | relevance | path

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

12

/cts/tests/tests/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java134 Socket socket = new Socket(); in createSocket_io_error_expected() local
174 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT); in createSocket_simple_with_hostname_verification() local
202 Socket socket = mSocketFactory.createSocket(underlying, TEST_HOST, HTTPS_PORT, true); in createSocket_wrapped_with_hostname_verification() local
231 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT, mLocalAddress, 0); in createSocket_bound_with_hostname_verification() local
269 Socket socket = mSocketFactory.createSocket(mTestHostAddress, HTTPS_PORT); in createSocket_simple_no_hostname_verification() local
302 Socket socket = in createSocket_bound_no_hostname_verification() local
330 private void assertConnectedSocket(Socket socket) throws Exception { in assertConnectedSocket()
DVpnServiceTest.java67 DatagramSocket socket = new DatagramSocket(); in testProtect_DatagramSocket() local
81 Socket socket = new Socket(); in testProtect_Socket() local
96 DatagramSocket socket = new DatagramSocket(); in testProtect_int() local
DTrafficStatsTest.java123 final Socket socket = new Socket("localhost", server.getLocalPort()); in testTrafficStatsForLocalhost() local
151 final Socket socket = server.accept(); in testTrafficStatsForLocalhost() local
DIpSecBaseTest.java275 public JavaTcpSocket(Socket socket) { in JavaTcpSocket()
331 IpSecManager ism, IpSecTransform transform, GenericSocket socket) throws Exception { in applyTransformBidirectionally()
/cts/suite/audio_quality/lib/include/audio/
DAudioProtocol.h82 AudioProtocol(ClientSocket& socket, uint32_t command) in AudioProtocol()
105 explicit CmdDownload(ClientSocket& socket) in CmdDownload()
114 explicit CmdStartPlayback(ClientSocket& socket) in CmdStartPlayback()
122 explicit CmdStopPlayback(ClientSocket& socket) in CmdStopPlayback()
129 explicit CmdStartRecording(ClientSocket& socket) in CmdStartRecording()
140 explicit CmdStopRecording(ClientSocket& socket) in CmdStopRecording()
147 explicit CmdGetDeviceInfo(ClientSocket& socket) in CmdGetDeviceInfo()
/cts/tests/tests/netpermission/internetpermission/src/android/net/cts/network/permission/
DInternetPermissionTest.java44 Socket socket = new Socket("example.com", 80); in testCreateSocket() local
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioGroupTest.java84 private void assertPacket(DatagramSocket socket, int length) throws Exception { in assertPacket()
91 private void drain(DatagramSocket socket) throws Exception { in drain()
/cts/tests/tests/netpermission/updatestatspermission/src/android/net/cts/network/permission/
DUpdateStatsPermissionTest.java55 Socket socket = new Socket("example.com", 80); in testUpdateDeviceStatsPermission() local
/cts/tests/tests/location/src/android/location/cts/suplClient/
DSuplTcpClient.java38 private Socket socket; field in SuplTcpClient
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java85 BluetoothServerSocket socket = mAdapter.listenUsingRfcommWithServiceRecord( in testListenUsingRfcommWithServiceRecord() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java184 FileDescriptor socket = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); in checkPing() local
232 FileDescriptor socket = null; in tryPosixConnect() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java219 public synchronized void connected(BluetoothSocket socket, BluetoothDevice in connected()
370 BluetoothSocket socket = null; in run() local
531 public ConnectedThread(BluetoothSocket socket, String socketType) { in ConnectedThread()
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java167 final Socket socket = new Socket(); in testTrafficStatsStatsUidSelf() 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.java245 BluetoothServerSocket socket = adapter.listenUsingRfcommWithServiceRecord( in test_listenUsingRfcommWithServiceRecord() local
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerFlakyNetworkTest.java289 Socket socket, int buffersize, HttpParams params) throws IOException { in createHttpDataTransmitter()
294 Socket socket, int buffersize, HttpParams params) throws IOException { in createSessionOutputBuffer()
DStreamingMediaPlayerTest.java640 Socket socket, int buffersize, HttpParams params) throws IOException { in createHttpDataTransmitter()
645 Socket socket, int buffersize, HttpParams params) throws IOException { in createSessionOutputBuffer()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java342 try (Socket socket = new Socket("example.com", 80)) { in testUntaggedSocketsRaw()
351 try (Socket socket = new Socket("example.com", 80)) { in testUntaggedSocketsRaw()
442 try (Socket socket = new Socket("example.com", 80)) { in testNetwork()
DParcelFileDescriptorTest.java126 Socket socket; in testFromSocket() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java132 final Socket socket = server.accept(); in run() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java242 Socket socket = info.first.getSocketFactory().createSocket(peerIpv6, peerPort); in executeTestSubscriber() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java423 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias()
442 Socket socket) { in chooseServerAlias()
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java143 Socket socket = new Socket(); in isTcpConnectable() local
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DNsdManagerTest.java344 ServerSocket socket; in testNDSManager() local

12