Searched refs:isDeviceLightIdleMode (Results 1 – 7 of 7) sorted by relevance
245 when(mPowerManager.isDeviceLightIdleMode()).thenReturn(true); in testAlarmOnLiteIdleModeMinDelay()257 when(mPowerManager.isDeviceLightIdleMode()).thenReturn(true); in testAlarmOnLiteIdleMode()320 when(mPowerManager.isDeviceLightIdleMode()).thenReturn(true, false); in testDeviceMovesToActiveState()
154 } else if (mPowerManager.isDeviceLightIdleMode()) { in updateCallState()274 if (mPowerManager.isDeviceLightIdleMode()) { in onReceive()
751 doReturn(true).when(mPowerManager).isDeviceLightIdleMode(); in doTestTcpInfoDisableParsingWithDozeMode()779 doReturn(false).when(mPowerManager).isDeviceLightIdleMode(); in doTestTcpInfoDisableParsingWithDozeMode()
314 private boolean isDeviceLightIdleMode(@NonNull PowerManager powerManager) { in isDeviceLightIdleMode() method in ApfFilter325 return powerManager.isDeviceLightIdleMode(); in isDeviceLightIdleMode()336 || isDeviceLightIdleMode(powerManager);
702 doReturn(true).when(mPowerManager).isDeviceLightIdleMode(); in testShouldHandleLightDozeKillSwitch()728 doReturn(true).when(mPowerManager).isDeviceLightIdleMode(); in doTestApfFilterMulticastPingWhileDozing()751 doReturn(false).when(mPowerManager).isDeviceLightIdleMode(); in doTestApfFilterMulticastPingWhileDozing()
1772 doReturn(true).when(mPowerManager).isDeviceLightIdleMode(); in testShouldHandleLightDozeKillSwitch()1798 doReturn(true).when(mPowerManager).isDeviceLightIdleMode(); in doTestApfFilterMulticastPingWhileDozing()1821 doReturn(false).when(mPowerManager).isDeviceLightIdleMode(); in doTestApfFilterMulticastPingWhileDozing()
197 || (mShouldDisableInLightDoze && powerManager.isDeviceLightIdleMode());