Searched refs:runShellCommand (Results 1 – 11 of 11) sorted by relevance
| /cts/tests/tests/assist/src/android/assist/cts/ |
| D | DisableContextTest.java | 57 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()
|
| D | AssistTestBase.java | 84 SystemUtil.runShellCommand(getInstrumentation(), in setUp() 86 SystemUtil.runShellCommand(getInstrumentation(), in setUp()
|
| /cts/hostsidetests/theme/ |
| D | android_device.py | 37 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/ |
| D | SplitSystemUserTest.java | 31 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/ |
| D | LocationUtils.java | 35 SystemUtil.runShellCommand(instrumentation, command.toString()); in registerMockLocationProvider()
|
| D | SystemUtil.java | 58 public static String runShellCommand(Instrumentation instrumentation, String cmd) in runShellCommand() method in SystemUtil
|
| /cts/tests/tests/provider/src/android/provider/cts/ |
| D | SettingsTest.java | 237 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/ |
| D | DocumentsClientTestCase.java | 19 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/ |
| D | BasePrintTest.java | 141 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/ |
| D | AbstractRestrictBackgroundNetworkTestCase.java | 19 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/ |
| D | DateFormatTest.java | 298 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " in setTimeFormat()
|