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.java515 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
991 UidState state = mUidState.get(uid); in acquireWakeLockInternal()
995 mUidState.put(uid, state); in acquireWakeLockInternal()
1097 UidState state = wakeLock.mUidState; in removeWakeLockLocked()
1101 mUidState.remove(state.mUid); in removeWakeLockLocked()
2891 UidState state = mUidState.get(uid); in updateUidProcStateInternal()
2894 mUidState.put(uid, state); in updateUidProcStateInternal()
2914 final int index = mUidState.indexOfKey(uid); in uidGoneInternal()
2916 UidState state = mUidState.valueAt(index); in uidGoneInternal()
2919 mUidState.removeAt(index); in uidGoneInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java511 final SparseIntArray mUidState = new SparseIntArray(); field in NetworkPolicyManagerService
3373 collectKeys(mUidState, knownUids); in dump()
3384 … final int state = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in dump()
3443 mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY)); in isUidForeground()
3448 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictBackgroundUL()
3453 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictPowerUL()
3470 final int oldUidState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in updateUidStateUL()
3473 mUidState.put(uid, uidState); in updateUidStateUL()
3494 final int index = mUidState.indexOfKey(uid); in removeUidStateUL()
3496 final int oldUidState = mUidState.valueAt(index); in removeUidStateUL()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java326 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
519 mUidState.put(uid, procState); in handleOnUidStateChanged()
542 if (isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE))) { in isUidForegroundLocked()
3902 for (int i = 0; i < mUidState.size(); i++) { in dumpUid()
3903 final int uid = mUidState.keyAt(i); in dumpUid()
3904 final int state = mUidState.valueAt(i); in dumpUid()