| /cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/ |
| D | SharedVerifications.kt | 22 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() 50 … ShellUtils.runShellCommand("$enablePrefix ${DECLARING_PKG_1_COMPONENT.flattenToString()}") in reset() 51 … ShellUtils.runShellCommand("$enablePrefix ${DECLARING_PKG_2_COMPONENT.flattenToString()}") in reset() 74 ShellUtils.runShellCommand( in verifyDomains() [all …]
|
| D | DomainVerificationIntentTestBase.kt | 26 import com.android.compatibility.common.util.ShellUtils 103 assertThat(ShellUtils.runShellCommand(it)).isEmpty() in runShellCommand() 115 ShellUtils.runShellCommand( in assertResolvesTo()
|
| /cts/tests/input/src/android/input/cts/ |
| D | InputShellCommandTest.kt | 25 import com.android.compatibility.common.util.ShellUtils 67 ShellUtils.runShellCommand("input tap $x $y") in testDefaultToolType() 78 ShellUtils.runShellCommand("input touchscreen tap $x $y") in testToolType() 81 ShellUtils.runShellCommand("input touchpad tap $x $y") in testToolType() 84 ShellUtils.runShellCommand("input touchnavigation tap $x $y") in testToolType() 87 ShellUtils.runShellCommand("input stylus tap $x $y") in testToolType() 90 ShellUtils.runShellCommand("input mouse tap $x $y") in testToolType() 93 ShellUtils.runShellCommand("input trackball tap $x $y") in testToolType() 96 ShellUtils.runShellCommand("input joystick tap $x $y") in testToolType()
|
| D | AppKeyCombinationsTest.kt | 24 import com.android.compatibility.common.util.ShellUtils 53 ShellUtils.runShellCommand("input keycombination CTRL_LEFT SPACE") in testCtrlSpace() 62 ShellUtils.runShellCommand("input keycombination CTRL_LEFT ALT_LEFT Z") in testCtrlAltZ() 73 ShellUtils.runShellCommand("input keyevent KEYCODE_SYSRQ") in testSYSRQ()
|
| /cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/ |
| D | DomainVerificationIntentHostTimedTests.kt | 19 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/ |
| D | ShellUtils.java | 19 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/tests/security/src/android/security/cts/ |
| D | ActivityManagerTest.java | 57 import com.android.compatibility.common.util.ShellUtils; 73 String output = ShellUtils.runShellCommand("pm get-max-users"); in canSupportMultiuser() 97 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 100 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 105 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 106 ShellUtils.runShellCommand("pm remove-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 131 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_allPermission() 134 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_allPermission() 140 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_allPermission() 141 ShellUtils.runShellCommand("pm remove-user " + out); in testActivityManager_registerUidChangeObserver_allPermission()
|
| D | CVE_2022_20611.java | 18 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
| D | VoiceInteractionHelperTest.java | 27 import com.android.compatibility.common.util.ShellUtils; 66 String dump = ShellUtils.runShellCommand("dumpsys voiceinteraction"); in isVoiceInteractionDisabledFromDump()
|
| /cts/tests/sensor/src/android/hardware/cts/helpers/ |
| D | SensorRatePermissionEventConnectionTestHelper.java | 23 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()
|
| D | SensorRatePermissionDirectReportTestHelper.java | 27 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/tests/provider/src/android/provider/cts/contacts/ |
| D | CallLogTest.java | 41 import com.android.compatibility.common.util.ShellUtils; 157 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testPopulateAndQueryCallAndVoicemailLogs() 179 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testPopulateAndQueryCallAndVoicemailLogs() 200 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testInvalidQueryToCallLog() 206 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testInvalidQueryToCallLog() 219 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testInvalidQueryToCallLog() 222 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testInvalidQueryToCallLog() 353 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testLocationStorageAndRetrieval() 389 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testLocationStorageAndRetrieval()
|
| /cts/tests/process/src/android/os/cts/process/ |
| D | ProcessTest2.java | 58 import com.android.compatibility.common.util.ShellUtils; 75 ShellUtils.runShellCommand("am wait-for-broadcast-idle"); in stopAllHelperApps() 77 ShellUtils.runShellCommand("am force-stop " + PACKAGE_HELPER1); in stopAllHelperApps() 78 ShellUtils.runShellCommand("am force-stop " + PACKAGE_HELPER2); in stopAllHelperApps() 79 ShellUtils.runShellCommand("am force-stop " + PACKAGE_HELPER3); in stopAllHelperApps() 80 ShellUtils.runShellCommand("am force-stop " + PACKAGE_HELPER4); in stopAllHelperApps()
|
| /cts/tests/tests/match_flags/src/android/matchflags/cts/ |
| D | MatchFlagTests.java | 31 import com.android.compatibility.common.util.ShellUtils; 194 ShellUtils.runShellCommand(template, SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval() 195 ShellUtils.runShellCommand(template, UNIQUE_AND_SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval()
|
| /cts/tests/tests/gamemanager/src/android/gamemanager/cts/ |
| D | TestUtil.java | 19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/backup/src/android/backup/cts/ |
| D | PermissionTest.java | 47 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/ |
| D | TextViewIntegrationTest.java | 62 import com.android.compatibility.common.util.ShellUtils; 109 ShellUtils.runShellCommand("cmd statusbar expand-notifications"); in workAroundNotificationShadeWindowIssue() 111 ShellUtils.runShellCommand("cmd statusbar collapse"); in workAroundNotificationShadeWindowIssue() 116 ShellUtils.runShellCommand("wm dismiss-keyguard"); in dismissKeyguard() 120 ShellUtils.runShellCommand("am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS"); in closeSystemDialog()
|
| /cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
| D | AbstractVoiceInteractionTestCase.java | 21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| D | AbstractVoiceInteractionBasicTestCase.java | 21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
| D | CtsSyncManagerTest.java | 58 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/ |
| D | CarAudioManagerTest.java | 41 import com.android.compatibility.common.util.ShellUtils; 179 String dump = ShellUtils.runShellCommand( in readFirstZoneAndVolumeGroup() 190 ShellUtils.runShellCommand("cmd car_service set-mute-car-volume-group %d %d %s", in setVolumeGroupMute()
|
| /cts/tests/autofillservice/src/android/autofillservice/cts/ |
| D | MultiWindowLoginActivityTest.java | 21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand; 22 import static com.android.compatibility.common.util.ShellUtils.tap;
|
| /cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
| D | PhotoPickerFilesUtils.java | 32 import com.android.compatibility.common.util.ShellUtils; 94 ShellUtils.runShellCommand(cmd); in clearMediaOwner()
|
| /cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
| D | AutofillLoggingTestRule.java | 19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
| D | SpeechRecognizerAvailabilityTest.java | 19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|