/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 729 String[] whereArgs = new String[29]; in deleteRow() local 731 whereArgs[i++] = values.getAsString(Telephony.Carriers.NUMERIC); in deleteRow() 732 whereArgs[i++] = values.getAsString(Telephony.Carriers.MCC); in deleteRow() 733 whereArgs[i++] = values.getAsString(Telephony.Carriers.MNC); in deleteRow() 734 whereArgs[i++] = values.getAsString(Telephony.Carriers.NAME); in deleteRow() 735 whereArgs[i++] = values.containsKey(Telephony.Carriers.APN) ? in deleteRow() 737 whereArgs[i++] = values.containsKey(Telephony.Carriers.USER) ? in deleteRow() 739 whereArgs[i++] = values.containsKey(Telephony.Carriers.SERVER) ? in deleteRow() 741 whereArgs[i++] = values.containsKey(Telephony.Carriers.PASSWORD) ? in deleteRow() 743 whereArgs[i++] = values.containsKey(Telephony.Carriers.PROXY) ? in deleteRow() [all …]
|
D | SmsProvider.java | 588 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument 594 count = db.delete(TABLE_SMS, where, whereArgs); in delete() 597 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); in delete() 624 count = db.delete(TABLE_SMS, where, whereArgs); in delete() 629 count = db.delete("raw", where, whereArgs); in delete() 633 count = db.delete("sr_pending", where, whereArgs); in delete() 675 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument 744 count = db.update(table, values, where, whereArgs); in update()
|
D | MmsSmsDatabaseHelper.java | 386 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateAllThreads() argument 396 Cursor c = db.rawQuery(query, whereArgs); in updateAllThreads()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 152 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument 153 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in update() 167 int count = mDb.update(table, values, whereClause, whereArgs); in update() 178 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument 179 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in delete() 195 count = mDb.update(table, values, whereClause, whereArgs); in delete() 197 count = mDb.delete(table, whereClause, whereArgs); in delete() 215 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { in getModifiedPackages() argument 219 whereArgs, null, null, null); in getModifiedPackages()
|
D | DatabaseModifier.java | 45 String whereClause, String[] whereArgs); in update() argument 50 public abstract int delete(String table, String whereClause, String[] whereArgs); in delete() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockProvider.java | 131 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 188 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument 194 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); in delete() 204 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); in delete() 207 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs); in delete() 217 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs); in delete() 220 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs); in delete() 230 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs); in delete()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 254 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument 259 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); in delete() 265 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in delete() 283 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 288 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); in update() 294 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in update()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 1020 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { in deleteRequestHeaders() argument 1022 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null); in deleteRequestHeaders() 1049 final String where, final String[] whereArgs) { in update() argument 1112 SqlSelection selection = getWhereClause(uri, where, whereArgs, match); in update() 1152 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, in getWhereClause() argument 1155 selection.appendClause(where, whereArgs); in getWhereClause() 1174 public int delete(final Uri uri, final String where, final String[] whereArgs) { in delete() argument 1187 SqlSelection selection = getWhereClause(uri, where, whereArgs, match); in delete()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 290 … 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) { in delete() argument 4057 sGetTableAndWhereParam.where, whereArgs, null, null, null); in delete() 4135 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs); in delete() 4143 sGetTableAndWhereParam.where, whereArgs); in delete() 4153 sGetTableAndWhereParam.where, whereArgs, null, null, null); in delete() 4165 sGetTableAndWhereParam.where, whereArgs); in delete() 4171 sGetTableAndWhereParam.where, whereArgs); in delete() [all …]
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider.java | 905 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument 946 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs); in delete() 953 String[] whereArgs) { in update() argument 1008 int ret = db.update(TABLE_NAMES[match % 10], values, where, whereArgs); in update()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventLocationAdapter.java | 357 String[] whereArgs = null; in queryContacts() local 364 whereArgs = new String[] {param1, param2, param1, param2}; in queryContacts() 369 CONTACTS_PROJECTION, where, whereArgs, Contacts.DISPLAY_NAME + " ASC"); in queryContacts()
|
D | EditEventFragment.java | 207 String[] whereArgs = { in onQueryComplete() local 213 whereArgs /* selection args */, null /* sort order */); in onQueryComplete()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 365 String[] whereArgs; in addIdToSelectionArgs() local 370 whereArgs = new String[] { in addIdToSelectionArgs() 377 return DatabaseUtils.appendSelectionArgs(selectionArgs, whereArgs); in addIdToSelectionArgs()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
D | VoicemailStatusQueryHelper.java | 97 String[] whereArgs = { phoneAccountComponentName, phoneAccountId, in isFieldEqualTo() local 100 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
|
D | VoicemailsQueryHelper.java | 212 String[] whereArgs = { phoneAccountComponentName, phoneAccountId, sourceData }; in isVoicemailUnique() local 214 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | DBHelper.java | 1768 String[] whereArgs = new String[1]; in upgradeFromVersion29ToVersion30() local 1776 whereArgs[0] = messageCursor.getString(Message.CONTENT_ID_COLUMN); in upgradeFromVersion29ToVersion30() 1777 db.update(Message.TABLE_NAME, cv, WHERE_ID, whereArgs); in upgradeFromVersion29ToVersion30() 1794 String[] whereArgs = new String[1]; in upgradeFromVersion125ToVersion126() local 1802 whereArgs[0] = messageCursor.getString(Message.CONTENT_ID_COLUMN); in upgradeFromVersion125ToVersion126() 1803 db.update(Message.TABLE_NAME, cv, WHERE_ID, whereArgs); in upgradeFromVersion125ToVersion126()
|
D | EmailProvider.java | 3900 final String[] whereArgs; in getVirtualMailboxRow() local 3903 whereArgs = null; in getVirtualMailboxRow() 3906 whereArgs = new String[] { Long.toString(accountId) }; in getVirtualMailboxRow() 3912 + Mailbox.TYPE_TRASH + ")", whereArgs); in getVirtualMailboxRow() 3916 final String[] whereArgs; in getVirtualMailboxRow() local 3919 whereArgs = null; in getVirtualMailboxRow() 3922 whereArgs = new String[] { Long.toString(accountId) }; in getVirtualMailboxRow() 3925 accountKeyClause + MessageColumns.FLAG_FAVORITE + "=1", whereArgs); in getVirtualMailboxRow() 5247 final String[] whereArgs = new String[] {mailboxId}; in markAllSeen() local 5249 return db.update(table, values, whereClause, whereArgs); in markAllSeen()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 263 String[] whereArgs = new String[]{Long.toString(columnValue)}; in markBroadcastRead() local 265 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 167 String whereArgs[] = new String[] {String.valueOf(hash), downloadUrl}; in queryDatabase() local 170 QUERY_WHERE, whereArgs, null, null, null); in queryDatabase()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 91 String whereArgs[] = {String.valueOf(hash), stringUrl}; in findEntryInDatabase() local 93 WHERE_HASH_AND_URL, whereArgs, null, null, null); in findEntryInDatabase()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnEditorActivity.java | 412 String[] whereArgs = new String[]{ mCurrentId }; in deleteApn() local 414 mDatabase.delete(ApnDatabase.APN_TABLE, where, whereArgs); in deleteApn()
|
/packages/apps/Browser/src/com/android/browser/ |
D | AddBookmarkPage.java | 467 String whereArgs[] = null; in onCreateLoader() local 470 whereArgs = new String[] { Long.toString(mMap.getLong( in onCreateLoader() 484 whereArgs, in onCreateLoader()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 358 public int delete(final String table, final String whereClause, final String[] whereArgs) { in delete() argument 366 count = mDatabase.delete(table, whereClause, whereArgs); in delete()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 1741 ArrayList<String> whereArgs = new ArrayList<String>(); in findContacts() local 1745 whereArgs.addAll(addresses); in findContacts() 1754 whereArgs.toArray(new String[0]), null); in findContacts()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 1265 final String[] whereArgs = new String[] { value }; in delete() local 1267 return database.delete(Tables.TABLE_PREFS_INDEX, whereClause, whereArgs); in delete()
|