Searched refs:mUpdateStatuses (Results 1 – 7 of 7) sorted by relevance
380 if (updateStats.mUpdateStatuses.isEmpty() in doFullUpdateInternalAsync()386 updateStats.mUpdateStatuses.add( in doFullUpdateInternalAsync()534 if (updateStats.mUpdateStatuses.isEmpty() in doDeltaUpdateAsync()540 updateStats.mUpdateStatuses.add( in doDeltaUpdateAsync()563 if (updateStats.mUpdateStatuses.contains( in doDeltaUpdateAsync()604 if (updateStats.mUpdateStatuses.isEmpty()) {606 updateStats.mUpdateStatuses.add(AppSearchResult.RESULT_OK);624 int[] updateStatusArr = new int[updateStats.mUpdateStatuses.size()];628 for (int updateStatus : updateStats.mUpdateStatuses) {
84 Set<Integer> mUpdateStatuses = new ArraySet<>(); field in ContactsUpdateStats141 mUpdateStatuses.clear(); in clear()167 + mUpdateStatuses.toString() in toString()
180 updateStats.mUpdateStatuses.add(ContactsUpdateStats.ERROR_CODE_CP2_NULL_CURSOR); in getUpdatedContactIds()213 updateStats.mUpdateStatuses.add( in getUpdatedContactIds()
227 updateStats.mUpdateStatuses.add(ContactsUpdateStats.ERROR_CODE_CP2_NULL_CURSOR); in batchUpdateContactsAsync()263 updateStats.mUpdateStatuses.add( in batchUpdateContactsAsync()368 updateStats.mUpdateStatuses.add(ContactsUpdateStats.ERROR_CODE_CP2_RUNTIME_EXCEPTION); in indexContactsFromCursorAsync()
361 updateStats.mUpdateStatuses.add(errorCode); in indexContactsAsync()384 updateStats.mUpdateStatuses.add( in indexContactsAsync()530 updateStats.mUpdateStatuses.add(
493 assertThat(mUpdateStats.mUpdateStatuses).hasSize(1); in testDeltaUpdate_insertedContacts()494 assertThat(mUpdateStats.mUpdateStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_insertedContacts()578 assertThat(mUpdateStats.mUpdateStatuses).hasSize(1); in testDeltaUpdate_deletedContacts()579 assertThat(mUpdateStats.mUpdateStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_deletedContacts()644 assertThat(mUpdateStats.mUpdateStatuses).hasSize(1); in testDeltaUpdate_insertedAndDeletedContacts()645 assertThat(mUpdateStats.mUpdateStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_insertedAndDeletedContacts()719 assertThat(mUpdateStats.mUpdateStatuses).hasSize(1); in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()720 assertThat(mUpdateStats.mUpdateStatuses).containsExactly(AppSearchResult.RESULT_OK); in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()760 mUpdateStats.mUpdateStatuses.add(AppSearchResult.RESULT_OUT_OF_SPACE); in testDeltaUpdate_outOfSpaceError_fullUpdateScheduled()888 updateStats.mUpdateStatuses.add(AppSearchResult.RESULT_UNKNOWN_ERROR); in testLogStats_succeedsWhenMoreUpdateStatusCodesThanDeleteStatusCodes()[all …]
204 assertThat(mUpdateStats.mUpdateStatuses).containsExactly( in testIndexContacts_outOfSpace_shouldNeverCompleteNormally()215 assertThat(mUpdateStats.mUpdateStatuses).containsExactly( in testIndexContacts_outOfSpace_shouldNeverCompleteNormally()