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.java526 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
1074 UidState state = mUidState.get(uid); in acquireWakeLockInternal()
1078 mUidState.put(uid, state); in acquireWakeLockInternal()
1202 UidState state = wakeLock.mUidState; in removeWakeLockLocked()
1206 mUidState.remove(state.mUid); in removeWakeLockLocked()
3020 UidState state = mUidState.get(uid); in updateUidProcStateInternal()
3023 mUidState.put(uid, state); in updateUidProcStateInternal()
3043 final int index = mUidState.indexOfKey(uid); in uidGoneInternal()
3045 UidState state = mUidState.valueAt(index); in uidGoneInternal()
3048 mUidState.removeAt(index); in uidGoneInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java530 final SparseIntArray mUidState = new SparseIntArray(); field in NetworkPolicyManagerService
3554 collectKeys(mUidState, knownUids); in dump()
3565 … final int state = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in dump()
3624 mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY)); in isUidForeground()
3630 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictBackgroundUL()
3636 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictPowerUL()
3654 final int oldUidState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in updateUidStateUL()
3657 mUidState.put(uid, uidState); in updateUidStateUL()
3680 final int index = mUidState.indexOfKey(uid); in removeUidStateUL()
3682 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()