Searched refs:whereArgs (Results 1 - 17 of 17) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDatabaseModifier.java45 String whereClause, String[] whereArgs);
50 public abstract int delete(String table, String whereClause, String[] whereArgs); argument
44 update(String table, ContentValues values, String whereClause, String[] whereArgs) argument
H A DDbModifierWithNotification.java140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { argument
141 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
143 int count = mDb.update(table, values, whereClause, whereArgs);
154 public int delete(String table, String whereClause, String[] whereArgs) { argument
155 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
156 int count = mDb.delete(table, whereClause, whereArgs);
172 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { argument
176 whereArgs, null, null, null);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmProvider.java99 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
132 public int delete(Uri url, String where, String[] whereArgs) { argument
138 count = db.delete("alarms", where, whereArgs);
148 count = db.delete("alarms", where, whereArgs);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java196 public int delete(Uri uri, String where, String[] whereArgs) { argument
201 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs);
207 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
220 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
225 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs);
231 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
/packages/providers/DrmProvider/src/com/android/providers/drm/
H A DDrmProvider.java319 private void deleteFiles(Uri uri, String userWhere, String[] whereArgs) { argument
320 Cursor c = query(uri, new String [] { "_data" }, userWhere, whereArgs, null);
341 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument
355 deleteFiles(uri, userWhere, whereArgs);
357 sGetTableAndWhereParam.where, whereArgs);
367 String[] whereArgs) {
383 sGetTableAndWhereParam.where, whereArgs);
366 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DSmsProvider.java521 public int delete(Uri url, String where, String[] whereArgs) { argument
527 count = db.delete(TABLE_SMS, where, whereArgs);
530 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
557 count = db.delete(TABLE_SMS, where, whereArgs);
562 count = db.delete("raw", where, whereArgs);
566 count = db.delete("sr_pending", where, whereArgs);
606 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
667 count = db.update(table, values, where, whereArgs);
H A DTelephonyProvider.java599 public int delete(Uri url, String where, String[] whereArgs) argument
611 count = db.delete(CARRIERS_TABLE, where, whereArgs);
617 count = db.delete(CARRIERS_TABLE, where, whereArgs);
654 public int update(Uri url, ContentValues values, String where, String[] whereArgs) argument
666 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
672 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
678 if (where != null || whereArgs != null) {
H A DMmsSmsDatabaseHelper.java331 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument
339 Cursor c = db.rawQuery(query, whereArgs);
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DLocalDataTest.java442 public int delete(Uri uri, String whereClause, String[] whereArgs) { argument
443 Log.v(TAG, "delete " + uri + "," + whereClause + "," + whereArgs[0]);
446 int count = mDatabase.delete(tableName, whereClause, whereArgs);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java166 String whereArgs[] = new String[] {String.valueOf(hash), downloadUrl};
169 QUERY_WHERE, whereArgs, null, null, null);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java948 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument
950 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null);
977 final String where, final String[] whereArgs) {
1036 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1076 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument
1079 selection.appendClause(where, whereArgs);
1099 final String[] whereArgs) {
1111 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
976 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument
1098 delete(final Uri uri, final String where, final String[] whereArgs) argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadCache.java93 String whereArgs[] = {String.valueOf(hash), stringUrl};
95 WHERE_HASH_AND_URL, whereArgs, null, null, null);
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider.java1015 public int delete(Uri url, String where, String[] whereArgs) { argument
1056 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs);
1063 String[] whereArgs) {
1118 int ret = db.update(TABLE_NAMES[match % 10], values, where, whereArgs);
1062 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java218 String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) };
219 db.update("files", values, where, whereArgs);
221 db.delete("files", where, whereArgs);
3390 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument
3435 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs);
3442 sGetTableAndWhereParam.where, whereArgs);
3446 sGetTableAndWhereParam.where, whereArgs);
3464 String[] whereArgs) {
3495 userWhere, whereArgs, null, null, null);
3507 sGetTableAndWhereParam.where, whereArgs);
3463 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DShortcutRepositoryImplLog.java348 final String[] whereArgs = { shortcutId, source.getName() };
362 db.delete(Shortcuts.TABLE_NAME, SHORTCUT_BY_ID_WHERE, whereArgs);
366 SHORTCUT_BY_ID_WHERE, whereArgs, SQLiteDatabase.CONFLICT_REPLACE);
/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java467 String whereArgs[] = null;
470 whereArgs = new String[] { Long.toString(mMap.getLong(
484 whereArgs,
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventFragment.java183 String[] whereArgs = {
189 whereArgs /* selection args */, null /* sort order */);

Completed in 395 milliseconds