OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:executeShellCommand
(Results
101 - 125
of
669
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/tools/tradefederation/core/src/com/android/tradefed/util/
SimplePerfUtil.java
94
String output = mDevice.
executeShellCommand
(commandStringPreparer(command));
95
Assert.assertNotNull("
ExecuteShellCommand
returns null", output);
111
mDevice.
executeShellCommand
(commandStringPreparer(command), receiver);
134
mDevice.
executeShellCommand
(commandStringPreparer(command), receiver,
AppVersionFetcher.java
70
String packageInfo = device.
executeShellCommand
(shellCommand);
78
String packageInfo = device.
executeShellCommand
(shellCommand);
CircularAtraceUtil.java
72
device.
executeShellCommand
(command);
93
device.
executeShellCommand
(command);
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
AbstractRestrictBackgroundNetworkTestCase.java
153
executeShellCommand
("settings get global app_idle_constants");
419
executeShellCommand
("settings get global app_idle_constants");
502
protected String
executeShellCommand
(String command) throws Exception {
512
final String result =
executeShellCommand
(command);
548
result =
executeShellCommand
(command).trim();
705
executeShellCommand
("cmd netpolicy set restrict-background " + enabled);
706
final String output =
executeShellCommand
("cmd netpolicy get restrict-background ");
714
executeShellCommand
("cmd netpolicy add restrict-background-whitelist " + uid);
722
executeShellCommand
("cmd netpolicy remove restrict-background-whitelist " + uid);
731
executeShellCommand
("cmd netpolicy add restrict-background-blacklist " + uid)
[
all
...]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseLauncherAppsTest.java
54
CLog.d("Output for command " + command + ": " + getDevice().
executeShellCommand
(command));
DeviceOwnerTest.java
149
getDevice().
executeShellCommand
(
151
getDevice().
executeShellCommand
(
419
getDevice().
executeShellCommand
("dpm force-security-logs");
428
getDevice().
executeShellCommand
("dpm force-security-logs");
444
getDevice().
executeShellCommand
("echo just_testing_" + i);
513
executeShellCommand
("dumpsys activity activities");
514
executeShellCommand
("dumpsys window -a");
515
executeShellCommand
("dumpsys activity service com.android.systemui");
540
executeShellCommand
("am start -a android.settings.SETTINGS");
764
getDevice().
executeShellCommand
(command)
[
all
...]
/cts/hostsidetests/multiuser/src/android/host/multiuser/
CreateUsersPermissionTest.java
68
final String output = getDevice().
executeShellCommand
(setRestriction + "1");
/cts/tests/framework/base/activitymanager/src/android/server/am/
ActivityManagerAmProfileTests.java
118
executeShellCommand
(
124
executeShellCommand
(getStopProfileCmd(DEBUGGABLE_APP_ACTIVITY));
164
executeShellCommand
("mv " + OUTPUT_FILE_PATH + " " + mReadableFilePath);
173
executeShellCommand
("rm -f " + OUTPUT_FILE_PATH + " " + mReadableFilePath);
ActivityManagerVrDisplayTests.java
67
executeShellCommand
("setprop vr_virtualdisplay true");
68
executeShellCommand
("vr set-persistent-vr-mode-enabled true");
74
executeShellCommand
("vr set-persistent-vr-mode-enabled false");
75
executeShellCommand
("setprop vr_virtualdisplay false");
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
PackageHelper.java
53
cmdHelper.
executeShellCommand
(String.format("pm clear %s", packageName));
/platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/
PowerPerfTest.java
49
String result = getUiDevice().
executeShellCommand
(mScriptFilePath);
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
PackageDisabler.java
42
device.
executeShellCommand
("pm disable-user " + mPackageName);
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DataIdleTestHelper.java
47
String res = mDevice.
executeShellCommand
("ping -c 10 -w 100 " + host);
/tools/tradefederation/core/python-lib/helloWorld/
test_hello_world.py
48
res = self.android_device.
executeShellCommand
('id')
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
CpuThrottlingWaiter.java
77
String freq = device.
executeShellCommand
(
91
String result = device.
executeShellCommand
(
119
String result = device.
executeShellCommand
("ls -1 -d /sys/devices/system/cpu/cpu*/cpufreq");
126
result = device.
executeShellCommand
(
AdditionalFilesInstaller.java
85
device.
executeShellCommand
(String.format("rm -r %s*", DEST_PATH));
105
return device.
executeShellCommand
(String.format("ls %s", path)).trim().length() > 0;
TestSystemAppInstallSetup.java
77
device.
executeShellCommand
("stop");
88
device.
executeShellCommand
("start");
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
EmmcPerformanceTest.java
257
output = mTestDevice.
executeShellCommand
(command).split("\n");
288
output = mTestDevice.
executeShellCommand
(command);
330
mTestDevice.
executeShellCommand
("echo 3 > /proc/sys/vm/drop_caches");
357
mTestDevice.
executeShellCommand
("umount /sdcard");
358
mTestDevice.
executeShellCommand
("umount /data");
359
mTestDevice.
executeShellCommand
("umount /cache");
361
mTestDevice.
executeShellCommand
(
363
mTestDevice.
executeShellCommand
(
385
String output = mTestDevice.
executeShellCommand
("vdc dump | grep cache");
403
String output = mTestDevice.
executeShellCommand
("df cache")
[
all
...]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DeviceFileReporterTest.java
82
EasyMock.expect(mDevice.
executeShellCommand
(EasyMock.eq("ls /data/tombstones/*")))
107
EasyMock.expect(mDevice.
executeShellCommand
(EasyMock.eq("ls /data/tombstones/*")))
133
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
160
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
212
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
219
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
269
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
277
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
307
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject()))
324
EasyMock.expect(mDevice.
executeShellCommand
((String)EasyMock.anyObject())
[
all
...]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DeviceIdleJobsTest.java
113
final String output = uiDevice.
executeShellCommand
("cmd deviceidle enabled deep").trim();
229
final String output = mUiDevice.
executeShellCommand
("cmd deviceidle tempwhitelist").trim();
255
mUiDevice.
executeShellCommand
("cmd deviceidle " + (idle ? "force-idle" : "unforce"));
265
mUiDevice.
executeShellCommand
("cmd deviceidle tempwhitelist -d " + duration
271
mUiDevice.
executeShellCommand
("am make-uid-idle --user current " + TEST_APP_PACKAGE);
285
mUiDevice.
executeShellCommand
("am set-standby-bucket " + TEST_APP_PACKAGE
290
mUiDevice.
executeShellCommand
("dumpsys battery unplug");
294
mUiDevice.
executeShellCommand
("dumpsys battery reset");
DeviceStatesTest.java
65
mUiDevice.
executeShellCommand
("cmd jobscheduler trigger-dock-state "
86
mUiDevice.
executeShellCommand
("cmd activity idle-maintenance");
/frameworks/base/core/java/android/app/
IUiAutomationConnection.aidl
46
void
executeShellCommand
(String command, in ParcelFileDescriptor sink,
/tools/tradefederation/contrib/src/com/android/tradefed/targetprep/
SetPackagesRecentlyUsed.java
72
String[] packages = device.
executeShellCommand
("cmd package list package").split("\n");
82
device.
executeShellCommand
("rm " + PACKAGE_USAGE_FILE);
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
SystemServerStatusChecker.java
36
mSystemServerPid = device.
executeShellCommand
("pidof system_server");
63
String tmpSystemServerPid = device.
executeShellCommand
("pidof system_server");
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
ActivityStatusCheckerTest.java
51
EasyMock.expect(mMockDevice.
executeShellCommand
(EasyMock.anyObject()))
65
EasyMock.expect(mMockDevice.
executeShellCommand
(EasyMock.anyObject()))
Completed in 1183 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>