Searched refs:executeSilentShellCommand (Results 1 – 1 of 1) sorted by relevance
492 protected void executeSilentShellCommand(String command) { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase670 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOn()671 executeSilentShellCommand("cmd battery set status " in turnBatteryOn()677 executeSilentShellCommand("cmd battery set ac " + BATTERY_PLUGGED_ANY); in turnBatteryOff()678 executeSilentShellCommand("cmd battery set level 100"); in turnBatteryOff()679 executeSilentShellCommand("cmd battery set status " in turnBatteryOff()706 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()710 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()712 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()723 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()[all …]