/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 | 159 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission() argument 160 return AppGlobals.getPackageManager().checkUidPermission(permName, uid); in checkUidPermission()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 355 String permName = strList[i]; in extractPerms() local 357 PermissionInfo tmpPermInfo = mPm.getPermissionInfo(permName, 0); in extractPerms() 365 if (permName.equals(installedPkgInfo.requestedPermissions[j])) { in extractPerms() 416 Log.i(TAG, "Ignoring unknown permission:"+permName); in extractPerms()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 93 int checkPermission(String permName, String pkgName, int userId); in checkPermission() argument 95 int checkUidPermission(String permName, int uid); in checkUidPermission() argument
|
D | PackageManager.java | 3189 public abstract int checkPermission(String permName, String pkgName); in checkPermission() argument 3204 public abstract boolean isPermissionRevokedByPolicy(@NonNull String permName, in isPermissionRevokedByPolicy() argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 192 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 197 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 209 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 214 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 3194 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermGained() local 3196 pm.checkPermission(permName, pkgName) in testUpgradeSigPermGained() 3203 pm.checkPermission(permName, pkgName) in testUpgradeSigPermGained() 3224 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermLost() local 3226 pm.checkPermission(permName, pkgName) in testUpgradeSigPermLost() 3235 pm.checkPermission(permName, pkgName) in testUpgradeSigPermLost()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 498 public int checkPermission(String permName, String pkgName) { in checkPermission() argument 500 return mPM.checkPermission(permName, pkgName, mContext.getUserId()); in checkPermission() 507 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy() argument 509 return mPM.isPermissionRevokedByPolicy(permName, pkgName, mContext.getUserId()); in isPermissionRevokedByPolicy()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 3638 public int checkPermission(String permName, String pkgName, int userId) { 3648 if (permissionsState.hasPermission(permName, userId)) { 3652 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && permissionsState 3663 public int checkUidPermission(String permName, int uid) { 3675 if (permissionsState.hasPermission(permName, userId)) { 3679 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && permissionsState 3686 if (perms.contains(permName)) { 3689 if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(permName) && perms 3773 private BasePermission findPermissionTreeLP(String permName) { 3775 if (permName.startsWith(bp.name) && [all …]
|
D | Settings.java | 5256 final String permName = parser.getAttributeValue(null, ATTR_NAME); in parseRestoredRuntimePermissionsLPr() local 5272 … rememberRestoredUserGrantLPr(pkgName, permName, isGranted, permBits, userId); in parseRestoredRuntimePermissionsLPr()
|