Home
last modified time | relevance | path

Searched refs:PutDocumentsRequest (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DPutDocumentsRequest.java41 public final class PutDocumentsRequest { class
46 PutDocumentsRequest(List<GenericDocument> documents, List<GenericDocument> takenActions) { in PutDocumentsRequest() method in PutDocumentsRequest
209 public PutDocumentsRequest build() { in build()
227 return new PutDocumentsRequest(mDocuments, mTakenActions); in build()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DAppSearchDaoWriter.java26 import androidx.appsearch.app.PutDocumentsRequest;
97 PutDocumentsRequest putRequest = in writeData()
98 new PutDocumentsRequest.Builder().addDocuments(doc).build(); in writeData()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DSyncAppSearchSession.java22 import android.app.appsearch.PutDocumentsRequest;
53 AppSearchBatchResult<String, Void> put(@NonNull PutDocumentsRequest request) in put()
DAppSearchHelper.java27 import android.app.appsearch.PutDocumentsRequest;
174 PutDocumentsRequest request = in indexApps()
175 new PutDocumentsRequest.Builder().addGenericDocuments(apps).build(); in indexApps()
DSyncAppSearchSessionImpl.java22 import android.app.appsearch.PutDocumentsRequest;
74 public AppSearchBatchResult<String, Void> put(@NonNull PutDocumentsRequest request) in put()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java116 new PutDocumentsRequest.Builder() in testQuery_typeFilterWithPolymorphism()
232 new PutDocumentsRequest.Builder() in testQuery_projectionWithPolymorphism()
335 new PutDocumentsRequest.Builder() in testQuery_indexBasedOnParentTypePolymorphism()
403 new PutDocumentsRequest.Builder() in testQuery_parentTypeListIsTopologicalOrder()
507 new PutDocumentsRequest.Builder() in testQuery_wildcardProjection_polymorphism()
618 new PutDocumentsRequest.Builder() in testQuery_wildcardFilterSchema_polymorphism()
721 new PutDocumentsRequest.Builder() in testQuery_projectionWithPolymorphismAndSchemaFilter()
DAppSearchSessionUnitTest.java81 new PutDocumentsRequest.Builder().addGenericDocuments(document1).build(), in testGetEmptyNextPage()
138 new PutDocumentsRequest.Builder() in testGetEmptyNextPage_multiPages()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DSyncAppSearchImplTest.java30 import android.app.appsearch.PutDocumentsRequest;
105 PutDocumentsRequest request = new PutDocumentsRequest.Builder() in testSynchronousMethods()
DAppSearchHelperTest.java42 import android.app.appsearch.PutDocumentsRequest;
168 when(fullSession.put(any(PutDocumentsRequest.class))) in testIndexApps_outOfSpace_shouldNotCompleteNormally()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java164 new PutDocumentsRequest.Builder() in testQuery_typeFilterWithPolymorphism()
278 new PutDocumentsRequest.Builder() in testQuery_projectionWithPolymorphism()
382 new PutDocumentsRequest.Builder() in testQuery_projectionWithPolymorphismAndSchemaFilter()
486 new PutDocumentsRequest.Builder() in testQuery_indexBasedOnParentTypePolymorphism()
553 new PutDocumentsRequest.Builder() in testQuery_parentTypeListIsTopologicalOrder()
656 new PutDocumentsRequest.Builder() in testQuery_wildcardProjection_polymorphism()
766 new PutDocumentsRequest.Builder() in testQuery_wildcardFilterSchema_polymorphism()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchDao.java31 import androidx.appsearch.app.PutDocumentsRequest;
240 PutDocumentsRequest putRequest = in writeData()
241 new PutDocumentsRequest.Builder().addDocuments(this).build(); in writeData()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java29 import android.app.appsearch.PutDocumentsRequest;
318 PutDocumentsRequest request = in indexContactsAsync()
319 new PutDocumentsRequest.Builder().addGenericDocuments(contacts).build(); in indexContactsAsync()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DAppSearchHelperTest.java35 import android.app.appsearch.PutDocumentsRequest;
357 new PutDocumentsRequest.Builder().addGenericDocuments(doc1).build())); in testPersonSchema_indexFirstMiddleAndLastNames()
406 new PutDocumentsRequest.Builder().addGenericDocuments(doc1).build())); in testPersonSchema_indexFullNameOnly()
DEnterpriseContactsTest.java57 import android.app.appsearch.PutDocumentsRequest;
228 new PutDocumentsRequest.Builder().addGenericDocuments(person1, person2, in setUpEnterpriseContacts()
/packages/modules/AppSearch/flags/
Dappsearch.aconfig48 description: "Enable addTakenActions API in PutDocumentsRequest."
/packages/modules/AppSearch/framework/api/
Dcurrent.txt190 …method public void put(@NonNull android.app.appsearch.PutDocumentsRequest, @NonNull java.util.conc…
375 public final class PutDocumentsRequest {
380 public static final class PutDocumentsRequest.Builder {
381 ctor public PutDocumentsRequest.Builder();
382 …method @NonNull public android.app.appsearch.PutDocumentsRequest.Builder addGenericDocuments(@NonN…
383 …method @NonNull public android.app.appsearch.PutDocumentsRequest.Builder addGenericDocuments(@NonN…
384 …_request_add_taken_actions") @NonNull public android.app.appsearch.PutDocumentsRequest.Builder add…
385 …_request_add_taken_actions") @NonNull public android.app.appsearch.PutDocumentsRequest.Builder add…
386 method @NonNull public android.app.appsearch.PutDocumentsRequest build();
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchSession.java345 @NonNull PutDocumentsRequest request, in put()