Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java522 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
1064 UidState state = mUidState.get(uid); in acquireWakeLockInternal()
1068 mUidState.put(uid, state); in acquireWakeLockInternal()
1192 UidState state = wakeLock.mUidState; in removeWakeLockLocked()
1196 mUidState.remove(state.mUid); in removeWakeLockLocked()
2972 UidState state = mUidState.get(uid); in updateUidProcStateInternal()
2975 mUidState.put(uid, state); in updateUidProcStateInternal()
2995 final int index = mUidState.indexOfKey(uid); in uidGoneInternal()
2997 UidState state = mUidState.valueAt(index); in uidGoneInternal()
3000 mUidState.removeAt(index); in uidGoneInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java525 final SparseIntArray mUidState = new SparseIntArray(); field in NetworkPolicyManagerService
3461 collectKeys(mUidState, knownUids); in dump()
3472 … final int state = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in dump()
3531 mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY)); in isUidForeground()
3537 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictBackgroundUL()
3543 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictPowerUL()
3561 final int oldUidState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in updateUidStateUL()
3564 mUidState.put(uid, uidState); in updateUidStateUL()
3587 final int index = mUidState.indexOfKey(uid); in removeUidStateUL()
3589 final int oldUidState = mUidState.valueAt(index); in removeUidStateUL()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java329 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
525 mUidState.put(uid, procState); in handleOnUidStateChanged()
548 if (isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE))) { in isUidForegroundLocked()
3966 for (int i = 0; i < mUidState.size(); i++) { in dumpUid()
3967 final int uid = mUidState.keyAt(i); in dumpUid()
3968 final int state = mUidState.valueAt(i); in dumpUid()