Searched refs:selection (Results 51 - 75 of 152) sorted by relevance

1234567

/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinner.java150 ReplyFromAccount selection = (ReplyFromAccount) getItemAtPosition(position);
152 if (!selection.name.equals(mAccount.name)) {
153 mAccount = selection;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPicasaSource.java108 String selection = PICASA_ALBUM_ID + " = '" + data.albumId + "'";
115 projection, selection, null, null);
193 StringBuilder selection = new StringBuilder();
197 if (selection.length() > 0) {
198 selection.append(" OR ");
201 selection.append(PICASA_ALBUM_ID + " = '" + albumId + "'");
208 if (selection.length() == 0) {
212 log(TAG, "selection is (" + selection.length() + "): " + selection
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DVoicemailContentProvider.java107 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
110 SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
117 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
119 SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
126 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
128 SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
391 * Creates a clause to restrict the selection to the calling provider or null if the caller has
H A DGlobalSearchSupport.java190 String selection = null;
193 cursor, db, projection, selection, searchClause, limit, cancellationSignal);
225 String[] projection, String selection, String filter, String limit,
247 if (selection != null) {
248 sb.append(" WHERE ").append(selection);
224 addSearchSuggestionsBasedOnFilter(MatrixCursor cursor, SQLiteDatabase db, String[] projection, String selection, String filter, String limit, CancellationSignal cancellationSignal) argument
H A DContactsProvider2.java2091 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
2107 return mProfileProvider.update(uri, values, selection, selectionArgs);
2110 return super.update(uri, values, selection, selectionArgs);
2115 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
2123 return mProfileProvider.delete(uri, selection, selectionArgs);
2126 return super.delete(uri, selection, selectionArgs);
2686 private Long findGroupByRawContactId(String selection, long rawContactId) { argument
2689 PROJECTION_GROUP_ID, selection,
2973 private int deleteData(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) { argument
2984 selection, selectionArg
3399 deleteInTransaction(Uri uri, String selection, String[] selectionArgs) argument
3652 deleteSettings(Uri uri, String selection, String[] selectionArgs) argument
3739 deleteStatusUpdates(String selection, String[] selectionArgs) argument
3751 deleteStreamItems(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
3774 deleteStreamItemPhotos(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
3817 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
4067 updateStatusUpdate(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
4092 updateStreamItems(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
4107 updateStreamItemPhotos(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
4131 getWhereClauseForStatusUpdatesTable(String selection) argument
4264 updateSettings(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
4274 updateRawContacts(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
4429 updateData(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
4484 updateContactOptions(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
4966 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
4972 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
5141 queryLocal(final Uri uri, final String[] projection, String selection, String[] selectionArgs, String sortOrder, final long directoryId, final CancellationSignal cancellationSignal) argument
6428 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String having, String limit, CancellationSignal cancellationSignal) argument
6450 queryWithContactIdAndLookupKey(SQLiteQueryBuilder lookupQb, SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit, String contactIdColumn, long contactId, String lookupKeyColumn, String lookupKey, CancellationSignal cancellationSignal) argument
6486 bundleFastScrollingIndexExtras(Cursor cursor, Uri queryUri, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression, CancellationSignal cancellationSignal) argument
6561 getFastScrollingIndexExtras(final Uri queryUri, final SQLiteDatabase db, final SQLiteQueryBuilder qb, final String selection, final String[] selectionArgs, final String sortOrder, String countExpression, final CancellationSignal cancellationSignal) argument
7448 appendAccountToSelection(Uri uri, String selection) argument
7476 appendAccountIdToSelection(Uri uri, String selection) argument
7807 openPhotoAssetFile(SQLiteDatabase db, Uri uri, String mode, String selection, String[] selectionArgs) argument
7988 outputRawContactsAsVCard(Uri uri, OutputStream stream, String selection, String[] selectionArgs) argument
[all...]
H A DCallLogProvider.java129 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
136 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
251 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
259 SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
281 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
282 SelectionBuilder selectionBuilder = new SelectionBuilder(selection);
327 * modify the selection to restrict to non-voicemail entries only.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java650 String[] projection, String selection, String[] selectionArgs, String sortOrder,
654 Cursor c = context.getContentResolver().query(uri, projection, selection, selectionArgs,
672 String selection, String[] selectionArgs, String sortOrder, int column) {
673 return getFirstRowColumn(context, uri, projection, selection, selectionArgs,
681 String selection, String[] selectionArgs, String sortOrder, int column,
683 return getFirstRowColumn(context, uri, projection, selection, selectionArgs,
691 String selection, String[] selectionArgs, String sortOrder, int column) {
692 return getFirstRowColumn(context, uri, projection, selection, selectionArgs,
700 String selection, String[] selectionArgs, String sortOrder, int column,
702 return getFirstRowColumn(context, uri, projection, selection, selectionArg
649 getFirstRowColumn(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, T defaultValue, CursorGetter<T> getter) argument
671 getFirstRowLong(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument
680 getFirstRowLong(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, Long defaultValue) argument
690 getFirstRowInt(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument
699 getFirstRowInt(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, Integer defaultValue) argument
709 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument
718 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, String defaultValue) argument
728 getFirstRowBlob(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, byte[] defaultValue) argument
836 getRowColumns(Context context, Uri contentUri, String[] projection, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java73 private static final String TEST_SELECTION = "selection";
117 work[index].selection = TEST_SELECTION;
126 work[index].projection, work[index].selection, work[index].selectionArgs,
173 work[index].selection = TEST_SELECTION;
181 work[index].selection, work[index].selectionArgs, work[index].delayMillis);
199 work[index].selection = TEST_SELECTION;
209 work[index].selection,
372 work.selection = TEST_SELECTION;
383 aqs.startDelete(w.token, w.cookie, w.uri, w.selection, w.selectionArgs,
601 public final Cursor query(Uri uri, String[] projection, String selection, argument
623 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
634 delete(Uri uri, String selection, String[] selectionArgs) argument
[all...]
H A DDbTestUtils.java142 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
155 public final Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferHistory.java108 String selection = BluetoothShare.STATUS + " >= '200' AND " + direction;
111 selection = selection + " AND ("
123 }, selection, sortOrder);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastContentProvider.java84 * @param selection the selection criteria to apply when filtering rows, or null.
85 * @param selectionArgs values to replace ?s in selection string.
91 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
120 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
163 * @param selection an optional restriction to apply to rows when deleting.
167 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
176 * @param selection an optional filter to match rows to update.
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DAccountWithDataSet.java96 final String selection;
99 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL";
102 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?";
107 ID_PROJECTION, selection, args, null);
/packages/apps/Email/tests/src/com/android/email/
H A DDBTestHelper.java93 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
97 mPassedSelection = selection;
104 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
124 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/apps/Nfc/nci/jni/
H A DRouteDataSet.h206 ** selection: which database.
211 Database* getDatabase (DatabaseSelection selection);
/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);
287 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
318 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DSuggestionsProvider.java81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
113 cursors.add(super.query(uri, projection, selection, new String[] { query }, sortOrder));
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java75 String selection, String[] selectionArgs, String sortOrder) {
209 Cursor ret = qb.query(db, projection, selection,
534 public int delete(Uri uri, String selection, argument
589 String finalSelection = concatSelections(selection, extraSelection);
611 String selection, String[] selectionArgs, Uri uri) {
613 selection, selectionArgs, null, null, null);
631 int count = db.delete(TABLE_PDU, selection, selectionArgs);
643 private static int deleteParts(SQLiteDatabase db, String selection, argument
645 return deleteDataRows(db, TABLE_PART, selection, selectionArgs);
648 private static int deleteTempDrmData(SQLiteDatabase db, String selection, argument
74 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
610 deleteMessages(Context context, SQLiteDatabase db, String selection, String[] selectionArgs, Uri uri) argument
653 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument
687 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryServiceHelper.java59 public String selection; field in class:AsyncQueryServiceHelper.OperationInfo
123 builder.append(",\n\t selection= ");
124 builder.append(selection);
287 cursor = resolver.query(args.uri, args.projection, args.selection,
310 args.result = resolver.update(args.uri, args.values, args.selection,
316 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallerInfoAsyncQuery.java343 String selection;
367 selection = "upper(" + Data.DATA1 + ")=?"
375 selection = null;
381 Log.d(LOG_TAG, "==> selection: " + selection);
411 selection, // selection
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java147 private Runnable createUpdateLoaderRunnable(final String selection, argument
156 mLoader.setSelection(selection);
185 String selection = queryForSelection();
186 initLoader(selection);
371 * @param selection The selection string for the loader to filter the query with.
373 public void initLoader(String selection) { argument
379 mLoader = new CursorLoader(mContext, uri, EVENT_PROJECTION, selection, null,
391 * This gets the selection string for the loader. This ends up doing a query in the
564 // We cannot do any queries from the UI thread, so push the 'selection' quer
[all...]
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksProvider.java359 String selection, String[] selectionArgs, String sortOrder) {
372 selection = DatabaseUtils.concatenateWhere(selection,
379 selection = DatabaseUtils.concatenateWhere(selection,
404 where = DatabaseUtils.concatenateWhere(where, selection);
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
/packages/apps/Mms/src/com/android/mms/data/
H A DConversation.java308 String selection = Mms.MESSAGE_TYPE + " = " + PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF
313 selection = selection + " AND " + Mms.THREAD_ID + " = " + threadId;
318 selection, null, null);
736 * @param selection A where clause (can be null) to select particular conv items.
738 public static void startQuery(AsyncQueryHandler handler, int token, String selection) { argument
747 ALL_THREADS_PROJECTION, selection, null, Conversations.DEFAULT_SORT_ORDER);
774 String selection = deleteAll ? null : "locked=0";
777 handler.startDelete(token, new Long(threadId), uri, selection, null);
802 String selection
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java393 * Build a selection over a set of row IDs
397 * @return a selection string suitable for a resolver query.
400 StringBuilder selection = new StringBuilder();
406 selection.append(" OR ");
408 selection.append(key);
409 selection.append("=");
410 selection.append(id);
412 return selection.toString();
500 String selection = "(" + CalendarAlerts.STATE + "=" +
508 selection, nul
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DCity.java100 * Get a list of cities given selection.
103 * @param selection A filter declaring which rows to return, formatted as an
106 * @param selectionArgs You may include ?s in selection, which will be
108 * appear in the selection. The values will be bound as Strings.
112 String selection, String... selectionArgs) {
114 selection, selectionArgs, null);
111 getCities(ContentResolver contentResolver, String selection, String... selectionArgs) argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java837 final String selection, final String[] selectionArgs,
840 Helpers.validateSelection(selection, sAppReadableColumnsSet);
853 if (projection != null || selection != null || sort != null) {
860 SqlSelection fullSelection = getWhereClause(uri, selection, selectionArgs, match);
885 logVerboseQueryInfo(projection, selection, selectionArgs, sort, db);
906 private void logVerboseQueryInfo(String[] projection, final String selection, argument
927 sb.append("selection is ");
928 sb.append(selection);
1077 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1079 count = db.update(DB_TABLE, filteredValues, selection
836 query(final Uri uri, String[] projection, final String selection, final String[] selectionArgs, final String sort) argument
[all...]

Completed in 3423 milliseconds

1234567