Home
last modified time | relevance | path

Searched refs:StringPropertyConfig (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DTestUtils.java50 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
54 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
56 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
60 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
65 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
69 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
71 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
74 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
78 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
80 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
[all …]
/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmail.java23 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
48 new StringPropertyConfig.Builder(KEY_FROM)
50 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
51 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
54 new StringPropertyConfig.Builder(KEY_TO)
56 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
57 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
60 new StringPropertyConfig.Builder(KEY_CC)
62 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
63 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java87 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(PERSON_PROPERTY_NAME) in createSchema()
90 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES) in createSchema()
91 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in createSchema()
97 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
100 .setIndexingType(AppSearchSchema.StringPropertyConfig in createSchema()
102 .setTokenizerType(AppSearchSchema.StringPropertyConfig in createSchema()
106 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
109 .setIndexingType(AppSearchSchema.StringPropertyConfig in createSchema()
111 .setTokenizerType(AppSearchSchema.StringPropertyConfig in createSchema()
115 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
[all …]
DContactPoint.java47 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
51 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
52 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
55 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
60 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
64 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
65 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
68 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
72 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
73 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java90 if (property instanceof AppSearchSchema.StringPropertyConfig) { in toPropertyConfigProto()
91 AppSearchSchema.StringPropertyConfig stringProperty = in toPropertyConfigProto()
92 (AppSearchSchema.StringPropertyConfig) property; in toPropertyConfigProto()
96 != AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_NONE) { in toPropertyConfigProto()
187 private static AppSearchSchema.StringPropertyConfig toStringPropertyConfig( in toStringPropertyConfig()
189 AppSearchSchema.StringPropertyConfig.Builder builder = in toStringPropertyConfig()
190 new AppSearchSchema.StringPropertyConfig.Builder(proto.getPropertyName()) in toStringPropertyConfig()
234 @AppSearchSchema.StringPropertyConfig.JoinableValueType int joinableValueType) { in convertJoinableValueTypeToProto()
236 case AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_NONE: in convertJoinableValueTypeToProto()
238 case AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID: in convertJoinableValueTypeToProto()
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java30 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
82 new StringPropertyConfig.Builder("propertyone") in testSearchSuggestion_propertyFilter()
84 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testSearchSuggestion_propertyFilter()
86 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testSearchSuggestion_propertyFilter()
89 new StringPropertyConfig.Builder("propertytwo") in testSearchSuggestion_propertyFilter()
91 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testSearchSuggestion_propertyFilter()
93 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testSearchSuggestion_propertyFilter()
99 new StringPropertyConfig.Builder("propertythree") in testSearchSuggestion_propertyFilter()
101 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testSearchSuggestion_propertyFilter()
103 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testSearchSuggestion_propertyFilter()
[all …]
DSetSchemaResponseInternalTest.java24 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
88 new AppSearchSchema.StringPropertyConfig.Builder("qualifiedId1") in testPropertyConfig_deletionPropagation()
91 StringPropertyConfig in testPropertyConfig_deletionPropagation()
104 assertThat(((StringPropertyConfig) properties.get(0)).getJoinableValueType()) in testPropertyConfig_deletionPropagation()
105 .isEqualTo(StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID); in testPropertyConfig_deletionPropagation()
106 assertThat(((StringPropertyConfig) properties.get(0)).getDeletionPropagation()) in testPropertyConfig_deletionPropagation()
113 final StringPropertyConfig.Builder builder = in testStringPropertyConfig_setJoinableProperty_deletePropagationError()
114 new StringPropertyConfig.Builder("qualifiedId") in testStringPropertyConfig_setJoinableProperty_deletePropagationError()
DGetSchemaResponseInternalTest.java33 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testRebuild_noSupportedException()
37 AppSearchSchema.StringPropertyConfig in testRebuild_noSupportedException()
40 AppSearchSchema.StringPropertyConfig in testRebuild_noSupportedException()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java37 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testGetProto_Email()
41 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
44 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
48 new AppSearchSchema.StringPropertyConfig.Builder("body") in testGetProto_Email()
52 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
55 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
103 new AppSearchSchema.StringPropertyConfig.Builder("artist") in testGetProto_MusicRecording()
107 AppSearchSchema.StringPropertyConfig in testGetProto_MusicRecording()
110 AppSearchSchema.StringPropertyConfig in testGetProto_MusicRecording()
158 new AppSearchSchema.StringPropertyConfig.Builder("artist") in testGetProto_JoinableConfig()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java318 if (this instanceof AppSearchSchema.StringPropertyConfig) { in appendPropertyConfigString()
319 ((StringPropertyConfig) this).appendStringPropertyConfigFields(builder); in appendPropertyConfigString()
424 return new StringPropertyConfig(propertyBundle); in fromBundle()
446 public static final class StringPropertyConfig extends PropertyConfig { class in AppSearchSchema
584 StringPropertyConfig(@NonNull Bundle bundle) { in StringPropertyConfig() method in AppSearchSchema.StringPropertyConfig
642 public StringPropertyConfig.Builder setCardinality(@Cardinality int cardinality) { in setCardinality()
657 public StringPropertyConfig.Builder setIndexingType(@IndexingType int indexingType) { in setIndexingType()
677 public StringPropertyConfig.Builder setTokenizerType(@TokenizerType int tokenizerType) { in setTokenizerType()
694 public StringPropertyConfig.Builder setJoinableValueType( in setJoinableValueType()
722 public StringPropertyConfig build() { in build()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java522 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_success()
526 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
529 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
575 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_failure()
579 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
582 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
630 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_search_success()
634 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
637 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
765 new AppSearchSchema.StringPropertyConfig.Builder("entityId") in testLoggingStats_search_join()
[all …]
DAppSearchImplTest.java827 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion()
829 AppSearchSchema.StringPropertyConfig in testSearchSuggestion()
832 AppSearchSchema.StringPropertyConfig in testSearchSuggestion()
895 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion_removeDocument()
897 AppSearchSchema.StringPropertyConfig in testSearchSuggestion_removeDocument()
900 AppSearchSchema.StringPropertyConfig in testSearchSuggestion_removeDocument()
951 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion_replaceDocument()
953 AppSearchSchema.StringPropertyConfig in testSearchSuggestion_replaceDocument()
956 AppSearchSchema.StringPropertyConfig in testSearchSuggestion_replaceDocument()
1021 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion_namespaceFilter()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
46 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
57 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchAppConsentDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
48 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
58 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchInteractionsDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
56 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
67 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchMeasurementRollbackDao.java25 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
59 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchNotificationDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
50 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchUxStatesDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
51 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchTopicsConsentDao.java25 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
54 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DSearchResults.java19 import static android.app.appsearch.AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_NONE;
20 import static android.app.appsearch.AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIF…
132 @AppSearchSchema.StringPropertyConfig.JoinableValueType in getNextPage()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java139 PERSON_TYPE).addProperty(new AppSearchSchema.StringPropertyConfig.Builder( in testDesensitizeRealDebugInfo()
141 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES).setTokenizerType( in testDesensitizeRealDebugInfo()
142 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN).build()).build()); in testDesensitizeRealDebugInfo()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0Test.java188 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()
204 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()
216 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt122 …public static final class AppSearchSchema.StringPropertyConfig extends android.app.appsearch.AppSe…
137 public static final class AppSearchSchema.StringPropertyConfig.Builder {
138 ctor public AppSearchSchema.StringPropertyConfig.Builder(@NonNull String);
139 method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig build();
140 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setCardi…
141 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setIndex…
142 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setJoina…
143 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setToken…
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java345 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID, mUserHandle, in testLocalGetNextPageStatsLogging()
358 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID); in testLocalGetNextPageStatsLogging()
366 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID, mUserHandle, in testGlobalGetNextPageStatsLogging()
378 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID); in testGlobalGetNextPageStatsLogging()
1177 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID, mUserHandle, in verifyLocalGetNextPageResult()
1186 AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID, mUserHandle, in verifyGlobalGetNextPageResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityDocumentV1.java66 new AppSearchSchema.StringPropertyConfig.Builder(PACKAGE_NAME_PROPERTY)

12