Home
last modified time | relevance | path

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

12

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java26 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
72 new StringPropertyConfig.Builder("name") in testQuery_typeFilterWithPolymorphism()
74 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testQuery_typeFilterWithPolymorphism()
76 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testQuery_typeFilterWithPolymorphism()
83 new StringPropertyConfig.Builder("name") in testQuery_typeFilterWithPolymorphism()
85 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testQuery_typeFilterWithPolymorphism()
87 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testQuery_typeFilterWithPolymorphism()
170 new StringPropertyConfig.Builder("name") in testQuery_projectionWithPolymorphism()
172 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testQuery_projectionWithPolymorphism()
174 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testQuery_projectionWithPolymorphism()
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java28 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
84 new StringPropertyConfig.Builder("normalStr") in testGetSchema_joinableValueType()
88 new StringPropertyConfig.Builder("optionalQualifiedIdStr") in testGetSchema_joinableValueType()
91 StringPropertyConfig in testGetSchema_joinableValueType()
95 new StringPropertyConfig.Builder("requiredQualifiedIdStr") in testGetSchema_joinableValueType()
98 StringPropertyConfig in testGetSchema_joinableValueType()
120 new StringPropertyConfig.Builder("name") in testQuery_typeFilterWithPolymorphism()
122 .setTokenizerType(StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in testQuery_typeFilterWithPolymorphism()
124 StringPropertyConfig.INDEXING_TYPE_PREFIXES) in testQuery_typeFilterWithPolymorphism()
131 new StringPropertyConfig.Builder("name") in testQuery_typeFilterWithPolymorphism()
[all …]
DSetSchemaResponseInternalTest.java22 import android.app.appsearch.AppSearchSchema.StringPropertyConfig;
86 new AppSearchSchema.StringPropertyConfig.Builder("qualifiedId1") in testPropertyConfig_deletionPropagation()
89 StringPropertyConfig in testPropertyConfig_deletionPropagation()
101 assertThat(((StringPropertyConfig) properties.get(0)).getJoinableValueType()) in testPropertyConfig_deletionPropagation()
102 .isEqualTo(StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID); in testPropertyConfig_deletionPropagation()
/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/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java88 new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
93 AppSearchSchema.StringPropertyConfig in createSchema()
96 AppSearchSchema.StringPropertyConfig in createSchema()
104 new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
109 AppSearchSchema.StringPropertyConfig in createSchema()
112 AppSearchSchema.StringPropertyConfig in createSchema()
117 new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
122 AppSearchSchema.StringPropertyConfig in createSchema()
125 AppSearchSchema.StringPropertyConfig in createSchema()
130 new AppSearchSchema.StringPropertyConfig.Builder( in createSchema()
[all …]
DContactPoint.java48 new AppSearchSchema.StringPropertyConfig.Builder(
53 AppSearchSchema.StringPropertyConfig
56 AppSearchSchema.StringPropertyConfig
61 new AppSearchSchema.StringPropertyConfig.Builder(
68 new AppSearchSchema.StringPropertyConfig.Builder(
73 AppSearchSchema.StringPropertyConfig
76 AppSearchSchema.StringPropertyConfig
81 new AppSearchSchema.StringPropertyConfig.Builder(
86 AppSearchSchema.StringPropertyConfig
89 AppSearchSchema.StringPropertyConfig
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java96 if (property instanceof AppSearchSchema.StringPropertyConfig) { in toPropertyConfigProto()
97 AppSearchSchema.StringPropertyConfig stringProperty = in toPropertyConfigProto()
98 (AppSearchSchema.StringPropertyConfig) property; in toPropertyConfigProto()
102 != AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_NONE) { in toPropertyConfigProto()
222 private static AppSearchSchema.StringPropertyConfig toStringPropertyConfig( in toStringPropertyConfig()
224 AppSearchSchema.StringPropertyConfig.Builder builder = in toStringPropertyConfig()
225 new AppSearchSchema.StringPropertyConfig.Builder(proto.getPropertyName()) in toStringPropertyConfig()
289 @AppSearchSchema.StringPropertyConfig.JoinableValueType int joinableValueType) { in convertJoinableValueTypeToProto()
291 case AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_NONE: in convertJoinableValueTypeToProto()
293 case AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID: in convertJoinableValueTypeToProto()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java42 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testGetProto_DescriptionSet()
47 AppSearchSchema.StringPropertyConfig in testGetProto_DescriptionSet()
50 AppSearchSchema.StringPropertyConfig in testGetProto_DescriptionSet()
165 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testGetProto_Email()
169 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
172 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
176 new AppSearchSchema.StringPropertyConfig.Builder("body") in testGetProto_Email()
180 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
183 AppSearchSchema.StringPropertyConfig in testGetProto_Email()
236 new AppSearchSchema.StringPropertyConfig.Builder("artist") in testGetProto_MusicRecording()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/appsearchtypes/
DMobileApplication.java76 new AppSearchSchema.StringPropertyConfig.Builder(APP_PROPERTY_PACKAGE_NAME) in createMobileApplicationSchemaForPackage()
79 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES) in createMobileApplicationSchemaForPackage()
81 AppSearchSchema.StringPropertyConfig in createMobileApplicationSchemaForPackage()
85 new AppSearchSchema.StringPropertyConfig.Builder(APP_PROPERTY_DISPLAY_NAME) in createMobileApplicationSchemaForPackage()
88 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES) in createMobileApplicationSchemaForPackage()
90 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in createMobileApplicationSchemaForPackage()
93 new AppSearchSchema.StringPropertyConfig.Builder( in createMobileApplicationSchemaForPackage()
97 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES) in createMobileApplicationSchemaForPackage()
99 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN) in createMobileApplicationSchemaForPackage()
102 new AppSearchSchema.StringPropertyConfig.Builder(APP_PROPERTY_ICON_URI) in createMobileApplicationSchemaForPackage()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java481 if (this instanceof AppSearchSchema.StringPropertyConfig) { in appendPropertyConfigString()
482 ((StringPropertyConfig) this).appendStringPropertyConfigFields(builder); in appendPropertyConfigString()
606 return new StringPropertyConfig(propertyConfigParcel); in fromParcel()
630 public static final class StringPropertyConfig extends PropertyConfig { class in AppSearchSchema
763 StringPropertyConfig(@NonNull PropertyConfigParcel propertyConfigParcel) { in StringPropertyConfig() method in AppSearchSchema.StringPropertyConfig
768 @StringPropertyConfig.IndexingType
810 @StringPropertyConfig.IndexingType private int mIndexingType = INDEXING_TYPE_NONE;
830 public StringPropertyConfig.Builder setDescription(@NonNull String description) { in setDescription()
844 public StringPropertyConfig.Builder setCardinality(@Cardinality int cardinality) { in setCardinality()
859 public StringPropertyConfig.Builder setIndexingType( in setIndexingType()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java540 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_success()
544 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
547 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_success()
593 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_putDocument_failure()
597 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
600 AppSearchSchema.StringPropertyConfig in testLoggingStats_putDocument_failure()
648 new AppSearchSchema.StringPropertyConfig.Builder("subject") in testLoggingStats_search_success()
652 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
655 AppSearchSchema.StringPropertyConfig in testLoggingStats_search_success()
783 new AppSearchSchema.StringPropertyConfig.Builder("entityId") in testLoggingStats_search_join()
[all …]
DAppSearchImplTest.java864 AppSearchSchema.StringPropertyConfig personField = in testGlobalQuery_withJoin_packageFilter()
865 new AppSearchSchema.StringPropertyConfig.Builder("personId") in testGlobalQuery_withJoin_packageFilter()
867 AppSearchSchema.StringPropertyConfig in testGlobalQuery_withJoin_packageFilter()
1031 AppSearchSchema.StringPropertyConfig personField = in testQueryInvalidPackages_withJoin()
1032 new AppSearchSchema.StringPropertyConfig.Builder("personId") in testQueryInvalidPackages_withJoin()
1034 AppSearchSchema.StringPropertyConfig in testQueryInvalidPackages_withJoin()
1227 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion()
1229 AppSearchSchema.StringPropertyConfig in testSearchSuggestion()
1232 AppSearchSchema.StringPropertyConfig in testSearchSuggestion()
1307 new AppSearchSchema.StringPropertyConfig.Builder("body") in testSearchSuggestion_removeDocument()
[all …]
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java69 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder(
74 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
76 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_VERBATIM)
85 .addProperty(new AppSearchSchema.StringPropertyConfig.Builder("NotPackageName")
89 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES)
91 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN)
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/dao/
DAppSearchConsentDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
35 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
43 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchTopicsConsentDao.java25 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
40 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DGetNextPageAidlRequest.java55 @AppSearchSchema.StringPropertyConfig.JoinableValueType
87 @Param(id = 4) @AppSearchSchema.StringPropertyConfig.JoinableValueType int joinType, in GetNextPageAidlRequest()
114 @AppSearchSchema.StringPropertyConfig.JoinableValueType
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
45 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
56 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchAppConsentDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
47 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
57 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchInteractionsDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
55 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
66 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchMeasurementRollbackDao.java25 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
58 @Document.StringProperty(indexingType = StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS)
DAppSearchNotificationDao.java24 import androidx.appsearch.app.AppSearchSchema.StringPropertyConfig;
49 @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…
150 @AppSearchSchema.StringPropertyConfig.JoinableValueType in getNextPage()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DPropertyConfigParcel.java24 import android.app.appsearch.AppSearchSchema.StringPropertyConfig.JoinableValueType;
25 import android.app.appsearch.AppSearchSchema.StringPropertyConfig.TokenizerType;
462 @AppSearchSchema.StringPropertyConfig.IndexingType
473 @Param(id = 1) @AppSearchSchema.StringPropertyConfig.IndexingType int indexingType, in StringIndexingConfigParcel()
480 @AppSearchSchema.StringPropertyConfig.IndexingType
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java133 PERSON_TYPE).addProperty(new AppSearchSchema.StringPropertyConfig.Builder( in testDesensitizeRealDebugInfo()
135 AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES).setTokenizerType( in testDesensitizeRealDebugInfo()
136 AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN).build()).build()); in testDesensitizeRealDebugInfo()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0Test.java204 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()
220 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()
232 new AppSearchSchema.StringPropertyConfig.Builder( in buildAppSearchImplInV0()

12