Home
last modified time | relevance | path

Searched refs:requiredComponent (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRole.java611 RequiredComponent requiredComponent = mRequiredComponents.get(i); in isPackageQualifiedAsUser() local
613 if (!requiredComponent.isRequired(applicationInfo)) { in isPackageQualifiedAsUser()
617 if (requiredComponent.getQualifyingComponentForPackageAsUser(packageName, user, context) in isPackageQualifiedAsUser()
620 + " due to missing " + requiredComponent); in isPackageQualifiedAsUser()
657 RequiredComponent requiredComponent = mRequiredComponents.get( in getQualifyingPackagesAsUser() local
660 if (!requiredComponent.isAvailable()) { in getQualifyingPackagesAsUser()
666 requiredComponent.getQualifyingComponentsAsUser(user, context); in getQualifyingPackagesAsUser()
681 packageRequiredComponents.add(requiredComponent); in getQualifyingPackagesAsUser()
711 RequiredComponent requiredComponent = mRequiredComponents.get( in getQualifyingPackagesAsUser() local
714 if (!requiredComponent.isRequired(applicationInfo)) { in getQualifyingPackagesAsUser()
[all …]
DRoleParser.java567 RequiredComponent requiredComponent = parseRequiredComponent(parser, name); in parseRequiredComponents() local
568 if (requiredComponent == null) { in parseRequiredComponents()
571 validateNoDuplicateElement(requiredComponent, requiredComponents, in parseRequiredComponents()
573 requiredComponents.add(requiredComponent); in parseRequiredComponents()
1119 RequiredComponent requiredComponent = requiredComponents.get( in validateResult() local
1122 String permission = requiredComponent.getPermission(); in validateResult()