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>
Wed, 19 Apr 2017 21:33:18 +0000 (21:33 +0000)
commit779b4fd786c571cb8013f4d94ddacfe7116fb05f
treee6f77cac06fa42ded970fdefb2c793efc1189cc1
parent71cb1b834eaf1b2030acafda19bd89dfa2f5e62c
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
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