Home
last modified time | relevance | path

Searched refs:checkCallingPermission (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/services/audioflinger/
DServiceUtilities.cpp31 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/
DPermissionCache.cpp77 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
DIServiceManager.cpp49 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/
DPermissionCache.h67 static bool checkCallingPermission(const String16& permission);
69 static bool checkCallingPermission(const String16& permission,
DIServiceManager.h79 bool checkCallingPermission(const String16& permission);
80 bool checkCallingPermission(const String16& permission,
/frameworks/base/services/common_time/
Dcommon_time_server_api.cpp295 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/
DInputManagerService.java853 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/
DContextWrapper.java425 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContextWrapper
426 return mBase.checkCallingPermission(permission); in checkCallingPermission()
DContext.java1996 public abstract int checkCallingPermission(String permission); in checkCallingPermission() method in Context
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java3426 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/
DMediaRecorderClient.cpp53 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()
DMediaPlayerService.cpp192 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()
371 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp272 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java387 public int checkCallingPermission(String permission) { in checkCallingPermission() method in MockContext
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp800 return checkCallingPermission( in isSupportedCodec()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp258 if (!checkCallingPermission( in onTransact()
1301 if (checkCallingPermission(String16("android.permission.DUMP")) == false) { in dump()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java1438 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 …]
DUsageStatsService.java1038 if (mContext.checkCallingPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/base/services/sensorservice/
DSensorService.cpp180 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd346 android.content.Context#checkCallingPermission Context.checkCallingPermission()}
Dsecurity.jd309 …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/
Dsecurity.jd308 …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/
DSurfaceFlinger.cpp1429 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/
DContextImpl.java1285 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/
DBridgeContext.java875 public int checkCallingPermission(String arg0) { in checkCallingPermission() method in BridgeContext

12