Searched defs:whereArgs (Results 1 - 11 of 11) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDatabaseModifier.java46 String whereClause, String[] whereArgs);
51 public abstract int delete(String table, String whereClause, String[] whereArgs); argument
45 update(Uri uri, String table, ContentValues values, String whereClause, String[] whereArgs) argument
H A DDbModifierWithNotification.java155 String[] whereArgs) {
156 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
184 int count = mDb.update(table, values, whereClause, whereArgs);
203 public int delete(String table, String whereClause, String[] whereArgs) { argument
204 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
221 count = mDb.update(table, values, whereClause, whereArgs);
223 count = mDb.delete(table, whereClause, whereArgs);
241 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { argument
245 whereArgs, null, null, null);
154 update(Uri uri, String table, ContentValues values, String whereClause, String[] whereArgs) argument
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DClockProvider.java202 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
249 public int delete(Uri uri, String where, String[] whereArgs) { argument
255 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs);
264 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs);
267 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs);
276 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DSQLiteCacheHelper.java34 public void delete(String whereClause, String[] whereArgs) { argument
39 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java255 public int delete(Uri uri, String where, String[] whereArgs) { argument
260 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs);
266 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
284 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
289 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs);
295 + (!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/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java1047 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument
1049 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null);
1076 final String where, final String[] whereArgs) {
1142 final SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1194 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument
1197 selection.appendClause(where, whereArgs);
1216 public int delete(final Uri uri, final String where, final String[] whereArgs) { argument
1233 final SqlSelection selection = getWhereClause(uri, where, whereArgs, match);
1075 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsDatabaseHelper.java420 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument
430 Cursor c = db.rawQuery(query, whereArgs);
H A DSmsProvider.java649 public int delete(Uri url, String where, String[] whereArgs) { argument
656 count = db.delete(TABLE_SMS, where, whereArgs);
659 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
686 count = db.delete(TABLE_SMS, where, whereArgs);
693 count = db.update(TABLE_RAW, cv, where, whereArgs);
701 count = db.delete(TABLE_RAW, where, whereArgs);
709 count = db.delete("sr_pending", where, whereArgs);
751 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
823 count = db.update(table, values, where, whereArgs);
H A DTelephonyProvider.java835 String[] whereArgs = new String[29];
837 whereArgs[i++] = values.getAsString(NUMERIC);
838 whereArgs[i++] = values.getAsString(MCC);
839 whereArgs[i++] = values.getAsString(MNC);
840 whereArgs[i++] = values.getAsString(NAME);
841 whereArgs[i++] = values.containsKey(APN) ?
843 whereArgs[i++] = values.containsKey(USER) ?
845 whereArgs[i++] = values.containsKey(SERVER) ?
847 whereArgs[i++] = values.containsKey(PASSWORD) ?
849 whereArgs[
1925 delete(Uri url, String where, String[] whereArgs) argument
2067 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java300 String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) };
304 db.update("files", values, where, whereArgs);
307 int numpurged = db.delete("files", where, whereArgs);
4116 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument
4183 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4271 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs);
4279 sGetTableAndWhereParam.where, whereArgs);
4289 sGetTableAndWhereParam.where, whereArgs, null, null, null);
4301 sGetTableAndWhereParam.where, whereArgs);
4307 sGetTableAndWhereParam.where, whereArgs);
4333 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument
[all...]

Completed in 1001 milliseconds