commit | d5286ae2ed080535ac1762accb6b8418c1a1923e | [log] [tgz] |
---|---|---|
author | Jakub Pawlowski <jpawlowski@google.com> | Wed Dec 14 13:38:18 2016 -0800 |
committer | Jakub Pawlowski <jpawlowski@google.com> | Fri Dec 16 14:29:07 2016 -0800 |
tree | 8bcb2c8c69f025ee4bef57f5cf12e9d137e18721 | |
parent | f611c0457d738bee76b42b9af8c965e803419905 [diff] |
Refactor LE scanning HAL (1/3) This patch converts btgatt_scanner_interface_t struct into BleScannerInterface class. It also refactors three most important methods from this interface: RegisterAdvertiser, Scan, and Unregister. Rest of this interface will be updated in following patches. Bug: 30622771 Test: sl4a BleScanApiTest Change-Id: I0b7dddc1e9906d825096e23a83a39ecc681d232c