Home
last modified time | relevance | path

Searched refs:usesPermission (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java155 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generate() local
156 info.requestedPermissions[i] = usesPermission.getName(); in generate()
160 if ((usesPermission.getUsesPermissionFlags() in generate()
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterImpl.java616 for (ParsedUsesPermission usesPermission : newPkg.getUsesPermissions()) { in addPackageInternal()
617 String usesPermissionName = usesPermission.getName(); in addPackageInternal()
1159 for (ParsedUsesPermission usesPermission : setting.getPkg().getUsesPermissions()) { in removePackageInternal()
1160 String usesPermissionName = usesPermission.getName(); in removePackageInternal()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java199 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithComponents() local
200 info.requestedPermissions[i] = usesPermission.getName(); in generateWithComponents()
205 && grantedPermissions.contains(usesPermission.getName())) { in generateWithComponents()
209 if ((usesPermission.getUsesPermissionFlags() in generateWithComponents()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java1479 final ParsedUsesPermission usesPermission = usesPermissions.get(i);
1480 if (Objects.equals(usesPermission.getName(), name)) {
1481 if (usesPermission.getUsesPermissionFlags() != usesPermissionFlags) {