Searched refs:mUidStates (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | MirrorActiveUids.java | 33 private final SparseIntArray mUidStates = new SparseIntArray(); field in MirrorActiveUids 39 mUidStates.put(uid, procState); in onUidActive() 43 mUidStates.delete(uid); in onUidInactive() 47 final int index = mUidStates.indexOfKey(uid); in onUidProcStateChanged() 49 mUidStates.setValueAt(index, procState); in onUidProcStateChanged() 54 return mUidStates.get(uid, PROCESS_STATE_NONEXISTENT); in getUidState()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | UserPermissionState.java | 41 private final SparseArray<UidPermissionState> mUidStates = new SparseArray<>(); field in UserPermissionState 58 return mUidStates.get(appId); in getUidState() 64 UidPermissionState uidState = mUidStates.get(appId); in getOrCreateUidState() 67 mUidStates.put(appId, uidState); in getOrCreateUidState() 77 mUidStates.put(appId, uidState); in createUidStateWithExisting() 83 mUidStates.delete(appId); in removeUidState()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 70 private SparseIntArray mUidStates = new SparseIntArray(); field in AppOpsUidStateTrackerImpl 128 return mUidStates.get(uid, MIN_PRIORITY_UID_STATE); in getUidStateLocked() 223 int prevUidState = mUidStates.get(uid, AppOpsManager.MIN_PRIORITY_UID_STATE); in updateUidProcState() 279 int state = mUidStates.get(uid, MIN_PRIORITY_UID_STATE); in dumpUidState() 338 mUidStates.get(uid, MIN_PRIORITY_UID_STATE)); in commitUidPendingState() 344 int uidState = mUidStates.get(uid, MIN_PRIORITY_UID_STATE); in commitUidPendingState() 374 mUidStates.delete(uid); in commitUidPendingState() 389 mUidStates.put(uid, pendingUidState); in commitUidPendingState()
|
D | AppOpsService.java | 345 final SparseArray<UidState> mUidStates = new SparseArray<>(); field in AppOpsService 1182 if (!mUidStates.contains(uid)) { in initializeUidStates() 1183 mUidStates.put(uid, new UidState(uid)); in initializeUidStates() 1259 for (int uidIdx = mUidStates.size() - 1; uidIdx >= 0; uidIdx--) { in trimUidStatesLocked() 1260 int uid = mUidStates.keyAt(uidIdx); in trimUidStatesLocked() 1265 ArrayMap<String, Ops> pkgOps = mUidStates.valueAt(uidIdx).pkgOps; in trimUidStatesLocked() 1278 mUidStates.removeAt(uidIdx); in trimUidStatesLocked() 1282 mUidStates.removeAt(uidIdx); in trimUidStatesLocked() 1310 UidState uidState = mUidStates.get(uid); in refreshAttributionsLocked() 1379 UidState uidState = mUidStates.get(uid); in packageRemovedLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 209 public final SparseArray<UidState> mUidStates = new SparseArray<>(); field in ProcessStats 348 SparseArray<UidState> uidStates = other.mUidStates; in add() 351 UidState uidState = mUidStates.get(uid); in add() 354 mUidStates.put(uid, uidState); in add() 381 UidState uidState = mUidStates.get(uid); in add() 384 mUidStates.put(uid, uidState); in add() 390 for (int ip = 0, size = mUidStates.size(); ip < size; ip++) { in add() 391 mUidStates.valueAt(ip).updateCombinedState(-1); in add() 521 mUidStates.clear(); in reset() 622 for (int ip = mUidStates.size() - 1; ip >= 0; ip--) { in resetSafely() [all …]
|
D | ProcessState.java | 509 final UidState uidState = mStats.mUidStates.get(mUid); in setCombinedStateIdv()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/ |
D | ProcessStatsTest.java | 228 UidState uidState = processStats.mUidStates.get(APP_1_UID); in testSafelyResetClearsProcessInUidState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 841 final SparseArray<UidState> uidStates = stats.mUidStates;
|