Searched refs:PermissionCache (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 30 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 …]
|
D | Android.mk | 28 PermissionCache.cpp \
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 40 class PermissionCache : Singleton<PermissionCache> { 65 PermissionCache();
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 49 bool ok = PermissionCache::checkCallingPermission(sDump); in dumpAllowed()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1429 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/ |
D | SensorService.cpp | 180 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
|