Home
last modified time | relevance | path

Searched refs:Delete (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java303 public static class Delete { class in MockContentProvider
318 public Delete(Uri uri) { in Delete() method in MockContentProvider.Delete
329 public Delete withSelection(String selection, @Nullable String[] selectionArgs) { in withSelection()
341 public Delete withAnySelection() { in withAnySelection()
352 public Delete returnRowsAffected(int rowsAffected) { in returnRowsAffected()
363 public Delete anyNumberOfTimes() { in anyNumberOfTimes()
471 private List<Delete> mExpectedDeletes = new ArrayList<>();
509 public Delete expectDelete(Uri contentUri) { in expectDelete()
510 Delete delete = new Delete(contentUri); in expectDelete()
618 for (Iterator<Delete> iterator = mExpectedDeletes.iterator(); iterator.hasNext(); ) { in delete()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java204 private class Delete implements Command { class in CalendarProvider2Test
210 public Delete(String eventName, int expected, String account, String accountType) { in Delete() method in CalendarProvider2Test.Delete
780 new Delete("normal1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
783 new Delete("normal1", 0, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
784 new Delete("normal2", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
786 new Delete("normal0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
800 new Delete("allday0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
804 new Delete("allday1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
818 new Delete("daily1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
822 new Delete("daily0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),