Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java546 protected void executeSilentShellCommand(String command) throws Exception { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase
875 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()
876 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()
882 executeSilentShellCommand("cmd battery set ac " + BATTERY_PLUGGED_ANY); in turnBatteryOff()
883 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()
884 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()
906 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()
910 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
911 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()
918 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()
[all …]