Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionSettings.java52 final ArrayMap<String, BasePermission> mPermissions =
53 new ArrayMap<String, BasePermission>();
60 final ArrayMap<String, BasePermission> mPermissionTrees =
61 new ArrayMap<String, BasePermission>();
84 public @Nullable BasePermission getPermission(@NonNull String permName) { in getPermission()
105 ArrayMap<String, BasePermission> permissions = in transferPermissions()
107 for (BasePermission bp : permissions.values()) { in transferPermissions()
116 final BasePermission bp = mPermissions.get(permName); in canPropagatePermissionToInstantApp()
136 for (BasePermission bp : mPermissions.values()) { in writePermissions()
144 for (BasePermission bp : mPermissionTrees.values()) { in writePermissionTrees()
[all …]
DBasePermission.java59 public final class BasePermission { class
106 public BasePermission(String _name, String _sourcePackageName, @PermissionType int _type) { in BasePermission() method in BasePermission
155 public int calculateFootprint(BasePermission perm) { in calculateFootprint()
289 @NonNull PermissionInfo info, @NonNull BasePermission tree) { in addToTree()
304 public void updateDynamicPermission(Collection<BasePermission> permissionTrees) { in updateDynamicPermission()
309 final BasePermission tree = findPermissionTree(permissionTrees, name); in updateDynamicPermission()
318 static BasePermission createOrUpdate(PackageManagerInternal packageManagerInternal, in createOrUpdate()
319 @Nullable BasePermission bp, @NonNull ParsedPermission p, in createOrUpdate()
320 @NonNull AndroidPackage pkg, Collection<BasePermission> permissionTrees, in createOrUpdate()
340 if (bp.type == BasePermission.TYPE_BUILTIN && bp.perm == null) { in createOrUpdate()
[all …]
DPermissionsState.java256 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission()
268 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission()
281 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission()
298 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission()
482 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags()
670 private int grantPermission(BasePermission permission, int userId) { in grantPermission()
694 private int revokePermission(BasePermission permission, int userId) { in revokePermission()
742 private PermissionData ensurePermissionData(BasePermission permission) { in ensurePermissionData()
776 private final BasePermission mPerm;
780 public PermissionData(BasePermission perm) { in PermissionData()
DPermissionManagerService.java415 BasePermission bp = mSettings.getPermissionLocked(perm.name); in PermissionManagerService()
417 bp = new BasePermission(perm.name, "android", BasePermission.TYPE_BUILTIN); in PermissionManagerService()
491 BasePermission getPermission(String permName) { in getPermission()
558 final BasePermission bp = mSettings.getPermissionLocked(permName); in getPermissionInfo()
581 for (BasePermission bp : mSettings.mPermissions.values()) { in queryPermissionsByGroup()
600 final BasePermission tree = mSettings.enforcePermissionTree(info.name, callingUid); in addPermission()
604 BasePermission bp = mSettings.getPermissionLocked(info.name); in addPermission()
609 bp = new BasePermission(info.name, tree.getSourcePackageName(), in addPermission()
610 BasePermission.TYPE_DYNAMIC); in addPermission()
632 final BasePermission tree = mSettings.enforcePermissionTree(permName, callingUid); in removePermission()
[all …]
DPermissionManagerServiceInternal.java304 public abstract @Nullable BasePermission getPermissionTEMP(@NonNull String permName); in getPermissionTEMP()
/frameworks/base/services/
Dart-profile-boot8 Lcom/android/server/pm/permission/BasePermission;-><init>(Ljava/lang/String;Ljava/lang/String;I)V
9 Lcom/android/server/pm/permission/BasePermission;->readInt(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang…
10 Lcom/android/server/pm/permission/BasePermission;->readLPw(Ljava/util/Map;Lorg/xmlpull/v1/XmlPullPa…
12 Lcom/android/server/pm/permission/BasePermission;->getName()Ljava/lang/String;
17 Lcom/android/server/pm/permission/BasePermission;->computeGids(I)[I
25 …Settings;->getPermissionLocked(Ljava/lang/String;)Lcom/android/server/pm/permission/BasePermission;
26 …issionSettings;->getPermission(Ljava/lang/String;)Lcom/android/server/pm/permission/BasePermission;
27 …ssion/PermissionsState;->grantInstallPermission(Lcom/android/server/pm/permission/BasePermission;)I
28 …/permission/PermissionsState;->grantPermission(Lcom/android/server/pm/permission/BasePermission;I)I
29 …ssionsState;->ensurePermissionData(Lcom/android/server/pm/permission/BasePermission;)Lcom/android/…
[all …]
Dart-profile27224 …ermission/PermissionManagerService;Lcom/android/server/pm/permission/BasePermission;ILcom/android/…
27228 HSPLcom/android/server/pm/permission/BasePermission;-><init>(Ljava/lang/String;Ljava/lang/String;I)V
27229 …server/pm/permission/BasePermission;->addToTree(ILandroid/content/pm/PermissionInfo;Lcom/android/s…
27230 …Lcom/android/server/pm/permission/BasePermission;->calculateFootprint(Lcom/android/server/pm/permi…
27231 HPLcom/android/server/pm/permission/BasePermission;->comparePermissionInfos(Landroid/content/pm/par…
27232 HPLcom/android/server/pm/permission/BasePermission;->compareStrings(Ljava/lang/CharSequence;Ljava/l…
27233 HSPLcom/android/server/pm/permission/BasePermission;->computeGids(I)[I
27234BasePermission;->createOrUpdate(Landroid/content/pm/PackageManagerInternal;Lcom/android/server/pm/…
27235 HPLcom/android/server/pm/permission/BasePermission;->dumpPermissionsLPr(Ljava/io/PrintWriter;Ljava/…
27236 HSPLcom/android/server/pm/permission/BasePermission;->enforceDeclaredUsedAndRuntimeOrDevelopment(Lc…
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java109 import com.android.server.pm.permission.BasePermission;
996 BasePermission bp = mPermissions.getPermission(eachPerm); in updateSharedUserPermsLPw()
2215 BasePermission bp = mPermissions.getPermission(name); in readInstallPermissionsLPr()
2969 void writePermissionLPr(XmlSerializer serializer, BasePermission bp) throws IOException { in writePermissionLPr()
4866 final BasePermission bp = mPermissions.getPermission(perm); in dumpPackageLPr()
5548 BasePermission bp = mPermissions.getPermission(permissionState.getName()); in revokeRuntimePermissionsAndClearFlags()
5629 BasePermission basePermission = mPermissions.getPermission(name);
5738 BasePermission bp = mPermissions.getPermission(name);