Searched refs:voter (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/statsd/src/external/ |
D | SubsystemSleepStatePuller.cpp | 286 for (const auto& voter : state.voters) { in getIPowerDataLocked() local 291 voterPtr->write(voter.name); in getIPowerDataLocked() 292 voterPtr->write(voter.totalNumberOfTimesVotedSinceBoot); in getIPowerDataLocked() 293 voterPtr->write(voter.totalTimeInMsecVotedForSinceBoot); in getIPowerDataLocked() 297 voter.name.c_str(), in getIPowerDataLocked() 298 (long long)voter.totalTimeInMsecVotedForSinceBoot, in getIPowerDataLocked() 299 (long long)voter.totalNumberOfTimesVotedSinceBoot); in getIPowerDataLocked()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 624 const PowerStateVoter& voter = state.voters[j]; in getPowerHalLowPowerData() local 626 env->NewStringUTF(voter.name.c_str()), in getPowerHalLowPowerData() 627 voter.totalTimeInMsecVotedForSinceBoot, in getPowerHalLowPowerData() 628 voter.totalNumberOfTimesVotedSinceBoot); in getPowerHalLowPowerData() 708 const PowerStateVoter& voter = state.voters[j]; in getPowerHalPlatformData() local 711 j + 1, voter.name.c_str(), in getPowerHalPlatformData() 712 voter.totalTimeInMsecVotedForSinceBoot, in getPowerHalPlatformData() 713 voter.totalNumberOfTimesVotedSinceBoot); in getPowerHalPlatformData()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 11443 for (Map.Entry<String, RpmStats.PowerStateElement> voter in updateRpmStatsLocked() 11445 final String vName = pName + "." + voter.getKey(); in updateRpmStatsLocked() 11446 final long vTimeUs = voter.getValue().mTimeMs * 1000; in updateRpmStatsLocked() 11447 final int vCount = voter.getValue().mCount; in updateRpmStatsLocked()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 4361 // For PlatformLowPowerStats (hal 1.0), this is the voter name, which could be empty.
|