Home
last modified time | relevance | path

Searched refs:ParsedPermission (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedPermissionTest.kt19 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/
DParsedPermissionUtils.java51 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 …]
DComponentMutateUtils.java79 public static void setProtectionLevel(@NonNull ParsedPermission permission, in setProtectionLevel()
84 public static void setParsedPermissionGroup(@NonNull ParsedPermission permission, in setParsedPermissionGroup()
DParsedPermission.java26 public interface ParsedPermission extends ParsedComponent { interface
DParsedPermissionImpl.java41 public class ParsedPermissionImpl extends ParsedComponentImpl implements ParsedPermission,
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt29 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/
DPackageStateTest.kt33 import com.android.internal.pm.pkg.component.ParsedPermission
85 ParsedPermission::getIntents,
86 ParsedPermission::getProperties,
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java41 import com.android.internal.pm.pkg.component.ParsedPermission;
83 ParsingPackage addPermission(ParsedPermission permission); in addPermission()
461 List<ParsedPermission> getPermissions(); in getPermissions()
DParsingPackageUtils.java111 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/
DAndroidPackage.java55 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/
DPackageParserLegacyCoreTest.java46 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/
DPermission.java31 import com.android.internal.pm.pkg.component.ParsedPermission;
205 public boolean isPermission(@NonNull ParsedPermission parsedPermission) { in isPermission()
DPermissionManagerServiceImpl.java125 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/
DAppsFilterImpl.java63 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()
DInstallPackageHelper.java167 import com.android.internal.pm.pkg.component.ParsedPermission;
1508 final ParsedPermission perm = parsedPackage.getPermissions().get(i); in preparePackageLI()
DSettings.java99 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/
DPackageInfoCommonUtils.java57 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/
DPackageParserTest.java92 import com.android.internal.pm.pkg.component.ParsedPermission;
1055 private static void assertPermissionsEqual(ParsedPermission a, ParsedPermission b) { in assertPermissionsEqual()
DAppsFilterImplTest.java59 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/
DPackageInfoUtils.java64 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/
DPackageImpl.java68 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/
Dart-profile2185 …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/…
Dart-wear-profile20296 …ils;->generatePermissionInfo(Lcom/android/internal/pm/pkg/component/ParsedPermission;J)Landroid/co…