Home
last modified time | relevance | path

Searched refs:runShellCommandForNoOutput (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java59 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()
DAmUtils.java30 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()
DThermalUtils.java39 SystemUtil.runShellCommandForNoOutput("cmd thermalservice override-status " + status); in overrideThermalStatus()
46 SystemUtil.runShellCommandForNoOutput("cmd thermalservice reset"); in resetThermalStatus()
DSystemUtil.java195 public static String runShellCommandForNoOutput(String cmd) { in runShellCommandForNoOutput() method in SystemUtil
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java274 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()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java235 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in testInvalidStateScenario_MultiSessionCantBeApex()
247 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in testInvalidStateScenario_MultiSessionCantBeApex()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java83 SystemUtil.runShellCommandForNoOutput("wm dismiss-keyguard"); in turnScreenOn()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DExactAlarmsTest.java178 SystemUtil.runShellCommandForNoOutput("dumpsys battery reset"); in restoreBatteryState()
389 SystemUtil.runShellCommandForNoOutput("dumpsys battery unplug"); in putDeviceToIdle()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java520 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in testsFailsNonStagedApexInstall()
530 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in testsFailsNonStagedApexInstall()