History log of /frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f0efa2c8109f8d764dae2a04171ffa86e7751fce 11-Jul-2017 Jack He <siyuanh@google.com> Merge "GATT: Expose opportunistic client API to Java"
am: 782ba0aca8

Change-Id: If29bc145c1947f2e10472565ae753696e8057dd1
13f52c8118c09ffc57b581a7d44b08e5e66d62fe 05-Jul-2017 Jack He <siyuanh@google.com> GATT: Expose opportunistic client API to Java

* Allow Java based programs to create an opportunistic GATT client
* Such client does not hold a GATT connection. It automatically
disconnects when no other GATT connections are active for the
remote device.

Bug: 63347806
Test: make, run battery service
Change-Id: Ib9333817d7f17a1fa3ddacfa51c680890bac19ec
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
9fd4462c09eec309ece970981233a654044bbe7f 16-May-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Discover primary service by UUID for PTS tests (4/4)" am: abb732fc40 am: 7e80b882b7
am: 23105d57d5

Change-Id: I764d8b206940a39906c6793fef24e6d5b19a8589
fe2bf16a2b287c3c748cd6fa7c14026becfe83ff 16-May-2017 Jakub Pawlowski <jpawlowski@google.com> Discover primary service by UUID for PTS tests (4/4)

Bug: 38123054
Test: manual
Change-Id: I89e088e60f4325f1ece59d22efda0c907a3b716a
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
a43bd01bd191cbfe3d58dbd27da8ef40dc4f04e7 03-May-2017 Ajay Panicker <apanicke@google.com> Bluetooth: Move Bluetooth battery stats tracking (1/2)

Move Bluetooth battery stats tracking to AppScanStats for a more
unified tracking system.

Bug: 37720787
Test: cts-tradefed run cts-dev -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testBleScans
Perform BLE scan and check battery stats
Change-Id: Ie6c682374e6e258c291d3a11eede649c7747ef40
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
a71643e91c46efa49a906e3d59f126c752d750b0 03-May-2017 Ajay Panicker <apanicke@google.com> Bluetooth: Move Bluetooth battery stats tracking (1/2)

Move Bluetooth battery stats tracking to AppScanStats for a more
unified tracking system.

Bug: 37720787
Test: cts-tradefed run cts-dev -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testBleScans
Perform BLE scan and check battery stats
Change-Id: Ie6c682374e6e258c291d3a11eede649c7747ef40
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
348ba3da7800da7eb0855890debd274bb57e04b0 19-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Expose LE advertiser address for easier PTS tests (1/6)

This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: Iaf0f2fe0613de44b8430ac25e691d66a4ad44f8d
(cherry picked from commit 4bc4a441007e0a9ef6ccd1816c831ffd2dfa4c18)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
ce21cb903ceaf8a5d916a89c4d07689887007be2 14-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Read by UUID for PTS tests (1/5)

Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ice4076d99e4694d20374ba0fdcae74d5ae841147
(cherry picked from commit de74891d1c603326691678ec301c80b4525bc4ef)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
d2ac8b94e7e9909bcf302a72d0055bfa73bc22ac 19-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Get rid of the IAdvertiserCallabck

Bug: 30622771
Test: none
Change-Id: I2c55f96e71cd3be67f88201ab07c91730cd85971
(cherry picked from commit 89e10d3eb4a4728ffdb5a5eba76d772d28bcb855)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
89e10d3eb4a4728ffdb5a5eba76d772d28bcb855 19-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Get rid of the IAdvertiserCallabck

Bug: 30622771
Test: none
Change-Id: I2c55f96e71cd3be67f88201ab07c91730cd85971
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
4bc4a441007e0a9ef6ccd1816c831ffd2dfa4c18 19-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Expose LE advertiser address for easier PTS tests (1/6)

This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: Iaf0f2fe0613de44b8430ac25e691d66a4ad44f8d
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
de74891d1c603326691678ec301c80b4525bc4ef 14-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Read by UUID for PTS tests (1/5)

Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ice4076d99e4694d20374ba0fdcae74d5ae841147
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
461111bc3d9b53f745a9be686504aee161f36c28 14-Apr-2017 Amith Yamasani <yamasani@google.com> BLE scan API using PendingIntent

