Searched defs:whereArgs (Results 1 - 11 of 11) 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.java152 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { argument
153 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
167 int count = mDb.update(table, values, whereClause, whereArgs);
178 public int delete(String table, String whereClause, String[] whereArgs) { argument
179 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
195 count = mDb.update(table, values, whereClause, whereArgs);
197 count = mDb.delete(table, whereClause, whereArgs);
215 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { argument
219 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.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/Messaging/src/com/android/messaging/datamodel/
H A DDatabaseWrapper.java358 public int delete(final String table, final String whereClause, final String[] whereArgs) { argument
366 count = mDatabase.delete(table, whereClause, whereArgs);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsDatabaseHelper.java386 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument
396 Cursor c = db.rawQuery(query, whereArgs);
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);
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
744 count = db.update(table, values, where, whereArgs);
H A DTelephonyProvider.java673 String[] whereArgs = new String[29];
675 whereArgs[i++] = values.getAsString(Telephony.Carriers.NUMERIC);
676 whereArgs[i++] = values.getAsString(Telephony.Carriers.MCC);
677 whereArgs[i++] = values.getAsString(Telephony.Carriers.MNC);
678 whereArgs[i++] = values.getAsString(Telephony.Carriers.NAME);
679 whereArgs[i++] = values.containsKey(Telephony.Carriers.APN) ?
681 whereArgs[i++] = values.containsKey(Telephony.Carriers.USER) ?
683 whereArgs[i++] = values.containsKey(Telephony.Carriers.SERVER) ?
685 whereArgs[i++] = values.containsKey(Telephony.Carriers.PASSWORD) ?
687 whereArgs[
1687 delete(Uri url, String where, String[] whereArgs) argument
1829 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
[all...]
/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.java1014 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument
1016 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null);
1043 final String where, final String[] whereArgs) {
1106 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1146 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument
1149 selection.appendClause(where, whereArgs);
1168 public int delete(final Uri uri, final String where, final String[] whereArgs) { argument
1181 SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1042 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java290 String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) };
292 db.update("files", values, where, whereArgs);
295 int numpurged = db.delete("files", where, whereArgs);
3999 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument
4057 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4135 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs);
4143 sGetTableAndWhereParam.where, whereArgs);
4153 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4165 sGetTableAndWhereParam.where, whereArgs);
4171 sGetTableAndWhereParam.where, whereArgs);
4197 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument
[all...]

Completed in 1317 milliseconds