/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 32 bool ok = checkCallingPermission(sRecordAudio); in recordingAllowed() 41 bool ok = checkCallingPermission(sCaptureAudioOutput); in captureAudioOutputAllowed() 48 bool ok = checkCallingPermission(sCaptureHotwordAllowed); in captureHotwordAllowed() 57 bool ok = checkCallingPermission(sAudioSettings); in settingsAllowed() 64 bool ok = checkCallingPermission(sModifyAudioRoutingAllowed); in modifyAudioRoutingAllowed() 73 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 | 50 bool checkCallingPermission(const String16& permission) in checkCallingPermission() function 52 return checkCallingPermission(permission, NULL, NULL); in checkCallingPermission() 58 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission() function
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 68 static bool checkCallingPermission(const String16& permission); 70 static bool checkCallingPermission(const String16& permission,
|
D | IServiceManager.h | 79 bool checkCallingPermission(const String16& permission); 80 bool checkCallingPermission(const String16& permission,
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 226 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in createProjection() 256 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in getActiveProjectionInfo() 271 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in stopActiveProjection() 289 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in addCallback() 304 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in removeCallback()
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 62 PermissionCache::checkCallingPermission(sDump))) { in dump()
|
/frameworks/base/libs/common_time/ |
D | common_time_server_api.cpp | 295 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpClockInterface() 371 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpConfigInterface()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 751 if (!checkCallingPermission(android.Manifest.permission.SET_INPUT_CALIBRATION, in setTouchCalibrationForInputDevice() 1032 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in setCurrentKeyboardLayoutForInputDevice() 1071 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in addKeyboardLayoutForInputDevice() 1100 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in removeKeyboardLayoutForInputDevice() 1213 if (!checkCallingPermission(android.Manifest.permission.SET_POINTER_SPEED, in tryPointerSpeed() 1359 private boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method in InputManagerService 1365 if (mContext.checkCallingPermission(permission) == PackageManager.PERMISSION_GRANTED) { in checkCallingPermission()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 98 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger)) in onTransact()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScorerAppManager.java | 199 return context.checkCallingPermission(Manifest.permission.SCORE_NETWORKS) == in isCallerActiveScorer()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 451 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES) in getKeyphraseSoundModel() 474 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES) in updateKeyphraseSoundModel() 505 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES) in deleteKeyphraseSoundModel()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 3459 boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method 3465 if (mContext.checkCallingPermission(permission) in checkCallingPermission() 3491 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addWindowToken() 3512 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in removeWindowToken() 3593 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addAppToken() 3649 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppGroupId() 3788 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in updateOrientationFromAppTokens() 3886 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setNewConfiguration() 3903 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppOrientation() 3980 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 | Drm.cpp | 41 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 570 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContextWrapper 571 return mBase.checkCallingPermission(permission); in checkCallingPermission()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 946 if (mContext.checkCallingPermission( in ensureParentalControlsPermission() 1328 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in getHardwareList() 1345 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in acquireTvInputHardware() 1365 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in releaseTvInputHardware() 1385 if (mContext.checkCallingPermission( in getAvailableTvStreamConfigList() 1407 if (mContext.checkCallingPermission( in captureFrame() 1855 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in ensureHardwarePermission()
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 288 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/av/services/camera/libcameraservice/api_pro/ |
D | ProCamera2Client.cpp | 432 if (!checkCallingPermission(permissionString)) { in enforceRequestPermissions()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 357 return getContext().checkCallingPermission(Manifest.permission.PACKAGE_USAGE_STATS) in hasPermission()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2167 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2187 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2207 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2227 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 3694 if (checkCallingPermission(Manifest.permission.BIND_VOICE_INTERACTION) in startVoiceActivity() 3822 if (checkCallingPermission(START_TASKS_FROM_RECENTS) != PackageManager.PERMISSION_GRANTED) { in startActivityFromRecents() 4519 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in finishHeavyWeightApp() 4553 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in crashApplication() 5360 if (checkCallingPermission(android.Manifest.permission.KILL_BACKGROUND_PROCESSES) in killBackgroundProcesses() 5362 checkCallingPermission(android.Manifest.permission.RESTART_PACKAGES) in killBackgroundProcesses() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 487 public int checkCallingPermission(String permission) { in checkCallingPermission() method in MockContext
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.cpp | 802 return checkCallingPermission( in isSupportedCodec()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 1417 if (mContext.checkCallingPermission( in canProjectVideo() 1435 return mContext.checkCallingPermission( in canProjectSecureVideo()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 650 if (!checkCallingPermission(permissionString)) { in enforceRequestPermissions()
|