Home
last modified time | relevance | path

Searched refs:uidState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java138 public final UidState uidState; field in AppOpsService.Ops
143 uidState = _uidState; in Ops()
254 UidState uidState = mUidStates.valueAt(i); in systemReady() local
256 String[] packageNames = getPackagesForUid(uidState.uid); in systemReady()
258 uidState.clear(); in systemReady()
264 ArrayMap<String, Ops> pkgs = uidState.pkgOps; in systemReady()
276 UserHandle.getUserId(ops.uidState.uid)); in systemReady()
279 if (curUid != ops.uidState.uid) { in systemReady()
281 + "/" + ops.uidState + ": new uid=" + curUid); in systemReady()
287 if (uidState.isDefault()) { in systemReady()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2452 private void updateUidStateLocked(int uid, int uidState) { in updateUidStateLocked() argument
2454 if (oldUidState != uidState) { in updateUidStateLocked()
2456 mUidState.put(uid, uidState); in updateUidStateLocked()
2457 updateRestrictBackgroundRulesOnUidStatusChangedLocked(uid, oldUidState, uidState); in updateUidStateLocked()
2459 != isProcStateAllowedWhileIdleOrPowerSaveMode(uidState) ) { in updateUidStateLocked()
2471 updateNetworkStats(uid, isUidStateForegroundLocked(uidState)); in updateUidStateLocked()