Home
last modified time | relevance | path

Searched refs:whereClause (Results 1 – 15 of 15) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java152 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
218 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), 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/Gallery/src/com/android/camera/gallery/
DVideoList.java90 whereClause(), whereClauseArgs(), sortOrder()); in getBucketIds()
102 protected String whereClause() { in whereClause() method in VideoList
116 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
DImageList.java46 whereClause(), whereClauseArgs(), null); in getBucketIds()
71 protected String whereClause() { in whereClause() method in ImageList
91 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DVoicemailStatusQueryHelper.java94 String whereClause = in isFieldEqualTo() local
100 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
DVoicemailsQueryHelper.java209 String whereClause = in isVoicemailUnique() local
214 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
/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()
374 whereClause, count)); in delete()
DBugleDatabaseOperations.java1909 final String whereClause = rowKey + "=?" + " AND (" + sb.toString() + ")"; in updateRowIfExists() local
1911 final int count = db.update(table, values, whereClause, whereValuesArray); in updateRowIfExists()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java201 String whereClause = String.format("%s=%d", FIELD_APPWIDGET_ID, in deletePhoto() local
203 db.delete(TABLE_PHOTOS, whereClause, null); in deletePhoto()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java262 String whereClause = columnName + "=?"; in markBroadcastRead() local
265 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java773 String whereClause = null;
775 whereClause = "_id = " + url.getPathSegments().get(1);
779 DatabaseUtils.concatenateWhere(whereClause, selection), selectionArgs,
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java1337 String whereClause = "_id="+threadId; in getCanonicalAddressSms() local
1338 if (V) Log.v(TAG, "whereClause is "+ whereClause); in getCanonicalAddressSms()
1340 cr = r.query(sAllThreadsUri, RECIPIENT_ID_PROJECTION, whereClause, null, null); in getCanonicalAddressSms()
1344 + recipientIds + "selection: "+ whereClause ); in getCanonicalAddressSms()
1355 whereClause = ""; in getCanonicalAddressSms()
1358 if(whereClause.length() != 0) in getCanonicalAddressSms()
1359 whereClause +=" OR "; in getCanonicalAddressSms()
1360 whereClause +="_id="+id; in getCanonicalAddressSms()
1362 if (V) Log.v(TAG, "whereClause is "+ whereClause); in getCanonicalAddressSms()
1364 cr = r.query(sAllCanonical , null, whereClause, null, null); in getCanonicalAddressSms()
DBluetoothMapContentObserver.java2643 String whereClause = " _id= " + handle; in moveMmsToFolder() local
2645 Cursor queryResult = resolver.query(uri, null, whereClause, null, null); in moveMmsToFolder()
2653 resolver.update(uri, data, whereClause, null); in moveMmsToFolder()
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java1264 final String whereClause = columName + "=?"; in delete() local
1267 return database.delete(Tables.TABLE_PREFS_INDEX, whereClause, whereArgs); in delete()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5246 final String whereClause = MessageColumns.MAILBOX_KEY + " = ?"; in markAllSeen() local
5249 return db.update(table, values, whereClause, whereArgs); in markAllSeen()