Searched refs:mWorkTimer (Results 1 – 3 of 3) sorted by relevance
38 private WorkTimer mWorkTimer; field in WorkTimerTest43 mWorkTimer = new WorkTimer(); in setUp()51 mWorkTimer.startTimer(WORKSPEC_ID_1, 0, listenerSpy); in testTimer_withListenerAndCleanUp()54 assertThat(mWorkTimer.getTimerMap().size(), is(0)); in testTimer_withListenerAndCleanUp()55 assertThat(mWorkTimer.getListeners().size(), is(0)); in testTimer_withListenerAndCleanUp()62 mWorkTimer.startTimer(WORKSPEC_ID_1, 100, listenerSpy); in testStopTimer_withCleanUp()63 mWorkTimer.stopTimer(WORKSPEC_ID_1); in testStopTimer_withCleanUp()66 assertThat(mWorkTimer.getTimerMap().size(), is(0)); in testStopTimer_withCleanUp()67 assertThat(mWorkTimer.getListeners().size(), is(0)); in testStopTimer_withCleanUp()
98 private final WorkTimer mWorkTimer; field in WorkTimer.WorkTimerRunnable102 mWorkTimer = workTimer; in WorkTimerRunnable()108 synchronized (mWorkTimer.mLock) { in run()109 if (mWorkTimer.mTimerMap.containsKey(mWorkSpecId)) { in run()110 mWorkTimer.mTimerMap.remove(mWorkSpecId); in run()112 TimeLimitExceededListener listener = mWorkTimer.mListeners.remove(mWorkSpecId); in run()
57 private final WorkTimer mWorkTimer; field in SystemAlarmDispatcher80 mWorkTimer = new WorkTimer(); in SystemAlarmDispatcher()163 return mWorkTimer; in getWorkTimer()