OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:runShellCommand
(Results
1 - 15
of
15
) sorted by null
/cts/common/device-side/util/src/com/android/compatibility/common/util/
LocationUtils.java
35
SystemUtil.
runShellCommand
(instrumentation, command.toString());
SystemUtil.java
56
public static String
runShellCommand
(Instrumentation instrumentation, String cmd)
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
ShellCommandRule.java
46
public static void
runShellCommand
(String command) throws IOException {
67
runShellCommand
(mCmd);
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
BaseDeviceAdminTest.java
78
protected String
runShellCommand
(String template, Object...args) {
80
Log.d(mTag, "
runShellCommand
(): " + command);
82
final String result = SystemUtil.
runShellCommand
(getInstrumentation(), command);
/cts/tests/tests/appwidget/src/android/appwidget/cts/
AppWidgetTestCase.java
140
public ArrayList<String>
runShellCommand
(String command) throws Exception {
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
BasePrintTest.java
125
public static String
runShellCommand
(Instrumentation instrumentation, String cmd)
141
runShellCommand
(getInstrumentation(), String.format(
WorkflowTest.java
112
private static String
runShellCommand
(String cmd) throws IOException {
130
sWindowAnimationScaleBefore = Float.parseFloat(
runShellCommand
(
133
runShellCommand
("settings put global window_animation_scale 0");
138
sTransitionAnimationScaleBefore = Float.parseFloat(
runShellCommand
(
141
runShellCommand
("settings put global transition_animation_scale 0");
146
sAnimatiorDurationScaleBefore = Float.parseFloat(
runShellCommand
(
149
runShellCommand
("settings put global animator_duration_scale 0");
158
runShellCommand
(
162
runShellCommand
(
167
runShellCommand
(
[
all
...]
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
AppWidgetTest.java
121
private ArrayList<String>
runShellCommand
(String command) throws Exception {
167
runShellCommand
(GRANT_BIND_APP_WIDGET_PERMISSION_COMMAND);
/cts/tests/tests/preference2/src/android/preference2/cts/
TestUtils.java
155
runShellCommand
("am stack move-task " + id + " 3 true");
165
runShellCommand
("am stack move-task "+ id +" 1 true");
174
final String output =
runShellCommand
("am stack list");
197
private String
runShellCommand
(String cmd) {
199
return SystemUtil.
runShellCommand
(mInstrumentation, cmd);
/frameworks/base/core/tests/coretests/src/android/print/
BasePrintTest.java
194
public static String
runShellCommand
(Instrumentation instrumentation, String cmd)
210
runShellCommand
(getInstrumentation(), String.format(
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
BasePackageInstallTest.java
217
runShellCommand
("pm uninstall " + TEST_APP_PKG);
220
public ArrayList<String>
runShellCommand
(String command) throws Exception {
/cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsWidgetTest.java
220
SystemUtil.
runShellCommand
(mInstrumentation, GRANT_BIND_APP_WIDGET_PERMISSION_COMMAND);
230
SystemUtil.
runShellCommand
(mInstrumentation, REVOKE_BIND_APP_WIDGET_PERMISSION_COMMAND);
/cts/tests/autofillservice/src/android/autofillservice/cts/
Helper.java
191
static String
runShellCommand
(String template, Object...args) {
193
Log.d(TAG, "
runShellCommand
(): " + command);
196
.
runShellCommand
(InstrumentationRegistry.getInstrumentation(), command);
231
Log.i(TAG, "dumpsys autofill\n\n" +
runShellCommand
("dumpsys autofill"));
243
runShellCommand
("settings put secure %s %s default", USER_SETUP_COMPLETE, newValue);
253
final String isIt =
runShellCommand
("settings get secure %s", USER_SETUP_COMPLETE);
704
runShellCommand
(ACCELLEROMETER_CHANGE, 0);
712
runShellCommand
(ACCELLEROMETER_CHANGE, 1);
724
String[] allProcessDescs =
runShellCommand
("ps -eo PID,ARGS=CMD").split("\n");
748
return Integer.parseInt(
runShellCommand
("cmd autofill get max_partitions"))
[
all
...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
Pm.java
277
return
runShellCommand
("package", new String[] { "list", "package" });
280
return
runShellCommand
("package", new String[] { "list", "package", "-f" });
330
private int
runShellCommand
(String serviceName, String[] args) {
720
return
runShellCommand
("user", new String[] { "list" });
722
return
runShellCommand
("package", mArgs);
726
return
runShellCommand
("package", mArgs);
[
all
...]
/cts/tests/tests/print/src/android/print/cts/
BasePrintTest.java
177
SystemUtil.
runShellCommand
(getInstrumentation(), disableImeCommand);
184
SystemUtil.
runShellCommand
(getInstrumentation(), enableImeCommand);
224
sDisabledPrintServicesBefore = SystemUtil.
runShellCommand
(instrumentation,
243
SystemUtil.
runShellCommand
(instrumentation, "settings put secure "
251
SystemUtil.
runShellCommand
(getInstrumentation(),
313
SystemUtil.
runShellCommand
(instrumentation, "settings put secure "
747
SystemUtil.
runShellCommand
(getInstrumentation(), String.format(
[
all
...]
Completed in 1782 milliseconds