OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:executeShellCommand
(Results
1 - 25
of
172
) sorted by null
1
2
3
4
5
6
7
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
CategoryTest.java
22
String out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000");
28
String out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0]
33
out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0]
40
String out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0]
PackageTest.java
32
String out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000");
36
out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000");
42
String out = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0]
VerbosityTest.java
22
String v0 = mDevice.
executeShellCommand
(MONKEY_CMD + " -s 1337 -p " + PKGS[0] + " 500");
29
String v1 = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -p " + PKGS[0] + " 500");
36
String v2 = mDevice.
executeShellCommand
(MONKEY_CMD + " -v -v -p " + PKGS[0] + " 500");
SeedTest.java
25
String out1 = mDevice.
executeShellCommand
(cmd1);
26
String out2 = mDevice.
executeShellCommand
(cmd1);
30
String out3 = mDevice.
executeShellCommand
(cmd2);
31
String out4 = mDevice.
executeShellCommand
(cmd2);
MonkeyTest.java
29
mDevice.
executeShellCommand
(MONKEY_CMD + " -p " + PKGS[0] + " 500");
34
mDevice.
executeShellCommand
("am start -W -a android.intent.action.MAIN "
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
AdoptableHostTest.java
87
assertEmpty(getDevice().
executeShellCommand
("sm partition " + diskId + " private"));
91
assertSuccess(getDevice().
executeShellCommand
("pm move-package " + PKG + " " + vol.uuid));
97
getDevice().
executeShellCommand
("sm unmount " + vol.volId);
98
getDevice().
executeShellCommand
("sm mount " + vol.volId);
104
assertSuccess(getDevice().
executeShellCommand
("pm move-package " + PKG + " internal"));
110
getDevice().
executeShellCommand
("sm partition " + diskId + " public");
125
.
executeShellCommand
("sm get-primary-storage-uuid").trim();
146
assertEmpty(getDevice().
executeShellCommand
("sm partition " + diskId + " private"));
150
assertSuccess(getDevice().
executeShellCommand
("pm move-primary-storage " + vol.uuid));
155
getDevice().
executeShellCommand
("sm unmount " + vol.volId)
[
all
...]
Utils.java
107
final String output = device.
executeShellCommand
("pm get-max-users");
141
final String output = device.
executeShellCommand
("pm create-user " + name);
146
device.
executeShellCommand
("am start-user " + userId);
159
final String output = device.
executeShellCommand
("pm remove-user " + userId);
PermissionsHostTest.java
132
assertEmpty(getDevice().
executeShellCommand
("pm grant " + pkg + " " + permission));
136
assertEmpty(getDevice().
executeShellCommand
("pm revoke " + pkg + " " + permission));
140
assertEmpty(getDevice().
executeShellCommand
("appops set " + pkg + " " + op + " " + mode));
/cts/tests/tests/telecom/src/android/telecom/cts/
TestUtils.java
72
return
executeShellCommand
(instrumentation, COMMAND_SET_DEFAULT_DIALER + packageName);
76
return
executeShellCommand
(instrumentation, COMMAND_GET_DEFAULT_DIALER);
80
return
executeShellCommand
(instrumentation, COMMAND_GET_SYSTEM_DIALER);
86
executeShellCommand
(instrumentation, COMMAND_ENABLE
94
executeShellCommand
(instrumentation, COMMAND_REGISTER_SIM
104
public static String
executeShellCommand
(Instrumentation instrumentation,
107
instrumentation.getUiAutomation().
executeShellCommand
(command);
/cts/hostsidetests/usage/src/com/android/cts/app/usage/
AppIdleHostTest.java
78
String result = mDevice.
executeShellCommand
(String.format("am get-inactive %s", appPackage));
88
mDevice.
executeShellCommand
(String.format("settings put global %s \"%s\"",
97
String result = mDevice.
executeShellCommand
(String.format("settings get global %s",
108
mDevice.
executeShellCommand
(
116
mDevice.
executeShellCommand
(
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/
SettingsToggler.java
32
device.
executeShellCommand
(
55
device.
executeShellCommand
(
76
device.
executeShellCommand
(
95
device.
executeShellCommand
(
114
device.
executeShellCommand
(
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java
69
mPackageVerifier = getDevice().
executeShellCommand
(
71
getDevice().
executeShellCommand
("settings put global package_verifier_enable 0");
77
getDevice().
executeShellCommand
("settings put global package_verifier_enable "
100
final String result = device.
executeShellCommand
(
109
String commandOutput = getDevice().
executeShellCommand
(command);
118
String commandOutput = getDevice().
executeShellCommand
(command);
131
String commandOutput = getDevice().
executeShellCommand
(command);
155
+ getDevice().
executeShellCommand
(stopUserCommand));
159
+ getDevice().
executeShellCommand
(removeUserCommand));
246
getDevice().
executeShellCommand
(command, parser)
[
all
...]
BaseLauncherAppsTest.java
53
+ getDevice().
executeShellCommand
(command));
MixedProfileOwnerTest.java
71
getDevice().
executeShellCommand
(command);
/cts/tests/tests/calllog/src/android/calllog/cts/
TestUtils.java
39
public static String
executeShellCommand
(Instrumentation instrumentation,
60
instrumentation.getUiAutomation().
executeShellCommand
(command);
/cts/tests/tests/media/src/android/media/cts/
Utils.java
52
instrumentation.getUiAutomation().
executeShellCommand
(cmd.toString());
64
ParcelFileDescriptor pfd = instrumentation.getUiAutomation().
executeShellCommand
(
/frameworks/base/core/java/android/app/
IUiAutomationConnection.aidl
45
void
executeShellCommand
(String command, in ParcelFileDescriptor fd);
/cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTest.java
157
String output = getDevice().
executeShellCommand
("atrace");
172
String output = getDevice().
executeShellCommand
("atrace --list_categories");
213
getDevice().
executeShellCommand
("atrace --async_stop " + atraceArgs);
214
getDevice().
executeShellCommand
("atrace --async_start " + atraceArgs);
215
getDevice().
executeShellCommand
("am start " + TEST_PKG);
216
getDevice().
executeShellCommand
("sleep 1");
217
atraceOutput = getDevice().
executeShellCommand
("atrace --async_stop " + atraceArgs);
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
VMHostTest.java
107
device.
executeShellCommand
(String.format("rm -r %s", VM_TEST_TEMP_DIR));
126
device.
executeShellCommand
(String.format("mkdir %s", VM_TEST_TEMP_DIR));
127
device.
executeShellCommand
(String.format("mkdir %s", remoteFilePath));
GeeTest.java
147
mDevice.
executeShellCommand
(String.format("mkdir %s", remoteFilePath));
159
CLog.v("%s", mDevice.
executeShellCommand
(String.format("chmod 755 %s", fullPath)));
162
mDevice.
executeShellCommand
(String.format("%s %s", fullPath, flags), resultParser,
/cts/hostsidetests/os/src/com/android/cts/app/os/
OsHostTests.java
58
mDevice.
executeShellCommand
(START_NON_EXPORTED_ACTIVITY_COMMAND, outputReceiver);
/platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/
PowerPerfTest.java
49
String result = getUiDevice().
executeShellCommand
(mScriptFilePath);
/cts/hostsidetests/aadb/src/com/android/cts/aadb/
TestDeviceFuncTest.java
76
* {@link TestDevice#
executeShellCommand
(String)}.
86
* Verify that a simple {@link TestDevice#
executeShellCommand
(String)} command is successful.
89
final String output = mTestDevice.
executeShellCommand
("ls");
110
mTestDevice.
executeShellCommand
(String.format("rm %s", deviceFilePath));
124
mTestDevice.
executeShellCommand
(String.format("rm %s", deviceFilePath));
148
mTestDevice.
executeShellCommand
(String.format("rm %s", deviceFilePath));
169
mTestDevice.
executeShellCommand
(String.format("rm %s", deviceFilePath));
272
String origTmpFileStamp = mTestDevice.
executeShellCommand
(String.format("ls -l %s",
283
String unchangedTmpFileStamp = mTestDevice.
executeShellCommand
(String.format("ls -l %s",
305
String tmpFileContents = mTestDevice.
executeShellCommand
(String.format("cat %s"
[
all
...]
TestDeviceStressTest.java
83
mTestDevice.
executeShellCommand
(String.format("rm -r %s", deviceFilePath));
93
mTestDevice.
executeShellCommand
(String.format("rm -r %s", deviceFilePath));
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/
CtsHostJankTest.java
78
mDevice.
executeShellCommand
("rm " + mJarPath);
84
mDevice.
executeShellCommand
("rm -r " + DEVICE_LOCATION + "*.txt");
87
mDevice.
executeShellCommand
(
Completed in 275 milliseconds
1
2
3
4
5
6
7