/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedPermissionTest.kt | 19 import com.android.internal.pm.pkg.component.ParsedPermission in <lambda>() 27 ParsedPermission::class, in <lambda>() 45 ParsedPermission::getBackgroundPermission, in <lambda>() 46 ParsedPermission::getGroup, in <lambda>() 47 ParsedPermission::getRequestRes, in <lambda>() 48 ParsedPermission::getProtectionLevel, in <lambda>() 49 ParsedPermission::isTree, in <lambda>() 53 getter(ParsedPermission::getKnownCerts, setOf("testCert")), in <lambda>() 55 ParsedPermission::getParsedPermissionGroup, in <lambda>()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedPermissionUtils.java | 51 public static ParseResult<ParsedPermission> parsePermission(ParsingPackage pkg, Resources res, in parsePermission() 169 … public static ParseResult<ParsedPermission> parsePermissionTree(ParsingPackage pkg, Resources res, in parsePermissionTree() 258 public static boolean isRuntime(@NonNull ParsedPermission permission) { in isRuntime() 262 public static boolean isAppOp(@NonNull ParsedPermission permission) { in isAppOp() 267 public static int getProtection(@NonNull ParsedPermission permission) { in getProtection() 271 public static int getProtectionFlags(@NonNull ParsedPermission permission) { in getProtectionFlags() 275 public static int calculateFootprint(@NonNull ParsedPermission permission) { in calculateFootprint() 288 private static boolean isMalformedDuplicate(ParsedPermission p1, ParsedPermission p2) { in isMalformedDuplicate() 309 final List<ParsedPermission> permissions = pkg.getPermissions(); in declareDuplicatePermission() 312 final ArrayMap<String, ParsedPermission> checkDuplicatePerm = new ArrayMap<>(size); in declareDuplicatePermission() [all …]
|
D | ComponentMutateUtils.java | 79 public static void setProtectionLevel(@NonNull ParsedPermission permission, in setProtectionLevel() 84 public static void setParsedPermissionGroup(@NonNull ParsedPermission permission, in setParsedPermissionGroup()
|
D | ParsedPermission.java | 26 public interface ParsedPermission extends ParsedComponent { interface
|
D | ParsedPermissionImpl.java | 41 public class ParsedPermissionImpl extends ParsedComponentImpl implements ParsedPermission,
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | BasePermissionPolicyTest.kt | 29 import com.android.internal.pm.pkg.component.ParsedPermission in <lambda>() 96 PackageInfoUtils.generatePermissionInfo(any(ParsedPermission::class.java), anyLong()) in <lambda>() 98 val parsedPermission = invocation.getArgument<ParsedPermission>(0) in <lambda>() 207 permissions: List<ParsedPermission> = emptyList(), in <lambda>() 239 ): ParsedPermission = in <lambda>() 295 parsedPermission: ParsedPermission, in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/ |
D | PackageStateTest.kt | 33 import com.android.internal.pm.pkg.component.ParsedPermission 85 ParsedPermission::getIntents, 86 ParsedPermission::getProperties,
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingPackage.java | 41 import com.android.internal.pm.pkg.component.ParsedPermission; 83 ParsingPackage addPermission(ParsedPermission permission); in addPermission() 461 List<ParsedPermission> getPermissions(); in getPermissions()
|
D | ParsingPackageUtils.java | 111 import com.android.internal.pm.pkg.component.ParsedPermission; 1334 ParseResult<ParsedPermission> result = ParsedPermissionUtils.parsePermission( 1339 ParsedPermission permission = result.getResult(); 1349 ParseResult<ParsedPermission> result = ParsedPermissionUtils.parsePermissionTree(
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 55 import com.android.internal.pm.pkg.component.ParsedPermission; 997 List<ParsedPermission> getPermissions(); in getPermissions()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 46 import com.android.internal.pm.pkg.component.ParsedPermission; 459 private void assertPermission(String name, int protectionLevel, ParsedPermission permission) { in assertPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | Permission.java | 31 import com.android.internal.pm.pkg.component.ParsedPermission; 205 public boolean isPermission(@NonNull ParsedPermission parsedPermission) { in isPermission()
|
D | PermissionManagerServiceImpl.java | 125 import com.android.internal.pm.pkg.component.ParsedPermission; 2178 final ParsedPermission permission = oldPackage.getPermissions().get(i); 2190 final ParsedPermission newPermission = 2307 ParsedPermission p = pkg.getPermissions().get(i); 2402 ParsedPermission p = pkg.getPermissions().get(i); 4147 final List<ParsedPermission> sourcePerms = disabledSourcePs.getPkg().getPermissions(); 4148 for (ParsedPermission sourcePerm : sourcePerms) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterImpl.java | 63 import com.android.internal.pm.pkg.component.ParsedPermission; 643 for (ParsedPermission permission : newPkg.getPermissions()) { in addPackageInternal() 1148 for (ParsedPermission permission : setting.getPkg().getPermissions()) { in removePackageInternal()
|
D | InstallPackageHelper.java | 167 import com.android.internal.pm.pkg.component.ParsedPermission; 1508 final ParsedPermission perm = parsedPackage.getPermissions().get(i); in preparePackageLI()
|
D | Settings.java | 99 import com.android.internal.pm.pkg.component.ParsedPermission; 5311 final List<ParsedPermission> perms = pkg.getPermissions(); 5314 ParsedPermission perm = perms.get(i);
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 57 import com.android.internal.pm.pkg.component.ParsedPermission; 497 private static PermissionInfo generatePermissionInfo(ParsedPermission p, in generatePermissionInfo()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 92 import com.android.internal.pm.pkg.component.ParsedPermission; 1055 private static void assertPermissionsEqual(ParsedPermission a, ParsedPermission b) { in assertPermissionsEqual()
|
D | AppsFilterImplTest.java | 59 import com.android.internal.pm.pkg.component.ParsedPermission; 174 ParsedPermission permission = new ParsedPermissionImpl(); in pkgWithCustomPermissions()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 64 import com.android.internal.pm.pkg.component.ParsedPermission; 767 public static PermissionInfo generatePermissionInfo(ParsedPermission p, in generatePermissionInfo()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | PackageImpl.java | 68 import com.android.internal.pm.pkg.component.ParsedPermission; 180 protected List<ParsedPermission> permissions = emptyList(); 591 public PackageImpl addPermission(ParsedPermission permission) { in addPermission() 1172 public List<ParsedPermission> getPermissions() { in getPermissions()
|
/frameworks/base/services/ |
D | art-profile | 2185 …utable/MutableIndexedSet;)V+]Lcom/android/internal/pm/pkg/component/ParsedPermission;Lcom/android/… 2244 …ySet;Landroid/util/ArraySet;]Lcom/android/internal/pm/pkg/component/ParsedPermission;Lcom/android/… 2754 …/ParsedPermission;J)Landroid/content/pm/PermissionInfo;+]Landroid/os/Bundle;Landroid/os/Bundle;]Lc… 2757 …onent/ParsedAttributionImpl;]Lcom/android/internal/pm/pkg/component/ParsedPermission;Lcom/android/…
|
D | art-wear-profile | 20296 …ils;->generatePermissionInfo(Lcom/android/internal/pm/pkg/component/ParsedPermission;J)Landroid/co…
|