Home
last modified time | relevance | path

Searched refs:fastForwardTo (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java167 private void fastForwardTo(long timeMs) { in fastForwardTo() method in SearchViewManagerTest
168 mTestTimer.fastForwardTo(timeMs); in fastForwardTo()
236 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_TrueAfterOnQueryTextChangeAndWait()
244 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS - 1); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
246 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
254 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS - 1); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
256 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS * 2); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
265 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_FalseIfSearchCanceled()
287 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testOnSearchChanged_CalledAfterOnQueryTextChangedAndWait()
299 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testOnSearchChanged_CalledOnlyOnceAfterOnQueryTextSubmit()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DItemDragListenerTest.java119 mTestTimer.fastForwardTo(DELAY_AFTER_HOVERING); in testHover_OpensView()
132 mTestTimer.fastForwardTo(customTimeout + 1); in testHover_usesCustomTimeout()
144 mTestTimer.fastForwardTo(DELAY_AFTER_HOVERING); in testDragExited_CancelsHoverTask()
157 mTestTimer.fastForwardTo(DELAY_AFTER_HOVERING); in testDragEnded_CancelsHoverTask()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java41 public void fastForwardTo(long time) { in fastForwardTo() method in TestTimer
64 fastForwardTo(mTaskList.getFirst().mExecuteTime); in fastForwardToNextTask()