Home
last modified time | relevance | path

Searched refs:ShellUtils (Results 1 – 25 of 59) sorted by relevance

123

/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/
DSharedVerifications.kt22 import com.android.compatibility.common.util.ShellUtils
37 ShellUtils.runShellCommand(DomainUtils.setAppLinks(it, "STATE_NO_RESPONSE", "all")) in reset()
38 ShellUtils.runShellCommand(DomainUtils.resetAppLinks(it)) in reset()
39 ShellUtils.runShellCommand(DomainUtils.setAppLinksAllowed(it, context.userId, true)) in reset()
40 ShellUtils.runShellCommand( in reset()
48 ShellUtils.runShellCommand("$enablePrefix $DECLARING_PKG_NAME_1") in reset()
49 ShellUtils.runShellCommand("$enablePrefix $DECLARING_PKG_NAME_2") in reset()
50ShellUtils.runShellCommand("$enablePrefix ${DECLARING_PKG_1_COMPONENT.flattenToString()}") in reset()
51ShellUtils.runShellCommand("$enablePrefix ${DECLARING_PKG_2_COMPONENT.flattenToString()}") in reset()
74 ShellUtils.runShellCommand( in verifyDomains()
[all …]
DDomainVerificationIntentTestBase.kt26 import com.android.compatibility.common.util.ShellUtils
107 assertThat(ShellUtils.runShellCommand(it)).isEmpty() in runShellCommand()
114 ShellUtils.runShellCommand( in assertResolvesTo()
/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt25 import com.android.compatibility.common.util.ShellUtils
65 ShellUtils.runShellCommand("input tap $x $y") in testDefaultToolType()
76 ShellUtils.runShellCommand("input touchscreen tap $x $y") in testToolType()
79 ShellUtils.runShellCommand("input touchpad tap $x $y") in testToolType()
82 ShellUtils.runShellCommand("input touchnavigation tap $x $y") in testToolType()
85 ShellUtils.runShellCommand("input stylus tap $x $y") in testToolType()
88 ShellUtils.runShellCommand("input mouse tap $x $y") in testToolType()
91 ShellUtils.runShellCommand("input trackball tap $x $y") in testToolType()
94 ShellUtils.runShellCommand("input joystick tap $x $y") in testToolType()
/cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/
DDomainVerificationIntentHostTimedTests.kt19 import com.android.compatibility.common.util.ShellUtils
60 ShellUtils.runShellCommand( in multipleVerifiedDisableByComponent()
69 ShellUtils.runShellCommand( in multipleVerifiedDisableByComponent()
86 ShellUtils.runShellCommand( in multipleVerifiedDisableByPackage()
94 ShellUtils.runShellCommand( in multipleVerifiedDisableByPackage()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
31 public final class ShellUtils { class
66 private ShellUtils() { in ShellUtils() method in ShellUtils
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorRatePermissionEventConnectionTestHelper.java23 import com.android.compatibility.common.util.ShellUtils;
105 ShellUtils.runShellCommand("cmd sensor_privacy disable " + userID + " microphone"); in flipAndAssertMicToggleOff()
116 ShellUtils.runShellCommand("cmd sensor_privacy enable " + userID + " microphone"); in flipAndAssertMicToggleOn()
DSensorRatePermissionDirectReportTestHelper.java27 import com.android.compatibility.common.util.ShellUtils;
134 ShellUtils.runShellCommand("cmd sensor_privacy disable " + userID + " microphone"); in flipAndAssertMicToggleOff()
145 ShellUtils.runShellCommand("cmd sensor_privacy enable " + userID + " microphone"); in flipAndAssertMicToggleOn()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCloseOnOutsideTests.java29 import com.android.compatibility.common.util.ShellUtils;
74 ShellUtils.runShellCommand("input tap %d %d", width, height); in touchAndAssert()
/cts/tests/tests/match_flags/src/android/matchflags/cts/
DMatchFlagTests.java28 import com.android.compatibility.common.util.ShellUtils;
186 ShellUtils.runShellCommand(template, SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval()
187 ShellUtils.runShellCommand(template, UNIQUE_AND_SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval()
/cts/tests/backup/src/android/backup/cts/
DPermissionTest.java47 import com.android.compatibility.common.util.ShellUtils;
361 ShellUtils.runShellCommand("pm install -r " + apk); in install()
365 ShellUtils.runShellCommand("pm uninstall " + packageName); in uninstall()
369 ShellUtils.runShellCommand("pm clear " + packageName); in resetApp()
370 ShellUtils.runShellCommand("appops reset " + packageName); in resetApp()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewIntegrationTest.java65 import com.android.compatibility.common.util.ShellUtils;
110 ShellUtils.runShellCommand("cmd statusbar expand-notifications"); in workAroundNotificationShadeWindowIssue()
112 ShellUtils.runShellCommand("cmd statusbar collapse"); in workAroundNotificationShadeWindowIssue()
117 ShellUtils.runShellCommand("wm dismiss-keyguard"); in dismissKeyguard()
121 ShellUtils.runShellCommand("am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS"); in closeSystemDialog()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java58 import com.android.compatibility.common.util.ShellUtils;
332 final String output = ShellUtils.runShellCommand("cmd deviceidle enabled deep").trim(); in isDozeFeatureEnabled()
337 ShellUtils.runShellCommand("cmd deviceidle " + (on ? "force-idle" : "unforce")); in setDozeState()
340 ShellUtils.runShellCommand("cmd deviceidle motion"); in setDozeState()
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java40 import com.android.compatibility.common.util.ShellUtils;
177 String dump = ShellUtils.runShellCommand( in readFirstZoneAndVolumeGroup()
188 ShellUtils.runShellCommand("cmd car_service set-mute-car-volume-group %d %d %s", in setVolumeGroupMute()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultiWindowLoginActivityTest.java21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
22 import static com.android.compatibility.common.util.ShellUtils.tap;
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java40 import com.android.compatibility.common.util.ShellUtils;
122 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testLocationStorageAndRetrieval()
158 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testLocationStorageAndRetrieval()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAbstractVoiceInteractionTestCase.java21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
DAbstractVoiceInteractionBasicTestCase.java21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DContentCaptureLoggingTestRule.java22 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
DOutOfProcessActivity.java21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DAutofillLoggingTestRule.java19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DSpeechRecognizerAvailabilityTest.java19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
/cts/tests/tests/systemui/src/android/systemui/cts/
DNotificationListener.kt22 import com.android.compatibility.common.util.ShellUtils.runShellCommand
/cts/tests/tests/media/src/android/media/cts/
DMediaProjectionTest.java34 import com.android.compatibility.common.util.ShellUtils;
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DSavedDatasetsInfoTest.java26 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
/cts/tests/translation/src/android/translation/cts/
DHelper.java19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;

123