Searched refs:OP_GET_USAGE_STATS (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 86 OP_GET_USAGE_STATS = 43, enumerator
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 141 switch (appOps.noteOpNoThrow(AppOpsManager.OP_GET_USAGE_STATS, uid, pkg)) { in checkUsageStatsPermission()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 217 mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission() 219 mode = mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission()
|
D | UsageStatsService.java | 2034 final int mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in hasPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 176 AppOpsManager.OP_GET_USAGE_STATS, null, mContext.getPackageName()); in mockNoteOperation() 177 when(mAppOpsService.noteOperation(eq(AppOpsManager.OP_GET_USAGE_STATS), eq(Process.myUid()), in mockNoteOperation()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 129 .noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage)) { in checkAndroidPermissions()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 545 AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage, callingAttributionTag, in checkPermission()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1020 public static final int OP_GET_USAGE_STATS = AppProtoEnums.APP_OP_GET_USAGE_STATS; field in AppOpsManager 1963 OP_GET_USAGE_STATS, // GET_USAGE_STATS
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 3230 final int mode = appOpsManager.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in getBrightnessEvents()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 2310 mAppOpsManager->startWatchingMode(AppOpsManager::OP_GET_USAGE_STATS, in registerAppOpsCallback()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2991 final int mode = mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, in hasUsageStatsPermission()
|