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.java240 private class Delete implements Command { class in CalendarProvider2Test
246 public Delete(String eventName, int expected, String account, String accountType) { in Delete() method in CalendarProvider2Test.Delete
816 new Delete("normal1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
819 new Delete("normal1", 0, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
820 new Delete("normal2", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
822 new Delete("normal0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
836 new Delete("allday0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
840 new Delete("allday1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
854 new Delete("daily1", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),
858 new Delete("daily0", 1, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE),