summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2009-08-12 09:53:48 -0700
committerJeff Sharkey <jsharkey@android.com>2009-08-12 12:48:12 -0700
commita5f743f1fc7c5037ee7ad4ab611115b6d44af5b8 (patch)
tree98cc01fff05a40c7713c46e2398f5b7763637114 /api
parente7037b6c9ec41fd93eebc03bdba120a95d47dc6f (diff)
downloadframeworks_base-a5f743f1fc7c5037ee7ad4ab611115b6d44af5b8.zip
frameworks_base-a5f743f1fc7c5037ee7ad4ab611115b6d44af5b8.tar.gz
frameworks_base-a5f743f1fc7c5037ee7ad4ab611115b6d44af5b8.tar.bz2
Add AsyncQueryHandler helper for queryEntities().
Recently we added queryEntities() to the ContentProvider interface to read out Entity objects atomically. This change adds a helper to AsyncQueryHandler to perform these queries on a background thread, returning the result when finished.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 69d4d5c..b9fb85a 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -27892,6 +27892,23 @@
<parameter name="cursor" type="android.database.Cursor">
</parameter>
</method>
+<method name="onQueryEntitiesComplete"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="protected"
+>
+<parameter name="token" type="int">
+</parameter>
+<parameter name="cookie" type="java.lang.Object">
+</parameter>
+<parameter name="iterator" type="android.content.EntityIterator">
+</parameter>
+</method>
<method name="onUpdateComplete"
return="void"
abstract="false"
@@ -27974,6 +27991,29 @@
<parameter name="orderBy" type="java.lang.String">
</parameter>
</method>
+<method name="startQueryEntities"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="token" type="int">
+</parameter>
+<parameter name="cookie" type="java.lang.Object">
+</parameter>
+<parameter name="uri" type="android.net.Uri">
+</parameter>
+<parameter name="selection" type="java.lang.String">
+</parameter>
+<parameter name="selectionArgs" type="java.lang.String[]">
+</parameter>
+<parameter name="orderBy" type="java.lang.String">
+</parameter>
+</method>
<method name="startUpdate"
return="void"
abstract="false"