diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-10-06 12:25:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-10-06 12:25:37 +0000 |
commit | 912592f58c51011965ef1633ca9c96c8008c4b7f (patch) | |
tree | 6a627e927c336bcdc87e00625e273b2540fce4fe | |
parent | dea5c765c347004eb72197821968f4a61b8ac1a6 (diff) | |
parent | 5939f8e97e50fcefac96d6506b944e3c47df03f8 (diff) | |
download | cts-android11-dev.tar.gz |
Merge "Remove testQuiescentBoot_awakeAfterReboot test" into android11-devandroid11-dev
-rw-r--r-- | hostsidetests/os/src/android/os/cts/QuiescentBootTests.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/hostsidetests/os/src/android/os/cts/QuiescentBootTests.java b/hostsidetests/os/src/android/os/cts/QuiescentBootTests.java index ec25a3bfa09..0b0da48f94c 100644 --- a/hostsidetests/os/src/android/os/cts/QuiescentBootTests.java +++ b/hostsidetests/os/src/android/os/cts/QuiescentBootTests.java @@ -93,19 +93,6 @@ public class QuiescentBootTests extends BaseHostJUnit4Test { assertEquals("Expected to boot into sleep state.", WAKEFULNESS_ASLEEP, getWakefulness()); } - @Test - public void testQuiescentBoot_awakeAfterReboot() throws Exception { - mDevice.executeAdbCommand("reboot", "quiescent"); - mDevice.waitForBootComplete(REBOOT_TIMEOUT); - - mDevice.executeAdbCommand("reboot"); - mDevice.waitForBootComplete(REBOOT_TIMEOUT); - - assertNull("Quiescent system property (ro.boot.quiescent) unexpectedly set.", - mDevice.getProperty("ro.boot.quiescent")); - assertEquals("Expected to boot in awake state.", WAKEFULNESS_AWAKE, getWakefulness()); - } - private Wakefulness getWakefulness() throws Exception { return ((PowerManagerServiceDumpProto) ProtoUtils.getProto(getDevice(), PowerManagerServiceDumpProto.parser(), |