Searched refs:TEMP_POWERSAVE_WHITELIST_DURATION_MS (Results 1 – 3 of 3) sorted by relevance
290 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveWhitelists()294 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveWhitelists()318 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()322 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveWhitelists()370 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()374 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndDoze_tempPowerSaveAndAppIdleWhitelists()402 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveAndAppIdleWhitelists()406 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testAppIdleAndBatterySaver_tempPowerSaveAndAppIdleWhitelists()
136 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()139 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
121 protected static final long TEMP_POWERSAVE_WHITELIST_DURATION_MS = 5_000; // 5 sec field in AbstractRestrictBackgroundNetworkTestCase