Searched refs:voter (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/statsd/src/external/ |
D | SubsystemSleepStatePuller.cpp | 114 for (auto voter : state.voters) { in PullInternal() local 119 voterPtr->write(voter.name); in PullInternal() 120 voterPtr->write(voter.totalNumberOfTimesVotedSinceBoot); in PullInternal() 121 voterPtr->write(voter.totalTimeInMsecVotedForSinceBoot); in PullInternal() 125 voter.name.c_str(), in PullInternal() 126 (long long)voter.totalTimeInMsecVotedForSinceBoot, in PullInternal() 127 (long long)voter.totalNumberOfTimesVotedSinceBoot); in PullInternal()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 232 const PowerStateVoter& voter = state.voters[j]; in getLowPowerStats() local 234 env->NewStringUTF(voter.name.c_str()), in getLowPowerStats() 235 voter.totalTimeInMsecVotedForSinceBoot, in getLowPowerStats() 236 voter.totalNumberOfTimesVotedSinceBoot); in getLowPowerStats() 321 const PowerStateVoter& voter = state.voters[j]; in getPlatformLowPowerStats() local 324 j + 1, voter.name.c_str(), in getPlatformLowPowerStats() 325 voter.totalTimeInMsecVotedForSinceBoot, in getPlatformLowPowerStats() 326 voter.totalNumberOfTimesVotedSinceBoot); in getPlatformLowPowerStats()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1739 // For PlatformLowPowerStats (hal 1.0), this is the voter name, which could be empty.
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 11778 for (Map.Entry<String, RpmStats.PowerStateElement> voter in updateRpmStatsLocked() 11780 final String vName = pName + "." + voter.getKey(); in updateRpmStatsLocked() 11781 final long vTimeUs = voter.getValue().mTimeMs * 1000; in updateRpmStatsLocked() 11782 final int vCount = voter.getValue().mCount; in updateRpmStatsLocked()
|