commit | f27d360b7ec35eaddee66cac173c51c18c238b03 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Tue Jun 20 16:31:02 2017 -0700 |
committer | Jack He <siyuanh@google.com> | Thu Jun 29 17:43:47 2017 +0000 |
tree | 23acc964a2d7c838af529000e418c0f3b404de2d | |
parent | da5cf60a0d401978db4fa3c09c8c38118553a0cc [diff] |
Support battery level reporting via Apple VSC (2/2) * Add parsing methods for Apple AT+XAPL and AT+IPHONEACCEV AT commands * Record the received battery level information through DeviceProperties * Add unit tests for getBatteryLevelFromAppleBatteryVsc() and intent handler Bug: 35874078 Test: make, test with supporting headsets, unit tests runtest -c com.android.bluetooth.btservice.RemoteDevicesTest bluetooth Change-Id: I16de640a53f333f54b5609cbb482d1735a9e5de2