/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 119 bool ok = PermissionCache::checkCallingPermission(sCaptureHotwordAllowed); in captureHotwordAllowed() 128 bool ok = PermissionCache::checkCallingPermission(sAudioSettings); in settingsAllowed() 136 bool ok = PermissionCache::checkCallingPermission(sModifyAudioRoutingAllowed); in modifyAudioRoutingAllowed() 145 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 | 224 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in createProjection() 254 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in getActiveProjectionInfo() 269 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in stopActiveProjection() 287 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in addCallback() 302 if (mContext.checkCallingPermission(Manifest.permission.MANAGE_MEDIA_PROJECTION) in removeCallback()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 194 if (getContext().checkCallingPermission( in changeProviderAndSetting() 236 if (getContext().checkCallingPermission( in enableFallbackLogic()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 875 if (!checkCallingPermission(android.Manifest.permission.SET_INPUT_CALIBRATION, in setTouchCalibrationForInputDevice() 903 if (!checkCallingPermission(android.Manifest.permission.TABLET_MODE, in isInTabletMode() 912 if (!checkCallingPermission(android.Manifest.permission.TABLET_MODE, in registerTabletModeChangedListener() 1287 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in setCurrentKeyboardLayoutForInputDevice() 1357 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in setKeyboardLayoutForInputDevice() 1402 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in addKeyboardLayoutForInputDevice() 1430 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in removeKeyboardLayoutForInputDevice() 1551 if (!checkCallingPermission(android.Manifest.permission.SET_POINTER_SPEED, in tryPointerSpeed() 1752 if (!checkCallingPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT, in onShellCommand() 1768 private boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method in InputManagerService [all …]
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 140 public static int checkCallingPermission(@NonNull Context context, in checkCallingPermission() method in PermissionChecker
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 77 PermissionCache::checkCallingPermission(sDump))) { in dump()
|
/frameworks/base/libs/common_time/ |
D | common_time_server_api.cpp | 297 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpClockInterface() 373 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dumpConfigInterface()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 182 final int permissionCheck = context.checkCallingPermission( in hasAppOpsPermission()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 3316 private boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() method 3322 if (mContext.checkCallingPermission(permission) in checkCallingPermission() 3348 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addWindowToken() 3369 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in removeWindowToken() 3453 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in addAppToken() 3509 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppTask() 3693 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in updateOrientationFromAppTokens() 3789 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setNewConfiguration() 3857 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setAppOrientation() 3897 if (!checkCallingPermission(android.Manifest.permission.MANAGE_APP_TOKENS, in setFocusedApp() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 431 if (mService.checkCallingPermission(INTERACT_ACROSS_USERS_FULL) in stopUser() 768 if (mService.checkCallingPermission(INTERACT_ACROSS_USERS_FULL) in startUser() 931 if (mService.checkCallingPermission(INTERACT_ACROSS_USERS_FULL) in unlockUser() 1292 if (mService.checkCallingPermission(INTERACT_ACROSS_USERS_FULL) in registerUserSwitchObserver() 1427 if ((mService.checkCallingPermission(INTERACT_ACROSS_USERS) in getCurrentUser() 1429 mService.checkCallingPermission(INTERACT_ACROSS_USERS_FULL) in getCurrentUser()
|
D | ActivityManagerService.java | 2518 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2538 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2558 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 2578 if (mActivityManagerService.checkCallingPermission(android.Manifest.permission.DUMP) in dump() 4084 return checkCallingPermission(Manifest.permission.PACKAGE_USAGE_STATS) in hasUsageStatsPermission() 4505 if (checkCallingPermission(Manifest.permission.BIND_VOICE_INTERACTION) in startVoiceActivity() 4708 if (checkCallingPermission(START_TASKS_FROM_RECENTS) != PackageManager.PERMISSION_GRANTED) { in startActivityFromRecents() 4901 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in finishHeavyWeightApp() 4934 if (checkCallingPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) in crashApplication() 5572 if (checkCallingPermission(android.Manifest.permission.KILL_BACKGROUND_PROCESSES) in killBackgroundProcesses() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 168 when(mContext.checkCallingPermission(Manifest.permission.PACKAGE_USAGE_STATS)).thenReturn( in setHasAppOpsPermission()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 95 if (!PermissionCache::checkCallingPermission(sAccessSurfaceFlinger)) in onTransact()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScorerAppManager.java | 236 return context.checkCallingPermission(Manifest.permission.SCORE_NETWORKS) == in isCallerActiveScorer()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 1122 if (mContext.checkCallingPermission( in ensureParentalControlsPermission() 1675 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in getHardwareList() 1692 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in acquireTvInputHardware() 1712 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in releaseTvInputHardware() 1731 if (mContext.checkCallingPermission(android.Manifest.permission.DVB_DEVICE) in getDvbDeviceList() 1757 if (mContext.checkCallingPermission(android.Manifest.permission.DVB_DEVICE) in openDvbDevice() 1800 if (mContext.checkCallingPermission( in getAvailableTvStreamConfigList() 1822 if (mContext.checkCallingPermission( in captureFrame() 2245 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE) in ensureHardwarePermission()
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 345 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 50 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 679 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContextWrapper 680 return mBase.checkCallingPermission(permission); in checkCallingPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 524 if (mContext.checkCallingPermission(Manifest.permission.ACCESS_PDB_STATE)
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 111 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.cpp | 799 return checkCallingPermission( in isSupportedCodec()
|