OSDN Git Service

Unhide Bluetooth Low Energy public APIs
authorMatthew Xie <mattx@google.com>
Sat, 2 Mar 2013 02:41:02 +0000 (18:41 -0800)
committerMatthew Xie <mattx@google.com>
Thu, 28 Mar 2013 22:36:10 +0000 (15:36 -0700)
commitddf7e4756c31d0ed90802f98abeaa79df6d16b2a
treed50a602db913c46bd83905631cb1d36d3cb9ecec
parentdc1975ea717cdafb914fd00ea781fd314e1ac478
Unhide Bluetooth Low Energy public APIs

Updated API headers. Add BluetoothManager to be retrieved by
context.getSystemService(Context.BLUETOOTH_SERVICE).
LE scan functions are placed in BluetoothAdapter
The GATT API are device driven instead of a profile-driver.
bug 8450158

Change-Id: I424a4cedaac3ef8120a05996500008dd210d2553
20 files changed:
api/current.txt
core/java/android/app/ContextImpl.java
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothAdapterCallback.java [new file with mode: 0644]
core/java/android/bluetooth/BluetoothDevice.java
core/java/android/bluetooth/BluetoothGatt.java
core/java/android/bluetooth/BluetoothGattCallback.java
core/java/android/bluetooth/BluetoothGattCharacteristic.java
core/java/android/bluetooth/BluetoothGattDescriptor.java
core/java/android/bluetooth/BluetoothGattServer.java
core/java/android/bluetooth/BluetoothGattServerCallback.java
core/java/android/bluetooth/BluetoothGattService.java
core/java/android/bluetooth/BluetoothManager.java [new file with mode: 0644]
core/java/android/bluetooth/BluetoothProfile.java
core/java/android/bluetooth/IBluetoothManager.aidl
core/java/android/bluetooth/MutableBluetoothGattCharacteristic.java [deleted file]
core/java/android/bluetooth/MutableBluetoothGattDescriptor.java [deleted file]
core/java/android/bluetooth/MutableBluetoothGattService.java [deleted file]
core/java/android/content/Context.java
services/java/com/android/server/BluetoothManagerService.java