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()
2460 public long getLastAccessTime(@UidState int fromUidState, @UidState int toUidState, in getLastAccessTime()
2557 public long getLastRejectTime(@UidState int fromUidState, @UidState int toUidState, in getLastRejectTime()
2630 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration()
2664 public int getProxyUid(@UidState int uidState, @OpFlags int flags) { in getProxyUid()
2697 public @Nullable String getProxyPackageName(@UidState int uidState, @OpFlags int flags) { in getProxyPackageName()
3079 @UidState int uidState, @OpFlags int flags, long increment) { in increaseAccessCount()
3087 @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.java526 private final SparseArray<UidState> mUidState = new SparseArray<>();
1074 UidState state = mUidState.get(uid); in acquireWakeLockInternal()
1076 state = new UidState(uid); in acquireWakeLockInternal()
1202 UidState state = wakeLock.mUidState; in removeWakeLockLocked()
3020 UidState state = mUidState.get(uid); in updateUidProcStateInternal()
3022 state = new UidState(uid); in updateUidProcStateInternal()
3045 UidState state = mUidState.valueAt(index); in uidGoneInternal()
3058 UidState state = mUidState.get(uid); in uidActiveInternal()
3060 state = new UidState(uid); in uidActiveInternal()
3073 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 …]