Lines Matching refs:PermissionCache
30 ANDROID_SINGLETON_STATIC_INSTANCE(PermissionCache) in ANDROID_SINGLETON_STATIC_INSTANCE() argument
34 PermissionCache::PermissionCache() { in ANDROID_SINGLETON_STATIC_INSTANCE()
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, nullptr, nullptr); in checkCallingPermission()
81 bool PermissionCache::checkCallingPermission( in checkCallingPermission()
88 return PermissionCache::checkPermission(permission, pid, uid); in checkCallingPermission()
91 bool PermissionCache::checkPermission( in checkPermission()
98 PermissionCache& pc(PermissionCache::getInstance()); in checkPermission()
111 void PermissionCache::purgeCache() { in purgeCache()
112 PermissionCache& pc(PermissionCache::getInstance()); in purgeCache()