Home
last modified time | relevance | path

Searched refs:mUpdateStatuses (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstance.java380 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) {
DContactsUpdateStats.java84 Set<Integer> mUpdateStatuses = new ArraySet<>(); field in ContactsUpdateStats
141 mUpdateStatuses.clear(); in clear()
167 + mUpdateStatuses.toString() in toString()
DContactsProviderUtil.java180 updateStats.mUpdateStatuses.add(ContactsUpdateStats.ERROR_CODE_CP2_NULL_CURSOR); in getUpdatedContactIds()
213 updateStats.mUpdateStatuses.add( in getUpdatedContactIds()
DContactsIndexerImpl.java227 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()
DAppSearchHelper.java361 updateStats.mUpdateStatuses.add(errorCode); in indexContactsAsync()
384 updateStats.mUpdateStatuses.add( in indexContactsAsync()
530 updateStats.mUpdateStatuses.add(
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java493 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 …]
DAppSearchHelperTest.java204 assertThat(mUpdateStats.mUpdateStatuses).containsExactly( in testIndexContacts_outOfSpace_shouldNeverCompleteNormally()
215 assertThat(mUpdateStats.mUpdateStatuses).containsExactly( in testIndexContacts_outOfSpace_shouldNeverCompleteNormally()