Home
last modified time | relevance | path

Searched refs:BluetoothSocket (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java911 public BluetoothSocket createRfcommSocket(int channel) throws IOException { in createRfcommSocket()
912 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, in createRfcommSocket()
947 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord()
948 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, -1, in createRfcommSocketToServiceRecord()
980 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord()
981 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, -1, in createInsecureRfcommSocketToServiceRecord()
999 public BluetoothSocket createInsecureRfcommSocket(int port) throws IOException { in createInsecureRfcommSocket()
1000 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, false, false, this, port, in createInsecureRfcommSocket()
1014 public BluetoothSocket createScoSocket() throws IOException { in createScoSocket()
1015 return new BluetoothSocket(BluetoothSocket.TYPE_SCO, -1, true, true, this, -1, null); in createScoSocket()
DBluetoothServerSocket.java68 /*package*/ final BluetoothSocket mSocket;
85 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
98 public BluetoothSocket accept() throws IOException { in accept()
112 public BluetoothSocket accept(int timeout) throws IOException { in accept()
DBluetoothSocket.java78 public final class BluetoothSocket implements Closeable { class
130 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() method in BluetoothSocket
132 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) { in BluetoothSocket()
175 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() method in BluetoothSocket
306 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept()
311 BluetoothSocket acceptedSocket = acceptNative(timeout); in accept()
353 private native BluetoothSocket acceptNative(int timeout) throws IOException; in acceptNative()
DBluetoothOutputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothOutputStream(BluetoothSocket s) { in BluetoothOutputStream()
DBluetoothInputStream.java30 private BluetoothSocket mSocket;
32 /*package*/ BluetoothInputStream(BluetoothSocket s) { in BluetoothInputStream()
DBluetoothAdapter.java855 for (int i = 1; i <= BluetoothSocket.MAX_RFCOMM_CHANNEL; i++) { in RfcommChannelPicker()
892 BluetoothSocket.TYPE_RFCOMM, true, true, channel); in listenUsingRfcommOn()
1014 BluetoothSocket.TYPE_RFCOMM, auth, encrypt, channel); in createNewRfcommSocketAndRecord()
1019 } else if (errno == BluetoothSocket.EADDRINUSE) { in createNewRfcommSocketAndRecord()
1073 BluetoothSocket.TYPE_RFCOMM, false, false, port); in listenUsingInsecureRfcommOn()
1095 BluetoothSocket.TYPE_RFCOMM, false, true, port); in listenUsingEncryptedRfcommOn()
1116 BluetoothSocket.TYPE_SCO, false, false, -1); in listenUsingScoOn()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd40 <li>{@link android.bluetooth.BluetoothSocket}</li>
97 with a remote device through a {@link android.bluetooth.BluetoothSocket} or
101 <dt>{@link android.bluetooth.BluetoothSocket}</dt>
113 android.bluetooth.BluetoothSocket} when the
481 {@link android.bluetooth.BluetoothSocket} on the same RFCOMM channel. At this
488 android.bluetooth.BluetoothSocket} in different ways. The server will receive it
518 provide a connected {@link android.bluetooth.BluetoothSocket}. When the {@link
519 android.bluetooth.BluetoothSocket} is acquired from the {@link
563 return a connected {@link android.bluetooth.BluetoothSocket}.</p>
569 connected {@link android.bluetooth.BluetoothSocket} that's been returned by {@link
[all …]
/frameworks/base/core/java/android/server/
DBluetoothService.java37 import android.bluetooth.BluetoothSocket;
1566 channel > BluetoothSocket.MAX_RFCOMM_CHANNEL) { in addRfcommServiceRecord()
/frameworks/base/docs/html/tools/adk/
Dadk2.jd428 {@link android.bluetooth.BluetoothSocket} connection request in the Android application code.</p>
464 negotiation fails and the {@link android.bluetooth.BluetoothSocket} is not created. Once a
/frameworks/base/
Dpreloaded-classes191 android.bluetooth.BluetoothSocket
/frameworks/base/docs/html/
Dsitemap.txt3308 http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html
/frameworks/base/api/
D14.txt4472 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
4473 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
4583 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
4584 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
4588 public final class BluetoothSocket implements java.io.Closeable {
D15.txt4477 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
4478 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
4592 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
4593 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
4597 public final class BluetoothSocket implements java.io.Closeable {
Dcurrent.txt4686 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
4687 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
4801 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
4802 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
4806 public final class BluetoothSocket implements java.io.Closeable {
D16.txt4686 …method public android.bluetooth.BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.uti…
4687 …method public android.bluetooth.BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID) …
4801 method public android.bluetooth.BluetoothSocket accept() throws java.io.IOException;
4802 method public android.bluetooth.BluetoothSocket accept(int) throws java.io.IOException;
4806 public final class BluetoothSocket implements java.io.Closeable {