OSDN Git Service

Expose LE advertiser address for easier PTS tests (1/6)
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 19 Apr 2017 13:52:08 +0000 (06:52 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 19 Apr 2017 21:32:57 +0000 (21:32 +0000)
commit4bc4a441007e0a9ef6ccd1816c831ffd2dfa4c18
tree0431a537eecbfd823e00f21e855c3c939bdf6157
parent9487dff8ab8a55202016137f464567b0adbf1f7f
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
core/java/android/bluetooth/IBluetoothGatt.aidl
core/java/android/bluetooth/le/AdvertisingSet.java
core/java/android/bluetooth/le/AdvertisingSetCallback.java
core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl