Searched refs:query (Results 76 - 100 of 196) sorted by relevance

12345678

/frameworks/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java54 c = resolver.query(childrenUri, new String[] {
63 Log.w(TAG, "Failed query: " + e);
/frameworks/base/core/java/android/content/
H A DSearchRecentSuggestionsProvider.java34 * <li>Implement and test query search, as described in {@link android.app.SearchManager}. (This
87 private static final String NULL_COLUMN = "query";
111 // Uri and query support
145 builder.append(",query TEXT" +
200 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY,
212 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY,
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SearchRecentSuggestionsProvider
340 Cursor c = db.query(sSuggestions, mSuggestionProjection,
346 // otherwise process arguments and perform a standard query
380 // And perform the generic query a
[all...]
/frameworks/base/core/java/android/webkit/
H A DURLUtil.java93 String query;
98 query = java.net.URLEncoder.encode(inQuery, "utf-8");
99 buffer.append(query);
323 // If there is a query string strip it, same as desktop browsers
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, method in class:MockContentProvider.InversionIContentProvider
103 return MockContentProvider.this.query(url, projection, selection,
209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:MockContentProvider
H A DMockIContentProvider.java79 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, method in class:MockIContentProvider
/frameworks/support/v4/kitkat/android/support/v4/provider/
H A DDocumentsContractApi19.java131 c = resolver.query(self, new String[] {
135 Log.w(TAG, "Failed query: " + e);
148 c = resolver.query(self, new String[] { column }, null, null, null);
155 Log.w(TAG, "Failed query: " + e);
173 c = resolver.query(self, new String[] { column }, null, null, null);
180 Log.w(TAG, "Failed query: " + e);
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java40 // column index for our query
59 // list of columns for database query
164 // genre requires a special query
193 c = mProvider.query(mPackageName, mUri,
213 c = mProvider.query(mPackageName, Audio.Media.getContentUri(mVolumeName),
234 c = mProvider.query(mPackageName, uri,
256 c = mProvider.query(mPackageName, mUri,
325 // don't query if not necessary
327 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null);
337 // iterate over all objects in the query
[all...]
H A DMtpDatabase.java250 c = db.query("properties", new String[] { "_id", "code", "value" },
334 c = mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, PATH_WHERE,
412 // query all stores
414 // query all formats
416 // query all objects
428 // query specific format
430 // query all objects
444 // query specific store
446 // query all formats
448 // query al
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java802 * Controls whether this query includes downloads not visible in the system's Downloads UI.
803 * @param value if true, this query will only include downloads that should be displayed in
804 * the system's Downloads UI; if false (the default), this query will include
841 * Run this query using the given ContentResolver.
842 * @param projection the projection to pass to ContentResolver.query()
843 * @return the Cursor returned by ContentResolver.query()
890 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
991 * @param query parameters specifying filters for this query
995 public Cursor query(Quer argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp123 err = anw.get()->query(anw.get(),
207 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt);
428 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt);
457 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf);
463 err = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, dimenBuf + 1);
483 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf);
490 err = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, dimenBuf + 1);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp69 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth);
70 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight);
79 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage);
82 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat);
484 int VirtualDisplaySurface::query(int what, int* value) { function in class:android::VirtualDisplaySurface
493 return mSource[SOURCE_SINK]->query(what, value);
/frameworks/base/core/java/android/provider/
H A DCallLog.java486 cursor = resolver.query(Phone.CONTENT_URI,
494 cursor = resolver.query(
561 c = resolver.query(
H A DSearchIndexablesProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SearchIndexablesProvider
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSearchRecentSuggestionsProviderTest.java70 * Simple test to see if we can write and read back a single query
96 // we'll make 10 queries named "query x" and 10 queries named "test x"
97 final String TEST_GROUP_1 = "query ";
108 // check that each query returns the right result counts
303 * @param queryString The query string to apply.
343 * @param colQuery The column # containing the query. The query must match display1.
353 String query = c.getString(colQuery);
357 assertEquals(query, display1);
370 * Generate a query curso
[all...]
H A DSettingsProviderTest.java84 Cursor c = r.query(uri, null, null, null, null);
96 r.query(uri, null, "1", null, null);
103 c = r.query(table, null, "name='test_key'", null, null);
117 c = r.query(uri, null, null, null, null);
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp155 ANativeWindow::query = query; member in class:android::ANativeWindow
293 int FramebufferNativeWindow::query(const ANativeWindow* window, function in class:android::FramebufferNativeWindow
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java112 * @param uri The uri that requires a permission to query.
117 getContext().getContentResolver().query(uri, null, null, null, null);
131 * @param uri The uri that requires a permission to query.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContentProvider.java100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, String arg2, String[] arg3, method in class:BridgeContentProvider
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDefaultPhotoManager.java90 // First try running a query. Images for local contacts are
91 // loaded by sending a query to the ContactsProvider.
92 final Cursor photoCursor = mContentResolver.query(
103 // If the query fails, try streaming the URI directly.
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java295 * Return cursor for table query.
298 public static Cursor query(ContentResolver cr, String[] projection) { method in class:Telephony.Sms
299 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER);
303 * Return cursor for table query.
306 public static Cursor query(ContentResolver cr, String[] projection, method in class:Telephony.Sms
308 return cr.query(CONTENT_URI, projection, where,
1869 Cursor cursor = SqliteWrapper.query(context, context.getContentResolver(),
1935 * Helper method to query this table.
1938 public static Cursor query( method in class:Telephony.Mms
1940 return cr.query(CONTENT_UR
1947 public static Cursor query( method in class:Telephony.Mms
[all...]
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java174 Cursor cursor = mResolver.query(uri, null, null, null, null);
190 Cursor cursor = mResolver.query(uri, new String[] {
201 cursor = mResolver.query(uri, new String[] {
218 Cursor cursor = mResolver.query(uri, new String[] {
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DShellUiAutomatorBridge.java69 cursor = provider.query(null, Settings.Secure.CONTENT_URI,
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java663 * cursor when query is called, or null for default
684 * cursor when query is called, or null for default
823 * cursor when query is called
1004 * @param table The table name to compile the query against.
1025 * @param limit Limits the number of rows returned by the query,
1031 public Cursor query(boolean distinct, String table, String[] columns, method in class:SQLiteDatabase
1042 * @param table The table name to compile the query against.
1063 * @param limit Limits the number of rows returned by the query,
1067 * when the query is executed.
1072 public Cursor query(boolea method in class:SQLiteDatabase
1198 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
1236 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
2181 newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java113 Log.w(TAG, "Failed to query", e);
124 cursor = resolver.query(stateUri, null, null, null, null);
164 cursor = client.query(
181 Log.w(TAG, "Failed to query", e);
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java120 final Cursor cursor = mResolver.query(Email.CONTENT_URI,
170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI,

Completed in 2240 milliseconds

12345678