Searched refs:query (Results 101 - 125 of 222) sorted by relevance

123456789

/frameworks/native/include/gui/
H A DBufferQueueProducer.h52 // can be obtained by calling query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS,
135 virtual int query(int what, int* outValue);
/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.java297 * Return cursor for table query.
300 public static Cursor query(ContentResolver cr, String[] projection) { method in class:Telephony.Sms
301 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER);
305 * Return cursor for table query.
308 public static Cursor query(ContentResolver cr, String[] projection, method in class:Telephony.Sms
310 return cr.query(CONTENT_URI, projection, where,
1831 Cursor cursor = SqliteWrapper.query(context, context.getContentResolver(),
1897 * Helper method to query this table.
1900 public static Cursor query( method in class:Telephony.Mms
1902 return cr.query(CONTENT_UR
1909 public static Cursor query( method in class:Telephony.Mms
[all...]
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java176 Cursor cursor = mResolver.query(uri, null, null, null, null);
192 Cursor cursor = mResolver.query(uri, new String[] {
203 cursor = mResolver.query(uri, new String[] {
220 Cursor cursor = mResolver.query(uri, new String[] {
/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.java116 Log.w(TAG, "Failed to query", e);
127 cursor = resolver.query(stateUri, null, null, null, null);
167 cursor = client.query(
188 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,
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java143 * Enables query refinement for all suggestions. This means that an additional icon
145 * copied to the query text field.
157 * Returns the current query refinement preference.
158 * @return value of query refinement preference
175 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions).
181 String query = (constraint == null) ? "" : constraint.toString();
193 cursor = mSearchManager.getSuggestions(mSearchable, query, QUERY_LIMIT);
201 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e);
241 // Check if the Cursor indicates that the query is not complete and show the spinner
447 * Gets the text to show in the query fiel
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java144 public Cursor query(Uri uri, String[] projection, String selection,
163 public Cursor query(Uri uri, String[] projection, String selection,
179 public Cursor query(Uri uri, String[] projection, String selection,
195 public Cursor query(Uri uri, String[] projection, String selection,
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContentProviderOperationTest.TestContentProvider
H A DMemoryFileProvider.java113 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:MemoryFileProvider
115 throw new UnsupportedOperationException("query not supported");
/frameworks/base/media/java/android/media/session/
H A DMediaController.java625 * Request that the player start playback for a specific search query.
626 * An empty or null query should be treated as a request to play any
629 * @param query The search query.
631 * about the query.
633 public void playFromSearch(String query, Bundle extras) { argument
634 if (query == null) {
637 query = "";
640 mSessionBinder.playFromSearch(query, extras);
642 Log.wtf(TAG, "Error calling play(" + query
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java74 * <li>{@link #query} which returns data to the caller</li>
206 public Cursor query(String callingPkg, Uri uri, String[] projection, method in class:ContentProvider.Transport
215 // We do not call ContentProvider#query with a modified where clause since
224 // we have to execute the query as if allowed to get a cursor with the
226 Cursor cursor = ContentProvider.this.query(uri, projection, selection,
238 return ContentProvider.this.query(
846 * (via {@link #query}, {@link #insert}, etc). Deferred initialization
893 * Implement this to handle query requests from clients.
914 // If the query ends in a specific record number, we're
916 // WHERE clause in our query
947 public abstract @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, method in class:ContentProvider
1014 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, method in class:ContentProvider
[all...]
H A DCursorLoader.java32 * query on a background thread so that it does not block the application's UI.
34 * <p>A CursorLoader must be built with the full information for the query to
64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection,
99 // An async query came in while the loader is stopped
120 * to specify the query to perform.
129 * {@link ContentResolver#query(Uri, String[], String, String[], String)
130 * ContentResolver.query()} for documentation on the meaning of the
H A DIContentProvider.java38 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, method in interface:IContentProvider
/frameworks/base/core/java/android/provider/
H A DCallLog.java566 cursor = resolver.query(Phone.CONTENT_URI,
574 cursor = resolver.query(
641 c = resolver.query(
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java410 * @param enqueue the id used to identify/query the DownloadManager with.
414 Query query = new Query();
415 query.setFilterById(enqueue);
416 Cursor c = mDownloadManager.query(query);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java93 Cursor cursor = mDownloadManager.query(new Query());
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java97 Cursor c = mDatabase.query(testTable, new String[]{"col1", "desc"},
/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/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionStorage.java116 Cursor cursor = mDbSessions.query(true, SESSION_TABLE,
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h111 virtual int query(int what, int* value);
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SampleProvider
66 * Choose the table to query and a sort order based on the code returned for the incoming
95 // call the code to actually do the query
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsBroadcastUndelivered.java104 cursor = mResolver.query(sRawUri, PDU_PENDING_MESSAGE_PROJECTION, null, null, null);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java114 public Cursor query(Uri uri,String[] projection, method in class:ExportTestProvider
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java59 Cursor cursor = ContentResolverCompat.query(getContext().getContentResolver(),
95 // An async query came in while the loader is stopped
116 * to specify the query to perform.
125 * {@link ContentResolver#query(Uri, String[], String, String[], String)
126 * ContentResolver.query()} for documentation on the meaning of the

Completed in 994 milliseconds

123456789