/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 673 String permName = parser.getAttributeValue(null, "name"); in readPrivAppPermissions() local 674 if (TextUtils.isEmpty(permName)) { in readPrivAppPermissions() 679 permissions.add(permName); in readPrivAppPermissions() 681 String permName = parser.getAttributeValue(null, "name"); in readPrivAppPermissions() local 682 if (TextUtils.isEmpty(permName)) { in readPrivAppPermissions() 690 denyPermissions.add(permName); in readPrivAppPermissions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 435 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 436 assertNotNull(permName); in checkPermission() 440 return mRealPackageManager.checkPermission(permName, pkgName); in checkPermission()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 152 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission() argument 153 return AppGlobals.getPackageManager().checkUidPermission(permName, uid); in checkUidPermission()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 354 String permName = strList[i]; in extractPerms() local 356 PermissionInfo tmpPermInfo = mPm.getPermissionInfo(permName, 0); in extractPerms() 364 if (permName.equals(installedPkgInfo.requestedPermissions[j])) { in extractPerms() 415 Log.i(TAG, "Ignoring unknown permission:"+permName); in extractPerms()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 96 int checkPermission(String permName, String pkgName, int userId); in checkPermission() argument 98 int checkUidPermission(String permName, int uid); in checkUidPermission() argument
|
D | PackageManager.java | 3327 public abstract @PermissionResult int checkPermission(String permName, String pkgName); in checkPermission() argument 3342 public abstract boolean isPermissionRevokedByPolicy(@NonNull String permName, in isPermissionRevokedByPolicy() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 218 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 223 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 200 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 205 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 224 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 234 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 2995 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermGained() local 2997 pm.checkPermission(permName, pkgName) in testUpgradeSigPermGained() 3004 pm.checkPermission(permName, pkgName) in testUpgradeSigPermGained() 3025 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermLost() local 3027 pm.checkPermission(permName, pkgName) in testUpgradeSigPermLost() 3036 pm.checkPermission(permName, pkgName) in testUpgradeSigPermLost()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 562 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 564 return mPM.checkPermission(permName, pkgName, mContext.getUserId()); in checkPermission() 571 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument 573 return mPM.isPermissionRevokedByPolicy(permName, pkgName, mContext.getUserId()); in isPermissionRevokedByPolicy()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 5311 public int checkPermission(String permName, String pkgName, int userId) { in checkPermission() argument 5326 if (permissionsState.hasPermission(permName, userId)) { in checkPermission() 5328 BasePermission bp = mSettings.mPermissions.get(permName); in checkPermission() 5337 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && permissionsState in checkPermission() 5348 public int checkUidPermission(String permName, int uid) { in checkUidPermission() argument 5373 if (permissionsState.hasPermission(permName, userId)) { in checkUidPermission() 5375 BasePermission bp = mSettings.mPermissions.get(permName); in checkUidPermission() 5384 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && permissionsState in checkUidPermission() 5391 if (perms.contains(permName)) { in checkUidPermission() 5394 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && perms in checkUidPermission() [all …]
|
D | Settings.java | 5597 final String permName = parser.getAttributeValue(null, ATTR_NAME); in parseRestoredRuntimePermissionsLPr() local 5613 … rememberRestoredUserGrantLPr(pkgName, permName, isGranted, permBits, userId); in parseRestoredRuntimePermissionsLPr()
|