Disable LowPowerStandby by adding configuration
On low-performance devices, this test case will activate LOW_POWER_STANDBY mode during the test, which should not be initiated in this test case.
The LOW_POWER_STANDBY mode blocks APK from accessing the network, resulting in test failures.
BUG:301027368
Signed-off-by: Wenbin.Chen <wenbin.chen@amlogic.com>
Change-Id: I1085addd22f4f3b709e1875049633832c5dac852
Test: CtsHostsideNetworkTests#com.android.cts.net.HostsideRestrictBackgroundNetworkTests
diff --git a/tests/cts/hostside/AndroidTest.xml b/tests/cts/hostside/AndroidTest.xml
index 90b7875..0ffe81e 100644
--- a/tests/cts/hostside/AndroidTest.xml
+++ b/tests/cts/hostside/AndroidTest.xml
@@ -36,6 +36,7 @@
<target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
<option name="force-skip-system-props" value="true" />
<option name="set-global-setting" key="verifier_verify_adb_installs" value="0" />
+ <option name="set-global-setting" key="low_power_standby_enabled" value="0" />
</target_preparer>
<test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >