/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 55 void checkPermission() { in checkPermission() method in KeyguardService 71 checkPermission(); 78 checkPermission(); 86 checkPermission(); 95 checkPermission(); 102 checkPermission(); 108 checkPermission(); 114 checkPermission(); 120 checkPermission(); 126 checkPermission(); [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareService.java | 59 private void checkPermission(int pid, int uid, int monitoringType) { in checkPermission() method in 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/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 87 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission() method in PermissionChecker 89 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) { in checkPermission() 125 return checkPermission(context, permission, android.os.Process.myPid(), in checkSelfPermission() 145 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingPermission() 162 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingOrSelfPermission()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationCompatSideChannelService.java | 80 checkPermission(getCallingUid(), packageName); in notify() 91 checkPermission(getCallingUid(), packageName); in cancel() 102 checkPermission(getCallingUid(), packageName); in cancelAll() 112 void checkPermission(int callingUid, String packageName) { in checkPermission() method in NotificationCompatSideChannelService
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 62 public static int checkPermission(Context context, String permission) { in checkPermission() method in ChipsUtil 65 return context.checkPermission(permission, Process.myPid(), Process.myUid()); in checkPermission() 82 checkPermission(context, permission) == PackageManager.PERMISSION_GRANTED; in hasPermissions()
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 88 return PermissionCache::checkPermission(permission, pid, uid); in checkCallingPermission() 91 bool PermissionCache::checkPermission( in checkPermission() function in android::PermissionCache 102 granted = android::checkPermission(permission, pid, uid); in checkPermission()
|
D | IServiceManager.cpp | 65 return checkPermission(permission, pid, uid); in checkCallingPermission() 68 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission() function 84 bool res = pc->checkPermission(permission, pid, uid); in checkPermission()
|
D | IPermissionController.cpp | 39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission() function in android::BpPermissionController 96 bool res = checkPermission(permission, pid, uid); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 412 private void checkPermission(String permission) { in checkPermission() method in DreamManagerService 500 checkPermission(android.Manifest.permission.READ_DREAM_STATE); in getDreamComponents() 513 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE); in setDreamComponents() 526 checkPermission(android.Manifest.permission.READ_DREAM_STATE); in getDefaultDreamComponent() 539 checkPermission(android.Manifest.permission.READ_DREAM_STATE); in isDreaming() 551 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE); in dream() 566 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE); in testDream() 587 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE); in awaken()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 60 const bool ok = checkPermission(sRecordAudio, pid, uid); in recordingAllowed() 111 bool ok = checkPermission(sCaptureAudioOutput, pid, uid); in captureAudioOutputAllowed()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 440 checkPermission(INTERACT_ACROSS_USERS); in hasEnrolledFingerprints() 450 void checkPermission(String permission) { in checkPermission() method in FingerprintService 513 checkPermission(USE_FINGERPRINT); in canUseFingerprint() 747 checkPermission(MANAGE_FINGERPRINT); in preEnroll() 753 checkPermission(MANAGE_FINGERPRINT); in postEnroll() 761 checkPermission(MANAGE_FINGERPRINT); in enroll() 795 checkPermission(MANAGE_FINGERPRINT); in cancelEnrollment() 872 checkPermission(MANAGE_FINGERPRINT); in setActiveUser() 884 checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission in remove() 906 checkPermission(MANAGE_FINGERPRINT); in rename() [all …]
|
/frameworks/base/core/java/android/os/ |
D | IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid); in checkPermission() method
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 48 static bool checkPermission(const char* permissionString) { in checkPermission() function 106 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) { in setVideoSource() 120 if (!checkPermission(recordAudioPermission)) { in setAudioSource()
|
/frameworks/native/include/binder/ |
D | IPermissionController.h | 33 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) = 0;
|
D | PermissionCache.h | 73 static bool checkPermission(const String16& permission,
|
D | IServiceManager.h | 82 bool checkPermission(const String16& permission, pid_t pid, uid_t uid);
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 56 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) { in dump()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderWatcher.java | 176 if (mPackageManager.checkPermission(Manifest.permission.CAPTURE_VIDEO_OUTPUT, in hasCaptureVideoPermission() 180 if (mPackageManager.checkPermission(Manifest.permission.CAPTURE_SECURE_VIDEO_OUTPUT, in hasCaptureVideoPermission()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | ServiceManagerPermissionTests.java | 52 public boolean checkPermission(java.lang.String permission, int pid, int uid) { in testSetPermissionController()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 435 public int checkPermission(String permName, String pkgName) { in checkPermission() method in SearchablesTest.MyMockPackageManager 440 return mRealPackageManager.checkPermission(permName, pkgName); in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 210 hasPermission |= checkPermission(packageName, in hasProjectionPermission() 334 private boolean checkPermission(String packageName, String permission) { in checkPermission() method in MediaProjectionManagerService.BinderService 335 return mContext.getPackageManager().checkPermission(permission, packageName) in checkPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 668 public int checkPermission(String permission, int pid, int uid) { in checkPermission() method in ContextWrapper 669 return mBase.checkPermission(permission, pid, uid); in checkPermission() 674 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() method in ContextWrapper 675 return mBase.checkPermission(permission, pid, uid, callerToken); in checkPermission()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 556 public int checkPermission(String permission, int pid, int uid) { in checkPermission() method in MockContext 562 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() method in MockContext 563 return checkPermission(permission, pid, uid); in checkPermission()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentCompat.java | 65 grantResults[i] = packageManager.checkPermission( in requestPermissions()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1521 public int checkPermission(String permission, int pid, int uid) { in checkPermission() method in ContextImpl 1527 return ActivityManagerNative.getDefault().checkPermission( in checkPermission() 1536 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() method in ContextImpl 1557 return checkPermission(permission, pid, Binder.getCallingUid()); in checkCallingPermission() 1568 return checkPermission(permission, Binder.getCallingPid(), in checkCallingOrSelfPermission() 1578 return checkPermission(permission, Process.myPid(), Process.myUid()); in checkSelfPermission() 1599 checkPermission(permission, pid, uid), in enforcePermission() 1699 || checkPermission(readPermission, pid, uid) in checkUriPermission() 1706 || checkPermission(writePermission, pid, uid) in checkUriPermission()
|