Home
last modified time | relevance | path

Searched refs:mHandlerAdapter (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DExponentialBackoff.java38 private HandlerAdapter mHandlerAdapter = new HandlerAdapter() { field in ExponentialBackoff
85 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DExponentialBackoffTest.java49 @Mock private ExponentialBackoff.HandlerAdapter mHandlerAdapter; field in ExponentialBackoffTest
56 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()