/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 | 135 bool ok = PermissionCache::checkPermission(sCaptureAudioOutput, pid, uid); in captureAudioOutputAllowed() 143 bool ok = PermissionCache::checkPermission(sCaptureMediaOutput, pid, uid); in captureMediaOutputAllowed() 152 bool ok = PermissionCache::checkPermission(sCaptureVoiceCommOutput, pid, uid); in captureVoiceCommunicationOutputAllowed() 164 ok = PermissionCache::checkPermission(sCaptureHotwordAllowed, pid, uid); in captureHotwordAllowed() 175 bool ok = PermissionCache::checkCallingPermission(sAudioSettings); in settingsAllowed() 188 bool ok = PermissionCache::checkPermission(sModifyAudioRouting, pid, uid); in modifyAudioRoutingAllowed() 205 bool ok = PermissionCache::checkPermission(sModifyDefaultAudioEffectsAllowed, pid, uid); in modifyDefaultAudioEffectsAllowed() 214 bool ok = PermissionCache::checkCallingPermission(sDump); in dumpAllowed() 221 bool ok = PermissionCache::checkPermission(sModifyPhoneState, pid, uid); in modifyPhoneStateAllowed() 229 bool ok = PermissionCache::checkPermission(sModifyPhoneState, 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/base/services/incremental/ |
D | IncrementalServiceValidation.cpp | 52 if (!PermissionCache::checkCallingPermission(String16(permission), &pid, &uid)) { in CheckPermissionForDataDelivery()
|
D | BinderIncrementalService.cpp | 99 if (!PermissionCache::checkCallingPermission(*kDump)) { 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 | 96 if ((uid != AID_SHELL) && !PermissionCache::checkPermission(sDump, pid, uid)) { in doDump()
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractorFactory.cpp | 353 if (!PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dump()
|
/frameworks/av/media/libmedia/ |
D | IMediaExtractor.cpp | 339 if (!PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dumpExtractors()
|
/frameworks/native/libs/gui/ |
D | BufferQueueConsumer.cpp | 805 !PermissionCache::checkPermission(String16("android.permission.DUMP"), pid, uid)) { in dumpState()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 371 if (!PermissionCache::checkCallingPermission(sDumpPermission)) { in dump() 1844 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission)); in hasPermissionForSensor()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3590 (usePermissionCache ? !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid) in callingThreadHasUnscopedSurfaceFlingerAccess() 4311 !PermissionCache::checkPermission(sDump, pid, uid)) { in doDump() 4917 if ((uid != AID_SHELL) && !PermissionCache::checkPermission(sDump, pid, uid)) { in CheckTransactCodeCredentials() 4964 !PermissionCache::checkPermission(sReadFramebuffer, pid, uid)) { in CheckTransactCodeCredentials() 5012 && !PermissionCache::checkCallingPermission(sHardwareTest))) { in onTransact()
|