Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DAbstractRestrictBackgroundNetworkTestCase.java467 protected void executeSilentShellCommand(String command) { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase
639 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()
640 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()
647 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()
648 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()
674 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()
678 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
679 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()
689 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()
691 executeSilentShellCommand("cmd power set-mode 0"); in setBatterySaverMode()
[all …]