This allows apps to listen for beacons, etc., without having to
run a foreground service and register a callback. They can instead
register a PendingIntent which will be fired when scan results
are available or when an error occurs.

Bug: 37254611
Test: WIP
Change-Id: I1793eee67ff0211370ed6fc38be4d95a4c5853f5
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
260846b31b26e74fbcbc61ec052aaa8f3407e517 31-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 advertising duration refactoring (4/4)

Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: I44df300995ef985526b93f8c24389775720b3432
(cherry picked from commit 5a355610fe6ac0460f7130375de97b4d7bae7ba4)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
5a355610fe6ac0460f7130375de97b4d7bae7ba4 31-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 advertising duration refactoring (4/4)

Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: I44df300995ef985526b93f8c24389775720b3432
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
d7116bea0698f58e93003d2046411a2624dd1ab1 27-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth GATT callback naming fix "Ext" -> "" (1/2)

Gatt callback don't need the "Ext" postfix, as it was removed from new
API.

Test: manual
Bug: 30622771
Change-Id: I54596ffdcb818343cc313123266cfa16291c6236
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
6a55da90184fcc6e8f4bb9ebb01662b4925f6094 17-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 AdvertisingSet implementation (1/4)

Test: manual
Bug: 30622771
Change-Id: Ia89718c0c2ab2eaa71b158ecdcae989af907769f
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
adbf2eef2fda68a5c3acc78a67e5dda00d8a14d7 17-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 move timeout parameter (1/2)

Timeout is not a parameter, it is a property of enabling the
advertising. Move it into more proper place.

Test: manual
Bug: 30622771
Change-Id: I09ebc6c770bc02938ea16a9738a7e03dc8006fde
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
5f00f173fb2da2622803029e69ff85f932e9020b 15-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 AdvertisingSet implementation (1/4)

This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I80a4b1b2b632d5ef8a80d958615897684cfa0c16
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9 10-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 Advertising API

Test: manual
Bug: 30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
(cherry picked from commit 5324a14cf490656269ef862d7f8f6b139a21c0e6)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
409cee69b2b09bcd11f1273752c016116436f247 02-Feb-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 PHY selection API

