Method
BluetoothServerPort
(BluetoothAdapter adapter, UUID uuid)
Source from the content-addressed store, hash-verified
| 49 | private final Thread thread = new Thread(this, "Bluetooth server"); |
| 50 | |
| 51 | BluetoothServerPort(BluetoothAdapter adapter, UUID uuid) |
| 52 | throws IOException { |
| 53 | serverSocket = adapter.listenUsingRfcommWithServiceRecord("XCSoar", uuid); |
| 54 | |
| 55 | thread.start(); |
| 56 | } |
| 57 | |
| 58 | private synchronized BluetoothServerSocket stealServerSocket() { |
| 59 | BluetoothServerSocket s = serverSocket; |
Callers
nothing calls this directly
Tested by
no test coverage detected