| /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() 113 val message = ShellUtils.runShellCommand( in assertResolvesTo() 115 ) + "\n" + 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/tests/tests/car/src/android/car/view/inputmethod/cts/ |
| D | InputMethodManagerServiceProxyTest.java | 34 import com.android.compatibility.common.util.ShellUtils; 81 ShellUtils.runShellCommand("am start-user -w %d", in testCarImmsLifecycle() 93 String shellOut = ShellUtils.runShellCommand("pm create-user testUser"); in createRandomUser() 101 ShellUtils.runShellCommand("am stop-user -w -f %d", userId); in stopAndRemoveUser() 103 ShellUtils.runShellCommand("pm remove-user -w %d", in stopAndRemoveUser() 123 String dump = ShellUtils.runShellCommand("dumpsys input_method --brief"); in parseServiceConfigDump()
|
| /cts/tests/tests/security/src/android/security/cts/ |
| D | ActivityManagerTest.java | 54 import com.android.compatibility.common.util.ShellUtils; 69 String output = ShellUtils.runShellCommand("pm get-max-users"); in canSupportMultiuser() 93 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 96 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 101 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 102 ShellUtils.runShellCommand("pm remove-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 127 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_allPermission() 130 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_allPermission() 136 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_allPermission() 137 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | ShellUtils.java | 29 public final class ShellUtils { class 65 private ShellUtils() { in ShellUtils() method in ShellUtils
|
| /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/framework/base/localeconfig/src/com/android/cts/localeconfig/ |
| D | LocaleConfigTest.java | 33 import com.android.compatibility.common.util.ShellUtils; 151 String installResult = ShellUtils.runShellCommand("pm install -r " + apk); in install() 158 String uninstallResult = ShellUtils.runShellCommand("pm uninstall " + packageName); in uninstall()
|
| D | LocaleConfigAppUpdateTest.java | 43 import com.android.compatibility.common.util.ShellUtils; 219 String installResult = ShellUtils.runShellCommand("pm install -r " + apk); in install() 224 String uninstallResult = ShellUtils.runShellCommand("pm uninstall " + packageName); in uninstall()
|
| /cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
| D | ActivityManagerShortFgsTimeoutTest.java | 24 import com.android.compatibility.common.util.ShellUtils; 53 final String dumpsys = ShellUtils.runShellCommand("dumpsys activity settings"); in extractShortFgsSettings()
|
| /cts/tests/tests/gamemanager/src/android/gamemanager/cts/ |
| D | TestUtil.java | 19 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | TextViewMouseInteractionTest.java | 52 import com.android.compatibility.common.util.ShellUtils; 83 ShellUtils.runShellCommand("wm dismiss-keyguard"); in dismissKeyguard() 87 ShellUtils.runShellCommand("am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS"); in closeSystemDialog()
|
| /cts/tests/backup/src/android/backup/cts/ |
| D | PermissionTest.java | 47 import com.android.compatibility.common.util.ShellUtils; 362 ShellUtils.runShellCommand("pm install -r " in install() 368 ShellUtils.runShellCommand("pm uninstall " + packageName); in uninstall() 372 ShellUtils.runShellCommand("pm clear " + packageName); in resetApp() 373 ShellUtils.runShellCommand("appops reset " + packageName); in resetApp()
|
| /cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
| D | AbstractVoiceInteractionTestCase.java | 21 import static com.android.compatibility.common.util.ShellUtils.runShellCommand;
|
| /cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
| D | TextViewIntegrationTest.java | 54 import com.android.compatibility.common.util.ShellUtils; 98 ShellUtils.runShellCommand("wm dismiss-keyguard"); in dismissKeyguard() 102 ShellUtils.runShellCommand("am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS"); in closeSystemDialog() 107 String result = ShellUtils.runShellCommand("dumpsys window windows"); in dumpScreenInformation()
|
| /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/tests/syncmanager/src/android/content/syncmanager/cts/ |
| D | CtsSyncManagerTest.java | 57 import com.android.compatibility.common.util.ShellUtils; 335 final String output = ShellUtils.runShellCommand("cmd deviceidle enabled deep").trim(); in isDozeFeatureEnabled() 340 ShellUtils.runShellCommand("cmd deviceidle " + (on ? "force-idle" : "unforce")); in setDozeState() 343 ShellUtils.runShellCommand("cmd deviceidle motion"); in setDozeState()
|