Searched refs:executeSilentShellCommand (Results 1 – 1 of 1) sorted by relevance
485 protected void executeSilentShellCommand(String command) { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase663 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()664 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()670 executeSilentShellCommand("cmd battery set ac " + BATTERY_PLUGGED_ANY); in turnBatteryOff()671 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()672 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()698 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()702 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()703 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()713 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()[all …]