Home
last modified time | relevance | path

Searched refs:getEnabledFeatures (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSearchSpecInternalTest.java60 assertThat(searchSpec.getEnabledFeatures()) in testSearchSpecBuilder()
111 assertThat(searchSpecCopy.getEnabledFeatures()) in testSearchSpecBuilderCopyConstructor()
112 .containsExactlyElementsIn(searchSpec.getEnabledFeatures()); in testSearchSpecBuilderCopyConstructor()
141 assertThat(searchSpecCopy.getEnabledFeatures()) in testSearchSpecBuilderCopyConstructor_embeddingSearch()
142 .containsExactlyElementsIn(searchSpec.getEnabledFeatures()); in testSearchSpecBuilderCopyConstructor_embeddingSearch()
176 assertThat(searchSpec.getEnabledFeatures()) in testGetBundle_hasProperty()
187 assertThat(searchSpec1.getEnabledFeatures()).isEmpty(); in testBuildMultipleSearchSpecs()
191 assertThat(searchSpec1.getEnabledFeatures()).isEmpty(); in testBuildMultipleSearchSpecs()
192 assertThat(searchSpec2.getEnabledFeatures()).containsExactly(Features.NUMERIC_SEARCH); in testBuildMultipleSearchSpecs()
199 assertThat(searchSpec3.getEnabledFeatures()) in testBuildMultipleSearchSpecs()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchSpec.java732 public List<String> getEnabledFeatures() { in getEnabledFeatures() method in SearchSpec
785 mEnabledFeatures = new ArraySet<>(searchSpec.getEnabledFeatures()); in Builder()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverter.java374 protoBuilder.addAllEnabledFeatures(toIcingSearchFeatures(mSearchSpec.getEnabledFeatures())); in toSearchSpecProto()