Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java166 String[] whereArgs) { in update() argument
167 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in update()
179 updateLastModified(table, whereClause, whereArgs); in update()
199 int count = mDb.update(table, values, whereClause, whereArgs); in update()
249 private void updateLastModified(String table, String whereClause, String[] whereArgs) { in updateLastModified() argument
255 whereArgs); in updateLastModified()
259 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
260 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in delete()
277 count = mDb.update(table, values, whereClause, whereArgs); in delete()
279 count = mDb.delete(table, whereClause, whereArgs); in delete()
[all …]
DDatabaseModifier.java46 String whereClause, String[] whereArgs); in update() argument
51 public abstract int delete(String table, String whereClause, String[] whereArgs); in delete() argument
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java1603 String[] whereArgs = new String[29]; in deleteRow() local
1605 whereArgs[i++] = values.getAsString(NUMERIC); in deleteRow()
1606 whereArgs[i++] = values.getAsString(MCC); in deleteRow()
1607 whereArgs[i++] = values.getAsString(MNC); in deleteRow()
1608 whereArgs[i++] = values.getAsString(NAME); in deleteRow()
1609 whereArgs[i++] = values.containsKey(APN) ? in deleteRow()
1611 whereArgs[i++] = values.containsKey(USER) ? in deleteRow()
1613 whereArgs[i++] = values.containsKey(SERVER) ? in deleteRow()
1615 whereArgs[i++] = values.containsKey(PASSWORD) ? in deleteRow()
1617 whereArgs[i++] = values.containsKey(PROXY) ? in deleteRow()
[all …]
DSmsProvider.java648 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
655 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
658 MmsSmsDatabaseHelper.updateThreads(db, where, whereArgs); in delete()
685 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
692 count = db.update(TABLE_RAW, cv, where, whereArgs); in delete()
700 count = db.delete(TABLE_RAW, where, whereArgs); in delete()
708 count = db.delete("sr_pending", where, whereArgs); in delete()
750 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
822 count = db.update(table, values, where, whereArgs); in update()
DSmsChangesProvider.java88 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
110 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
DMmsSmsDatabaseHelper.java402 public static void updateThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateThreads() argument
406 if (whereArgs == null) { in updateThreads()
407 whereArgs = BIND_ARGS_NONE; in updateThreads()
447 whereArgs); in updateThreads()
475 whereArgs); in updateThreads()
495 whereArgs); in updateThreads()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java210 public int update(@NonNull Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
257 public int delete(@NonNull Uri uri, String where, String[] whereArgs) { in delete() argument
263 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
272 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
275 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
284 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java259 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
269 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); in delete()
275 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in delete()
288 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
298 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); in update()
304 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in update()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryDatabaseManager.java149 final String[] whereArgs = new String[size]; in updateAnomalies() local
151 whereArgs[i] = appInfos.get(i).packageName; in updateAnomalies()
158 Collections.nCopies(appInfos.size(), "?")) + ")", whereArgs); in updateAnomalies()
215 final String[] whereArgs = new String[]{String.valueOf(type), String.valueOf(uid), in deleteAction() local
218 return db.delete(TABLE_ACTION, where, whereArgs) != 0; in deleteAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryDatabaseManager.java149 final String[] whereArgs = new String[size]; in updateAnomalies() local
151 whereArgs[i] = appInfos.get(i).packageName; in updateAnomalies()
158 Collections.nCopies(appInfos.size(), "?")) + ")", whereArgs); in updateAnomalies()
215 final String[] whereArgs = new String[]{String.valueOf(type), String.valueOf(uid), in deleteAction() local
218 return db.delete(TABLE_ACTION, where, whereArgs) != 0; in deleteAction()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionDbHelper.java98 String[] whereArgs = {String.valueOf(VoicemailCompat.TRANSCRIPTION_NOT_STARTED)}; in getUntranscribedVoicemails() local
99 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getUntranscribedVoicemails() argument
117 String[] whereArgs = {String.valueOf(VoicemailCompat.TRANSCRIPTION_IN_PROGRESS)}; in getTranscribingVoicemails() local
118 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getTranscribingVoicemails() argument
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DMutationApplier.java112 String[] whereArgs = new String[idsInBatch.size()]; in applyToDatabaseInternal() local
115 whereArgs[i++] = String.valueOf(id); in applyToDatabaseInternal()
120 .withSelection(whereClause, whereArgs) in applyToDatabaseInternal()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVoicemailStatusQueryHelper.java100 String[] whereArgs = {phoneAccountComponentName, phoneAccountId, context.getPackageName()}; in isFieldEqualTo() local
101 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
DVoicemailsQueryHelper.java221 String[] whereArgs = {phoneAccountComponentName, phoneAccountId, sourceData}; in isVoicemailUnique() local
222 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/
DSQLiteCacheHelper.java39 public void delete(String whereClause, String[] whereArgs) { in delete() argument
44 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete()
/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/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/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java492 String[] whereArgs = new String[idsInBatch.size()]; in getIdsFromSystemCallLogThatMatch() local
495 whereArgs[i++] = String.valueOf(id); in getIdsFromSystemCallLogThatMatch()
505 whereArgs, in getIdsFromSystemCallLogThatMatch() argument
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DSmsProviderTest.java230 String[] whereArgs = {Integer.toString(mFakeRefNumber)}; in testRawTableDelete() local
231 assertEquals(1, mContentResolver.delete(mRawUri, where, whereArgs)); in testRawTableDelete()
DCarrierProviderTest.java317 String[] whereArgs = new String[] { dummy_mcc, dummy_mnc }; in testDelete() local
318 … numRowsDeleted = mContentResolver.delete(CarrierProvider.CONTENT_URI, whereClause, whereArgs); in testDelete()
DCarrierIdProviderTest.java232 String[] whereArgs = new String[] { dummy_mccmnc }; in testDeleteCarrierInfo() local
234 whereClause, whereArgs); in testDeleteCarrierInfo()
/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/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()
/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/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()

12