Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchEmail.java23 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
45 new StringPropertyConfig.Builder(KEY_FROM)
47 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
48 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
51 new StringPropertyConfig.Builder(KEY_TO)
53 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
54 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
57 new StringPropertyConfig.Builder(KEY_CC)
59 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
60 .setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES)
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java88 if (property instanceof AppSearchSchema.StringPropertyConfig) { in toPropertyConfigProto()
89 AppSearchSchema.StringPropertyConfig stringProperty = in toPropertyConfigProto()
90 (AppSearchSchema.StringPropertyConfig) property; in toPropertyConfigProto()
159 private static AppSearchSchema.StringPropertyConfig toStringPropertyConfig( in toStringPropertyConfig()
161 AppSearchSchema.StringPropertyConfig.Builder builder = in toStringPropertyConfig()
162 new AppSearchSchema.StringPropertyConfig.Builder(proto.getPropertyName()) in toStringPropertyConfig()
187 @AppSearchSchema.StringPropertyConfig.IndexingType int indexingType) { in convertTermMatchTypeToProto()
189 case AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_NONE: in convertTermMatchTypeToProto()
191 case AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS: in convertTermMatchTypeToProto()
193 case AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES: in convertTermMatchTypeToProto()
[all …]
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java83 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_ACTIVITY)
85 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
86 .setIndexingType(AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
89 ).addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_SHORT_LABEL)
91 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
92 .setIndexingType(AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
99 ).addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_SHORT_LABEL_RES_NAME)
101 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_NONE)
102 .setIndexingType(AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_NONE)
105 ).addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_LONG_LABEL)
[all …]
DAppSearchPerson.java50 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_NAME)
52 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_NONE)
53 .setIndexingType(AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_NONE)
56 ).addProperty(new AppSearchSchema.StringPropertyConfig.Builder(KEY_KEY)
58 .setTokenizerType(AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_NONE)
59 .setIndexingType(AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_NONE)
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java36 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testGetProto_Email()
40 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
43 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
47 new AppSearchSchema.StringPropertyConfig.Builder("body") in testGetProto_Email()
51 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
54 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
102 new AppSearchSchema.StringPropertyConfig.Builder("artist") in testGetProto_MusicRecording()
106 AppSearchSchema.StringPropertyConfig in testGetProto_MusicRecording()
109 AppSearchSchema.StringPropertyConfig in testGetProto_MusicRecording()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java314 if (this instanceof AppSearchSchema.StringPropertyConfig) { in appendPropertyConfigString()
315 ((StringPropertyConfig) this).appendStringPropertyConfigFields(builder); in appendPropertyConfigString()
416 return new StringPropertyConfig(propertyBundle); in fromBundle()
438 public static final class StringPropertyConfig extends PropertyConfig { class in AppSearchSchema
511 StringPropertyConfig(@NonNull Bundle bundle) { in StringPropertyConfig() method in AppSearchSchema.StringPropertyConfig
545 public StringPropertyConfig.Builder setCardinality(@Cardinality int cardinality) { in setCardinality()
559 public StringPropertyConfig.Builder setIndexingType(@IndexingType int indexingType) { in setIndexingType()
578 public StringPropertyConfig.Builder setTokenizerType(@TokenizerType int tokenizerType) { in setTokenizerType()
587 public StringPropertyConfig build() { in build()
605 return new StringPropertyConfig(bundle); in build()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibleToPackagesDocument.java50 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(PACKAGE_NAME_PROPERTY)
56 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
DVisibilityDocument.java43 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java478 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_success()
482 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
485 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
525 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_failure()
529 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
532 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
575 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_search_success()
579 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
582 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
DAppSearchImplTest.java1382 new AppSearchSchema.StringPropertyConfig.Builder("foo") in testSetSchema_incompatible()
1386 AppSearchSchema.StringPropertyConfig in testSetSchema_incompatible()
1389 AppSearchSchema.StringPropertyConfig in testSetSchema_incompatible()
2988 new AppSearchSchema.StringPropertyConfig.Builder("body") in testLimitConfig_RemoveByQyery()
2990 AppSearchSchema.StringPropertyConfig in testLimitConfig_RemoveByQyery()
2993 AppSearchSchema.StringPropertyConfig in testLimitConfig_RemoveByQyery()
3123 new AppSearchSchema.StringPropertyConfig.Builder("body") in testLimitConfig_Replace()
3202 new AppSearchSchema.StringPropertyConfig.Builder("body") in testLimitConfig_ReplaceReinit()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt118 …public static final class AppSearchSchema.StringPropertyConfig extends android.app.appsearch.AppSe…
128 public static final class AppSearchSchema.StringPropertyConfig.Builder {
129 ctor public AppSearchSchema.StringPropertyConfig.Builder(@NonNull String);
130 method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig build();
131 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setCardi…
132 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setIndex…
133 …method @NonNull public android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder setToken…