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

1234567

/packages/providers/TvProvider/src/com/android/providers/tv/util/
H A DSqlParams.java26 public SqlParams(String tables, String selection, String... selectionArgs) { argument
28 setWhere(selection, selectionArgs);
47 public void setWhere(String selection, String... selectionArgs) { argument
49 mSelectionArgs = selectionArgs;
52 public void appendWhere(String selection, String... selectionArgs) { argument
54 if (selectionArgs != null) {
55 mSelectionArgs = DatabaseUtils.appendSelectionArgs(mSelectionArgs, selectionArgs);
/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/providers/BookmarkProvider/src/com/android/bookmarkstore/
H A DBookmarkProvider.java49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
59 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
H A DNullContentProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/apps/Messaging/src/com/android/messaging/mmslib/
H A DSqliteWrapper.java38 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
40 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
51 ContentValues values, String where, String[] selectionArgs) {
53 return resolver.update(uri, values, where, selectionArgs);
64 String where, String[] selectionArgs) {
66 return resolver.delete(uri, where, selectionArgs);
37 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
50 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
63 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBoundCursorLoader.java33 final String[] projection, final String selection, final String[] selectionArgs,
35 super(context, uri, projection, selection, selectionArgs, sortOrder);
32 BoundCursorLoader(final String bindingId, final Context context, final Uri uri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
H A DFrequentContactsCursorQueryData.java40 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
41 super(bindingId, context, uri, projection, selection, selectionArgs, sortOrder);
103 String selection, String[] selectionArgs, String sortOrder) {
105 super(context, Contacts.CONTENT_STREQUENT_URI, projection, selection, selectionArgs,
39 FrequentContactsCursorLoader(String bindingId, Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
102 FrequentContactsCursorQueryData(Context context, 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/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DCarrierProvider.java62 String[] selectionArgs, String sortOrder) {
68 + " selectionArgs=" + Arrays.toString(selectionArgs));
74 Cursor c = qb.query(db, projectionIn, selection, selectionArgs, null, null, sortOrder);
92 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
98 + " selectionArgs=" + Arrays.toString(selectionArgs));
101 selection, selectionArgs);
107 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
114 + " selectionArgs
61 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DPackageRemovedReceiver.java49 String[] selectionArgs = {packageName};
52 .withSelection(selection, selectionArgs).build());
54 .withSelection(selection, selectionArgs).build());
57 .withSelection(selection, selectionArgs).build());
60 .withSelection(selection, selectionArgs).build());
63 .withSelection(selection, selectionArgs).build());
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DMockContentProvider.java95 public Query withSelection(String selection, String... selectionArgs) { argument
97 mSelectionArgs = selectionArgs;
137 String[] selectionArgs, String sortOrder) {
154 if (!mAnySelection && !Arrays.equals(selectionArgs, mSelectionArgs)) {
326 * @param selectionArgs The selection args to expect.
329 public Delete withSelection(String selection, @Nullable String[] selectionArgs) { argument
331 mSelectionArgs = selectionArgs;
368 private boolean equals(Uri uri, String selection, String[] selectionArgs) { argument
370 && Arrays.equals(mSelectionArgs, selectionArgs);
394 @Nullable String[] selectionArgs) {
136 equals(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
391 Update(Uri uri, ContentValues contentValues, @Nullable String selection, @Nullable String[] selectionArgs) argument
423 equals(Uri uri, ContentValues contentValues, @Nullable String selection, @Nullable String[] selectionArgs) argument
500 expectUpdate(Uri contentUri, ContentValues contentValues, @Nullable String selection, @Nullable String[] selectionArgs) argument
516 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
580 update(Uri uri, ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs) argument
604 updateToString(Uri uri, ContentValues contentValues, @Nullable String selection, @Nullable String[] selectionArgs) argument
613 delete(Uri uri, String selection, String[] selectionArgs) argument
633 deleteToString(Uri uri, String selection, String[] selectionArgs) argument
638 queryToString(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
H A DForwardingContentProvider.java52 String[] selectionArgs, String sortOrder) {
54 return mClient.query(url, projection, selection, selectionArgs, sortOrder);
63 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) {
65 return mClient.query(url, projection, selection, selectionArgs, sortOrder,
109 public synchronized int delete(Uri url, String selection, String[] selectionArgs) { argument
111 return mClient.delete(url, selection, selectionArgs);
119 String selection, String[] selectionArgs) {
121 return mClient.update(url, values, selection, selectionArgs);
51 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
62 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
118 update(Uri url, 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.java65 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
67 return query(uri, projection, selection, selectionArgs, sortOrder, null);
71 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
75 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1,
90 String[] selectionArgs) {
92 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs);
96 protected int deleteInTransaction(Uri uri, String selection, String[] selectionArgs) { argument
98 return mDelegate.deleteInTransaction(uri, selection, selectionArgs);
89 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DVoicemailTable.java40 public int delete(UriData uriData, String selection, String[] selectionArgs); argument
42 String[] selectionArgs, String sortOrder);
44 String[] selectionArgs);
41 query(UriData uriData, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
43 update(UriData uriData, 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...]
/packages/apps/Dialer/java/com/android/dialer/database/
H A DCallLogQueryHandler.java116 List<String> selectionArgs = new ArrayList<>();
120 .appendOmtpVoicemailStatusSelectionClause(mContext, where, selectionArgs);
129 selectionArgs.toArray(new String[selectionArgs.size()]),
139 List<String> selectionArgs = new ArrayList<>();
143 .appendOmtpVoicemailSelectionClause(mContext, where, selectionArgs);
151 selectionArgs.toArray(new String[selectionArgs.size()]),
159 List<String> selectionArgs = new ArrayList<>();
163 selectionArgs
[all...]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
H A DTelephonyProviderTest.java199 String[] selectionArgs = { insertNumeric };
202 + "\ntestInsertCarriers selectionArgs: " + selectionArgs);
204 testProjection, selection, selectionArgs, null);
247 String[] selectionArgs = { insertNumeric };
250 + "\ntestInsertCarriers selectionArgs: " + selectionArgs);
252 testProjection, selection, selectionArgs, null);
269 + "testInsertCarriers selectionArgs: " + selectionArgs);
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
H A DUserDictionaryListTest.java71 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
95 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
100 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/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/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/Camera2/src/com/android/camera/data/
H A DFilmstripContentQueries.java65 String[] selectionArgs = new String[] { CAMERA_PATH, Long.toString(minimumId) };
68 selection, selectionArgs, orderBy);
/packages/apps/Contacts/src/com/android/contacts/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

Completed in 536 milliseconds

1234567