Searched refs:isWakeLockDisabled (Results 1 – 1 of 1) sorted by relevance
214 () -> isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testLowPowerStandby_wakelockIsDisabled()216 () -> !isWakeLockDisabled(SYSTEM_WAKE_LOCK_TAG)); in testLowPowerStandby_wakelockIsDisabled()244 LOW_POWER_STANDBY_ACTIVATE_TIMEOUT, () -> isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testSetLowPowerStandbyActiveDuringMaintenance()248 assertTrue(isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testSetLowPowerStandbyActiveDuringMaintenance()254 WAKELOCK_STATE_TIMEOUT, () -> !isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testSetLowPowerStandbyActiveDuringMaintenance()261 WAKELOCK_STATE_TIMEOUT, () -> isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testSetLowPowerStandbyActiveDuringMaintenance()371 WAKELOCK_STATE_TIMEOUT, () -> isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testLowPowerStandby_setPolicy_exemptPackageIsNotRestricted()375 WAKELOCK_STATE_TIMEOUT, () -> !isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testLowPowerStandby_setPolicy_exemptPackageIsNotRestricted()465 () -> !isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testLowPowerStandby_allowedReason_tempPowerSaveAllowlist()469 () -> isWakeLockDisabled(TEST_WAKE_LOCK_TAG)); in testLowPowerStandby_allowedReason_tempPowerSaveAllowlist()[all …]