Searched refs:bluetoothSocket (Results 1 – 3 of 3) sorted by relevance
20 BluetoothSocket bluetoothSocket; field in ShadowBluetoothSocketTest26 bluetoothSocket = Shadow.newInstanceOf(BluetoothSocket.class); in setUp()31 shadowOf(bluetoothSocket).getInputStreamFeeder().write(DATA); in getInputStreamFeeder()33 InputStream inputStream = bluetoothSocket.getInputStream(); in getInputStreamFeeder()41 bluetoothSocket.getOutputStream().write(DATA); in getOutputStreamSink()44 int len = shadowOf(bluetoothSocket).getOutputStreamSink().read(b); in getOutputStreamSink()60 shadowOf(bluetoothSocket).setOutputStream(socketVerifier); in setOutputStream_withWrite_observable()62 bluetoothSocket.getOutputStream().write(DATA); in setOutputStream_withWrite_observable()69 bluetoothSocket.close(); in close()72 bluetoothSocket.connect(); in close()[all …]
17 BluetoothSocket bluetoothSocket; field in ShadowBluetoothSocketTest23 bluetoothSocket = Shadow.newInstanceOf(BluetoothSocket.class); in setUp()28 shadowOf(bluetoothSocket).getInputStreamFeeder().write(DATA); in getInputStreamFeeder()30 InputStream inputStream = bluetoothSocket.getInputStream(); in getInputStreamFeeder()38 bluetoothSocket.getOutputStream().write(DATA); in getOutputStreamSink()41 int len = shadowOf(bluetoothSocket).getOutputStreamSink().read(b); in getOutputStreamSink()
54 bluetoothSocket = null; in reset()57 private static BluetoothSocket bluetoothSocket = null; field in ShadowBluetoothDevice289 if (bluetoothSocket == null) { in createRfcommSocketToServiceRecord()290 bluetoothSocket = Shadow.newInstanceOf(BluetoothSocket.class); in createRfcommSocketToServiceRecord()293 return bluetoothSocket; in createRfcommSocketToServiceRecord()