Searched refs:runShellCommandForNoOutput (Results 1 – 9 of 9) sorted by relevance
59 SystemUtil.runShellCommandForNoOutput("cmd battery unplug"); in runDumpsysBatteryUnplug()70 SystemUtil.runShellCommandForNoOutput(("cmd battery set level " + level)); in runDumpsysBatterySetLevel()79 SystemUtil.runShellCommandForNoOutput(("cmd battery set ac " + (pluggedIn ? "1" : "0"))); in runDumpsysBatterySetPluggedIn()105 SystemUtil.runShellCommandForNoOutput(("cmd battery reset")); in runDumpsysBatteryReset()112 SystemUtil.runShellCommandForNoOutput( in enableAdaptiveBatterySaver()132 SystemUtil.runShellCommandForNoOutput("cmd power set-mode 1"); in enableBatterySaver()139 SystemUtil.runShellCommandForNoOutput("cmd power set-mode 0"); in enableBatterySaver()155 SystemUtil.runShellCommandForNoOutput("cmd power set-mode 0"); in resetBatterySaver()166 SystemUtil.runShellCommandForNoOutput("input keyevent KEYCODE_WAKEUP"); in turnOnScreen()170 SystemUtil.runShellCommandForNoOutput("input keyevent KEYCODE_SLEEP"); in turnOnScreen()
30 SystemUtil.runShellCommandForNoOutput("am make-uid-idle " + packageName); in runMakeUidIdle()39 SystemUtil.runShellCommandForNoOutput("am kill --user cur " + packageName); in runKill()62 SystemUtil.runShellCommandForNoOutput("am set-standby-bucket " + packageName in setStandbyBucket()
39 SystemUtil.runShellCommandForNoOutput("cmd thermalservice override-status " + status); in overrideThermalStatus()46 SystemUtil.runShellCommandForNoOutput("cmd thermalservice reset"); in resetThermalStatus()
195 public static String runShellCommandForNoOutput(String cmd) { in runShellCommandForNoOutput() method in SystemUtil
274 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in createEmptyInstallSession()277 SystemUtil.runShellCommandForNoOutput("pm bypass-allowed-apex-update-check true"); in createEmptyInstallSession()281 SystemUtil.runShellCommandForNoOutput("pm disable-verification-for-uid " in createEmptyInstallSession()321 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in createEmptyInstallSession()324 SystemUtil.runShellCommandForNoOutput("pm bypass-allowed-apex-update-check false"); in createEmptyInstallSession()
235 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in testInvalidStateScenario_MultiSessionCantBeApex()247 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in testInvalidStateScenario_MultiSessionCantBeApex()
83 SystemUtil.runShellCommandForNoOutput("wm dismiss-keyguard"); in turnScreenOn()
178 SystemUtil.runShellCommandForNoOutput("dumpsys battery reset"); in restoreBatteryState()389 SystemUtil.runShellCommandForNoOutput("dumpsys battery unplug"); in putDeviceToIdle()
520 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in testsFailsNonStagedApexInstall()530 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in testsFailsNonStagedApexInstall()