Searched refs:permName (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java435 public int checkPermission(String permName, String pkgName) { argument
436 assertNotNull(permName);
440 return mRealPackageManager.checkPermission(permName, pkgName);
/frameworks/base/core/java/android/content/pm/
H A DIPackageManager.aidl88 int checkPermission(String permName, String pkgName);
90 int checkUidPermission(String permName, int uid);
H A DPackageManager.java2111 * @param permName The name of the permission you are checking for,
2121 public abstract int checkPermission(String permName, String pkgName); argument
/frameworks/base/core/java/android/widget/
H A DAppSecurityPermissions.java358 String permName = strList[i];
367 PermissionInfo tmpPermInfo = mPm.getPermissionInfo(permName, 0);
375 if (permName.equals(installedPkgInfo.requestedPermissions[j])) {
426 Log.i(TAG, "Ignoring unknown permission:"+permName);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java173 public int checkPermission(String permName, String pkgName) { argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java3294 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm";
3296 pm.checkPermission(permName, pkgName)
3303 pm.checkPermission(permName, pkgName)
3324 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm";
3326 pm.checkPermission(permName, pkgName)
3335 pm.checkPermission(permName, pkgName)
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java390 public int checkPermission(String permName, String pkgName) { argument
392 return mPM.checkPermission(permName, pkgName);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java2372 public int checkPermission(String permName, String pkgName) { argument
2378 if (ps.sharedUser.grantedPermissions.contains(permName)) {
2381 } else if (ps.grantedPermissions.contains(permName)) {
2390 public int checkUidPermission(String permName, int uid) { argument
2395 if (gp.grantedPermissions.contains(permName)) {
2400 if (perms != null && perms.contains(permName)) {
2452 private BasePermission findPermissionTreeLP(String permName) { argument
2454 if (permName.startsWith(bp.name) &&
2455 permName.length() > bp.name.length() &&
2456 permName
2463 checkPermissionTreeLP(String permName) argument
[all...]

Completed in 134 milliseconds