Searched refs:mDeleteStatuses (Results 1 – 6 of 6) sorted by relevance
88 Set<Integer> mDeleteStatuses = new ArraySet<>(); field in ContactsUpdateStats142 mDeleteStatuses.clear(); in clear()169 + mDeleteStatuses.toString() in toString()
381 && updateStats.mDeleteStatuses.isEmpty()) { in doFullUpdateInternalAsync()535 && updateStats.mDeleteStatuses.isEmpty()) { in doDeltaUpdateAsync()608 if (updateStats.mDeleteStatuses.isEmpty()) {610 updateStats.mDeleteStatuses.add(AppSearchResult.RESULT_OK);625 int[] deleteStatusArr = new int[updateStats.mDeleteStatuses.size()];632 for (int deleteStatus : updateStats.mDeleteStatuses) {
98 updateStats.mDeleteStatuses.add(ContactsUpdateStats.ERROR_CODE_CP2_NULL_CURSOR); in getDeletedContactIds()123 updateStats.mDeleteStatuses.add( in getDeletedContactIds()
460 updateStats.mDeleteStatuses.add(errorCode); in removeContactsByIdAsync()484 updateStats.mDeleteStatuses.add( in removeContactsByIdAsync()
495 assertThat(mUpdateStats.mDeleteStatuses).hasSize(1); in testDeltaUpdate_insertedContacts()496 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_insertedContacts()580 assertThat(mUpdateStats.mDeleteStatuses).hasSize(1); in testDeltaUpdate_deletedContacts()581 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_deletedContacts()646 assertThat(mUpdateStats.mDeleteStatuses).hasSize(1); in testDeltaUpdate_insertedAndDeletedContacts()647 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_NOT_FOUND); in testDeltaUpdate_insertedAndDeletedContacts()721 assertThat(mUpdateStats.mDeleteStatuses).hasSize(1); in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()722 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()890 updateStats.mDeleteStatuses.add(AppSearchResult.RESULT_INTERNAL_ERROR); in testLogStats_succeedsWhenMoreUpdateStatusCodesThanDeleteStatusCodes()959 assertThat(mUpdateStats.mDeleteStatuses).hasSize(1); in testConcurrentUpdates_updatesDoNotInterfereWithEachOther()[all …]
257 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_NOT_FOUND); in testRemoveContacts_notFound_shouldCompleteNormallyAlways()264 assertThat(mUpdateStats.mDeleteStatuses).containsExactly(AppSearchResult.RESULT_NOT_FOUND); in testRemoveContacts_notFound_shouldCompleteNormallyAlways()