Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java561 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
1299 UidState state = mUidState.get(uid);
1303 mUidState.put(uid, state);
1427 UidState state = wakeLock.mUidState;
1431 mUidState.remove(state.mUid);
3398 UidState state = mUidState.get(uid);
3401 mUidState.put(uid, state);
3421 final int index = mUidState.indexOfKey(uid);
3423 UidState state = mUidState.valueAt(index);
3426 mUidState.removeAt(index);
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java534 final SparseIntArray mUidState = new SparseIntArray(); field in NetworkPolicyManagerService
3571 collectKeys(mUidState, knownUids); in dump()
3582 … final int state = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in dump()
3645 mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY)); in isUidForeground()
3651 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictBackgroundUL()
3657 final int procState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in isUidForegroundOnRestrictPowerUL()
3675 final int oldUidState = mUidState.get(uid, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in updateUidStateUL()
3678 mUidState.put(uid, uidState); in updateUidStateUL()
3701 final int index = mUidState.indexOfKey(uid); in removeUidStateUL()
3703 final int oldUidState = mUidState.valueAt(index); in removeUidStateUL()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java343 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
544 mUidState.put(uid, procState); in handleOnUidStateChanged()
567 if (isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE))) { in isUidForegroundLocked()
4456 for (int i = 0; i < mUidState.size(); i++) { in dumpUid()
4457 final int uid = mUidState.keyAt(i); in dumpUid()
4458 final int state = mUidState.valueAt(i); in dumpUid()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java682 private @AppOpsManager.UidState int mUidState; field in AppOpsService.InProgressStartOpEvent
705 mUidState = uidState; in InProgressStartOpEvent()
737 mUidState = uidState; in reinit()
759 return mUidState; in getUidState()
916 if (uidState != event.mUidState) { in started()