/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogQueryHandler.java | 137 // We need to check for NULL explicitly otherwise entries with where READ is NULL 140 StringBuilder where = new StringBuilder(); 144 where.append(Calls.NEW); 145 where.append(" = 1"); 149 if (where.length() > 0) { 150 where.append(" AND "); 153 where.append(String.format("(%s = ?)", Calls.TYPE)); 159 if (where.length() > 0) { 160 where.append(" AND "); 162 where [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | LogTag.java | 27 * @param where the location from where the bookmark was added 29 public static void logBookmarkAdded(String url, String where) { argument 31 + where);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockProvider.java | 131 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument 188 public int delete(Uri uri, String where, String[] whereArgs) { argument 194 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); 198 if (TextUtils.isEmpty(where)) { 199 where = ClockContract.AlarmsColumns._ID + "=" + primaryKey; 201 where = ClockContract.AlarmsColumns._ID + "=" + primaryKey + 202 " AND (" + where + ")"; 204 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); 207 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs); 211 if (TextUtils.isEmpty(where)) { [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaAdapter.java | 72 TextView where; field in class:AgendaAdapter.ViewHolder 123 holder.where = (TextView) view.findViewById(R.id.where); 138 holder.where.setTextColor(mWhereDeclinedColor); 143 holder.where.setTextColor(mWhereColor); 170 holder.where.setTextColor(mStandardColor); 176 TextView where = holder.where; 259 where.setVisibility(View.VISIBLE); 260 where [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | UserDictionaryProvider.java | 221 public int delete(Uri uri, String where, String[] whereArgs) { argument 226 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); 232 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); 245 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument 250 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); 256 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | MissedCallNotifier.java | 91 StringBuilder where = new StringBuilder(); 92 where.append(Calls.NEW); 93 where.append(" = 1 AND "); 94 where.append(Calls.TYPE); 95 where.append(" = ?"); 96 mContext.getContentResolver().update(Calls.CONTENT_URI, values, where.toString(), 327 StringBuilder where = new StringBuilder("type="); 328 where.append(Calls.MISSED_TYPE); 329 where.append(" AND new=1"); 333 where [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContent.java | 1052 String where = ""; 1054 where = Sms.TYPE + " = 1 AND " + Sms.THREAD_ID + " <> -1"; 1056 where = "(" + Sms.TYPE + " = 4 OR " + Sms.TYPE + " = 5 OR " 1059 where = Sms.TYPE + " = 2 AND " + Sms.THREAD_ID + " <> -1"; 1061 where = Sms.TYPE + " = 3 AND " + Sms.THREAD_ID + " <> -1"; 1063 where = Sms.THREAD_ID + " = -1"; 1066 return where; 1070 String where = ""; 1072 where = Mms.MESSAGE_BOX + " = 1 AND " + Mms.THREAD_ID + " <> -1"; 1074 where [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 79 String where; field in class:CalendarAppWidgetModel.EventInfo 111 builder.append(", where="); 112 builder.append(where); 134 result = prime * result + ((where == null) ? 0 : where.hashCode()); 174 if (where == null) { 175 if (other.where != null) 177 } else if (!where.equals(other.where)) { 400 eventInfo.where [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | SmsProvider.java | 551 public int delete(Uri url, String where, String[] whereArgs) { argument 557 count = db.delete(TABLE_SMS, where, whereArgs); 560 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); 586 where = DatabaseUtils.concatenateWhere("thread_id=" + threadID, where); 587 count = db.delete(TABLE_SMS, where, whereArgs); 592 count = db.delete("raw", where, whereArgs); 596 count = db.delete("sr_pending", where, whereArgs); 638 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 698 where [all...] |
H A D | TelephonyProvider.java | 894 public int delete(Uri url, String where, String[] whereArgs) argument 921 count = db.delete(CARRIERS_TABLE, where, whereArgs); 940 count = db.delete(CARRIERS_TABLE, where, whereArgs); 990 count = db.delete(SIMINFO_TABLE, where, whereArgs); 1007 public int update(Uri url, ContentValues values, String where, String[] whereArgs) argument 1035 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 1055 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 1061 if (where != null || whereArgs != null) { 1063 "Cannot update URL " + url + " with a where clause"); 1099 count = db.update(SIMINFO_TABLE, values, where, whereArg [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 351 String where; 356 where = WHERE_ID; 361 return DatabaseUtils.concatenateWhere(selection, where); 461 protected static String metadataSelectionFromPhotos(String where) { argument 462 return nestWhere(Metadata.PHOTO_ID, Photos.TABLE, where); 465 protected static String photoSelectionFromAlbums(String where) { argument 466 return nestWhere(Photos.ALBUM_ID, Albums.TABLE, where); 469 protected static String photoSelectionFromAccounts(String where) { argument 470 return nestWhere(Photos.ACCOUNT_ID, Accounts.TABLE, where); 473 protected static String albumSelectionFromAccounts(String where) { argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | TrackBrowserActivity.java | 455 String where = MediaStore.Audio.Media.ALBUM_ID + "='" + mAlbumId + 460 new String[] {MediaStore.Audio.Media.ALBUM}, where, null, null); 864 String where = MediaStore.Audio.Playlists.Members._ID + "=?"; 870 res.update(baseUri, values, where, wherearg); 875 res.update(baseUri, values, where, wherearg); 880 res.update(baseUri, values, where, wherearg); 1016 StringBuilder where = new StringBuilder(); 1017 where.append(MediaStore.Audio.Media.TITLE + " != ''"); 1027 mCursorCols, where.toString(), null, mSortOrder, async); 1039 where [all...] |
H A D | PlaylistBrowserActivity.java | 415 String where = MediaStore.MediaColumns.DATE_ADDED + ">" + (System.currentTimeMillis() / 1000 - X); 417 ccols, where, null, MediaStore.Audio.Media.DEFAULT_SORT_ORDER); 470 StringBuilder where = new StringBuilder(); 471 where.append(MediaStore.Audio.Playlists.NAME + " != ''"); 484 where.append(" AND "); 485 where.append(MediaStore.Audio.Playlists.NAME + " LIKE ?"); 489 String whereclause = where.toString();
|
H A D | MusicUtils.java | 331 String where = MediaStore.Audio.Media.ARTIST_ID + "=" + id + " AND " + 334 ccols, where, null, 347 String where = MediaStore.Audio.Media.ALBUM_ID + "=" + id + " AND " + 350 ccols, where, null, MediaStore.Audio.Media.TRACK); 460 StringBuilder where = new StringBuilder(); 461 where.append(MediaStore.Audio.Media._ID + " IN ("); 463 where.append(list[i]); 465 where.append(","); 468 where.append(")"); 470 where [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDebug.java | 38 * The info is displayed as a ListActivity, where each entry has the calendar name 99 String where = CalendarContract.Events.CALENDAR_ID + "=" + id; 101 CalendarContract.Events.CONTENT_URI, EVENTS_PROJECTION, where,
|
H A D | CalendarInstancesHelper.java | 75 * Determines the set of Events where the _id matches the first query argument, or the 91 * Determines the set of Events where the _sync_id matches the first query argument, or the 145 String where = "SELECT " + columnName + " FROM " + Tables.EVENTS + 147 return DatabaseUtils.stringForQuery(db, where, 740 * time we set originalId in related exceptions where originalSyncId is the only 791 String where = SQL_WHERE_ID_FROM_INSTANCES_NOT_SYNCED; 792 delCount = db.delete(Tables.INSTANCES, where, new String[] { 799 String where = SQL_WHERE_ID_FROM_INSTANCES_SYNCED; 800 delCount = db.delete(Tables.INSTANCES, where, new String[] { 840 String where [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | HeaderGridView.java | 166 private void removeFixedViewInfo(View v, ArrayList<FixedViewInfo> where) { argument 167 int len = where.size(); 169 FixedViewInfo info = where.get(i); 171 where.remove(i);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider.java | 905 public int delete(Uri url, String where, String[] whereArgs) { argument 919 if (where != null && where.length() > 0) { 921 sb.append(where); 927 where = sb.toString(); 946 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs); 952 public int update(Uri url, ContentValues values, String where, argument 963 if (where != null && where.length() > 0) { 965 sb.append(where); [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetServiceTest.java | 115 eventInfo.where = location; 142 eventInfo.where = location + i; 164 eventInfo.where = location + i;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | AtPhonebook.java | 400 String where; 405 where = VISIBLE_PHONEBOOK_WHERE; 407 where = OUTGOING_CALL_WHERE; 409 where = INCOMING_CALL_WHERE; 411 where = MISSED_CALL_WHERE; 423 Calls.CONTENT_URI, CALLS_PROJECTION, where, null, 434 where, null, Phone.NUMBER + " LIMIT " + MAX_PHONEBOOK_SIZE);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 105 if (TextUtils.isEmpty(args.where)) { 121 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); 138 db.delete(args.table, args.where, args.args); 182 int count = db.delete(args.table, args.where, args.args); 193 int count = db.update(args.table, values, args.where, args.args); 273 // In the case where neither onCreate nor onUpgrade gets called, we read the maxId from 1206 * Build a query string that will match any row where the column matches 1222 public final String where; field in class:LauncherProvider.SqlArguments 1225 SqlArguments(Uri url, String where, String[] args) { argument 1228 this.where [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 282 String where = FileColumns.STORAGE_ID + "=?"; 285 db.update("files", values, where, whereArgs); 288 int numpurged = db.delete("files", where, whereArgs); 1054 "SELECT _id FROM audio where mime_type='audio/mp4' AND " + 1550 "DELETE from files where _id=old._id;" + 1551 "DELETE from audio_playlists_map where audio_id=old._id;" + 1552 "DELETE from audio_genres_map where audio_id=old._id;" + 1992 * @param values the content values, where the bucked id name and bucket display name are updated. 2016 * @param values the content values, where the display name is updated. 2032 * @param values the content values, where take 3819 public String where; field in class:MediaProvider.GetTableAndWhereOutParameter [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
H A D | BP2TestCaseHelper.java | 133 int mockUpdate(Uri uri, ContentValues values, String where, argument 136 int ret = getMockContentResolver().update(uri, values, where, selectionArgs);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekFragment.java | 212 String where = WHERE_CALENDARS_VISIBLE; 214 where += " AND " + Instances.SELF_ATTENDEE_STATUS + "!=" 217 return where; 354 String where = updateWhere(); 357 getActivity(), mEventUri, Event.EVENT_PROJECTION, where,
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventLocationAdapter.java | 356 String where = null; 361 where = CONTACTS_WHERE; 369 CONTACTS_PROJECTION, where, whereArgs, Contacts.DISPLAY_NAME + " ASC");
|