Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityToDocumentConverter.java328 List<PackageIdentifier> visibleToPackages = schemaVisibilityConfig.getAllowedPackages(); in convertSchemaVisibilityConfigToProto() local
329 for (int i = 0; i < visibleToPackages.size(); i++) { in convertSchemaVisibilityConfigToProto()
330 PackageIdentifier visibleToPackage = visibleToPackages.get(i); in convertSchemaVisibilityConfigToProto()
369 List<PackageIdentifier> visibleToPackages = schemaVisibilityConfig.getAllowedPackages(); in createVisibilityDocument() local
370 String[] visibleToPackageNames = new String[visibleToPackages.size()]; in createVisibilityDocument()
371 byte[][] visibleToPackageSha256Certs = new byte[visibleToPackages.size()][32]; in createVisibilityDocument()
372 for (int i = 0; i < visibleToPackages.size(); i++) { in createVisibilityDocument()
373 visibleToPackageNames[i] = visibleToPackages.get(i).getPackageName(); in createVisibilityDocument()
374 visibleToPackageSha256Certs[i] = visibleToPackages.get(i).getSha256Certificate(); in createVisibilityDocument()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImpl.java243 List<PackageIdentifier> visibleToPackages = visibilityConfig.getAllowedPackages(); in isSchemaVisibleToPackages() local
244 for (int i = 0; i < visibleToPackages.size(); i++) { in isSchemaVisibleToPackages()
245 PackageIdentifier visibleToPackage = visibleToPackages.get(i); in isSchemaVisibleToPackages()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DInternalVisibilityConfig.java72 Set<PackageIdentifier> visibleToPackages = schemasVisibleToPackages.get(schemaType); in toInternalVisibilityConfigs() local
73 if (visibleToPackages != null) { in toInternalVisibilityConfigs()
74 for (PackageIdentifier packageIdentifier : visibleToPackages) { in toInternalVisibilityConfigs()
DGetSchemaResponse.java171 List<PackageIdentifier> visibleToPackages = in getSchemaTypesVisibleToPackages() local
173 if (!visibleToPackages.isEmpty()) { in getSchemaTypesVisibleToPackages()
176 Collections.unmodifiableSet(new ArraySet<>(visibleToPackages))); in getSchemaTypesVisibleToPackages()