Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPacFileServer.java61 private ServerSocket mServerSocket; field in PacFileServer
87 mServerSocket = new ServerSocket(0); in PacFileServer()
93 mServerSocket.setReuseAddress(true); in run()
96 Socket connection = mServerSocket.accept(); in run()
106 mServerSocket.close(); in run()
121 if (mServerSocket != null) { in stopServer()
123 mServerSocket.close(); in stopServer()
141 return "http://localhost:" + mServerSocket.getLocalPort() + "/proxy.pac"; in getPacURL()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DBluetoothConnector.kt118 private lateinit var mServerSocket: BluetoothServerSocket variable in android.companion.cts.multidevice.BluetoothConnector.BluetoothServerThread
125 mServerSocket = adapter.listenUsingRfcommWithServiceRecord( in run()
131 val socket = mServerSocket.accept() in run()
145 if (!isOpen || !this::mServerSocket.isInitialized) return in shutdown()
150 mServerSocket.close() in shutdown()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java301 private BluetoothServerSocket mServerSocket; field in MainActivity.BluetoothServerThread
307 mServerSocket = mAdapter.listenUsingRfcommWithServiceRecord(SERVICE_NAME, in run()
310 final BluetoothSocket socket = mServerSocket.accept(); in run()
323 if (mServerSocket != null) { in shutdown()
325 mServerSocket.close(); in shutdown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleCocServerService.java173 private BluetoothServerSocket mServerSocket; field in BleCocServerService