Home
last modified time | relevance | path

Searched refs:runShellCommand (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/assist/src/android/assist/cts/
DDisableContextTest.java57 SystemUtil.runShellCommand(getInstrumentation(), in tearDown()
59 SystemUtil.runShellCommand(getInstrumentation(), in tearDown()
72 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
74 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
84 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
86 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
96 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
98 SystemUtil.runShellCommand(getInstrumentation(), in testContextAndScreenshotOff()
DAssistTestBase.java84 SystemUtil.runShellCommand(getInstrumentation(), in setUp()
86 SystemUtil.runShellCommand(getInstrumentation(), in setUp()
/cts/hostsidetests/theme/
Dandroid_device.py37 def runShellCommand(self, cmd): member in androidDevice
48 (output, err) = self.runShellCommand("getprop dev.bootcomplete")
70 return self.runShellCommand("am instrument -w " + option)
73 (out, err) = self.runShellCommand("ps")
82 return int(self.runShellCommand("getprop qemu.sf.lcd_density")[0])
84 return int(self.runShellCommand("getprop ro.sf.lcd_density")[0])
87 return int(self.runShellCommand("getprop ro.build.version.sdk")[0])
90 return int(self.runShellCommand("dumpsys | grep SurfaceOrientation")[0].split()[1])
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DSplitSystemUserTest.java31 String curUser = SystemUtil.runShellCommand(getInstrumentation(), "am get-current-user"); in testSplitSystemUserIsDisabled()
38 String splitEnabledStr = trim(SystemUtil.runShellCommand(getInstrumentation(), in testSplitSystemUserIsDisabled()
/cts/libs/deviceutil/src/android/cts/util/
DLocationUtils.java35 SystemUtil.runShellCommand(instrumentation, command.toString()); in registerMockLocationProvider()
DSystemUtil.java58 public static String runShellCommand(Instrumentation instrumentation, String cmd) in runShellCommand() method in SystemUtil
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java237 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in testNoStaleValueModifiedFromOtherProcess()
258 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in testNoStaleValueModifiedFromMultipleProcesses()
293 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in testUriChangesUpdatingFromDifferentProcesses()
299 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in testUriChangesUpdatingFromDifferentProcesses()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java19 import static android.cts.util.SystemUtil.runShellCommand;
148 final String result = runShellCommand(getInstrumentation(), command).trim(); in executeShellCommand()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java141 SystemUtil.runShellCommand(getInstrumentation(), disableImeCommand); in disableImes()
148 SystemUtil.runShellCommand(getInstrumentation(), enableImeCommand); in enableImes()
608 SystemUtil.runShellCommand(getInstrumentation(), String.format( in clearPrintSpoolerData()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java19 import static android.cts.util.SystemUtil.runShellCommand;
371 final String result = runShellCommand(mInstrumentation, command).trim(); in executeShellCommand()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java298 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in setTimeFormat()