Home
last modified time | relevance | path

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

/aosp_15_r20/cts/hostsidetests/network-policy/app/src/com/android/cts/netpolicy/hostside/
H A DAbstractRestrictBackgroundNetworkTestCase.java573 protected void executeSilentShellCommand(String command) { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase
751 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()
752 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()
758 executeSilentShellCommand("cmd battery set ac " + BATTERY_PLUGGED_ANY); in turnBatteryOff()
759 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()
760 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()
787 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()
791 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
793 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()
804 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()
[all …]