Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 15 of 15) sorted by relevance

/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java196 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
201 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); in delete()
207 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in delete()
220 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
225 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); in update()
231 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in update()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java311 private void deleteFiles(Uri uri, String userWhere, String[] whereArgs) { in deleteFiles() argument
312 Cursor c = query(uri, new String [] { "_data" }, userWhere, whereArgs, null); in deleteFiles()
333 public int delete(Uri uri, String userWhere, String[] whereArgs) { in delete() argument
347 deleteFiles(uri, userWhere, whereArgs); in delete()
349 sGetTableAndWhereParam.where, whereArgs); in delete()
359 String[] whereArgs) { in update() argument
375 sGetTableAndWhereParam.where, whereArgs); in update()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DAlarmProvider.java142 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
212 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
218 count = db.delete("alarms", where, whereArgs); in delete()
228 count = db.delete("alarms", where, whereArgs); in delete()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java141 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
211 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
217 count = db.delete("alarms", where, whereArgs); in delete()
227 count = db.delete("alarms", where, whereArgs); in delete()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java487 public int delete(Uri url, String where, String[] whereArgs) in delete() argument
499 count = db.delete(CARRIERS_TABLE, where, whereArgs); in delete()
505 count = db.delete(CARRIERS_TABLE, where, whereArgs); in delete()
542 public int update(Uri url, ContentValues values, String where, String[] whereArgs) in update() argument
554 count = db.update(CARRIERS_TABLE, values, where, whereArgs); in update()
560 count = db.update(CARRIERS_TABLE, values, where, whereArgs); in update()
566 if (where != null || whereArgs != null) { in update()
DSmsProvider.java503 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
509 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
512 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); in delete()
539 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
544 count = db.delete("raw", where, whereArgs); in delete()
548 count = db.delete("sr_pending", where, whereArgs); in delete()
588 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
649 count = db.update(table, values, where, whereArgs); in update()
DMmsSmsDatabaseHelper.java284 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateAllThreads() argument
292 Cursor c = db.rawQuery(query, whereArgs); in updateAllThreads()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider.java1676 String[] whereArgs; in queryAndroidStarredGroupId() local
1679 whereArgs = new String[]{account.name, account.type, Groups.GROUP_ANDROID_STARRED}; in queryAndroidStarredGroupId()
1682 whereArgs = new String[]{Groups.GROUP_ANDROID_STARRED}; in queryAndroidStarredGroupId()
1687 whereString, whereArgs, null, null, null); in queryAndroidStarredGroupId()
2210 public int deleteInternal(Uri url, String userWhere, String[] whereArgs) { in deleteInternal() argument
2218 userWhere, whereArgs); in deleteInternal()
2220 return deleteFromGroups(userWhere, whereArgs); in deleteInternal()
2223 return deleteFromGroups(addIdToWhereClause(changedItemId, userWhere), whereArgs); in deleteInternal()
2234 return deleteFromPeople(null, userWhere, whereArgs); in deleteInternal()
2236 return deleteFromPeople(url.getPathSegments().get(1), userWhere, whereArgs); in deleteInternal()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java479 final String where, final String[] whereArgs) { in update() argument
529 count = db.update(DB_TABLE, filteredValues, myWhere, whereArgs); in update()
555 final String[] whereArgs) { in delete() argument
584 count = db.delete(DB_TABLE, myWhere, whereArgs); in delete()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java872 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
913 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs); in delete()
920 String[] whereArgs) { in update() argument
979 int ret = db.update(TABLE_NAMES[match % 10], values, where, whereArgs); in update()
/packages/apps/IM/src/com/android/im/provider/
DImpsProvider.java1880 private int updateBulkPresence(ContentValues values, String userWhere, String[] whereArgs) { in updateBulkPresence() argument
1924 int numArgs = (whereArgs != null ? whereArgs.length + 4 : 4); in updateBulkPresence()
1928 if (whereArgs != null) { in updateBulkPresence()
1930 selectionArgs[selArgsIndex] = whereArgs[selArgsIndex]; in updateBulkPresence()
2557 private int deleteInternal(Uri url, String userWhere, String[] whereArgs) { in deleteInternal() argument
2930 int count = db.delete(tableToChange, whereClause.toString(), whereArgs); in deleteInternal()
2934 count += db.delete(tableToChange2, whereClause.toString(), whereArgs); in deleteInternal()
2986 String[] whereArgs) { in updateInternal() argument
3195 count = updateBulkPresence(values, userWhere, whereArgs); in updateInternal()
3255 count = db.update(tableToChange, values, whereClause.toString(), whereArgs); in updateInternal()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DShortcutRepositoryImplLog.java188 String[] whereArgs = { shortcutId, source.flattenToShortString() }; in refreshShortcut() local
191 db.delete(Shortcuts.TABLE_NAME, SHORTCUT_BY_ID_WHERE, whereArgs); in refreshShortcut()
196 SHORTCUT_BY_ID_WHERE, whereArgs, SQLiteDatabase.ConflictAlgorithm.REPLACE); in refreshShortcut()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1803 public int delete(Uri uri, String userWhere, String[] whereArgs) { in delete() argument
1830 sGetTableAndWhereParam.where, whereArgs); in delete()
1834 sGetTableAndWhereParam.where, whereArgs); in delete()
1849 String[] whereArgs) { in update() argument
1929 whereArgs); in update()
1949 sGetTableAndWhereParam.where, whereArgs); in update()
1956 whereArgs, null, null, null); in update()
1972 sGetTableAndWhereParam.where, whereArgs); in update()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider.java2925 public int deleteInternal(Uri url, String where, String[] whereArgs) { in deleteInternal() argument
2999 int result = db.delete("Attendees", where, whereArgs); in deleteInternal()
3015 int result = db.delete("Reminders", where, whereArgs); in deleteInternal()
3026 int result = db.delete("CalendarAlerts", where, whereArgs); in deleteInternal()
/packages/apps/Calendar/src/com/android/calendar/
DEditEvent.java843 String[] whereArgs = {Long.toString(eventId)}; in onCreate() local
844 Cursor attendeeCursor = cr.query(uri, ATTENDEES_PROJECTION, ATTENDEES_WHERE, whereArgs, in onCreate()