Searched refs:TEMP_POWERSAVE_WHITELIST_DURATION_MS (Results 1 – 3 of 3) sorted by relevance
264 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveWhitelists()268 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveWhitelists()285 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()289 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()333 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()337 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()358 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveAndAppIdleWhitelists()362 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveAndAppIdleWhitelists()
116 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()119 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
129 protected static final long TEMP_POWERSAVE_WHITELIST_DURATION_MS = 5_000; // 5 sec field in AbstractRestrictBackgroundNetworkTestCase