Searched refs:mServerSocket (Results 1 – 4 of 4) sorted by relevance
46 private LocalServerSocket mServerSocket; field in ZygoteServer57 if (mServerSocket == null) { in registerServerSocket()70 mServerSocket = new LocalServerSocket(fd); in registerServerSocket()84 return createNewConnection(mServerSocket.accept(), abiList); in acceptCommandPeer()102 if (mServerSocket != null) { in closeServerSocket()103 FileDescriptor fd = mServerSocket.getFileDescriptor(); in closeServerSocket()104 mServerSocket.close(); in closeServerSocket()115 mServerSocket = null; in closeServerSocket()125 return mServerSocket.getFileDescriptor(); in getServerSocketFileDescriptor()140 fds.add(mServerSocket.getFileDescriptor()); in runSelectLoop()
50 static private BluetoothServerSocket mServerSocket = null; field in BluetoothMnsService91 if (mServerSocket != null) { in run()98 mServerSocket = adapter.listenUsingEncryptedRfcommWithServiceRecord( in run()109 BluetoothSocket sock = mServerSocket.accept(); in run()125 if (mServerSocket != null) { in run()127 mServerSocket.close(); in run()132 mServerSocket = null; in run()175 if (mServerSocket != null) { in unregisterCallback()177 mServerSocket.close(); in unregisterCallback()181 mServerSocket = null; in unregisterCallback()
41 private final ServerSocket mServerSocket; field in RedirectListener53 mServerSocket = new ServerSocket(0, 5, InetAddress.getLocalHost()); in RedirectListener()56 mURL = new URL("http", mServerSocket.getInetAddress().getHostAddress(), in RedirectListener()57 mServerSocket.getLocalPort(), mPath); in RedirectListener()117 mServerSocket.close(); in abort()139 try (Socket instance = mServerSocket.accept()) { in run()
47 private LocalServerSocket mServerSocket; field in NetworkManagementServiceTest59 mServerSocket = new LocalServerSocket(SOCKET_NAME); in setUp()63 mSocket = mServerSocket.accept(); in setUp()70 if (mServerSocket != null) mServerSocket.close(); in tearDown()