HomeSort by relevance Sort by last modified time
    Searched refs:PermissionCache (Results 1 - 13 of 13) sorted by null

  /frameworks/native/libs/binder/
PermissionCache.cpp 17 #define LOG_TAG "PermissionCache"
23 #include <binder/PermissionCache.h>
30 ANDROID_SINGLETON_STATIC_INSTANCE(PermissionCache) ;
34 PermissionCache::PermissionCache() {
37 status_t PermissionCache::check(bool* granted,
51 void PermissionCache::cache(const String16& permission,
72 void PermissionCache::purge() {
77 bool PermissionCache::checkCallingPermission(const String16& permission) {
78 return PermissionCache::checkCallingPermission(permission, NULL, NULL)
    [all...]
Android.mk 36 PermissionCache.cpp \
  /frameworks/native/include/binder/
PermissionCache.h 31 * PermissionCache caches permission checks for a given uid.
41 class PermissionCache : Singleton<PermissionCache> {
66 PermissionCache();
  /frameworks/av/services/audioflinger/
ServiceUtilities.cpp 20 #include <binder/PermissionCache.h>
49 // IMPORTANT: Don't use PermissionCache - a runtime permission and may change.
103 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
104 bool ok = PermissionCache::checkCallingPermission(sCaptureAudioOutput);
111 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
112 bool ok = PermissionCache::checkCallingPermission(sCaptureHotwordAllowed);
120 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
121 bool ok = PermissionCache::checkCallingPermission(sAudioSettings);
128 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
129 bool ok = PermissionCache::checkCallingPermission(sModifyAudioRoutingAllowed)
    [all...]
  /frameworks/native/services/inputflinger/host/
InputFlinger.cpp 29 #include <binder/PermissionCache.h>
56 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) {
  /system/core/fingerprintd/
fingerprintd.cpp 24 #include <binder/PermissionCache.h>
IFingerprintDaemon.cpp 21 #include <binder/PermissionCache.h>
191 return PermissionCache::checkPermission(permission, calling_pid, calling_uid);
  /frameworks/av/services/medialog/
MediaLogService.cpp 22 #include <binder/PermissionCache.h>
62 PermissionCache::checkCallingPermission(sDump))) {
  /system/core/healthd/
BatteryPropertiesRegistrar.cpp 23 #include <binder/PermissionCache.h>
84 !PermissionCache::checkPermission(
  /system/core/gatekeeperd/
gatekeeperd.cpp 32 #include <binder/PermissionCache.h>
139 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
204 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
288 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
303 if (!PermissionCache::checkPermission(DUMP_PERMISSION, pid, uid)) {
  /frameworks/native/services/surfaceflinger/
Client.cpp 20 #include <binder/PermissionCache.h>
98 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger))
SurfaceFlinger.cpp 35 #include <binder/PermissionCache.h>
    [all...]
  /frameworks/native/services/sensorservice/
SensorService.cpp 37 #include <binder/PermissionCache.h>
248 if (!PermissionCache::checkCallingPermission(sDump)) {
    [all...]

Completed in 869 milliseconds