Home
last modified time | relevance | path

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

12

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java202 .setPropertyString("name", "person") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
207 .setPropertyString("name", "artist") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
208 .setPropertyString("company", "foo") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
213 .setPropertyString("name", "musician") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
214 .setPropertyString("company", "foo") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
433 .setPropertyString("name", "test person") in testRemove_withDeletePropagationFromParentToChildren()
440 .setPropertyString("subject", "test email subject") in testRemove_withDeletePropagationFromParentToChildren()
441 .setPropertyString("sender", personQualifiedId) in testRemove_withDeletePropagationFromParentToChildren()
445 .setPropertyString("subject", "test email subject") in testRemove_withDeletePropagationFromParentToChildren()
446 .setPropertyString("receiver", personQualifiedId) in testRemove_withDeletePropagationFromParentToChildren()
[all …]
DGenericDocumentInternalTest.java36 .setPropertyString("propString", "Hello") in testRecreateFromParcel()
41 .setPropertyString("propString", "Goodbye") in testRecreateFromParcel()
79 .setPropertyString("propString", "Hello") in testRecreateFromParcelWithParentTypes()
84 .setPropertyString("propString", "Goodbye") in testRecreateFromParcelWithParentTypes()
123 .setPropertyString("propString", "Hello") in testGenericDocumentBuilderDoesNotMutateOriginal()
129 .setPropertyString("propString", "Bye") in testGenericDocumentBuilderDoesNotMutateOriginal()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java139 .setPropertyString("name", "person") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
144 .setPropertyString("name", "artist") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
145 .setPropertyString("company", "foo") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
150 .setPropertyString("name", "musician") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
151 .setPropertyString("company", "foo") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
165 .setPropertyString(PARENT_TYPES_SYNTHETIC_PROPERTY, "Person") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
169 .setPropertyString(PARENT_TYPES_SYNTHETIC_PROPERTY, "Artist", "Person") in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java373 setPropertyString(PERSON_PROPERTY_NAME, name); in setName()
379 setPropertyString(PERSON_PROPERTY_GIVEN_NAME, givenName); in setGivenName()
385 setPropertyString(PERSON_PROPERTY_MIDDLE_NAME, middleName); in setMiddleName()
391 setPropertyString(PERSON_PROPERTY_FAMILY_NAME, familyName); in setFamilyName()
397 setPropertyString( in setExternalUri()
404 setPropertyString( in setImageUri()
479 setPropertyString( in build()
481 setPropertyString(PERSON_PROPERTY_AFFILIATIONS, mAffiliations.toArray(new String[0])); in build()
482 setPropertyString(PERSON_PROPERTY_RELATIONS, mRelations.toArray(new String[0])); in build()
483 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()
DAppFunctionDocument.java94 setPropertyString(PROPERTY_PACKAGE_NAME, packageName); in Builder()
95 setPropertyString( in Builder()
DAppFunctionStaticMetadata.java252 setPropertyString(PROPERTY_FUNCTION_ID, functionId); in Builder()
263 setPropertyString(PROPERTY_SCHEMA_NAME, schemaName); in setSchemaName()
284 setPropertyString(PROPERTY_SCHEMA_CATEGORY, category); in setSchemaCategory()
DAppOpenEvent.java149 .setPropertyString(APP_OPEN_EVENT_PROPERTY_PACKAGE_NAME, packageName) in create()
153 .setPropertyString( in create()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0Test.java94 .setPropertyString( in testVisibilityMigration_from0()
96 .setPropertyString(DEPRECATED_PACKAGE_NAME_PROPERTY, packageNameFoo) in testVisibilityMigration_from0()
104 .setPropertyString( in testVisibilityMigration_from0()
106 .setPropertyString(DEPRECATED_PACKAGE_NAME_PROPERTY, packageNameBar) in testVisibilityMigration_from0()
115 .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.java349 .setPropertyString(Person.PERSON_PROPERTY_NAME, "新中野") in testPersonSchema_indexFirstMiddleAndLastNames()
350 .setPropertyString(Person.PERSON_PROPERTY_FAMILY_NAME, "新") in testPersonSchema_indexFirstMiddleAndLastNames()
351 .setPropertyString(Person.PERSON_PROPERTY_GIVEN_NAME, "野") in testPersonSchema_indexFirstMiddleAndLastNames()
352 .setPropertyString(Person.PERSON_PROPERTY_MIDDLE_NAME, "中") in testPersonSchema_indexFirstMiddleAndLastNames()
401 .setPropertyString(Person.PERSON_PROPERTY_NAME, "新中野") in testPersonSchema_indexFullNameOnly()
402 .setPropertyString(Person.PERSON_PROPERTY_FAMILY_NAME, "新") in testPersonSchema_indexFullNameOnly()
403 .setPropertyString(Person.PERSON_PROPERTY_GIVEN_NAME, "野") in testPersonSchema_indexFullNameOnly()
404 .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/
DAppSearchLoggerTest.java658 .setPropertyString("subject", "testPut example1") in testLoggingStats_putDocument_success()
712 .setPropertyString("nonExist", "testPut example1") in testLoggingStats_putDocument_failure()
767 .setPropertyString("subject", "testPut example1") in testLoggingStats_search_success()
771 .setPropertyString("subject", "testPut example2") in testLoggingStats_search_success()
775 .setPropertyString("subject", "testPut 3") in testLoggingStats_search_success()
926 .setPropertyString("subject", "an entity") in testLoggingStats_search_join()
930 .setPropertyString("subject", "another entity") in testLoggingStats_search_join()
935 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
939 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
943 .setPropertyString("entityId", "testPackage$testDatabase/namespace#id1") in testLoggingStats_search_join()
[all …]
DAppSearchImplTest.java1097 .setPropertyString("personId", "package1$database1/namespace#id") in testGlobalQuery_withJoin_packageFilter()
1109 .setPropertyString("personId", "package1$database1/namespace#id") in testGlobalQuery_withJoin_packageFilter()
1268 .setPropertyString("personId", "package1$database1/namespace#person") in testQueryInvalidPackages_withJoin()
1272 .setPropertyString("personId", "package1$database1/namespace#person") in testQueryInvalidPackages_withJoin()
1435 .setPropertyString("body", "termOne") in testSearchSuggestion()
1439 .setPropertyString("body", "termOne termTwo") in testSearchSuggestion()
1443 .setPropertyString("body", "termOne termTwo termThree") in testSearchSuggestion()
1515 .setPropertyString("body", "termOne") in testSearchSuggestion_removeDocument()
1575 .setPropertyString("body", "tart two three") in testSearchSuggestion_replaceDocument()
1602 .setPropertyString("body", "twist three") in testSearchSuggestion_replaceDocument()
[all …]
/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()
190 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc1") in testExtract_noSearchActionShouldReturnEmptyList()
199 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc2") in testExtract_noSearchActionShouldReturnEmptyList()
228 .setPropertyString("query", "tes") in testExtract_shouldSkipUnknownActionTypeDocuments()
229 .setPropertyString("referencedQualifiedId", "pkg$db/ns#doc1") in testExtract_shouldSkipUnknownActionTypeDocuments()
241 .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/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java173 documentBuilder.setPropertyString( in toGenericDocument()
190 documentBuilder.setPropertyString(name, values); in toGenericDocument()
287 documentBuilder.setPropertyString(propertyName, EMPTY_STRING_ARRAY); in setEmptyProperty()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/
DPersonEnterpriseTransformer.java122 transformedDocumentBuilder.setPropertyString( in transformDocument()
129 transformedDocumentBuilder.setPropertyString( in transformDocument()
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmailTest.java35 .setPropertyString("propertyKey", "propertyValue1", "propertyValue2") in testBuildEmailAndGetValue()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/usagereporting/
DSearchActionGenericDocument.java111 setPropertyString(PROPERTY_PATH_QUERY, query); in setQuery()
DClickActionGenericDocument.java124 setPropertyString(PROPERTY_PATH_QUERY, query); in setQuery()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverterTest.java95 .setPropertyString("stringKey1", "test-value1") in testDocumentProtoConvert()
175 .setPropertyString("emptyStringKey") in testConvertDocument_whenPropertyHasEmptyList()
282 .setPropertyString("emptyStringKey") in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()

12