Searched defs:executeShellCommand (Results 1 - 9 of 9) sorted by relevance

/cts/tests/tests/calllog/src/android/calllog/cts/
H A DTestUtils.java39 public static String executeShellCommand(Instrumentation instrumentation, method in class:TestUtils
60 instrumentation.getUiAutomation().executeShellCommand(command);
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
H A DDocumentsClientTestCase.java147 protected String executeShellCommand(String command) throws Exception { method in class:DocumentsClientTestCase
154 executeShellCommand("pm clear com.android.documentsui");
/cts/tests/tests/provider/src/android/provider/cts/
H A DProviderTestUtils.java45 executeShellCommand(command, uiAutomation);
48 static String executeShellCommand(String command, UiAutomation uiAutomation) method in class:ProviderTestUtils
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("bmg
[all...]
/cts/tests/tests/telecom/src/android/telecom/cts/
H A DTestUtils.java76 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, method in class:TestUtils
111 instrumentation.getUiAutomation().executeShellCommand(command);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
H A DPhoneAccountTest.java266 executeShellCommand(COMMAND_ENABLE + " "
272 private String executeShellCommand(String command) throws Exception { method in class:PhoneAccountTest
274 mInstrumentation.getUiAutomation().executeShellCommand(command);
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
H A DActivityManagerTestBase.java111 executeShellCommand(AM_REMOVE_STACK + PINNED_STACK_ID);
112 executeShellCommand(AM_REMOVE_STACK + DOCKED_STACK_ID);
113 executeShellCommand(AM_REMOVE_STACK + FREEFORM_WORKSPACE_STACK_ID);
124 executeShellCommand(AM_FORCE_STOP_TEST_PACKAGE);
129 executeShellCommand(AM_REMOVE_STACK + PINNED_STACK_ID);
130 executeShellCommand(AM_REMOVE_STACK + DOCKED_STACK_ID);
131 executeShellCommand(AM_REMOVE_STACK + FREEFORM_WORKSPACE_STACK_ID);
136 protected String executeShellCommand(String command) throws DeviceNotAvailableException { method in class:ActivityManagerTestBase
138 return mDevice.executeShellCommand(command);
141 protected void executeShellCommand(Strin method in class:ActivityManagerTestBase
[all...]
/cts/hostsidetests/services/windowmanager/src/android/wm/cts/
H A DCrossAppDragAndDropTests.java104 mDevice.executeShellCommand(AM_FORCE_STOP + mSourcePackageName);
105 mDevice.executeShellCommand(AM_FORCE_STOP + mTargetPackageName);
108 private String executeShellCommand(String command) throws DeviceNotAvailableException { method in class:CrossAppDragAndDropTests
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(getMoveTaskComman
[all...]
/cts/tests/tests/telephony/src/android/telephony/cts/
H A DSmsManagerTest.java523 executeShellCommand(command).isEmpty());
527 private String executeShellCommand(String command) method in class:SmsManagerTest
530 getInstrumentation().getUiAutomation().executeShellCommand(command);
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
H A DAbstractRestrictBackgroundNetworkTestCase.java342 protected String executeShellCommand(String command) throws Exception { method in class:AbstractRestrictBackgroundNetworkTestCase
352 final String result = executeShellCommand(command);
388 result = executeShellCommand(command).trim();
505 executeShellCommand("cmd netpolicy set restrict-background " + enabled);
506 final String output = executeShellCommand("cmd netpolicy get restrict-background ");
514 executeShellCommand("cmd netpolicy add restrict-background-whitelist " + uid);
519 executeShellCommand("cmd netpolicy remove restrict-background-whitelist " + uid);
528 executeShellCommand("cmd netpolicy add restrict-background-blacklist " + uid);
533 executeShellCommand("cmd netpolicy remove restrict-background-blacklist " + uid);
548 executeShellCommand("cm
[all...]

Completed in 1337 milliseconds