Searched refs:visibleToPermissions (Results 1 – 9 of 9) sorted by relevance
309 Set<Integer> visibleToPermissions = in convertVisibilityConfigFromProto() local311 builder.addRequiredPermissions(visibleToPermissions); in convertVisibilityConfigFromProto()334 Set<Set<Integer>> visibleToPermissions = schemaVisibilityConfig.getRequiredPermissions(); in convertSchemaVisibilityConfigToProto() local335 if (!visibleToPermissions.isEmpty()) { in convertSchemaVisibilityConfigToProto()336 for (Set<Integer> allRequiredPermissions : visibleToPermissions) { in convertSchemaVisibilityConfigToProto()381 Set<Set<Integer>> visibleToPermissions = schemaVisibilityConfig.getRequiredPermissions(); in createVisibilityDocument() local382 if (!visibleToPermissions.isEmpty()) { in createVisibilityDocument()384 new GenericDocument[visibleToPermissions.size()]; in createVisibilityDocument()386 for (Set<Integer> allRequiredPermissions : visibleToPermissions) { in createVisibilityDocument()
195 Builder setVisibleToPermissions(@NonNull Set<Integer> visibleToPermissions) { in setVisibleToPermissions() argument196 Objects.requireNonNull(visibleToPermissions); in setVisibleToPermissions()197 setPropertyLong(PERMISSION_PROPERTY, toLongs(visibleToPermissions)); in setVisibleToPermissions()
133 for (Set<Integer> visibleToPermissions : visibleToPermissionSets) { in toVisibilityDocumentsV2()134 latestVisibilityDocumentBuilder.addVisibleToPermissions(visibleToPermissions); in toVisibilityDocumentsV2()
219 Set<Set<Integer>> visibleToPermissions = in getRequiredPermissionsForSchemaTypeVisibility() local221 if (!visibleToPermissions.isEmpty()) { in getRequiredPermissionsForSchemaTypeVisibility()224 Collections.unmodifiableSet(visibleToPermissions)); in getRequiredPermissionsForSchemaTypeVisibility()442 for (Set<Integer> visibleToPermissions : visibleToPermissionSets) { in setRequiredPermissionsForSchemaTypeVisibility()443 visibilityConfigBuilder.addVisibleToPermissions(visibleToPermissions); in setRequiredPermissionsForSchemaTypeVisibility()
81 for (Set<Integer> visibleToPermissions : visibleToPermissionSets) { in toInternalVisibilityConfigs()82 builder.addVisibleToPermissions(visibleToPermissions); in toInternalVisibilityConfigs()292 public Builder addVisibleToPermissions(@NonNull Set<Integer> visibleToPermissions) { in addVisibleToPermissions() argument294 mVisibilityConfigBuilder.addRequiredPermissions(visibleToPermissions); in addVisibleToPermissions()
220 public Builder addRequiredPermissions(@NonNull Set<Integer> visibleToPermissions) { in addRequiredPermissions() argument221 Objects.requireNonNull(visibleToPermissions); in addRequiredPermissions()223 mRequiredPermissions.add(new VisibilityPermissionConfig(visibleToPermissions)); in addRequiredPermissions()
450 Set<Set<Integer>> visibleToPermissions = mSchemasVisibleToPermissions.get(schemaType); in addRequiredPermissionsForSchemaTypeVisibility() local451 if (visibleToPermissions == null) { in addRequiredPermissionsForSchemaTypeVisibility()452 visibleToPermissions = new ArraySet<>(); in addRequiredPermissionsForSchemaTypeVisibility()453 mSchemasVisibleToPermissions.put(schemaType, visibleToPermissions); in addRequiredPermissionsForSchemaTypeVisibility()455 visibleToPermissions.add(permissions); in addRequiredPermissionsForSchemaTypeVisibility()
281 Set<Set<Integer>> visibleToPermissions = visibilityConfig.getRequiredPermissions(); in isSchemaVisibleToPermission() local282 if (visibleToPermissions.isEmpty() || callerAttributionSource == null) { in isSchemaVisibleToPermission()287 for (Set<Integer> allRequiredPermissions : visibleToPermissions) { in isSchemaVisibleToPermission()
939 Set<Set<Integer>> visibleToPermissions = in getSchema() local941 if (!visibleToPermissions.isEmpty()) { in getSchema()943 new ArraySet<>(visibleToPermissions.size()); in getSchema()944 for (Set<Integer> permissionList : visibleToPermissions) { in getSchema()