Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java1113 event.mUidState, event.mOpFlag, event.mAttributionFlags, in offsetHistory()
1133 if (previousOp.mOpFlag == flags && previousOp.mUidState == uidState in addDiscreteAccess()
1179 result.addDiscreteAccess(op, uid, packageName, tag, event.mUidState, in applyToHistory()
1260 final @AppOpsManager.UidState int mUidState;
1270 mUidState = uidState;
1277 return mNoteTime == o.mNoteTime && mUidState == o.mUidState && mOpFlag == o.mOpFlag
1287 pw.print(getUidStateName(mUidState));
1318 out.attributeInt(null, ATTR_UID_STATE, mUidState);
DAttributedOp.java686 private @AppOpsManager.UidState int mUidState; field in AttributedOp.InProgressStartOpEvent
731 mUidState = uidState; in InProgressStartOpEvent()
786 mUidState = uidState; in reinit()
816 return mUidState; in getUidState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java686 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
1656 UidState state = mUidState.get(uid);
1660 mUidState.put(uid, state);
1844 UidState state = wakeLock.mUidState;
1848 mUidState.remove(state.mUid);
4214 UidState state = mUidState.get(uid);
4217 mUidState.put(uid, state);
4237 final int index = mUidState.indexOfKey(uid);
4239 UidState state = mUidState.valueAt(index);
4242 mUidState.removeAt(index);
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java702 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in NetworkPolicyManagerService
855 return mUidState.get(uid); in getUidStateForTest()
4275 collectKeys(mUidState, knownUids);
4290 final UidState uidState = mUidState.get(uid);
4357 final UidState uidState = mUidState.get(uid);
4377 final UidState uidState = mUidState.get(uid);
4396 final UidState uidState = mUidState.get(uid);
4404 || isProcStateAllowedNetworkWhileBackground(mUidState.get(uid));
4428 final UidState oldUidState = mUidState.get(uid);
4441 mUidState.put(uid, newUidState);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java391 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
625 mUidState.put(uid, procState); in handleOnUidStateChanged()
649 if (isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE))) { in isUidForegroundLocked()
4878 for (int i = 0; i < mUidState.size(); i++) {
4879 final int uid = mUidState.keyAt(i);
4880 final int state = mUidState.valueAt(i);