Searched defs:whereArgs (Results 1 - 10 of 10) 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/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);
204 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs);
207 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs);
217 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs);
220 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs);
230 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java221 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/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java621 public int delete(Uri url, String where, String[] whereArgs) argument
633 count = db.delete(CARRIERS_TABLE, where, whereArgs);
639 count = db.delete(CARRIERS_TABLE, where, whereArgs);
677 public int update(Uri url, ContentValues values, String where, String[] whereArgs) argument
689 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
695 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
701 if (where != null || whereArgs != null) {
H A DMmsSmsDatabaseHelper.java385 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument
395 Cursor c = db.rawQuery(query, whereArgs);
H A DSmsProvider.java541 public int delete(Uri url, String where, String[] whereArgs) { argument
547 count = db.delete(TABLE_SMS, where, whereArgs);
550 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
577 count = db.delete(TABLE_SMS, where, whereArgs);
582 count = db.delete("raw", where, whereArgs);
586 count = db.delete("sr_pending", where, whereArgs);
626 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
687 count = db.update(table, values, where, whereArgs);
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider.java905 public int delete(Uri url, String where, String[] whereArgs) { argument
946 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs);
953 String[] whereArgs) {
1008 int ret = db.update(TABLE_NAMES[match % 10], values, where, whereArgs);
952 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java989 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument
991 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null);
1018 final String where, final String[] whereArgs) {
1077 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1117 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument
1120 selection.appendClause(where, whereArgs);
1140 final String[] whereArgs) {
1152 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1017 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument
1139 delete(final Uri uri, final String where, final String[] whereArgs) argument
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java274 String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) };
276 db.update("files", values, where, whereArgs);
279 int numpurged = db.delete("files", where, whereArgs);
3934 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument
3992 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4062 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs);
4070 sGetTableAndWhereParam.where, whereArgs);
4080 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4089 sGetTableAndWhereParam.where, whereArgs);
4095 sGetTableAndWhereParam.where, whereArgs);
4121 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument
[all...]

Completed in 242 milliseconds