/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager_SelectionTest.java | 31 private Selection selection; field in class:MultiSelectManager_SelectionTest 41 selection = new Selection(); 42 selection.add(ids[0]); 43 selection.add(ids[1]); 44 selection.add(ids[2]); 49 assertEquals(3, selection.size()); 56 selection.remove(ids[0]); 57 selection.remove(ids[2]); 58 assertEquals(1, selection.size()); 63 selection [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ContentResolverCompat.java | 33 Uri uri, String[] projection, String selection, String[] selectionArgs, 40 String selection, String[] selectionArgs, String sortOrder, 47 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 54 String selection, String[] selectionArgs, String sortOrder, 58 uri, projection, selection, selectionArgs, sortOrder, 97 * explicit values in the {@code selection} parameter, so that queries 107 * @param selection A filter declaring which rows to return, formatted as an 110 * @param selectionArgs You may include ?s in selection, which will be 112 * appear in the selection. The values will be bound as Strings. 123 Uri uri, String[] projection, String selection, Strin 32 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 39 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 53 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 122 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument [all...] |
/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/support/v4/jellybean/android/support/v4/content/ |
H A D | ContentResolverCompatJellybean.java | 27 String selection, String[] selectionArgs, String sortOrder, 29 return resolver.query(uri, projection, selection, selectionArgs, sortOrder, 26 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, Object cancellationSignalObj) argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | FragmentTuner.java | 88 abstract void updateActionMenu(Menu menu, SelectionDetails selection); argument 150 public void updateActionMenu(Menu menu, SelectionDetails selection) { argument 210 public void updateActionMenu(Menu menu, SelectionDetails selection) { argument 226 copy.setEnabled(!selection.containsPartialFiles()); 229 share.setVisible(!selection.containsDirectories() && !selection.containsPartialFiles()); 230 delete.setVisible(selection.canDelete()); 232 share.setEnabled(!selection.containsDirectories() && !selection.containsPartialFiles()); 233 delete.setEnabled(selection [all...] |
/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/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/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 48 * selection.<br> 55 * @param selection The expected selection. 57 public static ViewAssertion hasSelection(String selection) { argument 58 return hasSelection(is(selection)); 63 * selection.<br> 70 * @param selection A matcher representing the expected selection. 72 public static ViewAssertion hasSelection(Matcher<String> selection) { argument 73 return new TextSelectionAssertion(selection); 146 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/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 71 return MockContentProvider.this.delete(url, selection, selectionArgs); 100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument 103 return MockContentProvider.this.query(url, projection, selection, 108 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument 110 return MockContentProvider.this.update(url, values, selection, selectionArgs); 189 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | MockIContentProvider.java | 49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument 86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, 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...] |