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.java55 SystemUtil.runShellCommandForNoOutput("cmd battery unplug"); in runDumpsysBatteryUnplug()
66 SystemUtil.runShellCommandForNoOutput(("cmd battery set level " + level)); in runDumpsysBatterySetLevel()
75 SystemUtil.runShellCommandForNoOutput(("cmd battery set ac " + (pluggedIn ? "1" : "0"))); in runDumpsysBatterySetPluggedIn()
101 SystemUtil.runShellCommandForNoOutput(("cmd battery reset")); in runDumpsysBatteryReset()
108 SystemUtil.runShellCommandForNoOutput( in enableAdaptiveBatterySaver()
118 SystemUtil.runShellCommandForNoOutput("cmd power set-mode 1"); in enableBatterySaver()
122 SystemUtil.runShellCommandForNoOutput("cmd power set-mode 0"); in enableBatterySaver()
137 SystemUtil.runShellCommandForNoOutput("input keyevent KEYCODE_WAKEUP"); in turnOnScreen()
141 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.java222 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in createEmptyInstallSession()
225 SystemUtil.runShellCommandForNoOutput("pm bypass-allowed-apex-update-check true"); in createEmptyInstallSession()
247 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in createEmptyInstallSession()
250 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/AlarmManager/src/android/alarmmanager/cts/
DExactAlarmsTest.java151 SystemUtil.runShellCommandForNoOutput("dumpsys battery reset"); in putDeviceToIdle()
184 SystemUtil.runShellCommandForNoOutput("dumpsys battery reset"); in restoreBatteryState()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java79 SystemUtil.runShellCommandForNoOutput("wm dismiss-keyguard"); in turnScreenOn()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java517 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check true"); in testsFailsNonStagedApexInstall()
527 SystemUtil.runShellCommandForNoOutput("pm bypass-staged-installer-check false"); in testsFailsNonStagedApexInstall()