Searched defs:checkPermission (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java59 private void checkPermission(int pid, int uid, int monitoringType) { method in class:GeofenceHardwareService
95 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
103 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
111 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
119 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
128 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
138 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java54 void checkPermission() { method in class:KeyguardService
70 checkPermission();
76 checkPermission();
82 checkPermission();
88 checkPermission();
94 checkPermission();
100 checkPermission();
106 checkPermission();
112 checkPermission();
118 checkPermission();
[all...]
/frameworks/native/libs/binder/
H A DIPermissionController.cpp39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) function in class:android::BpPermissionController
67 bool res = checkPermission(permission, pid, uid);
H A DPermissionCache.cpp88 return PermissionCache::checkPermission(permission, pid, uid);
91 bool PermissionCache::checkPermission( function in class:android::PermissionCache
102 granted = android::checkPermission(permission, pid, uid);
H A DIServiceManager.cpp65 return checkPermission(permission, pid, uid);
68 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) function in namespace:android
79 bool res = pc->checkPermission(permission, pid, uid);
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompatSideChannelService.java77 checkPermission(getCallingUid(), packageName);
88 checkPermission(getCallingUid(), packageName);
99 checkPermission(getCallingUid(), packageName);
109 private void checkPermission(int callingUid, String packageName) { method in class:NotificationCompatSideChannelService
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp48 static bool checkPermission(const char* permissionString) { function in namespace:android
99 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) {
113 if (!checkPermission(recordAudioPermission)) {
H A DDrm.cpp36 static bool checkPermission(const char* permissionString) { function in namespace:android
431 if (!checkPermission("android.permission.REMOVE_DRM_CERTIFICATES")) {
668 if (!checkPermission("android.permission.ACCESS_DRM_CERTIFICATES")) {
H A DMediaPlayerService.cpp251 static bool checkPermission(const char* permissionString) { function in namespace:android
381 if (!checkPermission("android.permission.CONTROL_WIFI_DISPLAY")) {
715 if (!checkPermission("android.permission.INTERNET")) {
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java285 void checkPermission(String permisison) { method in class:FingerprintService
292 checkPermission(ENROLL_FINGERPRINT);
298 checkPermission(ENROLL_FINGERPRINT);
304 checkPermission(ENROLL_FINGERPRINT); // TODO: Maybe have another permission
311 checkPermission(USE_FINGERPRINT);
317 checkPermission(USE_FINGERPRINT);
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java435 public int checkPermission(String permName, String pkgName) { method in class:SearchablesTest.MyMockPackageManager
440 return mRealPackageManager.checkPermission(permName, pkgName);
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java408 private void checkPermission(String permission) { method in class:DreamManagerService
483 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
496 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
509 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
522 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
534 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
549 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
570 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java217 hasPermission |= checkPermission(packageName,
341 private boolean checkPermission(String packageName, String permission) { method in class:MediaProjectionManagerService.BinderService
342 return mContext.getPackageManager().checkPermission(permission, packageName)
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java1011 public void checkPermission(UsbDevice device) { method in class:UsbSettingsManager
1017 public void checkPermission(UsbAccessory accessory) { method in class:UsbSettingsManager
/frameworks/base/core/java/android/content/
H A DContextWrapper.java566 public int checkPermission(String permission, int pid, int uid) { method in class:ContextWrapper
567 return mBase.checkPermission(permission, pid, uid);
572 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { method in class:ContextWrapper
573 return mBase.checkPermission(permission, pid, uid, callerToken);
H A DContext.java2931 * @see PackageManager#checkPermission(String, String)
2935 public abstract int checkPermission(@NonNull String permission, int pid, int uid); method in class:Context
2939 public abstract int checkPermission(@NonNull String permission, int pid, int uid, method in class:Context
2945 * {@link #checkPermission(String, int, int)} with the pid and uid returned
2959 * @see PackageManager#checkPermission(String, String)
2960 * @see #checkPermission
2978 * @see PackageManager#checkPermission(String, String)
2979 * @see #checkPermission
2995 * @see #checkPermission(String, int, int)
3178 * both {@link #checkPermission} an
[all...]
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java694 checkPermission(android.Manifest.permission.SET_WALLPAPER_HINTS);
748 checkPermission(android.Manifest.permission.SET_WALLPAPER_HINTS);
825 checkPermission(android.Manifest.permission.SET_WALLPAPER);
872 checkPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT);
1093 private void checkPermission(String permission) { method in class:WallpaperManagerService
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java483 public int checkPermission(String permission, int pid, int uid) { method in class:MockContext
489 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { method in class:MockContext
490 return checkPermission(permission, pid, uid);
H A DMockPackageManager.java173 public int checkPermission(String permName, String pkgName) { method in class:MockPackageManager
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java390 public int checkPermission(String permName, String pkgName) { method in class:ApplicationPackageManager
392 return mPM.checkPermission(permName, pkgName);
H A DContextImpl.java1859 public int checkPermission(String permission, int pid, int uid) { method in class:ContextImpl
1865 return ActivityManagerNative.getDefault().checkPermission(
1874 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { method in class:ContextImpl
1895 return checkPermission(permission, pid, Binder.getCallingUid());
1906 return checkPermission(permission, Binder.getCallingPid(),
1927 checkPermission(permission, pid, uid),
2023 || checkPermission(readPermission, pid, uid)
2030 || checkPermission(writePermission, pid, uid)
H A DActivityManagerNative.java1190 int res = checkPermission(perm, pid, uid);
3873 public int checkPermission(String permission, int pid, int uid) method in class:ActivityManagerProxy
H A DIActivityManager.java221 public int checkPermission(String permission, int pid, int uid) method in interface:IActivityManager
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java955 public int checkPermission(String arg0, int arg1, int arg2) { method in class:BridgeContext
961 public int checkPermission(String arg0, int arg1, int arg2, IBinder arg3) { method in class:BridgeContext
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java219 * Permission check result: this is returned by {@link #checkPermission}
225 * Permission check result: this is returned by {@link #checkPermission}
2121 public abstract int checkPermission(String permName, String pkgName); method in class:PackageManager

Completed in 358 milliseconds

12