Searched refs:where (Results 1 - 25 of 62) sorted by relevance

123

/packages/apps/Browser/src/com/android/browser/
H A DLogTag.java27 * @param where the location from where the bookmark was added
29 public static void logBookmarkAdded(String url, String where) { argument
31 + where);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DVoicemailQueryHandler.java44 StringBuilder where = new StringBuilder();
45 where.append(Calls.NEW);
46 where.append(" = 1 AND ");
47 where.append(Calls.TYPE);
48 where.append(" = ?");
54 values, where.toString(), new String[]{ Integer.toString(Calls.VOICEMAIL_TYPE) });
H A DCallLogQueryHandler.java152 // We need to check for NULL explicitly otherwise entries with where READ is NULL
155 StringBuilder where = new StringBuilder();
159 where.append(Voicemails.DELETED);
160 where.append(" = 0");
163 where.append(" AND ");
164 where.append(Calls.NEW);
165 where.append(" = 1");
169 where.append(" AND ");
170 where.append(String.format("(%s = ?)", Calls.TYPE));
173 where
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DClockProvider.java131 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/Messaging/src/com/android/messaging/mmslib/
H A DSqliteWrapper.java51 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);
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/tests/src/com/android/messaging/
H A DFakeContentProvider.java40 private final String where; field in class:FakeContentProvider.ContentOverride
45 ContentOverride(final String uri, final String where, final String args, argument
48 this.where = where;
54 boolean match(final String uri, final String where, final String[] args) { argument
55 if (!this.uri.equals(uri) || !TextUtils.equals(this.where, where)) {
88 public void addOverrideData(final Uri uri, final String where, final String args, argument
90 mOverrides.add(new ContentOverride(uri.toString(), where, args, columns, data));
114 + " where "
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java72 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/services/Telecomm/src/com/android/server/telecom/ui/
H A DMissedCallNotifierImpl.java120 StringBuilder where = new StringBuilder();
121 where.append(Calls.NEW);
122 where.append(" = 1 AND ");
123 where.append(Calls.TYPE);
124 where.append(" = ?");
127 where.toString(), new String[]{ Integer.toString(Calls.
386 StringBuilder where = new StringBuilder("type=");
387 where.append(Calls.MISSED_TYPE);
388 where.append(" AND new=1");
389 where
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java1584 String where = "";
1586 where = Sms.TYPE + " = 1 AND " + Sms.THREAD_ID + " <> -1";
1588 where = "(" + Sms.TYPE + " = 4 OR " + Sms.TYPE + " = 5 OR "
1591 where = Sms.TYPE + " = 2 AND " + Sms.THREAD_ID + " <> -1";
1593 where = Sms.TYPE + " = 3 AND " + Sms.THREAD_ID + " <> -1";
1595 where = Sms.THREAD_ID + " = -1";
1598 return where;
1602 String where = "";
1604 where = Mms.MESSAGE_BOX + " = 1 AND " + Mms.THREAD_ID + " <> -1";
1606 where
[all...]
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java254 public int delete(Uri uri, String where, String[] whereArgs) { argument
259 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs);
265 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
283 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
288 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs);
294 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java79 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/apps/Gallery2/src/com/android/photos/data/
H A DPhotoProvider.java351 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 DTrackBrowserActivity.java455 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 DPlaylistBrowserActivity.java415 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();
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDebug.java38 * 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 DCalendarInstancesHelper.java75 * 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 DHeaderGridView.java166 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 DBrowserProvider.java905 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 DCalendarAppWidgetServiceTest.java115 eventInfo.where = location;
142 eventInfo.where = location + i;
164 eventInfo.where = location + i;
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DSmsProvider.java588 public int delete(Uri url, String where, String[] whereArgs) { argument
594 count = db.delete(TABLE_SMS, where, whereArgs);
597 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
623 where = DatabaseUtils.concatenateWhere("thread_id=" + threadID, where);
624 count = db.delete(TABLE_SMS, where, whereArgs);
629 count = db.delete("raw", where, whereArgs);
633 count = db.delete("sr_pending", where, whereArgs);
675 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
743 where
[all...]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapContentTest.java140 String where = BluetoothMapContract.FolderColumns.PARENT_FOLDER_ID +
143 BluetoothMapContract.BT_FOLDER_PROJECTION, where, null, null);
498 String where = BluetoothMapContract.AccountColumns._ID + " = " + id;
505 Log.i(TAG, "Calling update() with selection: " + where +
508 mResolver.update(mEmailAccountUri, values, where, null);
522 String where ="";
523 //where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + fe.getEmailFolderId();
525 where, null, "_id DESC");
542 // String where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + fe.getEmailFolderId();
543 // where
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DAtPhonebook.java400 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,
435 where, null, Phone.NUMBER + " LIMIT " + MAX_PHONEBOOK_SIZE);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java111 if (TextUtils.isEmpty(args.where)) {
127 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder);
144 db.delete(args.table, args.where, args.args);
188 int count = db.delete(args.table, args.where, args.args);
199 int count = db.update(args.table, values, args.where, args.args);
332 // In the case where neither onCreate nor onUpgrade gets called, we read the maxId from
1265 * Build a query string that will match any row where the column matches
1281 public final String where; field in class:LauncherProvider.SqlArguments
1284 SqlArguments(Uri url, String where, String[] args) { argument
1287 this.where
[all...]
/packages/apps/Messaging/
H A Dversion.mk18 # where
105 # where nnnnnn is the build number from the build server (no zero-padding)
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java289 String where = FileColumns.STORAGE_ID + "=?";
292 db.update("files", values, where, whereArgs);
295 int numpurged = db.delete("files", where, whereArgs);
1077 "SELECT _id FROM audio where mime_type='audio/mp4' AND " +
1576 "DELETE from files where _id=old._id;" +
1577 "DELETE from audio_playlists_map where audio_id=old._id;" +
1578 "DELETE from audio_genres_map where audio_id=old._id;" +
2028 * @param values the content values, where the bucked id name and bucket display name are updated.
2052 * @param values the content values, where the display name is updated.
2068 * @param values the content values, where take
3859 public String where; field in class:MediaProvider.GetTableAndWhereOutParameter
[all...]

Completed in 1335 milliseconds

123