HomeSort by relevance Sort by last modified time
    Searched refs:executeShellCommand (Results 1 - 25 of 326) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityManagerActivityVisiblityTests.java 35 executeShellCommand(getAmStartCmd(VISIBLE_BEHIND_ACTIVITY));
39 executeShellCommand(AM_START_HOME_ACTIVITY_COMMAND);
51 executeShellCommand(getAmStartCmd(VISIBLE_BEHIND_ACTIVITY));
52 executeShellCommand(getAmStartCmd(TRANSLUCENT_ACTIVITY));
61 executeShellCommand(getAmStartCmdOverHome(VISIBLE_BEHIND_ACTIVITY));
62 executeShellCommand(getAmStartCmdOverHome(TRANSLUCENT_ACTIVITY));
75 executeShellCommand(getAmStartCmdOverHome(PIP_ON_PIP_ACTIVITY));
78 executeShellCommand(AM_MOVE_TOP_ACTIVITY_TO_PINNED_STACK_COMMAND);
91 executeShellCommand(AM_START_HOME_ACTIVITY_COMMAND);
92 executeShellCommand(getAmStartCmd(TRANSLUCENT_ACTIVITY))
    [all...]
DisplaySizeTest.java 94 mDevice.executeShellCommand("input keyevent 4");
124 mDevice.executeShellCommand("wm density " + targetDensity);
127 final String output = mDevice.executeShellCommand("wm density");
134 mDevice.executeShellCommand("wm density reset");
139 mDevice.executeShellCommand(forceStopCmd);
144 mDevice.executeShellCommand(getStartCommand(packageName, activityName));
151 mDevice.executeShellCommand(startCmd);
165 final String output = mDevice.executeShellCommand("dumpsys window");
ActivityManagerTestBase.java 116 executeShellCommand(AM_REMOVE_STACK + PINNED_STACK_ID);
117 executeShellCommand(AM_REMOVE_STACK + DOCKED_STACK_ID);
118 executeShellCommand(AM_REMOVE_STACK + FREEFORM_WORKSPACE_STACK_ID);
130 executeShellCommand(AM_FORCE_STOP_TEST_PACKAGE);
136 executeShellCommand(AM_REMOVE_STACK + PINNED_STACK_ID);
137 executeShellCommand(AM_REMOVE_STACK + DOCKED_STACK_ID);
138 executeShellCommand(AM_REMOVE_STACK + FREEFORM_WORKSPACE_STACK_ID);
143 protected String executeShellCommand(String command) throws DeviceNotAvailableException {
145 return mDevice.executeShellCommand(command);
148 protected void executeShellCommand(String command, CollectingOutputReceiver outputReceiver
    [all...]
  /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]
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 "
PackageTest.java 33 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000");
38 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000");
45 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0]
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
AdoptableHostTest.java 89 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private"));
93 assertSuccess(getDevice().executeShellCommand(
100 getDevice().executeShellCommand("sm unmount " + vol.volId);
101 getDevice().executeShellCommand("sm mount " + vol.volId);
107 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " internal"));
113 getDevice().executeShellCommand("sm partition " + diskId + " public");
128 .executeShellCommand("sm get-primary-storage-uuid").trim();
149 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private"));
154 getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid, out, 2,
161 getDevice().executeShellCommand("sm unmount " + vol.volId)
    [all...]
