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.java1110 event.mUidState, event.mOpFlag, event.mAttributionFlags, in offsetHistory()
1130 if (previousOp.mOpFlag == flags && previousOp.mUidState == uidState in addDiscreteAccess()
1176 result.addDiscreteAccess(op, uid, packageName, tag, event.mUidState, in applyToHistory()
1257 final @AppOpsManager.UidState int mUidState;
1267 mUidState = uidState;
1274 return mNoteTime == o.mNoteTime && mUidState == o.mUidState && mOpFlag == o.mOpFlag
1284 pw.print(getUidStateName(mUidState));
1315 out.attributeInt(null, ATTR_UID_STATE, mUidState);
DAppOpsService.java727 private @AppOpsManager.UidState int mUidState; field in AppOpsService.InProgressStartOpEvent
771 mUidState = uidState; in InProgressStartOpEvent()
822 mUidState = uidState; in reinit()
852 return mUidState; in getUidState()
1068 if (uidState != event.mUidState) { in startedOrPaused()
1238 parent.packageName, tag, event.mUidState, event.mFlags, startTime, in resume()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java605 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in PowerManagerService
1391 UidState state = mUidState.get(uid);
1395 mUidState.put(uid, state);
1521 UidState state = wakeLock.mUidState;
1525 mUidState.remove(state.mUid);
3734 UidState state = mUidState.get(uid);
3737 mUidState.put(uid, state);
3757 final int index = mUidState.indexOfKey(uid);
3759 UidState state = mUidState.valueAt(index);
3762 mUidState.removeAt(index);
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java596 private final SparseArray<UidState> mUidState = new SparseArray<>(); field in NetworkPolicyManagerService
3827 collectKeys(mUidState, knownUids);
3838 final UidState uidState = mUidState.get(uid);
3901 return isProcStateAllowedWhileIdleOrPowerSaveMode(mUidState.get(uid));
3907 final UidState uidState = mUidState.get(uid);
3913 final UidState uidState = mUidState.get(uid);
3926 final UidState oldUidState = mUidState.get(uid);
3931 mUidState.put(uid, newUidState);
3954 final int index = mUidState.indexOfKey(uid);
3956 final UidState oldUidState = mUidState.valueAt(index);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java367 final SparseIntArray mUidState = new SparseIntArray(); field in ShortcutService
602 mUidState.put(uid, procState); in handleOnUidStateChanged()
625 if (isProcessStateForeground(mUidState.get(uid, ActivityManager.MAX_PROCESS_STATE))) { in isUidForegroundLocked()
4853 for (int i = 0; i < mUidState.size(); i++) {
4854 final int uid = mUidState.keyAt(i);
4855 final int state = mUidState.valueAt(i);