Bug: 30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
(cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
ac7fcfa36160f1ce8b1ba8e0a3a90338a99a02a4 16-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 periodc scan API (1/2)

Bug: 30622771
Test: manual
Change-Id: I61853bc71f6013e9406d1d151bb51ea4484bb92c
(cherry picked from commit a48e03745becc96181c676dc3d194d0572f11c10)
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
1b49e6eb04f2eef4d8056e7447d8e0789c291847 26-Oct-2016 Jakub Pawlowski <jpawlowski@google.com> Separate LE scanner from GATT client (1/4)

Right now, LE scanning functionality is combined with the GATT client.
This is the source of various bugs, like scans suddenly stoppinging when
a GATT client is killed. It also increases memory consumption, because
we associate many structures with a GATT client, which are not necessary
when just scanning.

Test: sl4a BleScanApiTest ConcurrentBleScanTest
Change-Id: I0c25bd4a58bb430eb0ee4100d5f2bbab194f9621
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
a480f7fe28ef059b82491f52dcc69934322ee5e2 05-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Separate advertiser from GATT client (1/4)

Bug: 30622771
Change-Id: I08c0498f8a1ea04423d3e864e9a60c7c78f1dbad
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
0aa5797976e3c311e756b5c7ed928d74a5d38167 04-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Remove write type from GATT descriptor writes (1/4)"
am: b7eb1d7eaf

Change-Id: Ibe16bab7ec21d19d6f3cfd5cb65768b06a5ca829
8e970d6ab4850ca23163bad5773cf5cc2e7ff896 31-Mar-2016 Jakub Pawlowski <jpawlowski@google.com> Remove write type from GATT descriptor writes (1/4)

According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used
for this sub-procedure".

Change-Id: I141dd24ed5911d5d485b52a1b661835b9960921a
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
fe4b1e47fc034cedc68f4b580dc8ab94384c517e 03-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "GATT Server refactoring (2/4)"
am: d13954e8c6

Change-Id: I10383d95f79409282d96ae60b294c72754df5641
d75f512aa2a2b55607af3f217c6ad7c81291135c 01-Apr-2016 Jakub Pawlowski <jpawlowski@google.com> GATT Server refactoring (2/4)

Bug: 27999121
Change-Id: Ia5f91298a4b01b62adebc8adc30f27f757259588
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
ee5f0694f5f15e8557c3398b5eaa29dd19aecc70 22-Mar-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Use handles to identify GATT attributes (4/4)" am: f8cba89
am: 9ab424a

* commit '9ab424a9fb8e72c4f1e0cbd8f67eb351e8731ef4':
Use handles to identify GATT attributes (4/4)
a9e27ec0abfb760402007b2919b7d85565cb6cd4 18-Mar-2016 Jakub Pawlowski <jpawlowski@google.com> Use handles to identify GATT attributes (4/4)

Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
6771d629b5ad0b9296f0febaa2300fdaf1f90515 16-Jan-2016 Adam Lesinski <adamlesinski@google.com> Add WorkSource to BLE scanning API

This will allow apps that do work on behalf of others to correctly blame
those apps for the power implications of BLE scanning.
Bug:22718669

Change-Id: Ib64af0b6a5d37721a6067ac4e5c39c01f921b56b
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
a179030483a1f3f672be41797dc6e0f077ef4748 20-Jun-2015 Fyodor Kupolov <fkupolov@google.com> Do not return devices when caller has no location permission

During startLeScan, do not return devices if calling process has no location
permission/appop

Bug: 21852542
Change-Id: Idce8f4704558574e373e8144390f2a2fa1a7e84a
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
db1dbb889588505cd340e954acbde7ebf7c086d6 10-Apr-2015 Prerepa Viswanadham <dham@google.com> Manage onfound/lost resources (1/2)

Provide error callback to app if advertisement tracking resources
can't be reserved

Change-Id: Ie66b2ec7a64b24bbdf3bb22003a4a7eb46623792
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
6ddbb5e55f72e870899731ff12af9945fa970e6e 03-Mar-2015 Nitin Arora <niarora@codeaurora.org> Bluetooth LE background operation mode (2/2)

Changes include new framework APIs to enable and disable Bluetooth LE
separately from Bluetooth Classic. Along with handling the new states
in the Bluetooth manager service.

Change-Id: Idf667981f48fcbcb6dfda1aa77ea8bab1b2361f0
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
0d0df3ce258f569c76dc7c4b5250c4e50029d6e6 31-Jul-2014 Wei Wang <weiwa@google.com> Add a TLV to support different result storage

Change-Id: Ic20a1720b783508cf85b234950b7fd0c79e9e7c3
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
c3059ccfb07837d7760b24f552ec8ff6098d4350 24-Jul-2014 Wei Wang <weiwa@google.com> Use Scanner for legacy LE scans(1/2).

Also removed different scan methods from IBluetoothGatt and make
BluetoothLeScanner and BluetoothLEAdvertiser singleton.

Change-Id: Ifa2e950b50f100f5507a6dace3bd70db18d7f9ca
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
6ce4db0acf9dea297d96424e526092e799f6da84 17-Jul-2014 Andre Eisenbach <eisenbach@google.com> LE: Add connection parameter update request API (4/4)

Change-Id: Ifb531a1b7ab05888817b96fcc89f85e17df7ffe2
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
890b46a0d5c220bffedcf27520befb34bf8830ea 11-Jul-2014 Wei Wang <weiwa@google.com> Remove MR2 BLE Advertising hidden API from L codebase (1/2).

Change-Id: I78bb8b89de56bddb7422da1d1d4468c88a68ea11
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
af74e66e29a518157cb78fcef4b4fc532b7f60b0 09-Jul-2014 Wei Wang <weiwa@google.com> Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)

Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
9fb1791e1a6859bfb14006a6d101cdecc88f3f95 02-Jul-2014 Wei Wang <weiwa@google.com> Implement batch scan API

Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
58a01d6ab12ae3eff8447848d9c0bf19925a896d 06-Jun-2014 Prerepa Viswanadham <dham@google.com> Take out startScanWithUuidScanParam as part of refactoring

