Home
last modified time | relevance | path

Searched refs:serverSocket (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DLeL2capSocketTest.java64 final BluetoothServerSocket serverSocket = mAdapter.listenUsingInsecureL2capChannel(); in testOpenInsecureLeL2capServerSocketOnce() local
65 assertNotNull("Failed to get server socket", serverSocket); in testOpenInsecureLeL2capServerSocketOnce()
66 serverSocket.close(); in testOpenInsecureLeL2capServerSocketOnce()
80 final BluetoothServerSocket serverSocket = in testOpenInsecureLeL2capServerSocketRepeatedly() local
82 assertNotNull("Failed to get server socket", serverSocket); in testOpenInsecureLeL2capServerSocketRepeatedly()
83 serverSocket.close(); in testOpenInsecureLeL2capServerSocketRepeatedly()
97 final BluetoothServerSocket serverSocket = mAdapter.listenUsingL2capChannel(); in testOpenSecureLeL2capServerSocketOnce() local
98 assertNotNull("Failed to get server socket", serverSocket); in testOpenSecureLeL2capServerSocketOnce()
99 serverSocket.close(); in testOpenSecureLeL2capServerSocketOnce()
113 final BluetoothServerSocket serverSocket = mAdapter.listenUsingL2capChannel(); in testOpenSecureLeL2capServerSocketRepeatedly() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java109 LocalServerSocket serverSocket = createSocket(); in run() local
110 if (null == serverSocket) { in run()
121 receiverSocket = serverSocket.accept(); in run()
183 if (serverSocket != null) { in run()
185 serverSocket.close(); in run()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1768 SSLServerSocket serverSocket = (SSLServerSocket) serverContext.getServerSocketFactory() in assertSSLConnectionWithClientAuth() local
1771 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth()
1774 final SSLSocket server = (SSLSocket) serverSocket.accept(); in assertSSLConnectionWithClientAuth()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1056 try (ServerSocket serverSocket = new ServerSocket(8080) { in testStagefright_bug_68342866()
1059 Socket conn = serverSocket.accept(); in testStagefright_bug_68342866()
1355 try (ServerSocket serverSocket = new ServerSocket(8080) { in testStagefright_cve_2016_3880()
1358 Socket conn = serverSocket.accept() in testStagefright_cve_2016_3880()