Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1016 SparseIntArray uidStates = new SparseIntArray(); in getIdleUidsForUser() local
1027 int index = uidStates.indexOfKey(ai.uid); in getIdleUidsForUser()
1029 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1031 int value = uidStates.valueAt(index); in getIdleUidsForUser()
1032 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()
1039 for (int i = uidStates.size() - 1; i >= 0; i--) { in getIdleUidsForUser()
1040 int value = uidStates.valueAt(i); in getIdleUidsForUser()
1048 for (int i = uidStates.size() - 1; i >= 0; i--) { in getIdleUidsForUser()
1049 int value = uidStates.valueAt(i); in getIdleUidsForUser()
1051 res[numIdle] = uidStates.keyAt(i); in getIdleUidsForUser()