Home
last modified time | relevance | path

Searched refs:NUM_PROCESS_STATE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsImplTest.java19 import static android.os.BatteryStats.Uid.NUM_PROCESS_STATE;
95 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
106 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
133 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
165 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
204 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
272 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testCopyFromAllUidsCpuTimes()
DBstatsCpuTimesValidationTest.java19 import static android.os.BatteryStats.Uid.NUM_PROCESS_STATE;
835 for (int i = 0; i < NUM_PROCESS_STATE; ++i) { in getAllCpuTimesMsg()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java514 if (procState >= 0 && procState < Uid.NUM_PROCESS_STATE) { in copyFromAllUidsCpuTimes()
6890 mProcessStateTimer = new StopwatchTimer[NUM_PROCESS_STATE]; in Uid()
6925 if (which < 0 || which >= NUM_PROCESS_STATE) { in getCpuFreqTimes()
6940 if (which < 0 || which >= NUM_PROCESS_STATE) { in getScreenOffCpuFreqTimes()
6989 mProcStateTimeMs = new LongSamplingCounterArray[NUM_PROCESS_STATE]; in addProcStateTimesMs()
7002 mProcStateScreenOffTimeMs = new LongSamplingCounterArray[NUM_PROCESS_STATE]; in addProcStateScreenOffTimesMs()
7608 if (i < 0 || i >= NUM_PROCESS_STATE) return; in makeProcessState()
7621 if (state < 0 || state >= NUM_PROCESS_STATE) return 0; in getProcessStateTime()
7630 if (state < 0 || state >= NUM_PROCESS_STATE) return null; in getProcessStateTimer()
7915 for (int i = 0; i < NUM_PROCESS_STATE; i++) { in reset()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java794 public static final int NUM_PROCESS_STATE = 7; field in BatteryStats.Uid
4170 final Object[] stateTimes = new Object[Uid.NUM_PROCESS_STATE]; in dumpCheckinLocked()
4172 for (int ips=0; ips<Uid.NUM_PROCESS_STATE; ips++) { in dumpCheckinLocked()
4212 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpCheckinLocked()
5839 for (int ips=0; ips<Uid.NUM_PROCESS_STATE; ips++) { in dumpLocked()
5892 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpLocked()
7285 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpProtoAppsLocked()
7465 for (int ips = 0; ips < Uid.NUM_PROCESS_STATE; ++ips) { in dumpProtoAppsLocked()