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.java264 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()
DAbstractAppIdleTestCase.java116 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
119 SystemClock.sleep(TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
DAbstractRestrictBackgroundNetworkTestCase.java129 protected static final long TEMP_POWERSAVE_WHITELIST_DURATION_MS = 5_000; // 5 sec field in AbstractRestrictBackgroundNetworkTestCase