/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DatabaseModifier.java | 45 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 D | DbModifierWithNotification.java | 140 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 D | ClockProvider.java | 131 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 D | UserDictionaryProvider.java | 221 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 D | MmsSmsDatabaseHelper.java | 385 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument 395 Cursor c = db.rawQuery(query, whereArgs);
|
H A D | SmsProvider.java | 551 public int delete(Uri url, String where, String[] whereArgs) { argument 557 count = db.delete(TABLE_SMS, where, whereArgs); 560 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); 587 count = db.delete(TABLE_SMS, where, whereArgs); 592 count = db.delete("raw", where, whereArgs); 596 count = db.delete("sr_pending", where, whereArgs); 638 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 699 count = db.update(table, values, where, whereArgs);
|
H A D | TelephonyProvider.java | 894 public int delete(Uri url, String where, String[] whereArgs) argument 921 count = db.delete(CARRIERS_TABLE, where, whereArgs); 940 count = db.delete(CARRIERS_TABLE, where, whereArgs); 990 count = db.delete(SIMINFO_TABLE, where, whereArgs); 1007 public int update(Uri url, ContentValues values, String where, String[] whereArgs) argument 1035 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 1055 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 1061 if (where != null || whereArgs != null) { 1099 count = db.update(SIMINFO_TABLE, values, where, whereArgs);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider.java | 905 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 D | DownloadProvider.java | 991 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument 993 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null); 1020 final String where, final String[] whereArgs) { 1083 SqlSelection selection = getWhereClause(uri, where, whereArgs, match); 1123 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument 1126 selection.appendClause(where, whereArgs); 1146 final String[] whereArgs) { 1160 SqlSelection selection = getWhereClause(uri, where, whereArgs, match); 1019 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument 1145 delete(final Uri uri, final String where, final String[] whereArgs) argument
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 283 String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) }; 285 db.update("files", values, where, whereArgs); 288 int numpurged = db.delete("files", where, whereArgs); 3959 public int delete(Uri uri, String userWhere, String[] whereArgs) { argument 4017 sGetTableAndWhereParam.where, whereArgs, null, null, null); 4095 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs); 4103 sGetTableAndWhereParam.where, whereArgs); 4113 sGetTableAndWhereParam.where, whereArgs, null, null, null); 4125 sGetTableAndWhereParam.where, whereArgs); 4131 sGetTableAndWhereParam.where, whereArgs); 4157 update(Uri uri, ContentValues initialValues, String userWhere, String[] whereArgs) argument [all...] |