Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/
DConnectedDeviceVoiceRecognitionNotifierTest.java60 private Handler mTestHandler; field in ConnectedDeviceVoiceRecognitionNotifierTest
67 mTestHandler = spy(mHandler); in setUp()
71 mContext, mTestHandler); in setUp()
87 verify(mTestHandler).post(argumentCaptor.capture()); in testReceiveIntent_started_showToast()
104 verify(mTestHandler, never()).post(any()); in testReceiveIntent_invalidExtra_noToast()
118 verify(mTestHandler, never()).post(any()); in testReceiveIntent_noExtra_noToast()
132 verify(mTestHandler, never()).post(any()); in testReceiveIntent_invalidIntent_noToast()
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventsLiveDataTest.java96 private TestHandler mTestHandler; field in EventsLiveDataTest
117 mTestHandler = TestHandler.create(); in setUp()
121 mTestHandler, in setUp()
129 if (mTestHandler != null) { in tearDown()
130 mTestHandler.stop(); in tearDown()
293 mTestHandler.setExpectedMessageCount(2); in addObserver_updateScheduled()
298 mTestHandler.awaitExpectedMessages(); in addObserver_updateScheduled()
301 assertThat(mTestHandler.mLastUptimeMillis).isAtLeast(SystemClock.uptimeMillis()); in addObserver_updateScheduled()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java79 private TestHandler mTestHandler; field in SearchViewManagerTest
91 mTestHandler = new TestHandler(); in setUp()
123 mSearchChipViewManager, null /* savedState */, mTestTimer, mTestHandler); in setUp()
169 mTestHandler.dispatchAllMessages(); in fastForwardTo()