Searched refs:executeShellCommand (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsUserLifecycleTests.java122 final String dumpsys = executeShellCommand("dumpsys batterystats --checkin");
142 executeShellCommand("dumpsys battery unplug");
143 executeShellCommand("dumpsys batterystats enable pretend-screen-off");
147 executeShellCommand("dumpsys battery reset");
148 executeShellCommand("dumpsys batterystats disable pretend-screen-off");
151 private String executeShellCommand(String cmd) throws Exception { method in class:BatteryStatsUserLifecycleTests
153 InstrumentationRegistry.getInstrumentation()).executeShellCommand(cmd);
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DBaseSettingsProviderTest.java192 executeShellCommand("settings reset global " + modeString);
196 executeShellCommand("settings reset secure " + modeString);
213 executeShellCommand("settings reset global " + packageName + " "
218 executeShellCommand("settings reset secure " + packageName + " "
223 executeShellCommand("settings reset system " + packageName + " "
282 executeShellCommand("settings put global " + name + " "
289 executeShellCommand("settings put secure " + name + " "
295 executeShellCommand("settings put system " + name + " "
350 protected static void executeShellCommand(String command) throws IOException { method in class:BaseSettingsProviderTest
352 .getUiAutomation().executeShellCommand(comman
[all...]
H A DInstallNonMarketAppsDeprecationTest.java80 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand(
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl45 void executeShellCommand(String command, in ParcelFileDescriptor sink,
H A DUiAutomation.java989 public ParcelFileDescriptor executeShellCommand(String command) { method in class:UiAutomation
1003 mUiAutomationConnection.executeShellCommand(command, sink, null);
1052 mUiAutomationConnection.executeShellCommand(command, sink_read, source_write);
H A DUiAutomationConnection.java305 public void executeShellCommand(final String command, final ParcelFileDescriptor sink, method in class:UiAutomationConnection
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java174 mDevice.executeShellCommand("input keyevent KEYCODE_WAKEUP");
175 mDevice.executeShellCommand("wm dismiss-keyguard");
H A DBugreportReceiverTest.java975 UiDevice.getInstance(getInstrumentation()).executeShellCommand(cmd);
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java196 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd);
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
H A DBasePrintTest.java127 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd);
H A DWorkflowTest.java114 getInstrumentation().getUiAutomation().executeShellCommand(cmd))) {
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java1199 String output = executeShellCommand("dumpsys dbinfo " + getContext().getPackageName());
1205 output = executeShellCommand("dumpsys dbinfo " + getContext().getPackageName());
1219 private String executeShellCommand(String cmd) throws Exception { method in class:DatabaseGeneralTest
1221 InstrumentationRegistry.getInstrumentation()).executeShellCommand(cmd);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DConnOnActivityStartTest.java351 final String result = mUiDevice.executeShellCommand(cmd).trim();
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDeviceUtils.java85 device.executeShellCommand(cmdline, receiver, timeout, unit);
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java326 executeShellCommand(String.format(SPEED_PROFILE_CMD, appPkgName));
391 .executeShellCommand(DROP_CACHE_SCRIPT));
627 .executeShellCommand(launchCmd);
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java172 instrumentation.getUiAutomation().executeShellCommand(command));

Completed in 6295 milliseconds