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.java431 protected void executeSilentShellCommand(String command) throws Exception { in executeSilentShellCommand() method in AbstractRestrictBackgroundNetworkTestCase
736 executeSilentShellCommand("cmd battery unplug"); in turnBatteryOff()
741 executeSilentShellCommand("cmd battery reset"); in turnBatteryOn()
763 executeSilentShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOff()
767 executeSilentShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
768 executeSilentShellCommand("wm dismiss-keyguard"); in turnScreenOn()
775 executeSilentShellCommand("cmd power set-mode 1"); in setBatterySaverMode()
777 executeSilentShellCommand("cmd power set-mode 0"); in setBatterySaverMode()
812 executeSilentShellCommand("am set-inactive " + TEST_APP2_PKG + " " + enabled ); in setAppIdle()
894 executeSilentShellCommand(String.format( in setPendingIntentWhitelistDuration()