OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:executeShellCommand
(Results
76 - 100
of
669
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/keystore/src/android/server/am/
ActivityManagerTestBase.java
132
executeShellCommand
(AM_FORCE_STOP_TEST_PACKAGE);
133
executeShellCommand
(AM_FORCE_STOP_SECOND_TEST_PACKAGE);
134
executeShellCommand
(AM_FORCE_STOP_THIRD_TEST_PACKAGE);
143
public static String
executeShellCommand
(String command) {
156
executeShellCommand
(getAmStartCmd(activityName, keyValuePairs));
165
executeShellCommand
(AM_START_HOME_ACTIVITY_COMMAND);
171
executeShellCommand
(getAmStartCmd(activityName, keyValuePairs)
190
final String output =
executeShellCommand
(AM_STACK_LIST);
250
final String output =
executeShellCommand
("dumpsys power");
376
final String output =
executeShellCommand
(command)
[
all
...]
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
HermeticMemoryTest.java
96
String preMemInfo = mTestDevice.
executeShellCommand
(PROC_MEMINFO);
109
mTestDevice.
executeShellCommand
(DROP_CACHE);
113
mTestDevice.
executeShellCommand
(String.format(AM_START, mComponentName));
116
String postMemInfo = mTestDevice.
executeShellCommand
(PROC_MEMINFO);
118
String dumpsysMemInfo = mTestDevice.
executeShellCommand
(
120
String mapsInfo = mTestDevice.
executeShellCommand
(
122
String sMapsInfo = mTestDevice.
executeShellCommand
(
124
String statusInfo = mTestDevice.
executeShellCommand
(
260
String memAvailable[] = mTestDevice.
executeShellCommand
(MEM_AVAILABLE).split(SEPARATOR);
263
String cachedProcesses = mTestDevice.
executeShellCommand
(CACHED_PROCESSES)
[
all
...]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
BaseAppSecurityTest.java
56
final String commandOuput = getDevice().
executeShellCommand
(
76
String output = getDevice().
executeShellCommand
(command);
/cts/hostsidetests/sample/src/android/sample/cts/
SampleHostJUnit4Test.java
92
device.
executeShellCommand
(CLEAR_COMMAND);
96
device.
executeShellCommand
(START_COMMAND);
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
VtsHalAdapterPreparerTest.java
75
device.
executeShellCommand
(cmd);
83
device.
executeShellCommand
(cmd);
138
doReturn(output).doReturn("").when(mDevice).
executeShellCommand
(
146
verify(mDevice, times(1)).
executeShellCommand
(eq(adapterCmd));
156
doReturn(output).doReturn("").when(mDevice).
executeShellCommand
(
172
verify(mDevice, times(1)).
executeShellCommand
(eq(cmd));
190
doReturn("").when(mDevice).
executeShellCommand
(
199
doReturn(output).when(mDevice).
executeShellCommand
(
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DeviceStorageFiller.java
56
device.
executeShellCommand
(String.format("fallocate -l %d %s", bytesToWrite, fileName));
69
device.
executeShellCommand
(String.format("rm -f %s", fileName));
PushFileInvoker.java
68
device.
executeShellCommand
(String.format("chmod 755 %s", devicePath));
74
device.
executeShellCommand
(devicePath, receiver,
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
NativeStressTestTest.java
67
EasyMock.expect(mMockDevice.
executeShellCommand
(EasyMock.contains("chmod"))).andReturn("");
87
mMockDevice.
executeShellCommand
(EasyMock.contains("-s 0 -e 99"), (IShellOutputReceiver)
101
mMockDevice.
executeShellCommand
(EasyMock.contains("-s 0 -e 99"), (IShellOutputReceiver)
104
mMockDevice.
executeShellCommand
(EasyMock.contains("-s 100 -e 199"), (IShellOutputReceiver)
118
mMockDevice.
executeShellCommand
(EasyMock.contains("-s 0 -e 99"), (IShellOutputReceiver)
/tools/tradefederation/core/src/com/android/tradefed/device/
TestDevice.java
508
String systemStatusOutput =
executeShellCommand
("dumpsys activity processes");
525
executeShellCommand
(DISMISS_DIALOG_CMD);
558
String output =
executeShellCommand
(DISMISS_KEYGUARD_WM_CMD);
563
executeShellCommand
(DISMISS_KEYGUARD_CMD);
572
executeShellCommand
("dumpsys activity activities | grep -A3 KeyguardController:");
587
executeShellCommand
(TEST_INPUT_CMD, receiver);
631
String output =
executeShellCommand
("pm path android");
640
executeShellCommand
(command);
703
getIDevice().
executeShellCommand
("dumpsys package p", receiver);
751
String output =
executeShellCommand
(LIST_PACKAGES_CMD)
[
all
...]
/cts/hostsidetests/media/src/android/media/cts/
BaseMultiUserTest.java
112
executeShellCommand
("am switch-user " + primaryUserId);
113
executeShellCommand
("wm dismiss-keyguard");
175
protected @Nonnull String
executeShellCommand
(final String command) throws Exception {
177
String commandOutput = getDevice().
executeShellCommand
(command);
184
String commandOutput =
executeShellCommand
(command);
234
getDevice().
executeShellCommand
(stopUserCommand);
316
String commandOutput =
executeShellCommand
(
340
executeShellCommand
("settings delete " + namespace + " " + name);
343
executeShellCommand
("settings" + userFlag + " put " + namespace + " " + name
352
String commandOutput = getDevice().
executeShellCommand
(command)
[
all
...]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
BaseSettingsProviderTest.java
192
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 {
352
.getUiAutomation().
executeShellCommand
(command).getFileDescriptor())
[
all
...]
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTestCase.java
64
executeShellCommand
("input keyevent KEYCODE_WAKEUP");
65
executeShellCommand
("wm dismiss-keyguard");
170
protected String
executeShellCommand
(String command) throws Exception {
185
executeShellCommand
("pm clear com.android.documentsui");
189
mDisabledImes =
executeShellCommand
("ime list -s").split("\n");
191
executeShellCommand
("ime disable " + ime);
197
executeShellCommand
("ime enable " + ime);
/cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTest.java
157
String output = getDevice().
executeShellCommand
("atrace");
172
String output = getDevice().
executeShellCommand
("atrace --list_categories");
214
getDevice().
executeShellCommand
("atrace --async_stop " + atraceArgs);
215
getDevice().
executeShellCommand
("atrace --async_start " + atraceArgs);
216
getDevice().
executeShellCommand
("am start " + TEST_PKG);
217
getDevice().
executeShellCommand
("sleep 5");
218
atraceOutput = getDevice().
executeShellCommand
("atrace --async_stop " + atraceArgs);
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
PackageManagerOTATestUtils.java
70
mDevice.
executeShellCommand
("chmod 644 /data/local.prop");
86
mDevice.
executeShellCommand
(cmd);
191
String res = mDevice.
executeShellCommand
(cmd);
218
String res = mDevice.
executeShellCommand
(cmd);
255
mDevice.
executeShellCommand
("stop");
265
mDevice.
executeShellCommand
("setprop dev.bootcomplete 0");
266
mDevice.
executeShellCommand
("start");
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
SkiaTest.java
131
mDevice.
executeShellCommand
("mkdir -p " + dirName);
147
mDevice.
executeShellCommand
("rm " + path);
158
mDevice.
executeShellCommand
("rm -rf " + pngPath + "/*");
240
mDevice.
executeShellCommand
(String.format("chmod 755 %s", fullPath));
252
mDevice.
executeShellCommand
("stop");
253
mDevice.
executeShellCommand
(cmd);
254
mDevice.
executeShellCommand
("start");
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
AppLinkTests.java
204
executeShellCommand
("pm clear " + TEST_PKG_NAME);
205
executeShellCommand
("pm clear " + YOUTUBE_PKG_NAME);
206
executeShellCommand
("pm set-app-link " + TEST_PKG_NAME + " undefined");
207
executeShellCommand
("pm set-app-link " + YOUTUBE_PKG_NAME + " always");
216
String out =
executeShellCommand
(String.format(
250
return
executeShellCommand
(String.format("pm get-app-link %s", pkgName));
255
executeShellCommand
(String.format("pm set-app-link %s %s", pkgName, valueToBeSet));
259
private String
executeShellCommand
(String command) {
263
ParcelFileDescriptor pfd = mUiAutomation.
executeShellCommand
(command);
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
BaseInstallMultiple.java
83
String result = device.
executeShellCommand
(cmd.toString());
114
result = device.
executeShellCommand
(cmd.toString());
123
result = device.
executeShellCommand
(cmd.toString());
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
StoragedDumpsysTest.java
62
String result = mDevice.
executeShellCommand
("stat /proc/uid_io/stats");
74
mDevice.
executeShellCommand
("dumpsys storaged --force");
93
String output = mDevice.
executeShellCommand
("dumpsys storaged --force --hours 0.01");
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
PackageTest.java
40
mDevice.
executeShellCommand
(cmd, receiver, MAX_TIMEOUT, TimeUnit.MILLISECONDS, 0);
54
mDevice.
executeShellCommand
(cmd2, receiver2, MAX_TIMEOUT, TimeUnit.MILLISECONDS, 0);
70
mDevice.
executeShellCommand
(cmd, receiver, MAX_TIMEOUT, TimeUnit.MILLISECONDS, 0);
/cts/hostsidetests/multiuser/src/android/host/multiuser/
BaseMultiUserTest.java
81
final String output = getDevice().
executeShellCommand
(command);
104
final String output = getDevice().
executeShellCommand
(command);
128
final String commandOuput = getDevice().
executeShellCommand
(
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
VmTestPreparer.java
114
device.
executeShellCommand
(String.format("rm -r %s", VM_TEMP_DIR));
133
device.
executeShellCommand
(String.format("mkdir %s", VM_TEMP_DIR));
134
device.
executeShellCommand
(String.format("mkdir %s", remoteFilePath));
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
LogcatInspector.java
16
* Inherit this class and implement {@link #
executeShellCommand
(String)} to be able to assert that
25
protected abstract InputStream
executeShellCommand
(String command) throws IOException;
35
executeShellCommand
("log -t " + tag + " " + uniqueString);
100
InputStream logcatStream =
executeShellCommand
("logcat -v brief -d " + filterSpec);
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
VtsDeviceInfoCollector.java
87
device.
executeShellCommand
("stop");
88
device.
executeShellCommand
("setprop sys.boot_completed 0");
100
device.
executeShellCommand
("start");
/tools/tradefederation/contrib/src/com/android/media/tests/
PanoramaBenchMarkTest.java
60
mTestDevice.
executeShellCommand
(String.format("chmod 777 %s/local/tmp/panorama_bench",
63
String shellOutput = mTestDevice.
executeShellCommand
(
110
mTestDevice.
executeShellCommand
(String.format("rm -r %s/panorama_input", externalStore));
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
RadioHelper.java
104
mDevice.
executeShellCommand
("setprop dev.bootcomplete 0");
113
String res = mDevice.
executeShellCommand
("ping -c 10 -w 100 " + host);
142
mDevice.
executeShellCommand
("radiooptions 8 *22899");
Completed in 1040 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>