Searched refs:BasePermission (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionSettings.java | 55 final ArrayMap<String, BasePermission> mPermissions = 56 new ArrayMap<String, BasePermission>(); 63 final ArrayMap<String, BasePermission> mPermissionTrees = 64 new ArrayMap<String, BasePermission>(); 87 public @Nullable BasePermission getPermission(@NonNull String permName) { in getPermission() 108 ArrayMap<String, BasePermission> permissions = in transferPermissions() 110 for (BasePermission bp : permissions.values()) { in transferPermissions() 119 final BasePermission bp = mPermissions.get(permName); in canPropagatePermissionToInstantApp() 139 for (BasePermission bp : mPermissions.values()) { in writePermissions() 147 for (BasePermission bp : mPermissionTrees.values()) { in writePermissionTrees() [all …]
|
D | BasePermission.java | 58 public final class BasePermission { class 108 public BasePermission(String _name, String _sourcePackageName, @PermissionType int _type) { in BasePermission() method in BasePermission 166 public int calculateFootprint(BasePermission perm) { in calculateFootprint() 298 @NonNull PermissionInfo info, @NonNull BasePermission tree) { in addToTree() 314 public void updateDynamicPermission(Collection<BasePermission> permissionTrees) { in updateDynamicPermission() 319 final BasePermission tree = findPermissionTree(permissionTrees, name); in updateDynamicPermission() 331 static BasePermission createOrUpdate(@Nullable BasePermission bp, @NonNull Permission p, in createOrUpdate() 332 @NonNull PackageParser.Package pkg, Collection<BasePermission> permissionTrees, in createOrUpdate() 340 if (bp.type == BasePermission.TYPE_BUILTIN && bp.perm == null) { in createOrUpdate() 356 bp = new BasePermission(p.info.name, p.info.packageName, TYPE_NORMAL); in createOrUpdate() [all …]
|
D | PermissionsState.java | 196 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission() 208 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission() 221 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() 238 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission() 422 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags() 608 private int grantPermission(BasePermission permission, int userId) { in grantPermission() 632 private int revokePermission(BasePermission permission, int userId) { in revokePermission() 680 private PermissionData ensurePermissionData(BasePermission permission) { in ensurePermissionData() 711 private final BasePermission mPerm; 714 public PermissionData(BasePermission perm) { in PermissionData()
|
D | PermissionManagerService.java | 253 BasePermission bp = mSettings.getPermissionLocked(perm.name); in PermissionManagerService() 255 bp = new BasePermission(perm.name, "android", BasePermission.TYPE_BUILTIN); in PermissionManagerService() 290 @Nullable BasePermission getPermission(String permName) { in getPermission() 312 BasePermission bp = mSettings.getPermissionLocked(permName); in checkPermission() 527 final BasePermission bp = mSettings.getPermissionLocked(permName); in getPermissionInfo() 547 for (BasePermission bp : mSettings.mPermissions.values()) { in getPermissionInfoByGroup() 693 final BasePermission bp = BasePermission.createOrUpdate( in addAllPermissions() 698 final BasePermission bp = BasePermission.createOrUpdate( in addAllPermissions() 755 BasePermission bp = (BasePermission) mSettings.mPermissions.get(p.info.name); in removeAllPermissions() 810 final BasePermission tree = mSettings.enforcePermissionTree(info.name, callingUid); in addDynamicPermission() [all …]
|
D | PermissionManagerServiceInternal.java | 197 public abstract @Nullable BasePermission getPermissionTEMP(@NonNull String permName); in getPermissionTEMP()
|
D | DefaultPermissionGrantPolicy.java | 306 final BasePermission bp = mPermissionManager.getPermission(permission); in grantRuntimePermissionsForSystemPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 93 import com.android.server.pm.permission.BasePermission; 951 BasePermission bp = mPermissions.getPermission(eachPerm); in updateSharedUserPermsLPw() 2147 BasePermission bp = mPermissions.getPermission(name); in readInstallPermissionsLPr() 2901 void writePermissionLPr(XmlSerializer serializer, BasePermission bp) throws IOException { in writePermissionLPr() 4728 final BasePermission bp = mPermissions.getPermission(perm); in dumpPackageLPr() 5318 BasePermission bp = mPermissions.getPermission(permissionState.getName()); in revokeRuntimePermissionsAndClearFlags() 5423 BasePermission bp = mPermissions.getPermission(name); in parsePermissionsLPr()
|
D | PackageManagerService.java | 318 import com.android.server.pm.permission.BasePermission; 5854 final BasePermission bp = mPermissionManager.getPermissionTEMP(permission); 17015 final BasePermission bp = 17016 (BasePermission) mPermissionManager.getPermissionTEMP(perm.info.name); 19333 final BasePermission bp = 19334 (BasePermission) mPermissionManager.getPermissionTEMP(permName);
|
/frameworks/base/services/ |
D | art-profile | 11982 …server/pm/permission/BasePermission;->addToTree(ILandroid/content/pm/PermissionInfo;Lcom/android/s… 11983 PLcom/android/server/pm/permission/BasePermission;->comparePermissionInfos(Landroid/content/pm/Perm… 11984 …BasePermission;->createOrUpdate(Lcom/android/server/pm/permission/BasePermission;Landroid/content/… 11985 PLcom/android/server/pm/permission/BasePermission;->dumpPermissionsLPr(Ljava/io/PrintWriter;Ljava/l… 11986 HSPLcom/android/server/pm/permission/BasePermission;->enforceDeclaredUsedAndRuntimeOrDevelopment(La… 11987 …/permission/BasePermission;->enforcePermissionTree(Ljava/util/Collection;Ljava/lang/String;I)Lcom/… 11988 …pm/permission/BasePermission;->findPermissionTree(Ljava/util/Collection;Ljava/lang/String;)Lcom/an… 11989 HSPLcom/android/server/pm/permission/BasePermission;->generatePermissionInfo(II)Landroid/content/pm… 11990 HSPLcom/android/server/pm/permission/BasePermission;->generatePermissionInfo(Ljava/lang/String;I)La… 11991 PLcom/android/server/pm/permission/BasePermission;->getSourcePackageName()Ljava/lang/String; [all …]
|