Home
last modified time | relevance | path

Searched refs:OP_GET_USAGE_STATS (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h86 OP_GET_USAGE_STATS = 43, enumerator
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java141 switch (appOps.noteOpNoThrow(AppOpsManager.OP_GET_USAGE_STATS, uid, pkg)) { in checkUsageStatsPermission()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java217 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()
DUsageStatsService.java2034 final int mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in hasPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java176 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/
DArtManagerService.java129 .noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage)) { in checkAndroidPermissions()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java545 AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage, callingAttributionTag, in checkPermission()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1020 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/
DDisplayManagerService.java3230 final int mode = appOpsManager.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in getBrightnessEvents()
/frameworks/base/services/incremental/
DIncrementalService.cpp2310 mAppOpsManager->startWatchingMode(AppOpsManager::OP_GET_USAGE_STATS, in registerAppOpsCallback()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2991 final int mode = mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, in hasUsageStatsPermission()