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

/frameworks/native/libs/binder/
H A DIPermissionController.cpp40 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) function in class:android::BpPermissionController
68 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.cpp64 return checkPermission(permission, pid, uid);
67 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) function in namespace:android
78 bool res = pc->checkPermission(permission, pid, uid);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp48 static bool checkPermission(const char* permissionString) { function in namespace:android
98 if (!checkPermission(cameraPermission)) {
112 if (!checkPermission(recordAudioPermission)) {
H A DMediaPlayerService.cpp186 static bool checkPermission(const char* permissionString) { function in namespace:android
291 if (!checkPermission("android.permission.CONTROL_WIFI_DISPLAY")) {
618 if (!checkPermission("android.permission.INTERNET")) {
/frameworks/base/core/tests/coretests/src/android/app/
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/java/com/android/server/dreams/
H A DDreamManagerService.java107 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
120 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
136 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
152 checkPermission(android.Manifest.permission.READ_DREAM_STATE);
161 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
179 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
206 checkPermission(android.Manifest.permission.WRITE_DREAM_STATE);
333 private void checkPermission(String permission) { method in class:DreamManagerService
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java631 checkPermission(android.Manifest.permission.SET_WALLPAPER_HINTS);
719 checkPermission(android.Manifest.permission.SET_WALLPAPER);
766 checkPermission(android.Manifest.permission.SET_WALLPAPER_COMPONENT);
987 private void checkPermission(String permission) { method in class:WallpaperManagerService
/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java873 public void checkPermission(UsbDevice device) { method in class:UsbSettingsManager
879 public void checkPermission(UsbAccessory accessory) { method in class:UsbSettingsManager
/frameworks/base/core/java/android/content/
H A DContextWrapper.java499 public int checkPermission(String permission, int pid, int uid) { method in class:ContextWrapper
500 return mBase.checkPermission(permission, pid, uid);
H A DContext.java2270 * @see PackageManager#checkPermission(String, String)
2273 public abstract int checkPermission(String permission, int pid, int uid); method in class:Context
2278 * {@link #checkPermission(String, int, int)} with the pid and uid returned
2292 * @see PackageManager#checkPermission(String, String)
2293 * @see #checkPermission
2310 * @see PackageManager#checkPermission(String, String)
2311 * @see #checkPermission
2326 * @see #checkPermission(String, int, int)
2490 * both {@link #checkPermission} and {@link #checkUriPermission} in one
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java435 public int checkPermission(String permission, int pid, int uid) { method in class:MockContext
H A DMockPackageManager.java149 public int checkPermission(String permName, String pkgName) { method in class:MockPackageManager
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java301 public int checkPermission(String permName, String pkgName) { method in class:ApplicationPackageManager
303 return mPM.checkPermission(permName, pkgName);
H A DContextImpl.java1501 public int checkPermission(String permission, int pid, int uid) { method in class:ContextImpl
1507 return ActivityManagerNative.getDefault().checkPermission(
1522 return checkPermission(permission, pid, Binder.getCallingUid());
1533 return checkPermission(permission, Binder.getCallingPid(),
1554 checkPermission(permission, pid, uid),
1633 || checkPermission(readPermission, pid, uid)
1640 || checkPermission(writePermission, pid, uid)
H A DActivityManagerNative.java1013 int res = checkPermission(perm, pid, uid);
3073 public int checkPermission(String permission, int pid, int uid) method in class:ActivityManagerProxy
H A DIActivityManager.java194 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.java891 public int checkPermission(String arg0, int arg1, int arg2) { method in class:BridgeContext
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java186 * Permission check result: this is returned by {@link #checkPermission}
192 * Permission check result: this is returned by {@link #checkPermission}
1556 public abstract int checkPermission(String permName, String pkgName); method in class:PackageManager
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java2078 if (pm.checkPermission(
4860 public boolean checkPermission(String permission, int pid, int uid) { method in class:ActivityManagerService.PermissionController
4861 return mActivityManagerService.checkPermission(permission, pid,
4899 public int checkPermission(String permission, int pid, int uid) { method in class:ActivityManagerService
4911 return checkPermission(permission,
11716 if (checkPermission(android.Manifest.permission.BROADCAST_STICKY,
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java2026 public int checkPermission(String permName, String pkgName) { method in class:PackageManagerService

Completed in 218 milliseconds