Home
last modified time | relevance | path

Searched refs:PROCESS_STATE_COUNT (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsConfig.java61 String[] procStateLabels = new String[BatteryConsumer.PROCESS_STATE_COUNT];
62 for (int i = 0; i < BatteryConsumer.PROCESS_STATE_COUNT; i++) {
DPowerStatsExporter.java189 new double[breakDownByProcState ? BatteryConsumer.PROCESS_STATE_COUNT : 1]; in populateUidBatteryConsumers()
DCpuPowerCalculator.java187 result.perProcStatePowerMah = new double[BatteryConsumer.PROCESS_STATE_COUNT]; in calculateModeledPowerPerProcessState()
DBatteryStatsImpl.java4097 BatteryConsumer.PROCESS_STATE_COUNT, mClock.elapsedRealtime()); in readTimeMultiStateCounter()
4121 timeBase, BatteryConsumer.PROCESS_STATE_COUNT, in readTimeMultiStateCounters()
4249 BatteryConsumer.PROCESS_STATE_COUNT, timestampMs); in createTimeMultiStateCounter()
8418 BatteryConsumer.PROCESS_STATE_COUNT, timestampMs); in getCpuActiveTimeCounter()
8433 for (int procState = 0; procState < BatteryConsumer.PROCESS_STATE_COUNT; procState++) { in getCpuActiveTime()
8442 || procState < 0 || procState >= BatteryConsumer.PROCESS_STATE_COUNT) { in getCpuActiveTime()
9495 mBsi.mOnBatteryTimeBase, BatteryConsumer.PROCESS_STATE_COUNT, timestampMs); in getMobileRadioActiveTimeCounter()
15833 String[] procStateNames = new String[BatteryConsumer.PROCESS_STATE_COUNT];
15834 for (int procState = 0; procState < BatteryConsumer.PROCESS_STATE_COUNT; procState++) {
16716 mOnBatteryTimeBase, BatteryConsumer.PROCESS_STATE_COUNT,
[all …]
/frameworks/base/core/java/android/os/
DBatteryConsumer.java182 public static final int PROCESS_STATE_COUNT = 5; field in BatteryConsumer
184 private static final String[] sProcessStateNames = new String[PROCESS_STATE_COUNT];
738 for (int processState = 0; processState < PROCESS_STATE_COUNT; in BatteryConsumerDataLayout()
760 processStateKeys = new Key[BatteryConsumer.PROCESS_STATE_COUNT][]; in BatteryConsumerDataLayout()
762 for (int processState = 0; processState < PROCESS_STATE_COUNT; processState++) { in BatteryConsumerDataLayout()
DBatteryStats.java1839 if (processState >= BatteryConsumer.PROCESS_STATE_COUNT) { in readFromParcel()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMultiStateStatsTest.java43 .hasSerialStateCount(BatteryConsumer.PROCESS_STATE_COUNT * 4) in compositeStateIndex_allEnabled()
83 .hasSerialStateCount(BatteryConsumer.PROCESS_STATE_COUNT * 2) in compositeStateIndex_screenTrackingDisabled()
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryTracker.java33 import static android.os.BatteryConsumer.PROCESS_STATE_COUNT;
948 static final int BATTERY_USAGE_COUNT = PROCESS_STATE_COUNT;