Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.java443 public @interface UidState {} annotation in AppOpsManager
565 public static String getUidStateName(@UidState int uidState) { in getUidStateName()
758 public static @DataBucketKey long makeKey(@UidState int uidState, @OpFlags int flags) { in makeKey()
3235 private @Nullable NoteOpEvent getLastAccessEvent(@UidState int fromUidState, in getLastAccessEvent()
3236 @UidState int toUidState, @OpFlags int flags) { in getLastAccessEvent()
3255 public long getLastAccessTime(@UidState int fromUidState, @UidState int toUidState, in getLastAccessTime()
3330 private @Nullable NoteOpEvent getLastRejectEvent(@UidState int fromUidState, in getLastRejectEvent()
3331 @UidState int toUidState, @OpFlags int flags) { in getLastRejectEvent()
3351 public long getLastRejectTime(@UidState int fromUidState, @UidState int toUidState, in getLastRejectTime()
3426 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java318 final SparseArray<UidState> mUidStates = new SparseArray<>();
500 final class UidState { class in AppOpsService
518 public UidState(int uid) { in UidState() method in AppOpsService.UidState
650 final UidState uidState;
661 Ops(String _packageName, UidState _uidState) { in Ops()
682 private @AppOpsManager.UidState int mUidState;
806 @Nullable String proxyAttributionTag, @AppOpsManager.UidState int uidState, in accessed()
828 @AppOpsManager.UidState int uidState, @OpFlags int flags) { in accessed()
855 public void rejected(@AppOpsManager.UidState int uidState, @OpFlags int flags) { in rejected()
869 public void rejected(long noteTime, @AppOpsManager.UidState int uidState, in rejected()
[all …]
DHistoricalRegistry.java33 import android.app.AppOpsManager.UidState;
452 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags) { in incrementOpAccessedCount()
467 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags) { in incrementOpRejected()
482 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in increaseOpAccessDuration()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java94 private void assertSameModes(SparseArray<AppOpsService.UidState> uidStates, int op1, int op2) { in assertSameModes()
99 final AppOpsService.UidState uidState = uidStates.valueAt(i); in assertSameModes()
/frameworks/native/services/sensorservice/
DSensorService.h78 enum UidState { enum
363 void onUidStateChanged(uid_t uid, UidState state);
DSensorDevice.h120 void setUidStateForConnection(void* ident, SensorService::UidState state);
DSensorDevice.cpp880 void SensorDevice::setUidStateForConnection(void* ident, SensorService::UidState state) { in setUidStateForConnection()
DSensorService.cpp302 void SensorService::onUidStateChanged(uid_t uid, UidState state) { in onUidStateChanged()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java561 private final SparseArray<UidState> mUidState = new SparseArray<>();
1299 UidState state = mUidState.get(uid);
1301 state = new UidState(uid);
1427 UidState state = wakeLock.mUidState;
3398 UidState state = mUidState.get(uid);
3400 state = new UidState(uid);
3423 UidState state = mUidState.valueAt(index);
3436 UidState state = mUidState.get(uid);
3438 state = new UidState(uid);
3451 UidState state = mUidState.get(uid);
[all …]
/frameworks/base/services/
Dart-profile-boot2 …p(Lorg/xmlpull/v1/XmlPullParser;Lcom/android/server/appop/AppOpsService$UidState;Ljava/lang/String…
3 Lcom/android/server/appop/AppOpsService$UidState;->evalForegroundOps(Landroid/util/SparseArray;)V
392 …server/appop/AppOpsService;->getUidStateLocked(IZ)Lcom/android/server/appop/AppOpsService$UidState;
723 Lcom/android/server/appop/AppOpsService$UidState;->evalMode(II)I
Dart-profile8138 …roid/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsService$UidState;Ljava/lang/String…
8150 …op/AppOpsService$Ops;-><init>(Ljava/lang/String;Lcom/android/server/appop/AppOpsService$UidState;)V
8154 HSPLcom/android/server/appop/AppOpsService$UidState;-><init>(Lcom/android/server/appop/AppOpsServic…
8155 HSPLcom/android/server/appop/AppOpsService$UidState;->clear()V
8156 HSPLcom/android/server/appop/AppOpsService$UidState;->evalForegroundOps(Landroid/util/SparseArray;)V
8157 HSPLcom/android/server/appop/AppOpsService$UidState;->evalForegroundWatchers(ILandroid/util/SparseA…
8158 HSPLcom/android/server/appop/AppOpsService$UidState;->evalMode(II)I
8159 HSPLcom/android/server/appop/AppOpsService$UidState;->isDefault()Z
8160 HSPLcom/android/server/appop/AppOpsService$UidState;->maybeShowWhileInUseDebugToast(II)V
8192 …pop/AppOpsService;->commitUidPendingStateLocked(Lcom/android/server/appop/AppOpsService$UidState;)V
[all …]
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto62 // A com.android.server.power.PowerManagerService.UidState object.