HomeSort by relevance Sort by last modified time
    Searched refs:PermissionCache (Results 1 - 18 of 18) sorted by null

  /frameworks/native/libs/binder/
PermissionCache.cpp 17 #define LOG_TAG "PermissionCache"
23 #include <binder/PermissionCache.h>
30 ANDROID_SINGLETON_STATIC_INSTANCE(PermissionCache) ;
34 PermissionCache::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::checkCallingPermission(permission, NULL, NULL)
    [all...]
  /frameworks/native/libs/binder/include/binder/
PermissionCache.h 31 * PermissionCache caches permission checks for a given uid.
41 class PermissionCache : Singleton<PermissionCache> {
66 PermissionCache();
  /frameworks/av/services/audioflinger/
ServiceUtilities.cpp 20 #include <binder/PermissionCache.h>
59 // IMPORTANT: Don't use PermissionCache - a runtime permission and may change.
118 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
119 bool ok = PermissionCache::checkCallingPermission(sCaptureHotwordAllowed);
127 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
128 bool ok = PermissionCache::checkCallingPermission(sAudioSettings);
135 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
136 bool ok = PermissionCache::checkCallingPermission(sModifyAudioRoutingAllowed);
144 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
145 bool ok = PermissionCache::checkCallingPermission(sDump)
    [all...]
  /frameworks/native/services/inputflinger/host/
InputFlinger.cpp 24 #include <binder/PermissionCache.h>
54 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) {
  /frameworks/native/services/vr/hardware_composer/
vr_composer.cpp 4 #include <binder/PermissionCache.h>
14 const bool permission = PermissionCache::checkPermission(
  /frameworks/native/services/vr/virtual_touchpad/
VirtualTouchpadService.cpp 6 #include <binder/PermissionCache.h>
97 !PermissionCache::checkPermission(kDumpPermission, pid, uid)) {
126 const bool permission = PermissionCache::checkPermission(kTouchPermission, *out_pid, uid);
  /frameworks/av/services/medialog/
MediaLogService.cpp 22 #include <binder/PermissionCache.h>
95 PermissionCache::checkCallingPermission(sDump))) {
  /packages/services/Car/vehicle_monitor_service/
VehicleMonitorService.cpp 20 #include <binder/PermissionCache.h>
81 if (!PermissionCache::checkCallingPermission(sDump)) {
  /system/core/healthd/
BatteryPropertiesRegistrar.cpp 23 #include <binder/PermissionCache.h>
99 !PermissionCache::checkPermission(
  /frameworks/av/services/radio/
RadioService.cpp 37 #include <binder/PermissionCache.h>
90 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
113 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
729 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
753 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
774 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
795 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
812 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
828 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION)) {
844 if (!PermissionCache::checkCallingPermission(RADIO_PERMISSION))
    [all...]
  /system/core/gatekeeperd/
gatekeeperd.cpp 29 #include <binder/PermissionCache.h>
139 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
238 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
346 if (!PermissionCache::checkPermission(KEYGUARD_PERMISSION, calling_pid, calling_uid)) {
361 if (!PermissionCache::checkPermission(DUMP_PERMISSION, pid, uid)) {
  /frameworks/native/services/surfaceflinger/
Client.cpp 20 #include <binder/PermissionCache.h>
123 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger))
SurfaceFlinger.cpp 36 #include <binder/PermissionCache.h>
    [all...]
SurfaceFlinger_hwc1.cpp 36 #include <binder/PermissionCache.h>
    [all...]
  /system/core/storaged/
storaged_service.cpp 28 #include <binder/PermissionCache.h>
90 !PermissionCache::checkPermission(
  /system/connectivity/wificond/
server.cpp 24 #include <binder/PermissionCache.h>
193 if (!PermissionCache::checkCallingPermission(String16(kPermissionDump))) {
  /frameworks/native/libs/gui/
BufferQueueConsumer.cpp 36 #include <binder/PermissionCache.h>
752 && !PermissionCache::checkPermission(String16(
  /frameworks/native/services/sensorservice/
SensorService.cpp 19 #include <binder/PermissionCache.h>
319 if (!PermissionCache::checkCallingPermission(sDumpPermission)) {
    [all...]

Completed in 301 milliseconds