Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DPermissionCache.cpp30 ANDROID_SINGLETON_STATIC_INSTANCE(PermissionCache) ;
34 PermissionCache::PermissionCache() { in PermissionCache() function in android::PermissionCache
37 status_t PermissionCache::check(bool* granted, in check()
51 void PermissionCache::cache(const String16& permission, in cache()
72 void PermissionCache::purge() { in purge()
77 bool PermissionCache::checkCallingPermission(const String16& permission) { in checkCallingPermission()
78 return PermissionCache::checkCallingPermission(permission, NULL, NULL); in checkCallingPermission()
81 bool PermissionCache::checkCallingPermission( in checkCallingPermission()
88 return PermissionCache::checkPermission(permission, pid, uid); in checkCallingPermission()
91 bool PermissionCache::checkPermission( in checkPermission()
[all …]
DAndroid.mk28 PermissionCache.cpp \
/frameworks/native/include/binder/
DPermissionCache.h40 class PermissionCache : Singleton<PermissionCache> {
65 PermissionCache();
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp49 bool ok = PermissionCache::checkCallingPermission(sDump); in dumpAllowed()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1429 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
1671 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) { in onTransact()
1685 !PermissionCache::checkPermission(sReadFramebuffer, pid, uid)) { in onTransact()
1697 if (CC_UNLIKELY(!PermissionCache::checkCallingPermission(sHardwareTest))) { in onTransact()
2577 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger)) in onTransact()
/frameworks/base/services/sensorservice/
DSensorService.cpp180 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()