/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 31 bool ok = checkCallingPermission(sRecordAudio); in recordingAllowed() 40 bool ok = checkCallingPermission(sAudioSettings); in settingsAllowed() 49 bool ok = PermissionCache::checkCallingPermission(sDump); in dumpAllowed()
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 77 bool PermissionCache::checkCallingPermission(const String16& permission) { in checkCallingPermission() function in android::PermissionCache 78 return PermissionCache::checkCallingPermission(permission, NULL, NULL); in checkCallingPermission() 81 bool PermissionCache::checkCallingPermission( in checkCallingPermission() function in android::PermissionCache
|
D | IServiceManager.cpp | 49 bool checkCallingPermission(const String16& permission) in checkCallingPermission() function 51 return checkCallingPermission(permission, NULL, NULL); in checkCallingPermission() 57 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission() function
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 67 static bool checkCallingPermission(const String16& permission); 69 static bool checkCallingPermission(const String16& permission,
|
D | IServiceManager.h | 79 bool checkCallingPermission(const String16& permission); 80 bool checkCallingPermission(const String16& permission,
|
/frameworks/base/services/common_time/ |
D | common_time_server_api.cpp | 295 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpClockInterface() 368 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpConfigInterface()
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 853 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in setCurrentKeyboardLayoutForInputDevice() 890 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in addKeyboardLayoutForInputDevice() 918 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in removeKeyboardLayoutForInputDevice() 1025 if (!checkCallingPermission(android.Manifest.permission.SET_POINTER_SPEED, in tryPointerSpeed() 1171 private boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method in InputManagerService 1177 if (mContext.checkCallingPermission(permission) == PackageManager.PERMISSION_GRANTED) { in checkCallingPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 425 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContextWrapper 426 return mBase.checkCallingPermission(permission); in checkCallingPermission()
|
D | Context.java | 1996 public abstract int checkCallingPermission(String permission); in checkCallingPermission() method in Context
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowManagerService.java | 3426 boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method 3432 if (mContext.checkCallingPermission(permission) in checkCallingPermission() 3458 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addWindowToken() 3478 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in removeWindowToken() 3550 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addAppToken() 3595 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppGroupId() 3717 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in updateOrientationFromAppTokens() 3814 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setNewConfiguration() 3827 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppOrientation() 3855 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setFocusedApp() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 53 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()
|
D | MediaPlayerService.cpp | 192 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission() 371 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 272 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 387 public int checkCallingPermission(String permission) { in checkCallingPermission() method in MockContext
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.cpp | 800 return checkCallingPermission( in isSupportedCodec()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 258 if (!checkCallingPermission( in onTransact() 1301 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 1438 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 1459 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 1479 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 1499 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2669 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in finishHeavyWeightApp() 2704 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in crashApplication() 3417 if (checkCallingPermission(android.Manifest.permission.KILL_BACKGROUND_PROCESSES) in killBackgroundProcesses() 3419 checkCallingPermission(android.Manifest.permission.RESTART_PACKAGES) in killBackgroundProcesses() 3452 if (checkCallingPermission(android.Manifest.permission.KILL_BACKGROUND_PROCESSES) in killAllBackgroundProcesses() 3494 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in forceStopPackage() [all …]
|
D | UsageStatsService.java | 1038 if (mContext.checkCallingPermission(android.Manifest.permission.DUMP) in dump()
|
/frameworks/base/services/sensorservice/ |
D | SensorService.cpp | 180 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 346 android.content.Context#checkCallingPermission Context.checkCallingPermission()}
|
D | security.jd | 309 …Root}reference/android/content/Context.html#checkCallingPermission(java.lang.String)">checkCalling… 359 …Root}reference/android/content/Context.html#checkCallingPermission(java.lang.String)">checkCalling…
|
/frameworks/base/docs/html/guide/practices/ |
D | security.jd | 308 …Root}reference/android/content/Context.html#checkCallingPermission(java.lang.String)">checkCalling… 358 …Root}reference/android/content/Context.html#checkCallingPermission(java.lang.String)">checkCalling…
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1429 if (!PermissionCache::checkCallingPermission(sDump)) { in dump() 1697 if (CC_UNLIKELY(!PermissionCache::checkCallingPermission(sHardwareTest))) { in onTransact() 2577 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger)) in onTransact()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1285 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContextImpl 1332 checkCallingPermission(permission), in enforceCallingPermission()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 875 public int checkCallingPermission(String arg0) { in checkCallingPermission() method in BridgeContext
|