Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h85 OP_GET_USAGE_STATS = 43, enumerator
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java177 final int mode = appOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in hasAppOpsPermission()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java180 when(mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, TEST_UID, TEST_PKG)) in setHasAppOpsPermission()
/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.java176 mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission()
178 mode = mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage); in checkStatsPermission()
DUsageStatsService.java1407 final int mode = mAppOps.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in hasPermission()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java124 .noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage)) { in checkAndroidPermissions()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java508 when(mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, Process.myUid(), null, in testDispatchUids_dispatchNeededChanges()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java488 .noteOp(AppOpsManager.OP_GET_USAGE_STATS, callingUid, callingPackage)) { in checkPermission()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java2292 final int mode = appOpsManager.noteOp(AppOpsManager.OP_GET_USAGE_STATS, in getBrightnessEvents()
/frameworks/base/core/java/android/app/
DAppOpsManager.java936 public static final int OP_GET_USAGE_STATS = AppProtoEnums.APP_OP_GET_USAGE_STATS; field in AppOpsManager
1579 OP_GET_USAGE_STATS, // GET_USAGE_STATS
/frameworks/base/services/incremental/
DIncrementalService.cpp1717 mAppOpsManager->startWatchingMode(AppOpsManager::OP_GET_USAGE_STATS, in registerAppOpsCallback()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3287 final int mode = mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, in hasUsageStatsPermission()