summaryrefslogtreecommitdiff
path: root/test-mock
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-11-14 13:59:24 -0700
committerJeff Sharkey <jsharkey@android.com>2019-11-14 15:42:52 -0700
commitb500cb85ff779bd564f68d0a293bbf6b74f05b7b (patch)
tree5902a308cb717b51676d88deab8fd27f234d527c /test-mock
parenta3971fc781fcbd2b9fcafc3f13ee4a6c2b34aef0 (diff)
Query arguments for grouping, other SQL clauses.
Over time we've expanded ContentResolver to accept a Bundle of arguments to influence how a query is performed, and this change expands that set to allow setting of raw GROUP BY, HAVING, and LIMIT clauses. Note that providers are not required to implement each of these arguments; they simply need to inform callers which of them were honored via EXTRA_HONORED_ARGS. This change also adds support to MediaProvider for handling these arguments. Bug: 143966486 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: Ia839b5a1917d7833f03e022cfef65652c0d7a01d
Diffstat (limited to 'test-mock')
0 files changed, 0 insertions, 0 deletions