OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BluetoothSocket
(Results
1 - 14
of
14
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBluetoothSocket.java
3
import android.bluetooth.
BluetoothSocket
;
12
@Implements(
BluetoothSocket
.class)
31
*
BluetoothSocket
}.
39
*
BluetoothSocket
}.
ShadowBluetoothServerSocket.java
7
import android.bluetooth.
BluetoothSocket
;
35
return Math.abs(uuid.hashCode() %
BluetoothSocket
.MAX_RFCOMM_CHANNEL) + 1;
ShadowBluetoothAdapter.java
11
import android.bluetooth.
BluetoothSocket
;
56
BluetoothSocket
.TYPE_RFCOMM, /*auth=*/ false, /*encrypt=*/ false, new ParcelUuid(uuid));
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBluetoothSocketTest.java
6
import android.bluetooth.
BluetoothSocket
;
17
BluetoothSocket
bluetoothSocket
;
23
bluetoothSocket
= Shadow.newInstanceOf(
BluetoothSocket
.class);
28
shadowOf(
bluetoothSocket
).getInputStreamFeeder().write(DATA);
30
InputStream inputStream =
bluetoothSocket
.getInputStream();
38
bluetoothSocket
.getOutputStream().write(DATA);
41
int len = shadowOf(
bluetoothSocket
).getOutputStreamSink().read(b);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothConnection.java
21
import android.bluetooth.
BluetoothSocket
;
39
private
BluetoothSocket
mSocket;
47
BluetoothConnection(
BluetoothSocket
mSocket) throws IOException {
51
BluetoothConnection(
BluetoothSocket
mSocket, BluetoothServerSocket mServerSocket)
257
Field field =
BluetoothSocket
.class.getDeclaredField("mPfd");
BluetoothSocketConnFacade.java
23
import android.bluetooth.
BluetoothSocket
;
313
* Set the current
BluetoothSocket
LE Data Length value to the maximum supported by this BT
329
BluetoothSocket
socket = mConnectThread.getSocket();
664
private final
BluetoothSocket
mSocket;
669
BluetoothSocket
tmp = null;
685
BluetoothSocket
tmp = null;
737
public
BluetoothSocket
getSocket() {
750
private
BluetoothSocket
mSocket;
827
public
BluetoothSocket
getSocket() {
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatService.java
22
import android.bluetooth.
BluetoothSocket
;
168
* @param socket The
BluetoothSocket
on which the connection was made
171
public synchronized void connected(
BluetoothSocket
socket, BluetoothDevice
332
BluetoothSocket
socket = null;
389
private final
BluetoothSocket
mmSocket;
395
BluetoothSocket
tmp = null;
398
// Get a
BluetoothSocket
for a connection with the
422
// Make a connection to the
BluetoothSocket
462
private final
BluetoothSocket
mmSocket;
466
public ConnectedThread(
BluetoothSocket
socket, String socketType)
[
all
...]
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatService.java
22
import android.bluetooth.
BluetoothSocket
;
168
* @param socket The
BluetoothSocket
on which the connection was made
171
public synchronized void connected(
BluetoothSocket
socket, BluetoothDevice
332
BluetoothSocket
socket = null;
389
private final
BluetoothSocket
mmSocket;
395
BluetoothSocket
tmp = null;
398
// Get a
BluetoothSocket
for a connection with the
422
// Make a connection to the
BluetoothSocket
462
private final
BluetoothSocket
mmSocket;
466
public ConnectedThread(
BluetoothSocket
socket, String socketType)
[
all
...]
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java
27
import android.bluetooth.
BluetoothSocket
;
148
* @param socket The
BluetoothSocket
on which the connection was made
151
public synchronized void connected(
BluetoothSocket
socket, BluetoothDevice
294
BluetoothSocket
socket = null;
351
private final
BluetoothSocket
mmSocket;
357
BluetoothSocket
tmp = null;
360
// Get a
BluetoothSocket
for a connection with the
383
// Make a connection to the
BluetoothSocket
423
private final
BluetoothSocket
mmSocket;
427
public ConnectedThread(
BluetoothSocket
socket, String socketType)
[
all
...]
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
BluetoothChatService.java
22
import android.bluetooth.
BluetoothSocket
;
168
* @param socket The
BluetoothSocket
on which the connection was made
171
public synchronized void connected(
BluetoothSocket
socket, BluetoothDevice
332
BluetoothSocket
socket = null;
389
private final
BluetoothSocket
mmSocket;
395
BluetoothSocket
tmp = null;
398
// Get a
BluetoothSocket
for a connection with the
422
// Make a connection to the
BluetoothSocket
462
private final
BluetoothSocket
mmSocket;
466
public ConnectedThread(
BluetoothSocket
socket, String socketType)
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothChatService.java
22
import android.bluetooth.
BluetoothSocket
;
216
* @param socket The
BluetoothSocket
on which the connection was made
219
public synchronized void connected(
BluetoothSocket
socket, BluetoothDevice
370
BluetoothSocket
socket = null;
432
private final
BluetoothSocket
mmSocket;
449
private
BluetoothSocket
connectThreadCommon(BluetoothDevice device, boolean secure, int psm) {
450
BluetoothSocket
tmp = null;
453
// Get a
BluetoothSocket
for a connection with the
486
// Make a connection to the
BluetoothSocket
527
private final
BluetoothSocket
mmSocket
[
all
...]
BleCocClientService.java
38
import android.bluetooth.
BluetoothSocket
;
635
if (type !=
BluetoothSocket
.TYPE_L2CAP) {
BleCocServerService.java
31
import android.bluetooth.
BluetoothSocket
;
530
if (type !=
BluetoothSocket
.TYPE_L2CAP) {
/external/autotest/client/common_lib/cros/bluetooth/
bluetooth_socket.py
227
"""Error raised for general issues with
BluetoothSocket
."""
239
class
BluetoothSocket
(btsocket.socket):
242
BluetoothSocket
wraps the btsocket.socket() class, and thus the system
255
super(
BluetoothSocket
, self).__init__(family=btsocket.AF_BLUETOOTH,
459
class BluetoothControlSocket(
BluetoothSocket
):
[
all
...]
Completed in 458 milliseconds