diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2011-01-13 22:50:51 -0800 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-01-14 13:24:03 -0800 |
commit | a3363ef2cdf27e8d652297e9b916d085c5550a28 (patch) | |
tree | f3229cdbb5ccb0eb81f3e902c66635047870719a /api/current.xml | |
parent | 9aac2e2b9541c424ca02483631b08949f0e90c8c (diff) | |
download | frameworks_base-a3363ef2cdf27e8d652297e9b916d085c5550a28.zip frameworks_base-a3363ef2cdf27e8d652297e9b916d085c5550a28.tar.gz frameworks_base-a3363ef2cdf27e8d652297e9b916d085c5550a28.tar.bz2 |
Do Not Merge: Expose insecure rfcomm Bluetooth API.
This complements the secure rfcomm API.
The link key is unauthenticated and is subject to MITM attacks.
The link key may be encrypted depending on the type of Bluetooth device.
This helps apps which don't need the extra security or
have their own security layer built on top of the rfcomm link.
Bug: 3352266
Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
Diffstat (limited to 'api/current.xml')
-rw-r--r-- | api/current.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index 85b367d..18cb5d6 100644 --- a/api/current.xml +++ b/api/current.xml @@ -29401,6 +29401,23 @@ visibility="public" > </method> +<method name="listenUsingInsecureRfcommWithServiceRecord" + return="android.bluetooth.BluetoothServerSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="name" type="java.lang.String"> +</parameter> +<parameter name="uuid" type="java.util.UUID"> +</parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> <method name="listenUsingRfcommWithServiceRecord" return="android.bluetooth.BluetoothServerSocket" abstract="false" @@ -30587,6 +30604,21 @@ > <implements name="android.os.Parcelable"> </implements> +<method name="createInsecureRfcommSocketToServiceRecord" + return="android.bluetooth.BluetoothSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="uuid" type="java.util.UUID"> +</parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> <method name="createRfcommSocketToServiceRecord" return="android.bluetooth.BluetoothSocket" abstract="false" |