Searched refs:mUidProcStates (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/ |
D | CpuWakeupStatsTest.java | 77 obj.mUidProcStates.put(TEST_UID_1, TEST_PROC_STATE_1); in populateDefaultProcStates() 78 obj.mUidProcStates.put(TEST_UID_2, TEST_PROC_STATE_2); in populateDefaultProcStates() 79 obj.mUidProcStates.put(TEST_UID_3, TEST_PROC_STATE_3); in populateDefaultProcStates() 80 obj.mUidProcStates.put(TEST_UID_4, TEST_PROC_STATE_4); in populateDefaultProcStates() 81 obj.mUidProcStates.put(TEST_UID_5, TEST_PROC_STATE_5); in populateDefaultProcStates() 469 assertThat(obj.mUidProcStates.size()).isEqualTo(0); in uidProcStateBookkeeping() 484 assertThat(obj.mUidProcStates.get(uid)).isEqualTo(procState); in uidProcStateBookkeeping() 486 assertThat(obj.mUidProcStates.size()).isEqualTo(i + 1); in uidProcStateBookkeeping() 491 assertThat(obj.mUidProcStates.indexOfKey(uids.get(i))).isLessThan(0); in uidProcStateBookkeeping() 494 assertThat(obj.mUidProcStates.size()).isEqualTo(0); in uidProcStateBookkeeping() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/ |
D | CpuWakeupStats.java | 84 final SparseIntArray mUidProcStates = new SparseIntArray(); field in CpuWakeupStats 195 mUidProcStates.delete(uid); in onUidRemoved() 202 mUidProcStates.put(uid, state); in noteUidProcessState() 240 mUidProcStates.get(uids[i], ActivityManager.PROCESS_STATE_UNKNOWN)); in noteWakingActivity() 321 pw.println("Current proc-state map (" + mUidProcStates.size() + "):"); in dump() 323 for (int i = 0; i < mUidProcStates.size(); i++) { in dump() 327 UserHandle.formatUid(pw, mUidProcStates.keyAt(i)); in dump() 328 pw.print(":" + ActivityManager.procStateToString(mUidProcStates.valueAt(i))); in dump()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 443 private final SparseIntArray mUidProcStates = new SparseIntArray(); 1494 mUidProcStates.delete(pkgUid); 1939 ActivityManager.processStateAmToProto(mUidProcStates.get(jobStatus.getUid())), 2389 ActivityManager.processStateAmToProto(mUidProcStates.get(cancelled.getUid())), 2426 mUidProcStates.put(uid, procState); 2479 return mUidProcStates.get(uid, ActivityManager.PROCESS_STATE_UNKNOWN); 5959 for (int i = 0; i < mUidProcStates.size(); i++) { 5960 int uid = mUidProcStates.keyAt(i); 5970 pw.println(ActivityManager.procStateToString(mUidProcStates.valueAt(i)));
|