Searched refs:mTestHandler (Results 1 – 3 of 3) sorted by relevance
60 private Handler mTestHandler; field in ConnectedDeviceVoiceRecognitionNotifierTest67 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()
96 private TestHandler mTestHandler; field in EventsLiveDataTest117 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()
79 private TestHandler mTestHandler; field in SearchViewManagerTest91 mTestHandler = new TestHandler(); in setUp()123 mSearchChipViewManager, null /* savedState */, mTestTimer, mTestHandler); in setUp()169 mTestHandler.dispatchAllMessages(); in fastForwardTo()