Home
last modified time | relevance | path

Searched refs:setPropertyString (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java101 .setPropertyString("name", "Foo") in testQuery_typeFilterWithPolymorphism()
105 .setPropertyString("name", "Foo") in testQuery_typeFilterWithPolymorphism()
121 .setPropertyString(PARENT_TYPES_SYNTHETIC_PROPERTY, "Person") in testQuery_typeFilterWithPolymorphism()
220 .setPropertyString("name", "Foo Person") in testQuery_projectionWithPolymorphism()
221 .setPropertyString("emailAddress", "person@gmail.com") in testQuery_projectionWithPolymorphism()
226 .setPropertyString("name", "Foo Artist") in testQuery_projectionWithPolymorphism()
227 .setPropertyString("emailAddress", "artist@gmail.com") in testQuery_projectionWithPolymorphism()
228 .setPropertyString("company", "Company") in testQuery_projectionWithPolymorphism()
254 .setPropertyString("name", "Foo Person") in testQuery_projectionWithPolymorphism()
259 .setPropertyString("name", "Foo Artist") in testQuery_projectionWithPolymorphism()
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java149 .setPropertyString("name", "Foo") in testQuery_typeFilterWithPolymorphism()
153 .setPropertyString("name", "Foo") in testQuery_typeFilterWithPolymorphism()
266 .setPropertyString("name", "Foo Person") in testQuery_projectionWithPolymorphism()
267 .setPropertyString("emailAddress", "person@gmail.com") in testQuery_projectionWithPolymorphism()
272 .setPropertyString("name", "Foo Artist") in testQuery_projectionWithPolymorphism()
273 .setPropertyString("emailAddress", "artist@gmail.com") in testQuery_projectionWithPolymorphism()
274 .setPropertyString("company", "Company") in testQuery_projectionWithPolymorphism()
300 .setPropertyString("name", "Foo Person") in testQuery_projectionWithPolymorphism()
306 .setPropertyString("name", "Foo Artist") in testQuery_projectionWithPolymorphism()
307 .setPropertyString("emailAddress", "artist@gmail.com") in testQuery_projectionWithPolymorphism()
[all …]
DGenericDocumentInternalTest.java36 .setPropertyString("propString", "Hello") in testRecreateFromParcel()
41 .setPropertyString("propString", "Goodbye") in testRecreateFromParcel()
78 .setPropertyString("propString", "Hello") in testRecreateFromParcelWithParentTypes()
83 .setPropertyString("propString", "Goodbye") in testRecreateFromParcelWithParentTypes()
121 .setPropertyString("propString", "Hello") in testGenericDocumentBuilderDoesNotMutateOriginal()
127 .setPropertyString("propString", "Bye") in testGenericDocumentBuilderDoesNotMutateOriginal()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java378 setPropertyString(PERSON_PROPERTY_NAME, name); in setName()
384 setPropertyString(PERSON_PROPERTY_GIVEN_NAME, givenName); in setGivenName()
390 setPropertyString(PERSON_PROPERTY_MIDDLE_NAME, middleName); in setMiddleName()
396 setPropertyString(PERSON_PROPERTY_FAMILY_NAME, familyName); in setFamilyName()
402 setPropertyString( in setExternalUri()
409 setPropertyString( in setImageUri()
484 setPropertyString( in build()
486 setPropertyString(PERSON_PROPERTY_AFFILIATIONS, mAffiliations.toArray(new String[0])); in build()
487 setPropertyString(PERSON_PROPERTY_RELATIONS, mRelations.toArray(new String[0])); in build()
488 setPropertyString(PERSON_PROPERTY_NOTES, mNotes.toArray(new String[0])); in build()
DContactPoint.java160 setPropertyString(CONTACT_POINT_PROPERTY_LABEL, label); in setLabel()
199 setPropertyString(CONTACT_POINT_PROPERTY_APP_ID, mAppIds.toArray(new String[0])); in build()
200 setPropertyString(CONTACT_POINT_PROPERTY_EMAIL, mEmails.toArray(new String[0])); in build()
201 setPropertyString(CONTACT_POINT_PROPERTY_ADDRESS, mAddresses.toArray(new String[0])); in build()
202 setPropertyString(CONTACT_POINT_PROPERTY_TELEPHONE, mTelephones.toArray(new String[0])); in build()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/transformer/
DEnterpriseSearchResultPageTransformerTest.java39 .setPropertyString(Person.PERSON_PROPERTY_IMAGE_URI, "person1/imageUri").build(); in testTransformSearchResultPage()
42 .setPropertyString(Person.PERSON_PROPERTY_IMAGE_URI, "person2/imageUri").build(); in testTransformSearchResultPage()
95 .setPropertyString(Person.PERSON_PROPERTY_IMAGE_URI, "person1/imageUri").build(); in testTransformSearchResult()
133 .setPropertyString(Person.PERSON_PROPERTY_IMAGE_URI, "person1/imageUri").build(); in testTransformDocument_transformsPersonSchemaType()
141 .setPropertyString(Person.PERSON_PROPERTY_IMAGE_URI, "person1/imageUri").build(); in testTransformDocument_transformsPersonSchemaType()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/appsearchtypes/
DMobileApplication.java211 setPropertyString(APP_PROPERTY_PACKAGE_NAME, packageName); in Builder()
219 setPropertyString(APP_PROPERTY_DISPLAY_NAME, Objects.requireNonNull(displayName)); in setDisplayName()
226 setPropertyString(APP_PROPERTY_ALTERNATE_NAMES, Objects.requireNonNull(alternateNames)); in setAlternateNames()
233 setPropertyString(APP_PROPERTY_ICON_URI, Objects.requireNonNull(iconUri)); in setIconUri()
246 setPropertyString(APP_PROPERTY_CLASS_NAME, Objects.requireNonNull(className)); in setClassName()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0Test.java89 .setPropertyString( in testVisibilityMigration_from0()
91 .setPropertyString(DEPRECATED_PACKAGE_NAME_PROPERTY, packageNameFoo) in testVisibilityMigration_from0()
99 .setPropertyString( in testVisibilityMigration_from0()
101 .setPropertyString(DEPRECATED_PACKAGE_NAME_PROPERTY, packageNameBar) in testVisibilityMigration_from0()
110 .setPropertyString( in testVisibilityMigration_from0()
DVisibilityToDocumentConverterTest.java130 .setPropertyString("packageName", "com.example.test3") in testToGenericDocuments()
214 .setPropertyString("packageName", "com.example.test3") in testToVisibilityConfig()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DAppSearchHelperTest.java350 .setPropertyString(Person.PERSON_PROPERTY_NAME, "新中野") in testPersonSchema_indexFirstMiddleAndLastNames()
351 .setPropertyString(Person.PERSON_PROPERTY_FAMILY_NAME, "新") in testPersonSchema_indexFirstMiddleAndLastNames()
352 .setPropertyString(Person.PERSON_PROPERTY_GIVEN_NAME, "野") in testPersonSchema_indexFirstMiddleAndLastNames()
353 .setPropertyString(Person.PERSON_PROPERTY_MIDDLE_NAME, "中") in testPersonSchema_indexFirstMiddleAndLastNames()
399 .setPropertyString(Person.PERSON_PROPERTY_NAME, "新中野") in testPersonSchema_indexFullNameOnly()
400 .setPropertyString(Person.PERSON_PROPERTY_FAMILY_NAME, "新") in testPersonSchema_indexFullNameOnly()
401 .setPropertyString(Person.PERSON_PROPERTY_GIVEN_NAME, "野") in testPersonSchema_indexFullNameOnly()
402 .setPropertyString(Person.PERSON_PROPERTY_MIDDLE_NAME, "中") in testPersonSchema_indexFullNameOnly()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchDaoTest.java134 .setPropertyString("userId", ID) in testIterateSearchResults()
135 .setPropertyString("consent", CONSENT) in testIterateSearchResults()
136 .setPropertyString("apiType", API_TYPE) in testIterateSearchResults()
204 .setPropertyString("userId", ID) in testReadConsentData()
205 .setPropertyString("consent", CONSENT) in testReadConsentData()
206 .setPropertyString("apiType", API_TYPE) in testReadConsentData()
277 .setPropertyString("userId", ID) in testReadAppSearchData()
278 .setPropertyString("consent", CONSENT) in testReadAppSearchData()
279 .setPropertyString("apiType", API_TYPE) in testReadAppSearchData()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/usagereporting/
DSearchSessionStatsExtractorTest.java52 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc1") in testExtract()
61 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc2") in testExtract()
77 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc3") in testExtract()
86 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc4") in testExtract()
95 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc5") in testExtract()
184 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc1") in testExtract_noSearchActionShouldReturnEmptyList()
193 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc2") in testExtract_noSearchActionShouldReturnEmptyList()
218 .setPropertyString("query", "tes") in testExtract_shouldSkipUnknownActionTypeDocuments()
219 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc1") in testExtract_shouldSkipUnknownActionTypeDocuments()
231 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc2") in testExtract_shouldSkipUnknownActionTypeDocuments()
[all …]
DSearchActionGenericDocumentTest.java55 .setPropertyString("query", "body") in testBuild_fromGenericDocument()
DClickActionGenericDocumentTest.java58 .setPropertyString("query", "body") in testBuild_fromGenericDocument()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java565 .setPropertyString("subject", "testPut example1") in testLoggingStats_putDocument_success()
618 .setPropertyString("nonExist", "testPut example1") in testLoggingStats_putDocument_failure()
672 .setPropertyString("subject", "testPut example1") in testLoggingStats_search_success()
676 .setPropertyString("subject", "testPut example2") in testLoggingStats_search_success()
680 .setPropertyString("subject", "testPut 3") in testLoggingStats_search_success()
830 .setPropertyString("subject", "an entity") in testLoggingStats_search_join()
834 .setPropertyString("subject", "another entity") in testLoggingStats_search_join()
839 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
843 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
847 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
[all …]
DAppSearchImplTest.java912 .setPropertyString("personId", "package1$database1/namespace#id") in testGlobalQuery_withJoin_packageFilter()
924 .setPropertyString("personId", "package1$database1/namespace#id") in testGlobalQuery_withJoin_packageFilter()
1081 .setPropertyString("personId", "package1$database1/namespace#person") in testQueryInvalidPackages_withJoin()
1085 .setPropertyString("personId", "package1$database1/namespace#person") in testQueryInvalidPackages_withJoin()
1248 .setPropertyString("body", "termOne") in testSearchSuggestion()
1252 .setPropertyString("body", "termOne termTwo") in testSearchSuggestion()
1256 .setPropertyString("body", "termOne termTwo termThree") in testSearchSuggestion()
1328 .setPropertyString("body", "termOne") in testSearchSuggestion_removeDocument()
1388 .setPropertyString("body", "tart two three") in testSearchSuggestion_replaceDocument()
1415 .setPropertyString("body", "twist three") in testSearchSuggestion_replaceDocument()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/
DPersonEnterpriseTransformer.java122 transformedDocumentBuilder.setPropertyString( in transformDocument()
129 transformedDocumentBuilder.setPropertyString( in transformDocument()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java165 documentBuilder.setPropertyString( in toGenericDocument()
182 documentBuilder.setPropertyString(name, values); in toGenericDocument()
334 documentBuilder.setPropertyString(propertyName, EMPTY_STRING_ARRAY); in setEmptyProperty()
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmailTest.java35 .setPropertyString("propertyKey", "propertyValue1", "propertyValue2") in testBuildEmailAndGetValue()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverterTest.java84 .setPropertyString("stringKey1", "test-value1") in testDocumentProtoConvert()
164 .setPropertyString("emptyStringKey") in testConvertDocument_whenPropertyHasEmptyList()
270 .setPropertyString("emptyStringKey") in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/usagereporting/
DSearchActionGenericDocument.java112 setPropertyString(PROPERTY_PATH_QUERY, query); in setQuery()
DClickActionGenericDocument.java125 setPropertyString(PROPERTY_PATH_QUERY, query); in setQuery()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityDocumentV1.java213 setPropertyString(PACKAGE_NAME_PROPERTY, packageNames); in build()
DVisibilityToDocumentConverter.java376 builder.setPropertyString(VISIBLE_TO_PACKAGE_IDENTIFIER_PROPERTY, visibleToPackageNames); in createVisibilityDocument()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java143 "adbdump_doc_id", PERSON_TYPE).setPropertyString("name", in testDesensitizeRealDebugInfo()

12