Searched refs:PermissionCache (Results 1 - 9 of 9) sorted by relevance
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 17 #define LOG_TAG "PermissionCache" 23 #include <binder/PermissionCache.h> 30 ANDROID_SINGLETON_STATIC_INSTANCE(PermissionCache) ; 34 PermissionCache::PermissionCache() { function in class:android::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 [all...] |
H A D | Android.mk | 36 PermissionCache.cpp \
|
/frameworks/native/include/binder/ |
H A D | PermissionCache.h | 31 * PermissionCache caches permission checks for a given uid. 41 class PermissionCache : Singleton<PermissionCache> { class in namespace:android 66 PermissionCache();
|
/frameworks/av/services/audioflinger/ |
H A D | 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 [all...] |
/frameworks/native/services/inputflinger/host/ |
H A D | InputFlinger.cpp | 29 #include <binder/PermissionCache.h> 56 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) {
|
/frameworks/av/services/medialog/ |
H A D | MediaLogService.cpp | 22 #include <binder/PermissionCache.h> 62 PermissionCache::checkCallingPermission(sDump))) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 20 #include <binder/PermissionCache.h> 98 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger))
|
H A D | SurfaceFlinger.cpp | 35 #include <binder/PermissionCache.h> 2514 !PermissionCache::checkPermission(sDump, pid, uid)) { 2886 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) { 2900 !PermissionCache::checkPermission(sReadFramebuffer, pid, uid)) { 2912 if (CC_UNLIKELY(!PermissionCache::checkCallingPermission(sHardwareTest))) {
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 37 #include <binder/PermissionCache.h> 248 if (!PermissionCache::checkCallingPermission(sDump)) { 1098 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission));
|
Completed in 181 milliseconds