Searched refs:getWakefulnessState (Results 1 – 3 of 3) sorted by relevance
56 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD()64 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive()72 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping()75 …when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP); in testVolumeChangeW_deviceInteractive_StartedSleeping()
452 mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI()453 && mStatusBar.getWakefulnessState() != in shouldShowUI()
3825 public int getWakefulnessState() { in getWakefulnessState() method