Searched refs:mHandlerAdapter (Results 1 – 2 of 2) sorted by relevance
38 private HandlerAdapter mHandlerAdapter = new HandlerAdapter() { field in ExponentialBackoff85 mHandlerAdapter.removeCallbacks(mRunnable); in start()86 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in start()92 mHandlerAdapter.removeCallbacks(mRunnable); in stop()101 mHandlerAdapter.removeCallbacks(mRunnable); in notifyFailed()102 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in notifyFailed()112 mHandlerAdapter = a; in setHandlerAdapter()
49 @Mock private ExponentialBackoff.HandlerAdapter mHandlerAdapter; field in ExponentialBackoffTest56 mBackoffUnderTest.setHandlerAdapter(mHandlerAdapter); in setUp()59 ).when(mHandlerAdapter).postDelayed(any(Runnable.class), anyLong()); in setUp()63 }).when(mHandlerAdapter).removeCallbacks(any(Runnable.class)); in setUp()87 verify(mHandlerAdapter, times(2)).removeCallbacks(mRunnable); in testStopBackoff()