Home
last modified time | relevance | path

Searched refs:TEMP_POWERSAVE_WHITELIST_DURATION_MS (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMixedModesTest.java290 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()
DAbstractAppIdleTestCase.java136 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
139 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
DAbstractRestrictBackgroundNetworkTestCase.java121 protected static final long TEMP_POWERSAVE_WHITELIST_DURATION_MS = 5_000; // 5 sec field in AbstractRestrictBackgroundNetworkTestCase