Searched refs:executeSilentShellCommand (Results 1 – 1 of 1) sorted by relevance
546 protected void executeSilentShellCommand(String command) throws Exception { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase875 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 …]