Home
last modified time | relevance | path

Searched refs:OP_GET_USAGE_STATS (Results 1 – 10 of 10) 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.java147 switch (appOps.noteOpNoThrow(AppOpsManager.OP_GET_USAGE_STATS, uid, pkg)) { in checkUsageStatsPermission()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java223 mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission()
225 mode = mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission()
DUsageStatsService.java2215 final int mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in hasQueryPermission()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java127 .noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage)) { in checkAndroidPermissions()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java292 AppOpsManager.OP_GET_USAGE_STATS, null, mContext.getPackageName()); in mockNoteOperation()
293 when(mAppOpsService.noteOperation(eq(AppOpsManager.OP_GET_USAGE_STATS), eq(Process.myUid()), in mockNoteOperation()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java624 AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage, callingAttributionTag, in checkPermission()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1049 public static final int OP_GET_USAGE_STATS = AppProtoEnums.APP_OP_GET_USAGE_STATS; field in AppOpsManager
2586 OP_GET_USAGE_STATS,
2766 new AppOpInfo.Builder(OP_GET_USAGE_STATS, OPSTR_GET_USAGE_STATS, "GET_USAGE_STATS")
/frameworks/base/services/incremental/
DIncrementalService.cpp2325 mAppOpsManager->startWatchingMode(AppOpsManager::OP_GET_USAGE_STATS, in registerAppOpsCallback()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java4196 final int mode = appOpsManager.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in getBrightnessEvents()