Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DMirrorActiveUids.java29 private SparseIntArray mUidStates = new SparseIntArray(); field in MirrorActiveUids
32 mUidStates.put(uid, procState); in onUidActive()
36 mUidStates.delete(uid); in onUidInactive()
40 mUidStates.clear(); in onActiveUidsCleared()
44 final int index = mUidStates.indexOfKey(uid); in onUidProcStateChanged()
46 mUidStates.setValueAt(index, procState); in onUidProcStateChanged()
51 return mUidStates.get(uid, PROCESS_STATE_NONEXISTENT); in getUidState()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java202 final SparseArray<UidState> mUidStates = new SparseArray<>(); field in AppOpsService
735 for (int i = mUidStates.size() - 1; i >= 0; i--) { in systemReady()
736 UidState uidState = mUidStates.valueAt(i); in systemReady()
741 mUidStates.removeAt(i); in systemReady()
770 mUidStates.removeAt(i); in systemReady()
857 UidState uidState = mUidStates.get(uid); in packageRemoved()
872 mUidStates.remove(uid); in packageRemoved()
915 if (mUidStates.indexOfKey(uid) >= 0) { in uidRemoved()
916 mUidStates.remove(uid); in uidRemoved()
1059 final int uidStateCount = mUidStates.size(); in getPackagesForOps()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java137 assertSameModes(testService.mUidStates, AppOpsManager.OP_RUN_IN_BACKGROUND, in testUpgradeFromNoVersion()