Home
last modified time | relevance | path

Searched refs:BasePermission (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java129 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission()
141 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission()
154 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission()
171 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission()
339 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags()
468 private int grantPermission(BasePermission permission, int userId) { in grantPermission()
492 private int revokePermission(BasePermission permission, int userId) { in revokePermission()
535 private PermissionData ensurePermissionData(BasePermission permission) { in ensurePermissionData()
558 private final BasePermission mPerm;
561 public PermissionData(BasePermission perm) { in PermissionData()
DBasePermission.java23 final class BasePermission { class
56 BasePermission(String _name, String _sourcePackage, int _type) { in BasePermission() method in BasePermission
DSettings.java301 final ArrayMap<String, BasePermission> mPermissions =
302 new ArrayMap<String, BasePermission>();
305 final ArrayMap<String, BasePermission> mPermissionTrees =
306 new ArrayMap<String, BasePermission>();
530 ArrayMap<String, BasePermission> permissions = in transferPermissionsLPw()
532 for (BasePermission bp : permissions.values()) { in transferPermissionsLPw()
864 BasePermission bp = mPermissions.get(eachPerm); in updateSharedUserPermsLPw()
1876 BasePermission bp = mPermissions.get(name); in readInstallPermissionsLPr()
2104 for (BasePermission bp : mPermissionTrees.values()) { in writeLPr()
2110 for (BasePermission bp : mPermissions.values()) { in writeLPr()
[all …]
DPackageManagerService.java1719 BasePermission bp = mSettings.mPermissions.get(permission); in grantRequestedRuntimePermissionsForUser()
1891 BasePermission bp = mSettings.mPermissions.get(perm.name); in PackageManagerService()
1893 bp = new BasePermission(perm.name, "android", BasePermission.TYPE_BUILTIN); in PackageManagerService()
2777 BasePermission bp, int flags) { in generatePermissionInfo()
2793 final BasePermission p = mSettings.mPermissions.get(name); in getPermissionInfo()
2806 for (BasePermission p : mSettings.mPermissions.values()) { in queryPermissionsByGroup()
3281 private BasePermission findPermissionTreeLP(String permName) { in findPermissionTreeLP()
3282 for(BasePermission bp : mSettings.mPermissionTrees.values()) { in findPermissionTreeLP()
3292 private BasePermission checkPermissionTreeLP(String permName) { in checkPermissionTreeLP()
3294 BasePermission bp = findPermissionTreeLP(permName); in checkPermissionTreeLP()
[all …]
DDefaultPermissionGrantPolicy.java183 BasePermission bp = mService.mSettings.mPermissions.get(permission); in grantPermissionsToSysComponentsAndPrivApps()