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/net/
DNetworkPolicyManagerService.java355 final SparseIntArray mUidState = new SparseIntArray(); field in NetworkPolicyManagerService
2367 collectKeys(mUidState, knownUids); in dump()
2378 final int state = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in dump()
2429 mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY)); in isUidForegroundLocked()
2433 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictBackgroundLocked()
2438 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictPowerLocked()
2453 final int oldUidState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in updateUidStateLocked()
2456 mUidState.put(uid, uidState); in updateUidStateLocked()
2476 final int index = mUidState.indexOfKey(uid); in removeUidStateLocked()
2478 final int oldUidState = mUidState.valueAt(index); in removeUidStateLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java266 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
365 mUidState.put(uid, procState); in handleOnUidStateChanged()
386 return isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE)); in isUidForegroundLocked()
2296 for (int i = 0; i < mUidState.size(); i++) { in dumpInner()
2297 final int uid = mUidState.keyAt(i); in dumpInner()
2298 final int state = mUidState.valueAt(i); in dumpInner()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java477 private final SparseIntArray mUidState = new SparseIntArray(); field in PowerManagerService
2491 mUidState.put(uid, procState); in updateUidProcStateInternal()
2500 mUidState.delete(uid); in uidGoneInternal()
2542 mUidState.get(wakeLock.mOwnerUid, in setWakeLockDisabledStateLocked()
2853 for (int i=0; i<mUidState.size(); i++) { in dumpInternal()
2854 pw.print(" UID "); UserHandle.formatUid(pw, mUidState.keyAt(i)); in dumpInternal()
2855 pw.print(": "); pw.println(mUidState.valueAt(i)); in dumpInternal()