Searched refs:numDeleted (Results 1 – 3 of 3) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 458 final int numDeleted = db.delete(Tables.DIRECTORIES, sb.toString(), in updateDirectoriesForPackage() local 461 Log.d(TAG, " deleted " + numDeleted + " stale rows"); in updateDirectoriesForPackage()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 4336 final int numDeleted = mResolver.delete(Groups.CONTENT_URI, in testGroupDelete_byAccountSelection() local 4339 assertEquals(2, numDeleted); in testGroupDelete_byAccountSelection() 4364 final int numDeleted = mResolver.delete( in testGroupDelete_byAccountParam() local 4370 assertEquals(2, numDeleted); in testGroupDelete_byAccountParam() 6492 int numDeleted = mResolver.delete(deleteWithWrongAccountUri, null, null); in testRawContactDeletion_byAccountParam() local 6493 assertEquals(0, numDeleted); in testRawContactDeletion_byAccountParam() 6503 numDeleted = mResolver.delete(deleteWithCorrectAccountUri, null, null); in testRawContactDeletion_byAccountParam() 6504 assertEquals(1, numDeleted); in testRawContactDeletion_byAccountParam() 6514 int numDeleted = mResolver.delete(RawContacts.CONTENT_URI, in testRawContactDeletion_byAccountSelection() local 6517 assertEquals(0, numDeleted); in testRawContactDeletion_byAccountSelection() [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3482 final int numDeleted = mWorkProfileProvider.delete(Events.CONTENT_URI, in cleanupEnterpriseTestForEvents() local 3485 assertTrue(numDeleted == numToDelete); in cleanupEnterpriseTestForEvents() 3617 final int numDeleted = mWorkProfileProvider.delete(Calendars.CONTENT_URI, null, null); in cleanupEnterpriseTestForCalendars() local 3618 assertTrue(numDeleted == numToDelete); in cleanupEnterpriseTestForCalendars()
|