Home
last modified time | relevance | path

Searched refs:usesPermissions (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUpdateOwnershipHelper.java66 List<ParsedUsesPermission> usesPermissions = pkgSetting.getUsesPermissions(); in usesAnyPermission() local
67 for (int i = 0; i < usesPermissions.size(); i++) { in usesAnyPermission()
69 if (permissions[j].equals(usesPermissions.get(i).getName())) { in usesAnyPermission()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java149 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions(); in generate() local
150 size = usesPermissions.size(); in generate()
155 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generate()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java284 private List<ParsedUsesPermission> usesPermissions = emptyList(); field in PackageImpl
714 this.usesPermissions = CollectionUtils.add(this.usesPermissions, permission); in addUsesPermission()
1460 return usesPermissions; in getUsesPermissions()
2808 usesPermissions = Collections.unmodifiableList(usesPermissions);
3184 ParsingUtils.writeParcelableList(dest, this.usesPermissions);
3344 this.usesPermissions = ParsingUtils.createTypedInterfaceList(in,
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java193 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions(); in generateWithComponents() local
194 size = usesPermissions.size(); in generateWithComponents()
199 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithComponents()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt629 .containsExactlyElementsIn(after.usesPermissions.map { it.name }) in <lambda>()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java1476 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions(); field in ParsingPackageUtils
1477 final int size = usesPermissions.size();
1479 final ParsedUsesPermission usesPermission = usesPermissions.get(i);