Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java94 final Bundle undoData = sut.captureDeletionUndoData(uri); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle() local
98 final Uri groupUri = sut.undoDeletion(undoData); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
137 final Bundle undoData = sut.captureDeletionUndoData(groupUri); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() local
141 final Uri recreatedGroup = sut.undoDeletion(undoData); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
163 final Bundle undoData = sut.captureDeletionUndoData(uri); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle() local
165 assertTrue(undoData.isEmpty()); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle()
176 final Bundle undoData = sut.captureDeletionUndoData(ContentUris in test_captureUndoDataForNonExistentGroup_returnsEmptyBundle() local
179 assertTrue(undoData.isEmpty()); in test_captureUndoDataForNonExistentGroup_returnsEmptyBundle()
194 final Bundle undoData = sut.captureDeletionUndoData(groupUri); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup() local
195 undoData.remove(ContactSaveService.GroupsDaoImpl.KEY_GROUP_MEMBERS); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java870 final Bundle undoData = mGroupsDao.captureDeletionUndoData(groupUri); in deleteGroup() local
872 callbackIntent.putExtra(EXTRA_UNDO_DATA, undoData); in deleteGroup()
1828 Uri undoDeletion(Bundle undoData); in undoDeletion() argument