Searched refs:mWakeupPolicy (Results 1 – 2 of 2) sorted by relevance
86 private WakeupPolicy mWakeupPolicy; field in ControllerTest92 mWakeupPolicy = new WakeupPolicy(sTemplateWakeupSchedule); in setUp()96 mWakeupPolicy, in setUp()128 assertThat(mController.mWakeupPolicy.mIndex).isEqualTo(0); in testOnShutdownCancelled_shouldCancelGarageMode()157 assertThat(mController.mWakeupPolicy.mIndex).isEqualTo(2); in testWakeupTimeProgression()169 assertThat(mController.mWakeupPolicy.mIndex).isEqualTo(i + 3); in testWakeupTimeProgression()194 assertThat(mController.mWakeupPolicy.mIndex).isEqualTo(0); in startAndAssertGarageModeWithSignal()201 assertThat(mController.mWakeupPolicy.mIndex).isEqualTo(1); in startAndAssertGarageModeWithSignal()
40 @VisibleForTesting final WakeupPolicy mWakeupPolicy; field in Controller58 mWakeupPolicy = in Controller()144 mWakeupPolicy.incrementCounter(); in initiateGarageMode()153 mWakeupPolicy.resetCounter(); in resetGarageMode()167 if (mWakeupPolicy.getNextWakeUpInterval() <= 0) { in scheduleNextWakeup()171 int seconds = mWakeupPolicy.getNextWakeUpInterval(); in scheduleNextWakeup()