Home
last modified time | relevance | path

Searched refs:UidState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/
DAppOpsManager.java240 public @interface UidState {} annotation in AppOpsManager
380 public static String getUidStateName(@UidState int uidState) { in getUidStateName()
541 public static @DataBucketKey long makeKey(@UidState int uidState, @OpFlags int flags) { in makeKey()
2407 public long getLastAccessTime(@UidState int fromUidState, @UidState int toUidState, in getLastAccessTime()
2504 public long getLastRejectTime(@UidState int fromUidState, @UidState int toUidState, in getLastRejectTime()
2577 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration()
2611 public int getProxyUid(@UidState int uidState, @OpFlags int flags) { in getProxyUid()
2644 public @Nullable String getProxyPackageName(@UidState int uidState, @OpFlags int flags) { in getProxyPackageName()
3026 @UidState int uidState, @OpFlags int flags, long increment) { in increaseAccessCount()
3034 @UidState int uidState, @OpFlags int flags, long increment) { in increaseRejectCount()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java213 final SparseArray<UidState> mUidStates = new SparseArray<>();
324 static final class UidState { class in AppOpsService
339 public UidState(int uid) { in UidState() method in AppOpsService.UidState
411 final UidState uidState;
414 Ops(String _packageName, UidState _uidState, boolean _isPrivileged) { in Ops()
424 final UidState uidState;
437 Op(UidState uidState, String packageName, int op) { in Op()
454 @AppOpsManager.UidState int uidState, @OpFlags int flags) { in accessed()
468 @AppOpsManager.UidState int uidState, @OpFlags int flags) { in rejected()
481 public void started(long time, @AppOpsManager.UidState int uidState, @OpFlags int flags) { in started()
[all …]
DHistoricalRegistry.java27 import android.app.AppOpsManager.UidState;
413 @UidState int uidState, @OpFlags int flags) { in incrementOpAccessedCount()
427 @UidState int uidState, @OpFlags int flags) { in incrementOpRejected()
441 @UidState int uidState, @OpFlags int flags, long increment) { in increaseOpAccessDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java86 private void assertSameModes(SparseArray<AppOpsService.UidState> uidStates, int op1, int op2) { in assertSameModes()
91 final AppOpsService.UidState uidState = uidStates.valueAt(i); in assertSameModes()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java522 private final SparseArray<UidState> mUidState = new SparseArray<>();
1064 UidState state = mUidState.get(uid); in acquireWakeLockInternal()
1066 state = new UidState(uid); in acquireWakeLockInternal()
1192 UidState state = wakeLock.mUidState; in removeWakeLockLocked()
2972 UidState state = mUidState.get(uid); in updateUidProcStateInternal()
2974 state = new UidState(uid); in updateUidProcStateInternal()
2997 UidState state = mUidState.valueAt(index); in uidGoneInternal()
3010 UidState state = mUidState.get(uid); in uidActiveInternal()
3012 state = new UidState(uid); in uidActiveInternal()
3025 UidState state = mUidState.get(uid); in uidIdleInternal()
[all …]
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto62 // A com.android.server.power.PowerManagerService.UidState object.
/frameworks/base/services/
Dart-profile3820 …appop/AppOpsService$Op;-><init>(Lcom/android/server/appop/AppOpsService$UidState;Ljava/lang/String…
3832 …p/AppOpsService$Ops;-><init>(Ljava/lang/String;Lcom/android/server/appop/AppOpsService$UidState;Z)V
3833 HSPLcom/android/server/appop/AppOpsService$UidState;->evalForegroundOps(Landroid/util/SparseArray;)V
3834 HSPLcom/android/server/appop/AppOpsService$UidState;->evalForegroundWatchers(ILandroid/util/SparseA…
3835 HSPLcom/android/server/appop/AppOpsService$UidState;->evalMode(II)I
3836 HSPLcom/android/server/appop/AppOpsService$UidState;->isDefault()Z
3846 …pop/AppOpsService;->commitUidPendingStateLocked(Lcom/android/server/appop/AppOpsService$UidState;)V
3860 …server/appop/AppOpsService;->getUidStateLocked(IZ)Lcom/android/server/appop/AppOpsService$UidState;
3874 …p(Lorg/xmlpull/v1/XmlPullParser;Lcom/android/server/appop/AppOpsService$UidState;Ljava/lang/String…
18743 Lcom/android/server/appop/AppOpsService$UidState;
[all …]