Searched refs:mDozeMachine (Results 1 – 2 of 2) sorted by relevance
43 private DozeMachine mDozeMachine; field in DozeService62 mDozeMachine = dozeComponent.getDozeMachine(); in onCreate()63 mDozeMachine.onConfigurationChanged(getResources().getConfiguration()); in onCreate()72 mDozeMachine.destroy(); in onDestroy()73 mDozeMachine = null; in onDestroy()93 mDozeMachine.requestState(DozeMachine.State.INITIALIZED); in onDreamingStarted()103 mDozeMachine.requestState(DozeMachine.State.FINISH); in onDreamingStopped()112 if (mDozeMachine != null) { in dumpOnHandler()113 mDozeMachine.dump(pw); in dumpOnHandler()126 if (mDozeMachine != null) { in onRequestShowDoze()[all …]
82 private DozeMachine mDozeMachine; field in DozeSuppressorTest105 mDozeSuppressor.setDozeMachine(mDozeMachine); in setUp()133 verify(mDozeMachine, atLeastOnce()).requestState(DOZE_SUSPEND_TRIGGERS); in testSuspendTriggersDoze_carMode()134 verify(mDozeMachine, never()) in testSuspendTriggersDoze_carMode()148 verify(mDozeMachine).requestState(DOZE_SUSPEND_TRIGGERS); in testSuspendTriggersDoze_enterCarMode()163 verify(mDozeMachine).requestState(DOZE); in testDozeResume_exitCarMode()178 verify(mDozeMachine).requestState(DOZE_AOD); in testDozeAoDResume_exitCarMode()184 clearInvocations(mDozeMachine); in testUiModeDoesNotChange_noStateTransition()190 verify(mDozeMachine, times(1)).requestState(DOZE_SUSPEND_TRIGGERS); in testUiModeDoesNotChange_noStateTransition()191 verify(mDozeMachine, never()) in testUiModeDoesNotChange_noStateTransition()[all …]