Home
last modified time | relevance | path

Searched refs:permName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/server/
DSystemConfig.java673 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/
DSearchablesTest.java435 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/
DFrameworkFacade.java152 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/
DAppSecurityPermissions.java354 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/
DIPackageManager.aidl96 int checkPermission(String permName, String pkgName, int userId); in checkPermission() argument
98 int checkUidPermission(String permName, int uid); in checkUidPermission() argument
DPackageManager.java3327 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/
DBridgePackageManager.java218 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/
DPackageManagerStub.java200 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/
DMockPackageManager.java224 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/
DPackageManagerTests.java2995 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/
DApplicationPackageManager.java562 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/
DPackageManagerService.java5311 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 …]
DSettings.java5597 final String permName = parser.getAttributeValue(null, ATTR_NAME); in parseRestoredRuntimePermissionsLPr() local
5613 … rememberRestoredUserGrantLPr(pkgName, permName, isGranted, permBits, userId); in parseRestoredRuntimePermissionsLPr()