OSDN Git Service

Unhide the Bluetooth(BLE) offload capability apis
authorPrerepa Viswanadham <dham@google.com>
Wed, 9 Jul 2014 21:23:24 +0000 (14:23 -0700)
committerPrerepa Viswanadham <dham@google.com>
Wed, 9 Jul 2014 21:23:51 +0000 (21:23 +0000)
Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3

api/current.txt
core/java/android/bluetooth/BluetoothAdapter.java

index 8fe26c1..95ef7f0 100644 (file)
@@ -5689,6 +5689,9 @@ package android.bluetooth {
     method public int getState();
     method public boolean isDiscovering();
     method public boolean isEnabled();
+    method public boolean isMultipleAdvertisementSupported();
+    method public boolean isOffloadedFilteringSupported();
+    method public boolean isOffloadedScanBatchingSupported();
     method public android.bluetooth.BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(java.lang.String, java.util.UUID) throws java.io.IOException;
     method public android.bluetooth.BluetoothServerSocket listenUsingRfcommWithServiceRecord(java.lang.String, java.util.UUID) throws java.io.IOException;
     method public boolean setName(java.lang.String);
index 4bc9cfc..be14504 100644 (file)
@@ -1031,7 +1031,6 @@ public final class BluetoothAdapter {
     /**
      * Return true if the multi advertisement is supported by the chipset
      *
-     * @hide
      * @return true if Multiple Advertisement feature is supported
      */
     public boolean isMultipleAdvertisementSupported() {
@@ -1047,7 +1046,6 @@ public final class BluetoothAdapter {
     /**
      * Return true if offloaded filters are supported
      *
-     * @hide
      * @return true if chipset supports on-chip filtering
      */
     public boolean isOffloadedFilteringSupported() {
@@ -1063,7 +1061,6 @@ public final class BluetoothAdapter {
     /**
      * Return true if offloaded scan batching is supported
      *
-     * @hide
      * @return true if chipset supports on-chip scan batching
      */
     public boolean isOffloadedScanBatchingSupported() {