/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
H A D | DisabledProvider.java | 34 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 D | EnabledProvider.java | 34 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 D | TestProvider.java | 33 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 D | TestReceiver.java | 33 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 D | NullProvider.java | 15 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 D | NullProvider.java | 15 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 D | SQLiteQueryBuilder.java | 87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 90 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 109 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 151 * When set, the selection is verified against malicious arguments. 160 * additionally also parenthesis escaping selection are caught. 269 * @param selection A filter declaring which rows to return, 272 * @param selectionArgs You may include ?s in selection, which 274 * that they appear in the selection. The values will be bound 292 String selection, Strin 291 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder) argument 330 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument 372 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit, CancellationSignal cancellationSignal) argument 433 buildQuery( String[] projectionIn, String selection, String groupBy, String having, String sortOrder, String limit) argument 469 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument 514 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String groupBy, String having) argument 553 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | Mapper.java | 190 final String selection; 193 selection = COLUMN_PARENT_DOCUMENT_ID + " = ?"; 196 selection = COLUMN_PARENT_DOCUMENT_ID + " IS NULL"; 212 selection + " AND " + COLUMN_ROW_STATE + " = ?", 233 * @param selection SQL where closure to select rows that shares the same parent. 234 * @param args Argument for selection SQL. 242 String selection, 262 queryCandidate(selection, args, mappingKeys, values)) { 319 final String selection; 322 selection 238 putDocuments( String parentId, ContentValues[] valuesList, @Nullable ContentValues[] rootExtraValuesList, String selection, String[] args, String[] mappingKeys) argument 410 queryCandidate( String selection, String[] args, String[] mappingKeys, ContentValues values) argument 432 queryCandidate( String selection, String[] args, String mappingKey, ContentValues values) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 52 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 D | SearchRecentSuggestionsProvider.java | 225 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 236 count = db.delete(sSuggestions, selection, selectionArgs); 319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 369 // Tack on the user's selection, if present 370 if (selection != null && selection.length() > 0) { 376 whereClause.append(selection); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatResponseMessage.java | 39 public void setMenuSelection(int selection) { argument 40 mUsersMenuSelection = selection;
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserProvider.java | 35 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/ex/common/java/com/android/common/ |
H A D | Search.java | 103 // get the query selection, may be null 104 String selection = searchable.getSuggestSelection(); 105 // inject query, either as selection args or inline 107 if (selection != null) { 109 } else { // no selection, use REST pattern 121 return context.getContentResolver().query(uri, null, selection, selArgs, null);
|
/frameworks/support/compat/java/android/support/v4/content/ |
H A D | ContentResolverCompat.java | 45 * 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/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 45 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 D | SharingSupportProvider.java | 45 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/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerProvider.java | 86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 88 int result = db.delete(TABLE_NAME, selection, selectionArgs); 111 public Cursor query(Uri uri, String[] projection, String selection, argument 115 Cursor cursor = db.query(TABLE_NAME, projection, selection, 122 public int update(Uri uri, ContentValues values, String selection, argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | FakeSmsContentProvider.java | 76 @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/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 50 * 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/core/java/com/android/internal/content/ |
H A D | SelectionBuilder.java | 27 * 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/services/core/java/com/android/server/am/ |
H A D | DumpHeapProvider.java | 52 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/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument 148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 155 count = updateInTransaction(uri, values, selection, selectionArgs); 166 count = updateInTransaction(uri, values, selection, selectionArgs); 176 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 183 count = deleteInTransaction(uri, selection, selectionArgs); 194 count = deleteInTransaction(uri, selection, selectionArgs);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 258 * String selection = Data.CONTACT_ID + "=?"; 261 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 277 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 280 public boolean init(final String selection, final String[] selectionArgs) { argument 281 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 288 public boolean init(final Uri contentUri, final String selection, argument 290 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 296 * @param selection selection used with 306 public boolean init(final Uri contentUri, final String selection, argument 350 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument 412 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorCursorTest.java | 196 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/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 70 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 72 return MockContentProvider.this.delete(url, selection, selectionArgs); 109 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument 111 return MockContentProvider.this.update(url, values, selection, selectionArgs); 196 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 216 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 222 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|