Searched defs:selection (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/content/
H A DContentResolverCompat.java45 * explicit values in the {@code selection} parameter, so that queries
55 * @param selection A filter declaring which rows to return, formatted as an
58 * @param selectionArgs You may include ?s in selection, which will be
60 * appear in the selection. The values will be bound as Strings.
71 Uri uri, String[] projection, String selection, String[] selectionArgs,
80 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
98 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
70 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 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
/frameworks/base/core/java/android/provider/
H A DSearchIndexablesProvider.java106 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
179 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument
188 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
187 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java27 * Helper for building selection clauses for {@link SQLiteDatabase}. Each
47 * Append the given selection clause to the internal state. Each clause is
50 public SelectionBuilder append(String selection, Object... selectionArgs) { argument
51 if (TextUtils.isEmpty(selection)) {
54 "Valid selection required when including arguments");
65 mSelection.append("(").append(selection).append(")");
78 * Return selection string for current internal state.
87 * Return selection arguments for current internal state.
/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/tests/coretests/src/android/widget/
H A DEditorCursorTest.java196 final Integer textDirection, final Integer selection) {
203 if (selection != null) mEditText.setSelection(selection);
225 private void setEditTextHint(final String hint, final int textDirection, final int selection) { argument
226 setEditTextProperties(null, hint, textDirection, selection);
229 private void setEditTextText(final String text, final Integer selection) { argument
230 setEditTextProperties(text, null, null, selection);
195 setEditTextProperties(final String text, final String hint, final Integer textDirection, final Integer selection) argument
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java50 * selection.<br>
57 * @param selection The expected selection.
59 public static ViewAssertion hasSelection(String selection) { argument
60 return hasSelection(is(selection));
65 * selection.<br>
72 * @param selection A matcher representing the expected selection.
74 public static ViewAssertion hasSelection(Matcher<String> selection) { argument
75 return new TextSelectionAssertion(selection);
158 TextSelectionAssertion(Matcher<String> selection) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DDumpHeapProvider.java52 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
67 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
72 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
56 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/opt/telephony/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DFakeSmsContentProvider.java76 @Nullable String selection, @Nullable String[] selectionArgs,
79 return db.query(RAW_TABLE_NAME, projection, selection, selectionArgs, null, null,
91 public int delete(@NonNull Uri uri, @Nullable String selection, argument
100 count = db.update(RAW_TABLE_NAME, cv, selection, selectionArgs);
104 count = db.delete(RAW_TABLE_NAME, selection, selectionArgs);
75 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) {
104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
115 String selection, String[] selectionArgs, String sortOrder) {
118 TestCase.assertNull(selection);
98 queryEntities(Uri uri, String selection, String[] selectionArgs, String sortOrder) argument
114 query(Uri uri,String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
65 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
70 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
65 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
70 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java52 public String selection; field in class:AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs,
100 args.result = resolver.update(args.uri, args.values, args.selection,
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
154 * @param selection A filter declaring which rows to return, formatted as an
157 * @param selectionArgs You may include ?s in selection, which will be
159 * appear in the selection. The values will be bound as Strings.
165 String[] projection, String selection, String[] selectionArgs,
175 args.selection = selection;
164 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
[all...]
H A DCursorLoader.java133 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
139 mSelection = selection;
210 public void setSelection(String selection) { argument
211 mSelection = selection;
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java113 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestFontsProvider.java76 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, argument
116 public int delete(@NonNull Uri uri, @Nullable String selection, argument
122 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, argument

Completed in 461 milliseconds

123