Home
last modified time | relevance | path

Searched refs:gPowerStatsHalV1_0 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/external/
DSubsystemSleepStatePuller.cpp67 static sp<android::hardware::power::stats::V1_0::IPowerStats> gPowerStatsHalV1_0 = nullptr; variable
78 gPowerStatsHalV1_0 = nullptr; in deinitPowerStatsLocked()
121 ret = gPowerStatsHalV1_0->getPowerEntityInfo([](auto infos, auto status) { in initializePowerStats()
136 ret = gPowerStatsHalV1_0->getPowerEntityStateInfo({}, [](auto stateSpaces, auto status) { in initializePowerStats()
161 if(gPowerStatsHalV1_0 == nullptr) { in getPowerStatsHalLocked()
162 gPowerStatsHalV1_0 = android::hardware::power::stats::V1_0::IPowerStats::getService(); in getPowerStatsHalLocked()
163 if (gPowerStatsHalV1_0 == nullptr) { in getPowerStatsHalLocked()
169 hardware::Return<bool> linked = gPowerStatsHalV1_0->linkToDeath(gDeathRecipient, 0); in getPowerStatsHalLocked()
197 Return<void> ret = gPowerStatsHalV1_0->getPowerEntityStateResidencyData({}, in getIPowerStatsDataLocked()
/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp87 sp<android::hardware::power::stats::V1_0::IPowerStats> gPowerStatsHalV1_0 = nullptr; variable
103 gPowerStatsHalV1_0 = nullptr; in deinitPowerStatsLocked()
275 ret = gPowerStatsHalV1_0->getPowerEntityInfo([](auto infos, auto status) { in initializePowerStats()
296 ret = gPowerStatsHalV1_0->getPowerEntityStateInfo({}, [](auto stateSpaces, auto status) { in initializePowerStats()
317 ret = gPowerStatsHalV1_0->getRailInfo([](auto rails, auto status) { in initializePowerStats()
342 if (gPowerStatsHalV1_0 == nullptr) { in getPowerStatsHalLocked()
343 gPowerStatsHalV1_0 = android::hardware::power::stats::V1_0::IPowerStats::getService(); in getPowerStatsHalLocked()
344 if (gPowerStatsHalV1_0 == nullptr) { in getPowerStatsHalLocked()
350 hardware::Return<bool> linked = gPowerStatsHalV1_0->linkToDeath(gDeathRecipient, 0); in getPowerStatsHalLocked()
376 Return<void> ret = gPowerStatsHalV1_0->getPowerEntityStateResidencyData({}, in getPowerStatsHalLowPowerData()
[all …]