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()
431 final SparseIntArray uidStates; in updateProcStateCpuTimes() local449 uidStates = mPendingUids.clone(); in updateProcStateCpuTimes()452 for (int i = uidStates.size() - 1; i >= 0; --i) { in updateProcStateCpuTimes()453 final int uid = uidStates.keyAt(i); in updateProcStateCpuTimes()454 final int procState = uidStates.valueAt(i); in updateProcStateCpuTimes()