Searched refs:selection (Results 26 - 50 of 59) sorted by relevance

123

/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DMenu.java51 void processFile(String filename, boolean selection) { argument
62 void processDirectory(String path, boolean selection) { argument
H A DFileList.java158 abstract void processDirectory(String path, boolean selection); argument
162 * The flag indicates if this was from a selection or not.
164 abstract void processFile(String filename, boolean selection); argument
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java96 // String selection, String[] selectionArgs...
97 String selection = data.readString();
113 Cursor cursor = query(url, projection, selection, selectionArgs, sortOrder,
185 String selection = data.readString();
188 int count = delete(url, selection, selectionArgs);
200 String selection = data.readString();
203 int count = update(url, values, selection, selectionArgs);
332 public Cursor query(Uri url, String[] projection, String selection, argument
350 data.writeString(selection);
471 public int delete(Uri url, String selection, Strin argument
493 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentResolver.java291 * explicit values in the {@code selection} parameter, so that queries
301 * @param selection A filter declaring which rows to return, formatted as an
304 * @param selectionArgs You may include ?s in selection, which will be
306 * appear in the selection. The values will be bound as Strings.
314 String selection, String[] selectionArgs, String sortOrder) {
315 return query(uri, projection, selection, selectionArgs, sortOrder, null);
328 * explicit values in the {@code selection} parameter, so that queries
338 * @param selection A filter declaring which rows to return, formatted as an
341 * @param selectionArgs You may include ?s in selection, which will be
343 * appear in the selection
313 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
353 query(final Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
1784 maybeLogQueryToEventLog(long durationMillis, Uri uri, String[] projection, String selection, String sortOrder) argument
1824 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
[all...]
H A DContentProviderOperation.java309 * the key is an index into the selection argument array (see {@link Builder#withSelection})
310 * and the value is the index of the previous result that should be used for that selection
477 * Add a back references as a selection arg. Any value at that index of the selection arg
485 + "can have selection back-references");
556 * The selection and arguments to use. An occurrence of '?' in the selection will be
557 * replaced with the corresponding occurence of the selection argument. Any of the
558 * selection arguments may be overwritten by a selection argumen
563 withSelection(String selection, String[] selectionArgs) argument
[all...]
/frameworks/ex/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java57 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
H A DSQLiteDatabase.java1006 * @param selection A filter declaring which rows to return, formatted as an
1009 * @param selectionArgs You may include ?s in selection, which will be
1011 * appear in the selection. The values will be bound as Strings.
1030 String selection, String[] selectionArgs, String groupBy,
1032 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs,
1044 * @param selection A filter declaring which rows to return, formatted as an
1047 * @param selectionArgs You may include ?s in selection, which will be
1049 * appear in the selection. The values will be bound as Strings.
1071 String selection, String[] selectionArgs, String groupBy,
1073 return queryWithFactory(null, distinct, table, columns, selection, selectionArg
1029 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1070 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1109 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1152 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1196 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument
1234 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java109 String selection = (tag == null ? null : TrackerEntry.TAG + "=?");
113 selection, selectionArgs, null);
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java350 String selection;
374 selection = "upper(" + Data.DATA1 + ")=?"
382 selection = null;
388 Log.d(LOG_TAG, "==> selection: " + selection);
418 selection, // selection
/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,
304 builderSetSelection(builder, "selection");
318 assertEquals("selection", operationGetSelection(op2));
404 ContentProviderOperation.Builder builder, String selection)
409 field.set(builder, selection);
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
542 public int delete(Uri uri, String selection, Strin argument
403 builderSetSelection( ContentProviderOperation.Builder builder, String selection) argument
546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DMemoryFileProvider.java113 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/core/java/android/webkit/
H A DWebViewDatabaseClassic.java353 final String selection = "(" + PASSWORD_HOST_COL + " == ?)";
359 columns, selection, new String[] { schemePlusHost }, null,
449 final String selection = "(" + HTTPAUTH_HOST_COL + " == ?) AND ("
456 columns, selection, new String[] { host, realm }, null,
514 final String selection = "(" + FORMURL_URL_COL + " == ?)";
520 ID_PROJECTION, selection, new String[] { url }, null, null,
H A DSelectActionModeCallback.java107 String selection = mWebView.getSelection();
108 Browser.sendString(mWebView.getContext(), selection);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java84 public Cursor query(Uri url, String[] projectionIn, String selection, argument
104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/core/java/android/widget/
H A DAdapterView.java96 * Indicates whether to sync based on the selection or position. Possible
363 * @param parent The AdapterView where the selection happened
371 * Callback method to be invoked when the selection disappears from this
372 * view. The selection can disappear for instance when touch is activated
566 int selection = getSelectedItemPosition();
567 if (adapter != null && adapter.getCount() > 0 && selection >= 0) {
568 return adapter.getItem(selection);
889 final int selection = getSelectedItemPosition();
890 if (selection >= 0) {
892 mOnItemSelectedListener.onItemSelected(this, v, selection,
[all...]
/frameworks/base/core/java/android/app/
H A DSearchManager.java480 * query is being inserted. If false, the selection point will be placed at the end of the
807 // get the query selection, may be null
808 String selection = searchable.getSuggestSelection();
809 // inject query, either as selection args or inline
811 if (selection != null) { // use selection if provided
813 } else { // no selection, use REST pattern
824 return mContext.getContentResolver().query(uri, null, selection, selArgs, null);
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java571 String selection,
575 return mActivity.managedQuery(uri, projection, selection, selectionArgs, sortOrder);
577 return mContext.getContentResolver().query(uri, projection, selection, selectionArgs,
569 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardVerifier.java328 final Uri uri, final String selection,
332 uri, selection, selectionArgs, sortOrder);
326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java765 * @param selection A filter declaring which rows to return,
768 * @return the number of rows in the table filtered by the selection
770 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) { argument
771 return queryNumEntries(db, table, selection, null);
778 * @param selection A filter declaring which rows to return,
781 * @param selectionArgs You may include ?s in selection,
783 * in order that they appear in the selection.
785 * @return the number of rows in the table filtered by the selection
787 public static long queryNumEntries(SQLiteDatabase db, String table, String selection, argument
789 String s = (!TextUtils.isEmpty(selection))
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs167 const bool debugSelection = false; // logs selection events
240 static float selectionRadius = 50.0f; // movement greater than this will result in no selection
1181 int selection;
1184 if ((selection = intersectDetailTexture(x, y, &point)) != -1) {
1185 if (debugSelection) rsDebug("Selected detail texture on doStop():", selection);
1186 data[0] = selection;
1191 else if ((selection = doSelection(x, y))!= -1) {
1192 if (debugSelection) rsDebug("Selected item on doStop():", selection);
1193 data[0] = selection;
1214 if (debugSelection) rsDebug("doLongPress(), selection
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java77 public Cursor query(Uri url, String[] projection, String selection, argument

Completed in 656 milliseconds

123