Searched defs:checkPermission (Results 1 - 25 of 33) 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
101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
110 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);
149 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java56 void checkPermission() { method in class:KeyguardService
72 checkPermission();
79 checkPermission();
87 checkPermission();
94 checkPermission();
100 checkPermission();
106 checkPermission();
112 checkPermission();
118 checkPermission();
125 checkPermission();
[all...]
/frameworks/native/services/nativeperms/
H A Dnativeperms.cpp37 ::android::binder::Status checkPermission( function in class:android::PermissionService
/frameworks/opt/chips/src/com/android/ex/chips/
H A DChipsUtil.java62 public static int checkPermission(Context context, String permission) { method in class:ChipsUtil
65 return context.checkPermission(permission, Process.myPid(), Process.myUid());
76 * {@link #checkPermission} call.
82 checkPermission(context, permission) == PackageManager.PERMISSION_GRANTED;
/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
96 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.cpp66 return checkPermission(permission, pid, uid);
69 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) function in namespace:android
80 bool res = pc->checkPermission(permission, pid, uid);
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompatSideChannelService.java80 checkPermission(getCallingUid(), packageName);
91 checkPermission(getCallingUid(), packageName);
102 checkPermission(getCallingUid(), packageName);
112 void checkPermission(int callingUid, String packageName) { method in class:NotificationCompatSideChannelService
/frameworks/support/core-utils/java/android/support/v4/content/
H A DPermissionChecker.java92 public static int checkPermission(@NonNull Context context, @NonNull String permission, method in class:PermissionChecker
94 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) {
130 return checkPermission(context, permission, android.os.Process.myPid(),
150 return checkPermission(context, permission, Binder.getCallingPid(),
167 return checkPermission(context, permission, Binder.getCallingPid(),
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMainActivity.java57 checkPermission();
83 private void checkPermission() { method in class:MainActivity
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerShellCommand.java74 private void checkPermission(String operation) throws Exception { method in class:JobSchedulerShellCommand
126 checkPermission("force scheduled jobs");
174 checkPermission("force timeout jobs");
209 checkPermission("change battery monitoring");
262 checkPermission("force timeout jobs");
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbUserSettingsManager.java126 public void checkPermission(UsbDevice device) { method in class:UsbUserSettingsManager
132 public void checkPermission(UsbAccessory accessory) { method in class:UsbUserSettingsManager
/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/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp48 static bool checkPermission(const char* permissionString) { function in namespace:android
106 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) {
120 if (!checkPermission(recordAudioPermission)) {
H A DMediaPlayerService.cpp257 static bool checkPermission(const char* permissionString) { function in namespace:android
355 if (!checkPermission("android.permission.CONTROL_WIFI_DISPLAY")) {
791 if (!checkPermission("android.permission.INTERNET")) {
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp42 static bool checkPermission(const char* permissionString) { function in namespace:android
768 if (!checkPermission("android.permission.ACCESS_DRM_CERTIFICATES")) {
H A DDrmHal.cpp64 static bool checkPermission(const char* permissionString) { function in namespace:android
941 if (!checkPermission("android.permission.ACCESS_DRM_CERTIFICATES")) {
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java414 private void checkPermission(String permission) { method in class:DreamManagerService
495 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
508 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
521 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
534 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
546 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
561 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
582 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java211 hasPermission |= checkPermission(packageName,
328 private boolean checkPermission(String packageName, String permission) { method in class:MediaProjectionManagerService.BinderService
329 return mContext.getPackageManager().checkPermission(permission, packageName)
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java666 checkPermission(INTERACT_ACROSS_USERS);
676 void checkPermission(String permission) { method in class:FingerprintService
740 checkPermission(USE_FINGERPRINT);
1017 checkPermission(MANAGE_FINGERPRINT);
1023 checkPermission(MANAGE_FINGERPRINT);
1031 checkPermission(MANAGE_FINGERPRINT);
1065 checkPermission(MANAGE_FINGERPRINT);
1144 checkPermission(MANAGE_FINGERPRINT);
1156 checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission
1170 checkPermission(MANAGE_FINGERPRIN
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java717 public int checkPermission(String permission, int pid, int uid) { method in class:ContextWrapper
718 return mBase.checkPermission(permission, pid, uid);
723 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { method in class:ContextWrapper
724 return mBase.checkPermission(permission, pid, uid, callerToken);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java1150 checkPermission(android.Manifest.permission.SET_WALLPAPER);
1280 checkPermission(android.Manifest.permission.SET_WALLPAPER_HINTS);
1342 checkPermission(android.Manifest.permission.SET_WALLPAPER_HINTS);
1453 checkPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW);
1466 checkPermission(android.Manifest.permission.SET_WALLPAPER);
1605 checkPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT);
1844 private void checkPermission(String permission) { method in class:WallpaperManagerService
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java590 public int checkPermission(String permission, int pid, int uid) { method in class:MockContext
596 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { method in class:MockContext
597 return checkPermission(permission, pid, uid);
H A DMockPackageManager.java223 public int checkPermission(String permName, String pkgName) { method in class:MockPackageManager
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePackageManager.java218 public int checkPermission(String permName, String pkgName) { method in class:BridgePackageManager

Completed in 3989 milliseconds

12