Searched refs:selectionArgs (Results 1 - 25 of 118) sorted by relevance

12345

/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java32 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 DCrashingIconProvider.java48 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 DNaughtySuggestionProvider.java49 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 DProfileProvider.java76 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 DVoicemailTable.java39 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 DVoicemailStatusTable.java77 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 DFastScrollingIndexCache.java121 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 DSnapshotProvider.java152 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 DBrowserProvider2.java857 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 DSQLiteContentProvider.java76 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 DFileContentProvider.java65 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 DSlowSuggestionProvider.java47 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 DSpammySuggestionProvider.java47 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 DPhotoProvider.java48 * 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 DSQLiteContentProvider.java84 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 DMockContentProvider.java82 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 DAsyncQueryService.java161 * @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 DGroupMemberLoader.java119 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 DContentProviderTask.java117 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 DNoNullCursorAsyncQueryHandler.java37 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 DSearchRecentSuggestionsProvider.java153 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 DSQLiteContentProvider.java70 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 DHomeProvider.java44 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 DGoogleSuggestionProvider.java72 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 DPartialSuggestionProvider.java99 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

Completed in 378 milliseconds

12345