Home
last modified time | relevance | path

Searched refs:addFilterSchemas (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/observer/
DObserverSpec.java93 public Builder addFilterSchemas(@NonNull String... schemas) { in addFilterSchemas() method in ObserverSpec.Builder
96 return addFilterSchemas(Arrays.asList(schemas)); in addFilterSchemas()
107 public Builder addFilterSchemas(@NonNull Collection<String> schemas) { in addFilterSchemas() method in ObserverSpec.Builder
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java140 .addFilterSchemas("Person") in testQuery_typeFilterWithPolymorphism()
152 .addFilterSchemas("Artist") in testQuery_typeFilterWithPolymorphism()
515 .addFilterSchemas("Message") in testQuery_wildcardProjection_polymorphism()
628 .addFilterSchemas("Message") in testQuery_wildcardFilterSchema_polymorphism()
735 .addFilterSchemas("Person") in testQuery_projectionWithPolymorphismAndSchemaFilter()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchSuggestionSpec.java318 public Builder addFilterSchemas(@NonNull String... schemaTypes) { in addFilterSchemas() method in SearchSuggestionSpec.Builder
321 return addFilterSchemas(Arrays.asList(schemaTypes)); in addFilterSchemas()
332 public Builder addFilterSchemas(@NonNull Collection<String> schemaTypes) { in addFilterSchemas() method in SearchSuggestionSpec.Builder
DSearchSpec.java835 public Builder addFilterSchemas(@NonNull String... schemas) { in addFilterSchemas() method in SearchSpec.Builder
838 return addFilterSchemas(Arrays.asList(schemas)); in addFilterSchemas()
849 public Builder addFilterSchemas(@NonNull Collection<String> schemas) { in addFilterSchemas() method in SearchSpec.Builder
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java188 .addFilterSchemas("Person") in testQuery_typeFilterWithPolymorphism()
200 .addFilterSchemas("Artist") in testQuery_typeFilterWithPolymorphism()
396 .addFilterSchemas("Person") in testQuery_projectionWithPolymorphismAndSchemaFilter()
664 .addFilterSchemas("Message") in testQuery_wildcardProjection_polymorphism()
776 .addFilterSchemas("Message") in testQuery_wildcardFilterSchema_polymorphism()
DSearchSpecInternalTest.java36 .addFilterSchemas("schemaTypes1", "schemaTypes2") in testSearchSpecBuilder()
73 .addFilterSchemas("schemaTypes1", "schemaTypes2") in testSearchSpecBuilderCopyConstructor()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverterTest.java224 .addFilterSchemas("typeA") in testToSearchSpec_withJoinSpec_childSearchesOtherSchema()
227 new SearchSpec.Builder().addFilterPackageNames("package").addFilterSchemas("typeB"); in testToSearchSpec_withJoinSpec_childSearchesOtherSchema()
617 .addFilterSchemas("Person") in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
755 .addFilterSchemas("Person") in testToSearchSpecProto_propertyFilter_removeSchemaWithoutParentInFilter()
1467 new SearchSpec.Builder().addFilterSchemas("typeA", "nonExist").build(); in testGetTargetSchemaFilters_intersectionWithSearchingFilter()
1496 new SearchSpec.Builder().addFilterSchemas("Person", "nonExist").build(); in testGetTargetSchemaFilters_polymorphismExpansion()
1533 SearchSpec searchSpec = new SearchSpec.Builder().addFilterSchemas("A", "B").build(); in testGetTargetSchemaFilters_polymorphismExpansion_multipleLevel()
1587 SearchSpec searchSpec = new SearchSpec.Builder().addFilterSchemas("nonExist").build(); in testGetTargetSchemaFilters_intersectionWithNonExistFilter()
1667 .addFilterSchemas("schema") in testIsNothingToSearch()
1730 .addFilterSchemas(ImmutableSet.of(prefix + "schema1", prefix + "schema2")) in testRemoveInaccessibleSchemaFilterWithEmptyNestedFilter()
DSearchSuggestionSpecToProtoConverterTest.java46 .addFilterSchemas("typeA", "typeB") in testToProto()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java265 new ObserverSpec.Builder().addFilterSchemas("builtin:Person").build(), in testStart_initialRun_schedulesFullUpdateJob()
327 new ObserverSpec.Builder().addFilterSchemas("builtin:Person").build(), in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob()
394 new ObserverSpec.Builder().addFilterSchemas("builtin:Person").build(), in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob()
861 new ObserverSpec.Builder().addFilterSchemas("builtin:Person").build(), in testDeltaUpdate_triggered_afterIncompatibleSchemaChange()
DContactsIndexerManagerServiceTest.java231 new ObserverSpec.Builder().addFilterSchemas("builtin:Person").build(), in countDownAppSearchDocumentChanges()
DEnterpriseContactsTest.java521 new ObserverSpec.Builder().addFilterSchemas(Person.SCHEMA_TYPE).build(), in testEnterpriseContactsInSystemPackage_transformPerson()
569 .addFilterSchemas(Person.SCHEMA_TYPE) in testEnterpriseContactsInSystemPackage_transformPerson()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchMigrationHelper.java154 .addFilterSchemas(schemaType) in queryAndTransform()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java560 .addFilterSchemas(Person.SCHEMA_TYPE)
/packages/modules/AppSearch/framework/api/
Dcurrent.txt574 …method @NonNull public android.app.appsearch.SearchSpec.Builder addFilterSchemas(@NonNull java.lan…
575 …method @NonNull public android.app.appsearch.SearchSpec.Builder addFilterSchemas(@NonNull java.uti…
641 …method @NonNull public android.app.appsearch.SearchSuggestionSpec.Builder addFilterSchemas(@NonNul…
642 …method @NonNull public android.app.appsearch.SearchSuggestionSpec.Builder addFilterSchemas(@NonNul…
824 …method @NonNull public android.app.appsearch.observer.ObserverSpec.Builder addFilterSchemas(@NonNu…
825 …method @NonNull public android.app.appsearch.observer.ObserverSpec.Builder addFilterSchemas(@NonNu…
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java565 new SearchSpec.Builder().addFilterSchemas("Type1").build(), in testReset()
632 new SearchSpec.Builder().addFilterSchemas("Type1").build(), in testReset()
661 new SearchSpec.Builder().addFilterSchemas("Type1").build(), in testReset()
2220 .addFilterSchemas("FakeType") in testRemoveEmptyDatabase_noExceptionThrown()
6293 new ObserverSpec.Builder().addFilterSchemas("Type2").build(), in testAddObserver_schemaChange_contents_skipBySpec()
6824 new ObserverSpec.Builder().addFilterSchemas("Type4").build(), in testAddObserver_schemaChange_multipleObservers()