Home
last modified time | relevance | path

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

/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.java159 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/
DAppSecurityPermissions.java355 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/
DIPackageManager.aidl93 int checkPermission(String permName, String pkgName, int userId); in checkPermission() argument
95 int checkUidPermission(String permName, int uid); in checkUidPermission() argument
DPackageManager.java3189 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/
DBridgePackageManager.java192 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/
DMockPackageManager.java209 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/
DPackageManagerTests.java3194 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/
DApplicationPackageManager.java498 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/
DPackageManagerService.java3638 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 …]
DSettings.java5256 final String permName = parser.getAttributeValue(null, ATTR_NAME); in parseRestoredRuntimePermissionsLPr() local
5272 … rememberRestoredUserGrantLPr(pkgName, permName, isGranted, permBits, userId); in parseRestoredRuntimePermissionsLPr()