Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsService.cpp62 constexpr const char* kPermissionUsage = "android.permission.PACKAGE_USAGE_STATS"; variable
104 if (!checkCallingPermission(String16(kPermissionUsage))) { in checkDumpAndUsageStats()
106 StringPrintf("UID %d / PID %d lacks permission %s", uid, pid, kPermissionUsage)); in checkDumpAndUsageStats()
1309 if (!checkCallingPermission(String16(kPermissionUsage))) { in sendBinaryPushStateChangedAtom()
1312 kPermissionUsage)); in sendBinaryPushStateChangedAtom()
1402 if (!checkCallingPermission(String16(kPermissionUsage))) { in sendWatchdogRollbackOccurredAtom()
1405 kPermissionUsage)); in sendWatchdogRollbackOccurredAtom()
1452 if (!checkCallingPermission(String16(kPermissionUsage))) { in getRegisteredExperimentIds()
1454 StringPrintf("UID %d lacks permission %s", uid, kPermissionUsage)); in getRegisteredExperimentIds()