/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
H A D | Provider.java | 32 String selection, String[] selectionArgs, 43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 31 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/ |
H A D | CrashingIconProvider.java | 48 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 49 if (DBG) Log.d(TAG, "delete(" + uri + ", " + selection + ", " + selectionArgs + ")"); 66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
H A D | NaughtySuggestionProvider.java | 49 String[] selectionArgs) { 54 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 48 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileProvider.java | 76 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 78 return query(uri, projection, selection, selectionArgs, sortOrder, null); 82 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 85 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, 98 String[] selectionArgs) { 101 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); 105 protected int deleteInTransaction(Uri uri, String selection, String[] selectionArgs) { argument 108 return mDelegate.deleteInTransaction(uri, selection, selectionArgs); 97 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | VoicemailTable.java | 39 public int delete(UriData uriData, String selection, String[] selectionArgs); argument 41 String[] selectionArgs, String sortOrder); 43 String[] selectionArgs); 40 query(UriData uriData, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 42 update(UriData uriData, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | VoicemailStatusTable.java | 77 public int delete(UriData uriData, String selection, String[] selectionArgs) { argument 81 selectionArgs); 86 String[] selectionArgs, String sortOrder) { 94 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder); 103 String[] selectionArgs) { 107 selectionArgs); 85 query(UriData uriData, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 102 update(UriData uriData, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | FastScrollingIndexCache.java | 121 private static String buildCacheKey(Uri queryUri, String selection, String[] selectionArgs, argument 133 if (selectionArgs != null) { 134 for (int i = 0; i < selectionArgs.length; i++) { 136 appendIfNotNull(sb, selectionArgs[i]); 198 public Bundle get(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, argument 202 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, 230 public void put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, argument 234 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder,
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | SnapshotProvider.java | 152 String[] selectionArgs, String sortOrder) { 163 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 173 Cursor cursor = qb.query(db, projection, selection, selectionArgs, 215 String[] selectionArgs) { 217 selectionArgs, null, null, null); 235 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 245 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 250 deleteDataFiles(db, selection, selectionArgs); 151 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 214 deleteDataFiles(SQLiteDatabase db, String selection, String[] selectionArgs) argument 263 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
H A D | BrowserProvider2.java | 857 Object[] getSelectionWithAccounts(Uri uri, String selection, String[] selectionArgs) { argument 866 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 875 return new Object[] { selection, selectionArgs, hasAccounts }; 879 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 914 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 920 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 924 Object[] withAccount = getSelectionWithAccounts(uri, selection, selectionArgs); 1134 doSuggestQuery(String selection, String[] selectionArgs, String limit) argument 1210 deleteBookmarks(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1228 appendBookmarksIfFolder(String selection, String[] selectionArgs) argument 1275 deleteInTransaction(Uri uri, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1591 filterSearchClient(String[] selectionArgs) argument 1668 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1877 updateBookmarksInTransaction(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 2015 updateHistoryInTransaction(ContentValues values, String selection, String[] selectionArgs) argument [all...] |
H A D | SQLiteContentProvider.java | 76 String[] selectionArgs, boolean callerIsSyncAdapter); 81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 157 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 173 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 181 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 75 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
H A D | FileContentProvider.java | 65 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 81 String[] selectionArgs, String sortOrder) { 87 String[] selectionArgs) { 80 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 86 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/ |
H A D | SlowSuggestionProvider.java | 47 String[] selectionArgs, String sortOrder) { 81 String[] selectionArgs) { 86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 46 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument 80 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/ |
H A D | SpammySuggestionProvider.java | 47 String[] selectionArgs, String sortOrder) { 75 String[] selectionArgs) { 80 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 46 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument 74 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 48 * in the selection. The selection and selectionArgs are not used when updating 272 public int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 276 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); 277 return deleteCascade(uri, match, selection, selectionArgs); 308 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 310 return query(uri, projection, selection, selectionArgs, sortOrder, null); 314 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 319 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); 329 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 364 addIdToSelectionArgs(int match, Uri uri, String[] selectionArgs) argument 380 addMetadataKeysToSelectionArgs(String[] selectionArgs, Uri uri) argument 477 deleteCascade(Uri uri, int match, String selection, String[] selectionArgs) argument 518 query(String table, String[] columns, String selection, String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) argument [all...] |
H A D | SQLiteContentProvider.java | 84 String[] selectionArgs, boolean callerIsSyncAdapter); 90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 159 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 167 count = updateInTransaction(uri, values, selection, selectionArgs, 176 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 183 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 191 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 199 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 83 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
H A D | MockContentProvider.java | 82 public Query withSelection(String selection, String... selectionArgs) { argument 84 mSelectionArgs = selectionArgs; 124 String[] selectionArgs, String sortOrder) { 137 if (!mAnySelection && !equals(selectionArgs, mSelectionArgs)) { 249 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 254 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) { 265 + queryToString(uri, projection, selection, selectionArgs, sortOrder)); 273 queryToString(uri, projection, selection, selectionArgs, sortOrder)); 279 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 304 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 123 equals(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 308 queryToString(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryService.java | 161 * @param selectionArgs You may include ?s in selection, which will be 162 * replaced by the values from selectionArgs, in the order that 170 String selection, String[] selectionArgs, String orderBy) { 181 info.selectionArgs = selectionArgs; 229 * @param selectionArgs You may include ?s in selection, which will be 230 * replaced by the values from selectionArgs, in the order that 238 String selection, String[] selectionArgs, long delayMillis) { 249 info.selectionArgs = selectionArgs; 169 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument 237 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs, long delayMillis) argument 274 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, long delayMillis) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | GroupMemberLoader.java | 119 List<String> selectionArgs = new ArrayList<String>(); 120 selectionArgs.add(GroupMembership.CONTENT_ITEM_TYPE); 121 selectionArgs.add(String.valueOf(mGroupId)); 122 return selectionArgs.toArray(new String[0]);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ContentProviderTask.java | 117 String selection, String[] selectionArgs) { 121 .withSelection(selection, selectionArgs) 131 String[] selectionArgs) { 134 .withSelection(selection, selectionArgs) 116 run(ContentResolver resolver, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 130 run(ContentResolver resolver, Uri uri, String selection, String[] selectionArgs) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 37 String[] selectionArgs, String orderBy) { 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, 36 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | SearchRecentSuggestionsProvider.java | 153 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 164 count = db.delete(sSuggestions, selection, selectionArgs); 245 * @param selectionArgs 248 private String[] createProjection(String[] selectionArgs) { argument 287 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 294 if (TextUtils.isEmpty(selectionArgs[0])) { 298 String like = "%" + selectionArgs[0] + "%"; 307 Cursor c = db.query(sSuggestions, createProjection(selectionArgs), suggestSelection, myArgs, 318 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | SQLiteContentProvider.java | 70 String[] selectionArgs, boolean callerIsSyncAdapter); 75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 153 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, 177 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 186 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 198 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 69 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | HomeProvider.java | 44 public int delete(Uri uri, String selection, String[] selectionArgs) {
argument 65 String[] selectionArgs, String sortOrder) {
71 String[] selectionArgs) {
64 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 70 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
H A D | GoogleSuggestionProvider.java | 72 String[] selectionArgs, String sortOrder) { 109 String[] selectionArgs) { 114 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 71 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 108 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
H A D | PartialSuggestionProvider.java | 99 String[] selectionArgs, String sortOrder) { 134 String[] selectionArgs) { 139 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 98 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument 133 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|