Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java46 private LocalServerSocket mServerSocket; field in ZygoteServer
57 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()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsService.java50 static private BluetoothServerSocket mServerSocket = null; field in BluetoothMnsService
91 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()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
DRedirectListener.java41 private final ServerSocket mServerSocket; field in RedirectListener
53 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java47 private LocalServerSocket mServerSocket; field in NetworkManagementServiceTest
59 mServerSocket = new LocalServerSocket(SOCKET_NAME); in setUp()
63 mSocket = mServerSocket.accept(); in setUp()
70 if (mServerSocket != null) mServerSocket.close(); in tearDown()