Searched defs:selectionArgs (Results 51 - 75 of 97) sorted by relevance

1234

/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
H A DMailAppProvider.java176 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
220 String[] selectionArgs) {
225 public int delete(Uri url, String selection, String[] selectionArgs) { argument
219 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockUiProvider.java411 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
447 String[] selectionArgs) {
452 public int delete(Uri url, String selection, String[] selectionArgs) { argument
446 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAbstractContactsProvider.java148 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
151 int deleted = deleteInTransaction(uri, selection, selectionArgs);
163 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
166 int updated = updateInTransaction(uri, values, selection, selectionArgs);
307 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument
310 String[] selectionArgs);
309 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DCallLogProvider.java162 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
209 final Cursor c = qb.query(db, projection, selectionBuilder.build(), selectionArgs, null,
284 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
310 selectionArgs);
314 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
323 selectionBuilder.build(), selectionArgs);
H A DVoicemailContentProvider.java107 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
113 selectionArgs, sortOrder);
117 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
122 selectionArgs);
126 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
130 return getTableDelegate(uriData).delete(uriData, selectionBuilder.build(), selectionArgs);
H A DVoicemailContentTable.java180 public int delete(UriData uriData, String selection, String[] selectionArgs) { argument
189 cursor = query(uriData, FILENAME_ONLY_PROJECTION, selection, selectionArgs, null);
210 selectionArgs);
215 String[] selectionArgs, String sortOrder) {
224 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder);
233 String[] selectionArgs) {
244 selectionArgs);
214 query(UriData uriData, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
232 update(UriData uriData, ContentValues values, String selection, String[] selectionArgs) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactDirectoryManagerTest.java81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
90 new String[] { "projection", "selection", "selectionArgs", "sortOrder",
95 Lists.newArrayList(selectionArgs).toString(),
520 assertEquals("[s1, s2]", cursor.getString(cursor.getColumnIndex("selectionArgs")));
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksProvider.java359 String selection, String[] selectionArgs, String sortOrder) {
375 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs,
382 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs,
406 if (selectionArgs != null) {
407 args = DatabaseUtils.appendSelectionArgs(args, selectionArgs);
426 return qb.query(db, projection, selection, selectionArgs, groupBy, null, sortOrder, limit);
442 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
447 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
358 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DHbpcdLookupProvider.java170 String[] selectionArgs, String sortOrder) {
305 Cursor c = qb.query(db, projectionIn, selection, selectionArgs, groupBy, null, orderBy);
319 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
324 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
331 count = db.update(TABLE_MCC_LOOKUP_TABLE, values, selection, selectionArgs);
169 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
H A DMmsProvider.java76 String selection, String[] selectionArgs, String sortOrder) {
213 selectionArgs, null, null, finalSortOrder);
542 String[] selectionArgs) {
602 selectionArgs, uri);
604 deletedRows = deleteParts(db, finalSelection, selectionArgs);
606 deletedRows = deleteTempDrmData(db, finalSelection, selectionArgs);
608 deletedRows = db.delete(table, finalSelection, selectionArgs);
618 String selection, String[] selectionArgs, Uri uri) {
620 selection, selectionArgs, null, null, null);
638 int count = db.delete(TABLE_PDU, selection, selectionArgs);
75 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
541 delete(Uri uri, String selection, String[] selectionArgs) argument
617 deleteMessages(Context context, SQLiteDatabase db, String selection, String[] selectionArgs, Uri uri) argument
650 deleteParts(SQLiteDatabase db, String selection, String[] selectionArgs) argument
655 deleteTempDrmData(SQLiteDatabase db, String selection, String[] selectionArgs) argument
660 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument
694 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DSmsProvider.java95 String[] selectionArgs, String sort) {
227 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
94 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument
H A DTelephonyProvider.java635 String[] selectionArgs, String sort) {
741 ret = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);
634 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java390 public int delete(Uri uri, String where, String[] selectionArgs) { argument
498 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
505 return queryAccount(projection, selection, selectionArgs, sortOrder);
508 return queryFolder(accountId, projection, selection, selectionArgs, sortOrder);
511 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder);
526 * @param selectionArgs
530 abstract protected Cursor queryAccount(String[] projection, String selection, String[] selectionArgs, argument
539 * @param selectionArgs
543 abstract protected Cursor queryFolder(String accountId, String[] projection, String selection, String[] selectionArgs, argument
559 * @param selectionArgs
563 queryMessage(String accountId, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
577 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java118 work[index].selectionArgs = TEST_SELECTION_ARGS;
126 work[index].projection, work[index].selection, work[index].selectionArgs,
174 work[index].selectionArgs = TEST_SELECTION_ARGS;
181 work[index].selection, work[index].selectionArgs, work[index].delayMillis);
200 work[index].selectionArgs = TEST_SELECTION_ARGS;
210 work[index].selectionArgs,
373 work.selectionArgs = TEST_SELECTION_ARGS;
383 aqs.startDelete(w.token, w.cookie, w.uri, w.selection, w.selectionArgs,
602 String[] selectionArgs, String orderBy) {
608 assertEquals(mWork[index].selectionArgs, selectionArg
601 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
623 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
634 delete(Uri uri, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DAlarmInstance.java181 * @param selectionArgs You may include ?s in selection, which will be
182 * replaced by the values from selectionArgs, in the order that they
187 String selection, String ... selectionArgs) {
189 selection, selectionArgs, null);
186 getInstances(ContentResolver contentResolver, String selection, String ... selectionArgs) argument
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java215 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
633 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
643 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryProvider.java220 * @param selectionArgs ignored.
226 final String[] selectionArgs, final String sortOrder) {
439 * @param selectionArgs ignored
444 public int delete(final Uri uri, final String selection, final String[] selectionArgs) argument
544 final String[] selectionArgs) throws UnsupportedOperationException {
225 query(final Uri uri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
543 update(final Uri uri, final ContentValues values, final String selection, final String[] selectionArgs) argument
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider.java754 String[] selectionArgs, String sortOrder)
763 return doSuggestQuery(selection, selectionArgs, match == URI_MATCH_BOOKMARKS_SUGGEST);
779 DatabaseUtils.concatenateWhere(whereClause, selection), selectionArgs,
785 private Cursor doSuggestQuery(String selection, String[] selectionArgs, boolean bookmarksOnly) { argument
788 if (selectionArgs[0] == null || selectionArgs[0].equals("")) {
791 String like = selectionArgs[0] + "%";
792 if (selectionArgs[0].startsWith("http")
793 || selectionArgs[0].startsWith("file")) {
813 if (bookmarksOnly || Patterns.WEB_URL.matcher(selectionArgs[
753 query(Uri url, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DEvent.java303 * @param selectionArgs Args to replace any '?'s in the selection
308 int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) {
318 selectionArgs = WHERE_CALENDARS_ARGS;
321 if (selectionArgs != null && selectionArgs.length > 0) {
322 selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1);
323 selectionArgs[selectionArgs
307 instancesQuery(ContentResolver cr, String[] projection, int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java857 private int count(Context context, Uri uri, String selection, String[] selectionArgs) { argument
859 .query(uri, EmailContent.ID_PROJECTION, selection, selectionArgs, null);
/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java487 String[] projection, String selection, String[] selectionArgs,
494 uri, projection, selection, selectionArgs, sortOrder);
486 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java114 String[] selectionArgs, String sortOrder) {
116 SqlArguments args = new SqlArguments(uri, selection, selectionArgs);
178 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
179 SqlArguments args = new SqlArguments(uri, selection, selectionArgs);
189 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
190 SqlArguments args = new SqlArguments(uri, selection, selectionArgs);
113 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/Mms/src/com/android/mms/
H A DSuggestionsProvider.java49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
70 String[] selectionArgs, String sortOrder) {
73 selectionArgs[0]));
81 return new SuggestionsCursor(c, selectionArgs[0]);
85 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
69 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java518 private Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
524 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);

Completed in 622 milliseconds

1234