OSDN Git Service

Expose LE advertiser address for easier PTS tests (4/6)
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 19 Apr 2017 14:05:00 +0000 (07:05 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 27 Apr 2017 19:53:19 +0000 (12:53 -0700)
commite90b45e001dcb32f7b59c5e449484759af782fef
treeb7e016396eece040cd2d0ceeba4137c326fcafb0
parent76f2c8678e0f72ddf26b57e3db31c11aa9d88994
Expose LE advertiser address for easier PTS tests (4/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: I5ad554d872f2b772f2bf91642a9648c4018d935c
(cherry picked from commit 779b4fd786c571cb8013f4d94ddacfe7116fb05f)
btif/src/btif_ble_advertiser.cc
service/test/low_energy_advertiser_unittest.cc
stack/btm/btm_ble_multi_adv.cc
stack/include/ble_advertiser.h