Searched refs:serverSocket (Results 1 – 4 of 4) sorted by relevance
64 final BluetoothServerSocket serverSocket = mAdapter.listenUsingInsecureL2capChannel(); in testOpenInsecureLeL2capServerSocketOnce() local65 assertNotNull("Failed to get server socket", serverSocket); in testOpenInsecureLeL2capServerSocketOnce()66 serverSocket.close(); in testOpenInsecureLeL2capServerSocketOnce()80 final BluetoothServerSocket serverSocket = in testOpenInsecureLeL2capServerSocketRepeatedly() local82 assertNotNull("Failed to get server socket", serverSocket); in testOpenInsecureLeL2capServerSocketRepeatedly()83 serverSocket.close(); in testOpenInsecureLeL2capServerSocketRepeatedly()97 final BluetoothServerSocket serverSocket = mAdapter.listenUsingL2capChannel(); in testOpenSecureLeL2capServerSocketOnce() local98 assertNotNull("Failed to get server socket", serverSocket); in testOpenSecureLeL2capServerSocketOnce()99 serverSocket.close(); in testOpenSecureLeL2capServerSocketOnce()113 final BluetoothServerSocket serverSocket = mAdapter.listenUsingL2capChannel(); in testOpenSecureLeL2capServerSocketRepeatedly() local[all …]
109 LocalServerSocket serverSocket = createSocket(); in run() local110 if (null == serverSocket) { in run()121 receiverSocket = serverSocket.accept(); in run()183 if (serverSocket != null) { in run()185 serverSocket.close(); in run()
1768 SSLServerSocket serverSocket = (SSLServerSocket) serverContext.getServerSocketFactory() in assertSSLConnectionWithClientAuth() local1771 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth()1774 final SSLSocket server = (SSLSocket) serverSocket.accept(); in assertSSLConnectionWithClientAuth()
1056 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()