PrivilegedUpdateTests.java 74 getDevice().executeShellCommand("pm enable " + SHIM_PKG);
83 getDevice().executeShellCommand("pm enable " + SHIM_PKG);
113 getDevice().executeShellCommand("pm enable " + SHIM_PKG);
115 getDevice().executeShellCommand("pm disable-user " + SHIM_PKG);
120 getDevice().executeShellCommand("pm enable " + SHIM_PKG);
125 getDevice().executeShellCommand("pm disable-user " + SHIM_PKG);
127 getDevice().executeShellCommand("pm enable " + SHIM_PKG);
DirectBootHostTest.java 137 getDevice().executeShellCommand("am start -a android.intent.action.MAIN"
150 getDevice().executeShellCommand("sm set-emulate-fbe true");
173 getDevice().executeShellCommand("sm set-emulate-fbe false");
202 return getDevice().executeShellCommand("sm get-fbe-mode").trim();
206 return "1".equals(getDevice().executeShellCommand("getprop sys.boot_completed").trim());
210 final String featureList = getDevice().executeShellCommand("pm list features");
  /cts/tests/tests/provider/src/android/provider/cts/
ProviderTestUtils.java 45 executeShellCommand(command, uiAutomation);
48 static String executeShellCommand(String command, UiAutomation uiAutomation)
50 ParcelFileDescriptor pfd = uiAutomation.executeShellCommand(command.toString());
68 String output = executeShellCommand("bmgr transport " + transport, uiAutomation);
81 String output = executeShellCommand("bmgr enabled", uiAutomation);
90 executeShellCommand("bmgr enable " + enable, uiAutomation);
96 String output = executeShellCommand("bmgr list transports", uiAutomation);
109 executeShellCommand("bmgr backupnow " + packageName, uiAutomation);
114 executeShellCommand("bmgr restore 1 " + packageName, uiAutomation);
120 executeShellCommand("bmgr wipe " + backupTransport + " " + packageName, uiAutomation)
    [all...]
  /cts/hostsidetests/usage/src/android/app/usage/cts/
AppIdleHostTest.java 50 String result = mDevice.executeShellCommand(String.format("am get-inactive %s", appPackage));
60 mDevice.executeShellCommand(String.format("settings put global %s \"%s\"",
69 String result = mDevice.executeShellCommand(String.format("settings get global %s",
80 mDevice.executeShellCommand(
88 mDevice.executeShellCommand(
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
SettingsPreparerTest.java 53 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once();
60 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once();
70 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
82 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
97 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_7)).andReturn("\n");
104 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_8)).andReturn("\n");
117 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
118 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_7)).andReturn("\n");
  /cts/hostsidetests/services/windowmanager/src/android/wm/cts/
CrossAppDragAndDropTests.java 104 mDevice.executeShellCommand(AM_FORCE_STOP + mSourcePackageName);
105 mDevice.executeShellCommand(AM_FORCE_STOP + mTargetPackageName);
108 private String executeShellCommand(String command) throws DeviceNotAvailableException {
109 return mDevice.executeShellCommand(command);
113 executeShellCommand("logcat -c");
133 executeShellCommand(AM_FORCE_STOP + SOURCE_PACKAGE_NAME);
134 executeShellCommand(AM_FORCE_STOP + TARGET_PACKAGE_NAME);
135 executeShellCommand(AM_FORCE_STOP + TARGET_23_PACKAGE_NAME);
142 executeShellCommand(getStartCommand(componentName, null) + " --stack " +
147 executeShellCommand(getMoveTaskCommand(taskId, DOCKED_STACK_ID))
    [all...]
  /cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
TrustedVoiceHostTest.java 99 getDevice().executeShellCommand(SLEEP_COMMAND);
101 getDevice().executeShellCommand(START_COMMAND);
125 getDevice().executeShellCommand(AWAKE_COMMAND);
126 getDevice().executeShellCommand(DISMISS_KEYGUARD_COMMAND);
  /cts/hostsidetests/multiuser/src/android/host/multiuser/
CreateUsersPermissionTest.java 49 final String output = getDevice().executeShellCommand(setRestriction + "1");
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
MixedManagedProfileOwnerTest.java 84 getDevice().executeShellCommand(command);
96 CLog.d("Output for command " + command + ": " + getDevice().executeShellCommand(command));
98 CLog.d("Output for command " + command + ": " + getDevice().executeShellCommand(command));
  /cts/tests/tests/media/src/android/media/cts/
Utils.java 56 instrumentation.getUiAutomation().executeShellCommand(cmd.toString());
68 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(
91 fd = uiAutomation.executeShellCommand(
99 fd = uiAutomation.executeShellCommand(
105 fd = uiAutomation.executeShellCommand("settings --user cur put secure "
  /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/sustainedperf/src/android/SustainedPerformance/cts/
SustainedPerformanceHostTest.java 76 device.executeShellCommand("cd " + DHRYSTONE + " ; chmod 777 dhry");
78 String result = device.executeShellCommand("echo " + loopCount
165 device.executeShellCommand("settings put global airplane_mode_on 1");
166 device.executeShellCommand("am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true");
177 device.executeShellCommand(START_TEST_COMMAND);
203 device.executeShellCommand(START_COMMAND);
209 device.executeShellCommand(STOP_COMMAND);
224 device.executeShellCommand(START_COMMAND_MODE);
230 device.executeShellCommand(STOP_COMMAND);
240 device.executeShellCommand("settings put global airplane_mode_on 0")
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
TestUtils.java 76 return executeShellCommand(instrumentation, COMMAND_SET_DEFAULT_DIALER + packageName);
80 return executeShellCommand(instrumentation, COMMAND_GET_DEFAULT_DIALER);
84 return executeShellCommand(instrumentation, COMMAND_GET_SYSTEM_DIALER);
90 executeShellCommand(instrumentation, COMMAND_ENABLE
98 executeShellCommand(instrumentation, COMMAND_REGISTER_SIM
108 public static String executeShellCommand(Instrumentation instrumentation,
111 instrumentation.getUiAutomation().executeShellCommand(command);
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
AbstractRestrictBackgroundNetworkTestCase.java 370 protected String executeShellCommand(String command) throws Exception {
380 final String result = executeShellCommand(command);
416 result = executeShellCommand(command).trim();
533 executeShellCommand("cmd netpolicy set restrict-background " + enabled);
534 final String output = executeShellCommand("cmd netpolicy get restrict-background ");
542 executeShellCommand("cmd netpolicy add restrict-background-whitelist " + uid);
547 executeShellCommand("cmd netpolicy remove restrict-background-whitelist " + uid);
556 executeShellCommand("cmd netpolicy add restrict-background-blacklist " + uid);
561 executeShellCommand("cmd netpolicy remove restrict-background-blacklist " + uid);
576 executeShellCommand("cmd netpolicy list " + list)
    [all...]
  /platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/
ExternalStorageHelper.java 118 public String executeShellCommand(String command) {
119 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command);
144 executeShellCommand(String.format("dd if=/dev/zero of=%s/%s bs=1024 count=%d",
156 return Boolean.parseBoolean(executeShellCommand("sm has-adoptable").trim());
163 disks = executeShellCommand("sm list-disks adoptable");
174 return (null != executeShellCommand("sm list-volumes public"));
189 if (null != (lines = executeShellCommand("sm list-volumes " + volType).split("\n"))) {
204 executeShellCommand(String.format("sm partition %s %s", getAdoptionDisk(), type));
207 executeShellCommand("sm forget all");
208 executeShellCommand(String.format("sm partition %s %s", getAdoptionDisk(), type))
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
SettingsPreparer.java 95 String currentSettingValue = device.executeShellCommand(shellCmdGet).trim();
100 device.executeShellCommand(shellCmdPut);
108 device.executeShellCommand(shellCmdPut);
113 String currentSettingValue = device.executeShellCommand(shellCmdGet).trim();

Completed in 3223 milliseconds

1 2 3 4 5 6 7 8 91011>>