Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 24 of 24) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java836 String[] whereArgs = new String[29]; in deleteRow() local
838 whereArgs[i++] = values.getAsString(NUMERIC); in deleteRow()
839 whereArgs[i++] = values.getAsString(MCC); in deleteRow()
840 whereArgs[i++] = values.getAsString(MNC); in deleteRow()
841 whereArgs[i++] = values.getAsString(NAME); in deleteRow()
842 whereArgs[i++] = values.containsKey(APN) ? in deleteRow()
844 whereArgs[i++] = values.containsKey(USER) ? in deleteRow()
846 whereArgs[i++] = values.containsKey(SERVER) ? in deleteRow()
848 whereArgs[i++] = values.containsKey(PASSWORD) ? in deleteRow()
850 whereArgs[i++] = values.containsKey(PROXY) ? in deleteRow()
[all …]
DSmsProvider.java649 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
656 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
659 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); in delete()
686 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
693 count = db.update(TABLE_RAW, cv, where, whereArgs); in delete()
701 count = db.delete(TABLE_RAW, where, whereArgs); in delete()
709 count = db.delete("sr_pending", where, whereArgs); in delete()
751 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
823 count = db.update(table, values, where, whereArgs); in update()
DMmsSmsDatabaseHelper.java420 public static void updateAllThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateAllThreads() argument
430 Cursor c = db.rawQuery(query, whereArgs); in updateAllThreads()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java158 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
159 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in update()
177 int count = mDb.update(table, values, whereClause, whereArgs); in update()
188 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
189 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in delete()
206 count = mDb.update(table, values, whereClause, whereArgs); in delete()
208 count = mDb.delete(table, whereClause, whereArgs); in delete()
226 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { in getModifiedPackages() argument
230 whereArgs, null, null, null); in getModifiedPackages()
DDatabaseModifier.java45 String whereClause, String[] whereArgs); in update() argument
50 public abstract int delete(String table, String whereClause, String[] whereArgs); in delete() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSQLiteCacheHelper.java34 public void update(ContentValues values, String whereClause, String[] whereArgs) { in update() argument
39 mOpenHelper.getWritableDatabase().update(mTableName, values, whereClause, whereArgs); in update()
50 public void delete(String whereClause, String[] whereArgs) { in delete() argument
55 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java255 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
260 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); in delete()
266 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in delete()
284 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
289 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); in update()
295 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in update()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java202 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
249 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
255 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
264 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
267 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
276 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DVoicemailStatusQueryHelper.java97 String[] whereArgs = { phoneAccountComponentName, phoneAccountId, in isFieldEqualTo() local
100 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
DVoicemailsQueryHelper.java211 String[] whereArgs = { phoneAccountComponentName, phoneAccountId, sourceData }; in isVoicemailUnique() local
213 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java263 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/Calendar/src/com/android/calendar/event/
DEventLocationAdapter.java357 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()
DEditEventFragment.java207 String[] whereArgs = { in onQueryComplete() local
213 whereArgs /* selection args */, null /* sort order */); in onQueryComplete()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1033 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { in deleteRequestHeaders() argument
1035 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null); in deleteRequestHeaders()
1062 final String where, final String[] whereArgs) { in update() argument
1123 final SqlSelection selection = getWhereClause(uri, where, whereArgs, match); in update()
1169 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, in getWhereClause() argument
1172 selection.appendClause(where, whereArgs); in getWhereClause()
1191 public int delete(final Uri uri, final String where, final String[] whereArgs) { in delete() argument
1205 final SqlSelection selection = getWhereClause(uri, where, whereArgs, match); in delete()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java365 String[] whereArgs; in addIdToSelectionArgs() local
370 whereArgs = new String[] { in addIdToSelectionArgs()
377 return DatabaseUtils.appendSelectionArgs(selectionArgs, whereArgs); in addIdToSelectionArgs()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java167 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/
DDownloadCache.java91 String whereArgs[] = {String.valueOf(hash), stringUrl}; in findEntryInDatabase() local
93 WHERE_HASH_AND_URL, whereArgs, null, null, null); in findEntryInDatabase()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java288 … String[] whereArgs = new String[] { Integer.toString(storage.getStorageId()) };
292 db.update("files", values, where, whereArgs);
295 int numpurged = db.delete("files", where, whereArgs);
4019 public int delete(Uri uri, String userWhere, String[] whereArgs) { in delete() argument
4077 sGetTableAndWhereParam.where, whereArgs, null, null, null); in delete()
4155 count = db.delete("files", sGetTableAndWhereParam.where, whereArgs); in delete()
4163 sGetTableAndWhereParam.where, whereArgs); in delete()
4173 sGetTableAndWhereParam.where, whereArgs, null, null, null); in delete()
4185 sGetTableAndWhereParam.where, whereArgs); in delete()
4191 sGetTableAndWhereParam.where, whereArgs); in delete()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java1768 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()
DEmailProvider.java3900 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/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java412 String[] whereArgs = new String[]{ mCurrentId }; in deleteApn() local
414 mDatabase.delete(ApnDatabase.APN_TABLE, where, whereArgs); in deleteApn()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java358 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/
DNotificationUtils.java1741 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/
DIndex.java1297 final String[] whereArgs = new String[] { value }; in delete() local
1299 return database.delete(Tables.TABLE_PREFS_INDEX, whereClause, whereArgs); in delete()