Searched refs:executeSilentShellCommand (Results 1 – 1 of 1) sorted by relevance
426 protected void executeSilentShellCommand(String command) { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase598 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()599 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()605 executeSilentShellCommand("cmd battery set ac " + BATTERY_PLUGGED_ANY); in turnBatteryOff()606 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()607 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()629 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()633 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()634 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()641 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()[all …]