Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
141 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in update()
143 int count = mDb.update(table, values, whereClause, whereArgs); in update()
154 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
155 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in delete()
156 int count = mDb.delete(table, whereClause, whereArgs); in delete()
172 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { in getModifiedPackages() argument
175 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/apps/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java442 public int delete(Uri uri, String whereClause, String[] whereArgs) { in delete() argument
443 Log.v(TAG, "delete " + uri + "," + whereClause + "," + whereArgs[0]); in delete()
446 int count = mDatabase.delete(tableName, whereClause, whereArgs); in delete()
/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.java260 String whereClause = columnName + "=?"; in markBroadcastRead() local
263 … 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/Mms/src/com/android/mms/data/
DContact.java634 final String whereClause = Phone._ID + " IN (" + idSetBuilder.toString() + ")"; in getContactInfoForPhoneUris() local
636 PHONES_WITH_PRESENCE_URI, CALLER_ID_PROJECTION, whereClause, null, null); in getContactInfoForPhoneUris()