Home
last modified time | relevance | path

Searched refs:VisibilityDocumentV1 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0.java176 static List<VisibilityDocumentV1> toVisibilityDocumentV1( in toVisibilityDocumentV1()
178 Map<String, VisibilityDocumentV1.Builder> documentBuilderMap = new ArrayMap<>(); in toVisibilityDocumentV1()
192 VisibilityDocumentV1.Builder visibilityBuilder = in toVisibilityDocumentV1()
208 VisibilityDocumentV1.Builder visibilityBuilder = in toVisibilityDocumentV1()
223 List<VisibilityDocumentV1> visibilityDocumentsV1 = in toVisibilityDocumentV1()
225 for (Map.Entry<String, VisibilityDocumentV1.Builder> entry : in toVisibilityDocumentV1()
251 private static VisibilityDocumentV1.Builder getOrCreateBuilder( in getOrCreateBuilder()
252 @NonNull Map<String, VisibilityDocumentV1.Builder> documentBuilderMap, in getOrCreateBuilder()
254 VisibilityDocumentV1.Builder builder = documentBuilderMap.get(schemaType); in getOrCreateBuilder()
256 builder = new VisibilityDocumentV1.Builder(/* id= */ schemaType); in getOrCreateBuilder()
DVisibilityStoreMigrationHelperFromV1.java52 static List<VisibilityDocumentV1> getVisibilityDocumentsInVersion1( in getVisibilityDocumentsInVersion1()
55 List<VisibilityDocumentV1> visibilityDocumentV1s = in getVisibilityDocumentsInVersion1()
65 new VisibilityDocumentV1( in getVisibilityDocumentsInVersion1()
94 @NonNull List<VisibilityDocumentV1> visibilityDocumentV1s) { in toVisibilityDocumentsV2()
98 VisibilityDocumentV1 visibilityDocumentV1 = visibilityDocumentV1s.get(i); in toVisibilityDocumentsV2()
DVisibilityDocumentV1.java34 class VisibilityDocumentV1 extends GenericDocument { class
89 VisibilityDocumentV1(@NonNull GenericDocument genericDocument) { in VisibilityDocumentV1() method in VisibilityDocumentV1
204 public VisibilityDocumentV1 build() { in build()
215 return new VisibilityDocumentV1(super.build()); in build()
DVisibilityStore.java92 List<VisibilityDocumentV1> visibilityDocumentsV1s = null; in VisibilityStore()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV1Test.java91 ImmutableList.of(VisibilityDocumentV1.SCHEMA), in testVisibilityMigration_from1()
99 VisibilityDocumentV1 visibilityDocumentV1 = in testVisibilityMigration_from1()
100 new VisibilityDocumentV1.Builder(prefix + "Schema") in testVisibilityMigration_from1()