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.java20 import static android.os.BatteryStats.Uid.NUM_PROCESS_STATE;
99 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
110 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
137 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
169 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
208 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testUpdateProcStateCpuTimes()
276 for (int procState = 0; procState < NUM_PROCESS_STATE; ++procState) { in testCopyFromAllUidsCpuTimes()
DBstatsCpuTimesValidationTest.java20 import static android.os.BatteryStats.Uid.NUM_PROCESS_STATE;
837 for (int i = 0; i < NUM_PROCESS_STATE; ++i) { in getAllCpuTimesMsg()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java557 if (procState >= 0 && procState < Uid.NUM_PROCESS_STATE) { in copyFromAllUidsCpuTimes()
6786 mProcessStateTimer = new StopwatchTimer[NUM_PROCESS_STATE]; in Uid()
6821 if (which < 0 || which >= NUM_PROCESS_STATE) { in getCpuFreqTimes()
6836 if (which < 0 || which >= NUM_PROCESS_STATE) { in getScreenOffCpuFreqTimes()
6885 mProcStateTimeMs = new LongSamplingCounterArray[NUM_PROCESS_STATE]; in addProcStateTimesMs()
6899 mProcStateScreenOffTimeMs = new LongSamplingCounterArray[NUM_PROCESS_STATE]; in addProcStateScreenOffTimesMs()
7510 if (i < 0 || i >= NUM_PROCESS_STATE) return; in makeProcessState()
7524 if (state < 0 || state >= NUM_PROCESS_STATE) return 0; in getProcessStateTime()
7533 if (state < 0 || state >= NUM_PROCESS_STATE) return null; in getProcessStateTimer()
7821 for (int i = 0; i < NUM_PROCESS_STATE; i++) { in reset()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java872 public static final int NUM_PROCESS_STATE = 7; field in BatteryStats.Uid
4324 final Object[] stateTimes = new Object[Uid.NUM_PROCESS_STATE]; in dumpCheckinLocked()
4326 for (int ips=0; ips<Uid.NUM_PROCESS_STATE; ips++) { in dumpCheckinLocked()
4366 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpCheckinLocked()
5979 for (int ips=0; ips<Uid.NUM_PROCESS_STATE; ips++) { in dumpLocked()
6032 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpLocked()
7443 for (int procState = 0; procState < Uid.NUM_PROCESS_STATE; ++procState) { in dumpProtoAppsLocked()
7616 for (int ips = 0; ips < Uid.NUM_PROCESS_STATE; ++ips) { in dumpProtoAppsLocked()