Age | Commit message (Collapse) | Author |
|
Bug: 315497129
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I38e28343e0e4b2df73ec7678c8421e5c7dcae76c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
|
|
Also removed log tags as they will be set by the service or parent library
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I90d782d1fc9832fefe83d5a0cddbb4c1f987bdc1
|
|
This reverts commit 004df5c1f00b1a36293ed715623e0775b3ca7c65.
Reason for revert: Broke master
Change-Id: I7cc269ea8071ae47d1150bbbafea9fbcff7bb889
|
|
Also removed log tags as they will be set by the service or parent library
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I64f945e5c51a9f3c51c149e22a133d1d95ff1d79
|
|
Pixel implementation of Power Stats HAL employs the use of data
providers. The software model is such that the HAL has sole ownership of
the various data providers.
However the implementation was using shared_ptrs for the various data
providers, which suggests multiple ownership. Moving to using unique_ptr
enforces the ownership semantics that were intended in the design of the
HAL implementation and will also hopefully prevent any bugs associated
with multiple ownership gone awry.
Bug: 183051413
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: atest VtsHalPowerStatsTargetTest
Change-Id: I95bc9123b5002f1b9a035d7ec2725eae5b80eacf
|
|
8b5e4744b55c14e4d57cdbe31383f51a91c25ec2
Change-Id: I1b199ea53ca52cd5b82823f87f1d899ff3c40719
|
|
Revert submission 13807923-pixel provider
Reason for revert: caused build breakage
Reverted Changes:
I6b0c1d350:bthal/1.1: Use PixelStateResidencyProvider
Ia028e589b:powerstats: Create vendor state residency provider...
Id99e6d2a9:powerstats: Add PixelStateResidencyDataProvider
Change-Id: I42fd10828e1447bc3c85ecee86b34562e9fe8534
|
|
Needed to change ::android::sp to shared_ptr in order to use the aidl
interface ndk_platform backend.
Bug: 167218032
Bug: 168834034
Test: adb shell dumpsys android.hardware.power.stats.IPowerStats/default
Test: killed power.stats and bluetooth services and verified that
providers are re-registered.
Change-Id: Ia028e589b29b0163cd53e3f8b4f8bb764b1a11f2
|