Searched refs:getAsyncRankingState (Results 1 – 3 of 3) sorted by relevance
225 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.SUCCEEDED); in testEndToEndSearch_smartSearchRankingEnabledAndSucceededAfterResultsLoaded()251 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.SUCCEEDED); in testEndToEndSearch_smartSearchRankingEnabledAndSucceededBeforeResultsLoaded()277 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.FAILED); in testEndToEndSearch_smartSearchRankingEnabledAndFailedAfterResultsLoaded()303 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.FAILED); in testEndToEndSearch_smartSearchRankingEnabledAndFailedBeforeResultsLoaded()330 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.TIMED_OUT); in testEndToEndSearch_smartSearchRankingEnabledAndTimedoutAfterResultsLoaded()358 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.TIMED_OUT); in testEndToEndSearch_smartSearchRankingEnabledAndTimedoutBeforeResultsLoaded()462 assertThat(mAdapter.getAsyncRankingState()).isEqualTo(SearchResultsAdapter.DISABLED); in testInitializeSearch_shouldNotRunSmartRankingIfDisabled()472 assertThat(mAdapter.getAsyncRankingState()) in testInitialSearch_shouldRunSmartRankingIfEnabled()
254 @AsyncRankingState int getAsyncRankingState() { in getAsyncRankingState() method in SearchResultsAdapter
468 mSearchAdapter.getAsyncRankingState())); in logSearchResultClicked()