Searched refs:uidStates (Results 1 – 3 of 3) sorted by relevance
86 private void assertSameModes(SparseArray<AppOpsService.UidState> uidStates, int op1, int op2) { in assertSameModes() argument90 for(int i = 0; i < uidStates.size(); i++) { in assertSameModes()91 final AppOpsService.UidState uidState = uidStates.valueAt(i); in assertSameModes()
1141 SparseIntArray uidStates = new SparseIntArray(); in getIdleUidsForUser() local1152 int index = uidStates.indexOfKey(ai.uid); in getIdleUidsForUser()1154 uidStates.put(ai.uid, 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()1156 int value = uidStates.valueAt(index); in getIdleUidsForUser()1157 uidStates.setValueAt(index, value + 1 + (idle ? 1<<16 : 0)); in getIdleUidsForUser()1164 for (int i = uidStates.size() - 1; i >= 0; i--) { in getIdleUidsForUser()1165 int value = uidStates.valueAt(i); in getIdleUidsForUser()1173 for (int i = uidStates.size() - 1; i >= 0; i--) { in getIdleUidsForUser()1174 int value = uidStates.valueAt(i); in getIdleUidsForUser()1176 res[numIdle] = uidStates.keyAt(i); in getIdleUidsForUser()
433 final SparseIntArray uidStates; in updateProcStateCpuTimes() local451 uidStates = mPendingUids.clone(); in updateProcStateCpuTimes()454 for (int i = uidStates.size() - 1; i >= 0; --i) { in updateProcStateCpuTimes()455 final int uid = uidStates.keyAt(i); in updateProcStateCpuTimes()456 final int procState = uidStates.valueAt(i); in updateProcStateCpuTimes()