/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, 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() [all …]
|
D | Android.bp | 51 "PermissionCache.cpp",
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 133 bool ok = PermissionCache::checkPermission(sCaptureAudioOutput, pid, uid); in captureAudioOutputAllowed() 141 bool ok = PermissionCache::checkPermission(sCaptureMediaOutput, pid, uid); in captureMediaOutputAllowed() 153 ok = PermissionCache::checkPermission(sCaptureHotwordAllowed, pid, uid); in captureHotwordAllowed() 164 bool ok = PermissionCache::checkCallingPermission(sAudioSettings); in settingsAllowed() 171 bool ok = PermissionCache::checkCallingPermission(sModifyAudioRouting); in modifyAudioRoutingAllowed() 187 bool ok = PermissionCache::checkPermission(sModifyDefaultAudioEffectsAllowed, pid, uid); in modifyDefaultAudioEffectsAllowed() 196 bool ok = PermissionCache::checkCallingPermission(sDump); in dumpAllowed() 203 bool ok = PermissionCache::checkPermission(sModifyPhoneState, pid, uid); in modifyPhoneStateAllowed() 211 bool ok = PermissionCache::checkPermission(sModifyPhoneState, pid, uid) in bypassInterruptionPolicyAllowed() 212 || PermissionCache::checkPermission(sWriteSecureSettings, pid, uid) in bypassInterruptionPolicyAllowed() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | PermissionCache.h | 43 class PermissionCache : Singleton<PermissionCache> { 68 PermissionCache();
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 43 class PermissionCache : Singleton<PermissionCache> { 68 PermissionCache();
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadService.cpp | 107 !PermissionCache::checkPermission(kDumpPermission, pid, uid)) { in dump() 136 const bool permission = PermissionCache::checkPermission(kTouchPermission, *out_pid, uid); in CheckTouchPermission()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 54 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) { in dump()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 14 const bool permission = PermissionCache::checkPermission( in CheckPermission()
|
/frameworks/native/services/gpuservice/ |
D | GpuService.cpp | 98 if ((uid != AID_SHELL) && !PermissionCache::checkPermission(sDump, pid, uid)) { in doDump()
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractorFactory.cpp | 347 if (!PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dump()
|
/frameworks/av/media/libmedia/ |
D | IMediaExtractor.cpp | 313 if (!PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dumpExtractors()
|
/frameworks/native/libs/gui/ |
D | BufferQueueConsumer.cpp | 775 !PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dumpState()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 349 if (!PermissionCache::checkCallingPermission(sDumpPermission)) { in dump() 1698 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission)); in hasPermissionForSensor()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3961 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) { in callingThreadHasUnscopedSurfaceFlingerAccess() 4617 !PermissionCache::checkPermission(sDump, pid, uid)) { in doDump() 5204 if ((uid != AID_SHELL) && !PermissionCache::checkPermission(sDump, pid, uid)) { in CheckTransactCodeCredentials() 5246 !PermissionCache::checkPermission(sReadFramebuffer, pid, uid)) { in CheckTransactCodeCredentials() 5300 && !PermissionCache::checkCallingPermission(sHardwareTest))) { in onTransact()
|