Searched refs:query (Results 126 - 150 of 196) sorted by relevance

12345678

/frameworks/base/media/java/android/media/session/
H A DMediaSession.java492 private void dispatchPlayFromSearch(String query, Bundle extras) { argument
493 postToCallback(CallbackMessageHandler.MSG_PLAY_SEARCH, query, extras);
771 * Override to handle requests to begin playback from a search query. An
772 * empty query indicates that the app may play any music. The
776 public void onPlayFromSearch(String query, Bundle extras) { argument
900 public void onPlayFromSearch(String query, Bundle extras) { argument
903 session.dispatchPlayFromSearch(query, extras);
/frameworks/native/libs/gui/
H A DSurface.cpp51 ANativeWindow::query = hook_query; member in class:android::ANativeWindow
165 return c->query(what, value);
342 int Surface::query(int what, int* value) const { function in class:android::Surface
344 ALOGV("Surface::query");
381 err = mGraphicBufferProducer->query(what, value);
390 return mGraphicBufferProducer->query(what, value);
H A DIGraphicBufferProducer.cpp195 virtual int query(int what, int* value) { function in class:android::BpGraphicBufferProducer
376 int res = query(what, &value);
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java168 directoryCursor = mContentResolver.query(
185 cursor = mContentResolver.query(uri, EmailQuery.PROJECTION, null, null, null);
238 Cursor cursor = mContentResolver.query(
513 // We got the result for an unexpected query (the user is still typing)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryFragment.java127 private static final String EXTRA_QUERY = "query";
136 public static void showSearch(FragmentManager fm, RootInfo root, String query, int anim) { argument
137 show(fm, TYPE_SEARCH, root, null, query, anim);
145 String query, int anim) {
150 args.putString(EXTRA_QUERY, query);
264 final String query = getArguments().getString(EXTRA_QUERY);
278 root.authority, root.rootId, query);
144 show(FragmentManager fm, int type, RootInfo root, DocumentInfo doc, String query, int anim) argument
H A DRecentLoader.java131 final Cursor cursor = client.query(
H A DRecentsCreateFragment.java162 final Cursor cursor = resolver.query(
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java358 * Return documents that that match the given query under the requested
360 * order. How documents are matched against the query string is an
383 * @param query string to match documents against.
392 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
475 public final Cursor query(Uri uri, String[] projection, String selection, method in class:DocumentsProvider
503 Log.w(TAG, "Failed during query", e);
H A DBrowserContract.java393 * entries unless you add the {@link #QUERY_PARAMETER_SHOW_DELETED} query paramter
394 * to the URI when performing your query.
687 * A table that stores settings specific to the browser. Only support query and insert.
722 cursor = context.getContentResolver().query(CONTENT_URI, new String[] { VALUE },
H A DDocumentsContract.java74 // content://com.example/root/sdcard/search/?query=pony
502 * choose to retry, resulting in a new query.
523 private static final String PARAM_QUERY = "query";
684 String authority, String rootId, String query) {
687 .appendQueryParameter(PARAM_QUERY, query).build();
767 * Extract the search query from a URI built by
683 buildSearchDocumentsUri( String authority, String rootId, String query) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsNumberUtils.java260 cursor = context.getContentResolver().query(MccIdd.CONTENT_URI, projection,
464 cursor = context.getContentResolver().query(MccLookup.CONTENT_URI,
H A DWapPushOverSms.java409 cursor = SqliteWrapper.query(
424 Rlog.e(TAG, "Failed to query delivery or read report thread id", e);
443 cursor = SqliteWrapper.query(
459 Rlog.e(TAG, "failed to query existing notification ind", e);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java258 * Cursor cursor = mContentResolver.query(
293 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
295 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
297 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
299 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
317 * Cursor cursorForId = mContentResolver.query(
324 * Cursor cursorForContent = mContentResolver.query(
333 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
335 * {@link ContentResolver#query(Uri, String[], String, String[], String)}
337 * {@link ContentResolver#query(Ur
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp211 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers);
213 ALOGE("%s: Stream %d: Could not query min undequeued buffers (error %d, bufCount %d)",
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java79 cursor = resolver.query(args.uri, args.projection,
143 * This method begins an asynchronous query. When the query is done
147 * the query.
279 * Called when an asynchronous query is completed.
281 * @param token the token to identify the query, passed in from
284 * @param cursor The cursor holding the results from the query.
293 * @param token the token to identify the query, passed in from
306 * @param token the token to identify the query, passed in from
319 * @param token the token to identify the query, passe
[all...]
H A DContentResolver.java367 * such as */*, to query for all available MIME types that match the
420 public final Cursor query(Uri uri, String[] projection, method in class:ContentResolver
422 return query(uri, projection, selection, selectionArgs, sortOrder, null);
455 * when the query is executed.
459 public final Cursor query(final Uri uri, String[] projection, method in class:ContentResolver
478 qCursor = unstableProvider.query(mPackageName, uri, projection,
489 qCursor = stableProvider.query(mPackageName, uri, projection,
496 // Force query execution. Might fail and throw a runtime exception here.
533 * {@link #query}, {@link #openInputStream(android.net.Uri)}, etc. The
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp297 // includes the query itself.
298 const char *query = env->GetStringUTFChars(sqlString, NULL); local
299 char *message = (char*) malloc(strlen(query) + 50);
302 strcat(message, query);
304 env->ReleaseStringUTFChars(sqlString, query);
446 "Queries can be performed using SQLiteDatabase query or rawQuery methods only.");
/frameworks/base/media/java/android/media/
H A DRingtone.java158 cursor = res.query(uri, MEDIA_COLUMNS, null, null, null);
H A DMediaScanner.java1072 // query for only one file
1095 // we need to query the database in small batches, to avoid problems
1107 c = mMediaProvider.query(mPackageName, limitUri, FILES_PRESCAN_PROJECTION,
1167 c = mMediaProvider.query(mPackageName, mImagesUri, ID_PROJECTION, null, null, null, null);
1198 c = mMediaProvider.query(
1508 fileList = mMediaProvider.query(mPackageName, mFilesUri,
1539 c = mMediaProvider.query(mPackageName, mFilesUriNoNotify, FILES_PRESCAN_PROJECTION,
1846 // but restrict the query to just audio files
1847 fileList = mMediaProvider.query(mPackageName, mFilesUri, FILES_PRESCAN_PROJECTION,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserInfoController.java161 final Cursor cursor = context.getContentResolver().query(
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java872 public void playFromSearch(String query, Bundle extras) { argument
874 mCb.onPlayFromSearch(query, extras);
1091 public void playFromSearch(String query, Bundle extras) throws RemoteException { argument
1092 mSessionCb.playFromSearch(query, extras);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java176 Cursor cursor = trackerData.query(tagFilter);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java394 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
412 if (file.getName().toLowerCase().contains(query)) {
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp164 // TODO: This query is moderately expensive, investigate adding some sort
167 mNativeWindow->query(mNativeWindow.get(),
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java196 cursor = client.query(uri, null, null, null, null);

Completed in 530 milliseconds

12345678