Home
last modified time | relevance | path

Searched refs:ParsedUsesPermission (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedUsesPermissionImpl.java36 public class ParsedUsesPermissionImpl implements ParsedUsesPermission, Parcelable {
42 @ParsedUsesPermission.UsesPermissionFlags
63 @ParsedUsesPermission.UsesPermissionFlags int usesPermissionFlags) { in ParsedUsesPermissionImpl()
69 ParsedUsesPermission.UsesPermissionFlags.class, null, usesPermissionFlags); in ParsedUsesPermissionImpl()
80 public @ParsedUsesPermission.UsesPermissionFlags int getUsesPermissionFlags() { in getUsesPermissionFlags()
93 …public @NonNull ParsedUsesPermissionImpl setUsesPermissionFlags(@ParsedUsesPermission.UsesPermissi… in setUsesPermissionFlags()
96 ParsedUsesPermission.UsesPermissionFlags.class, null, usesPermissionFlags); in setUsesPermissionFlags()
140 ParsedUsesPermission.UsesPermissionFlags.class, null, usesPermissionFlags); in ParsedUsesPermissionImpl()
DParsedUsesPermission.java33 public interface ParsedUsesPermission { interface
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedUsesPermissionTest.kt19 import com.android.internal.pm.pkg.component.ParsedUsesPermission
25 ParsedUsesPermission::class,
34 ParsedUsesPermission::getName,
35 ParsedUsesPermission::getUsesPermissionFlags
/frameworks/base/services/core/java/com/android/server/pm/
DUpdateOwnershipHelper.java32 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
66 List<ParsedUsesPermission> usesPermissions = pkgSetting.getUsesPermissions(); in usesAnyPermission()
DAppsFilterImpl.java64 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
616 for (ParsedUsesPermission usesPermission : newPkg.getUsesPermissions()) { in addPackageInternal()
1159 for (ParsedUsesPermission usesPermission : setting.getPkg().getUsesPermissions()) { in removePackageInternal()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java46 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
102 ParsingPackage addUsesPermission(ParsedUsesPermission parsedUsesPermission); in addUsesPermission()
510 List<ParsedUsesPermission> getUsesPermissions(); in getUsesPermissions()
DParsingPackageUtils.java120 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
1476 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions();
1479 final ParsedUsesPermission usesPermission = usesPermissions.get(i);
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java60 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
1324 List<ParsedUsesPermission> getUsesPermissions(); in getUsesPermissions()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java60 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
149 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions(); in generate()
155 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generate()
161 & ParsedUsesPermission.FLAG_NEVER_FOR_LOCATION) != 0) { in generate()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java69 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
193 final List<ParsedUsesPermission> usesPermissions = pkg.getUsesPermissions(); in generateWithComponents()
199 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithComponents()
210 & ParsedUsesPermission.FLAG_NEVER_FOR_LOCATION) != 0) { in generateWithComponents()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java101 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
741 .that(pkg.getUsesPermissions().stream().map(ParsedUsesPermission::getName) in testParseModernPackageHasNoCompatPermissions()
765 .map(ParsedUsesPermission::getName) in testParseLegacyPackageHasCompatPermissions()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java78 import com.android.internal.pm.pkg.component.ParsedUsesPermission;
284 private List<ParsedUsesPermission> usesPermissions = emptyList();
713 public PackageImpl addUsesPermission(ParsedUsesPermission permission) { in addUsesPermission()
1459 public List<ParsedUsesPermission> getUsesPermissions() { in getUsesPermissions()
/frameworks/base/services/
Dart-profile2244 …nent/ParsedPermissionImpl;]Lcom/android/internal/pm/pkg/component/ParsedUsesPermission;Lcom/androi…
2757 …mponent/ParsedServiceImpl;]Lcom/android/internal/pm/pkg/component/ParsedUsesPermission;Lcom/androi…