Based on API review feedback:
> A map of Throwable objects is very unusual. Couldn't you return a
> structure of error code and reason string? If you know of specific
> error types, it's better to be explicit rather than have to parse
> just an exception string.
Bug: 143789408
Test: atest CtsAppSearchTestCases FrameworksCoreTests:android.app.appsearch FrameworksServicesTests:com.android.server.appsearch.impl
Change-Id: I8d3df1a176fd275db54783b387602ceb7b0d280a
Revert "Add CTS tests for AppSearch.getDocuments APIs."
Revert submission 10081469-060-get-impl
Reason for revert: Breaks build due to collision with ag/10111175
Reverted Changes:
I013ac2f01: Implement getDocuments() support in AppSearchImpl....
Ia518a91fe: Add CTS tests for AppSearch.getDocuments APIs.
Change-Id: Ib6437eb41c53f7bf00aac7951b427455982f2247
This change is a no-op refactor.
Bug: 143789408
Test: atest FrameworksCoreTests:android.app.appsearch
Change-Id: I36faca03a830fa87d0a40373d3f5ddd6dbdd6640
This requires adding an object for reporting multiple results in a single call.
It is based on android.hardware.camera2.TotalCaptureResult.
Bug: 143789408
Test: atest CtsAppSearchTestCases FrameworksCoreTests:android.app.appsearch FrameworksServicesTests:com.android.server.appsearch.impl
Change-Id: Ia775a5cd722ef8fd05286d2c8ed4ec0da3f3b63a
With 4-tab indents, these nested structures become difficult to write
and maintain. The information encoded here doesn't seem to benefit from
being separated into its own config.
Test: atest CtsAppSearchTestCases FrameworksCoreTests:android.app.appsearch FrameworksServicesTests:com.android.server.appsearch.impl
Bug: 145635424
Change-Id: I6c771e0af1ca34a05b09d1532f0f227a069e0d2e
Document is the basic entity to be indexed and queried in AppSearch.
AppSearch.java contains all AppSearch Document types and their Builders.
They are grouped here to avoid potential collisions with other
generically-named classes like Email and Contact).
Bug: 143789408
Test: atest FrameworksCoreTests:android.app.appsearch
Change-Id: I7bb607ad4114451a3db11b9ade9c197da1e6556a
They directly construct the proto in frameworks.jar.
The API is not yet implemented.
Test: atest CtsAppSearchTestCases
Bug: 145635424
Change-Id: I4f708fa845a87f171ace437788d2c45161fc38ff