Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsService.cpp56 constexpr const char* kPermissionUsage = "android.permission.PACKAGE_USAGE_STATS"; variable
98 if (!checkCallingPermission(String16(kPermissionUsage))) { in checkDumpAndUsageStats()
100 StringPrintf("UID %d / PID %d lacks permission %s", uid, pid, kPermissionUsage)); in checkDumpAndUsageStats()
1313 if (!checkCallingPermission(String16(kPermissionUsage))) { in sendBinaryPushStateChangedAtom()
1316 kPermissionUsage)); in sendBinaryPushStateChangedAtom()
1409 if (!checkCallingPermission(String16(kPermissionUsage))) { in sendWatchdogRollbackOccurredAtom()
1412 kPermissionUsage)); in sendWatchdogRollbackOccurredAtom()
1459 if (!checkCallingPermission(String16(kPermissionUsage))) { in getRegisteredExperimentIds()
1461 StringPrintf("UID %d lacks permission %s", uid, kPermissionUsage)); in getRegisteredExperimentIds()