Change-Id: Icfb9083571e22c0853fc64ad4d09a20cbf754257
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
6d81118032b92caa0f5cfebe11af02a98f819d5e 22-May-2014 Wei Wang <weiwa@google.com> Address API review comments.
1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes
except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings.
2. Make all callbacks abstract classes instead of interfaces.
3. Moved AdvertisementData and ScanRecord out and removed
AdvertiseBaseData
4. Removed newBuild and use new Builder for all builders.
5. Using setxxx in builders.
6. Misc other changes.

Fixes b/15140940

Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468
NO_SQ: multi-project submit
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
ab39cb7f6ac520d150e7f56c89072d229bd26793 21-May-2014 Wei Wang <weiwa@google.com> Add scan response as an advertising parameter(1/2).

Change-Id: I75c500dd7b5f2609d3092f50ba284a5ec4a41987
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
adf6aff5b03b1e3ca4636f9887225a7f906d1238 20-May-2014 Wei Wang <weiwa@google.com> Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising.""

This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789.

Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
319b40c9cf0b77d68c5925baa44b81f024f5705a 20-May-2014 Wei Wang <weiwa@google.com> Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising."

This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80.

Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
62d5bc745a4fd7f305a47b628b1fe902ee9d29f8 17-Apr-2014 Wei Wang <weiwa@google.com> APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple
advertising.

Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
63da5bf55e475d61d2005b467404f3b4babeec76 13-May-2014 Prerepa Viswanadham <dham@google.com> Improve name of api.

Change-Id: I4db24db621ab746f5e5efcbaf87b8856cf234e3e
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
01c92da4c938b1a37b263d7c452a6f4f2bb4fe76 21-Apr-2014 Prerepa Viswanadham <dham@google.com> set scan parameters in BT stack. Apply the most demanding request
in terms of duty cycle for all outstanding requests.Add api to set scan parameters.

Change-Id: Iee460003d210455ab180367f3518bfb10a6c2539
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
b88fa824ab6337684de9aa8437c4952df4f1a75e 18-Apr-2014 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Add transport param to Connect APIs

Support for passing preferred transport for GATT connections as part of
Connect APIs

Change-Id: I93938dce519b8fa12de41d7e8690dc9355ce2dc5
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
580b0a13028ed2187964735a5515d87900d241ce 25-Mar-2014 Andre Eisenbach <andre@broadcom.com> LE: Add API to configure MTU for a given connection (3/4)

bug:13571470
Change-Id: I3619617eaf864701a35f7802bc71805784d768d0
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
86b3fa6090e78ff795a9ceaed531f8f549114deb 30-Oct-2013 Wei Wang <weiwa@google.com> BLE peripheral mode (3/4): Add peripheral mode API.

Change-Id: Id9d2f566b6d9ed0fffe73b67efad2e3d045360b4

Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothGatt.java

Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
f46b21aa99fb3bbe4c8b446ff1d362c38f972099 07-Aug-2013 Andre Eisenbach <andre@broadcom.com> LE: Add peripheral role support (1/4)

Initial stack support for the LE peripheral role.

Change-Id: I6222493488822b4289b90888ccc97ad9306f54d1
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
25b9cf953bd3e97f726f8c27d7a752b27c9a2373 09-Jul-2013 Andre Eisenbach <andre@broadcom.com> LE: Add instance ID to descriptors (1/4)

If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: I0c36494c980c86abd23f9647196af8d59ef663e9
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl
9908112fd085d8b0d91e0562d32eebd1884f09a5 06-Feb-2013 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Initial version of BLE support for Bluedroid

The API classes are hidden for now. Will unhide after API console
approval.
Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
/frameworks/base/core/java/android/bluetooth/IBluetoothGatt.aidl