/cts/tests/input/src/android/input/cts/ |
D | InputShellCommandTest.kt | 27 import com.android.compatibility.common.util.ShellUtils 77 ShellUtils.runShellCommand("input -d $displayId tap $x $y") in testDefaultTapToolType() 88 ShellUtils.runShellCommand("input touchscreen -d $displayId tap $x $y") in testTapToolType() 91 ShellUtils.runShellCommand("input touchpad -d $displayId tap $x $y") in testTapToolType() 94 ShellUtils.runShellCommand("input touchnavigation -d $displayId tap $x $y") in testTapToolType() 97 ShellUtils.runShellCommand("input stylus -d $displayId tap $x $y") in testTapToolType() 100 ShellUtils.runShellCommand("input mouse -d $displayId tap $x $y") in testTapToolType() 103 ShellUtils.runShellCommand("input trackball -d $displayId tap $x $y") in testTapToolType() 106 ShellUtils.runShellCommand("input joystick -d $displayId tap $x $y") in testTapToolType() 112 ShellUtils.runShellCommand("input -d $displayId scroll") in testDefaultScroll() [all …]
|
D | AppKeyCombinationsTest.kt | 24 import com.android.compatibility.common.util.ShellUtils 54 ShellUtils.runShellCommand("input keycombination CTRL_LEFT SPACE") in testCtrlSpace() 63 ShellUtils.runShellCommand("input keycombination CTRL_LEFT ALT_LEFT Z") in testCtrlAltZ() 74 ShellUtils.runShellCommand("input keyevent KEYCODE_SYSRQ") in testSYSRQ()
|
/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 38 ShellUtils.runShellCommand(DomainUtils.setAppLinks(it, "STATE_NO_RESPONSE", "all")) in reset() 39 ShellUtils.runShellCommand(DomainUtils.resetAppLinks(it)) in reset() 40 ShellUtils.runShellCommand(DomainUtils.setAppLinksAllowed(it, context.userId, true)) in reset() 41 ShellUtils.runShellCommand( in reset() 49 ShellUtils.runShellCommand("$enablePrefix $DECLARING_PKG_NAME_1") in reset() 50 ShellUtils.runShellCommand("$enablePrefix $DECLARING_PKG_NAME_2") in reset() 51 ShellUtils.runShellCommand( in reset() 54 ShellUtils.runShellCommand( in reset() 80 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/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/networksecurityconfig/src/android/security/net/config/cts/ |
D | CertificateTransparencyTestUtils.java | 20 import com.android.compatibility.common.util.ShellUtils; 64 ShellUtils.runShellCommand("am broadcast -a " + ConfigUpdate.ACTION_UPDATE_CT_LOGS); in downloadLogList() 68 ShellUtils.runShellCommand("rm -r " + CT_ROOT_DIRECTORY_PATH); in deleteLogList()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ActivityManagerTest.java | 48 import com.android.compatibility.common.util.ShellUtils; 61 String output = ShellUtils.runShellCommand("pm get-max-users"); in canSupportMultiuser() 85 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 88 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 93 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 94 ShellUtils.runShellCommand("pm remove-user " + out); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() 119 out = ShellUtils.runShellCommand("pm create-user testUser"); in testActivityManager_registerUidChangeObserver_allPermission() 122 ShellUtils.runShellCommand("am switch-user " + out); in testActivityManager_registerUidChangeObserver_allPermission() 128 ShellUtils.runShellCommand("am switch-user " + currentUser); in testActivityManager_registerUidChangeObserver_allPermission() 129 ShellUtils.runShellCommand("pm remove-user " + out); in testActivityManager_registerUidChangeObserver_allPermission()
|
D | CertBlocklistFileTest.java | 34 import com.android.compatibility.common.util.ShellUtils; 88 ShellUtils.runShellCommand("pm install " + TEST_APP_LOCATION); in setUp() 106 ShellUtils.runShellCommand("pm uninstall " + TEST_APP_PKG); in tearDown()
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 53 import com.android.compatibility.common.util.ShellUtils; 221 ShellUtils.runShellCommand("settings put --user %d secure user_setup_complete 1", userId); in setUserSetupComplete() 223 ShellUtils.runShellCommand("settings get --user %d secure user_setup_complete", in setUserSetupComplete() 229 ShellUtils.runShellCommand("settings delete --user %d secure user_setup_complete", in deleteUserSetupComplete() 235 ShellUtils.runShellCommand("am start-user -w --display %d %d", displayId, userId)) in startUserOnDisplay() 257 ShellUtils.runShellCommand("am stop-user -w -f %d", userId); in stopUser() 262 ShellUtils.runShellCommand("pm remove-user --wait %d", in removeUser()
|
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
D | ActivityManagerShortFgsTimeoutTest.java | 24 import com.android.compatibility.common.util.ShellUtils; 52 ShellUtils.runShellCommand( in setUpClass() 64 final String dumpsys = ShellUtils.runShellCommand("dumpsys activity settings"); in extractShortFgsSettings()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceConfigStateHelper.java | 87 final String originalSyncMode = ShellUtils.runShellCommand( in callWithSyncEnabledWithShellPermissions() 92 ShellUtils.runShellCommand("cmd device_config set_sync_disabled_for_tests none"); in callWithSyncEnabledWithShellPermissions() 96 ShellUtils.runShellCommand( in callWithSyncEnabledWithShellPermissions()
|
D | ShellUtils.java | 35 public final class ShellUtils { class 108 private ShellUtils() { in ShellUtils() method in ShellUtils
|
/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/tests/car/src/android/car/cts/utils/ |
D | DumpUtils.java | 20 import com.android.compatibility.common.util.ShellUtils; 42 String output = ShellUtils.runShellCommand( in executeDumpShellCommand()
|
/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/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/ |
D | FgsTimeoutConfigsTest.java | 28 import com.android.compatibility.common.util.ShellUtils; 60 ShellUtils.runShellCommand("cmd device_config reset trusted_defaults activity_manager"); in setUpClass() 100 final String dumpsys = ShellUtils.runShellCommand("dumpsys activity settings"); in extractFgsTimeoutSettings()
|
/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; 195 ShellUtils.runShellCommand(template, SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval() 196 ShellUtils.runShellCommand(template, UNIQUE_AND_SHARED_PKG_NAME, approved); in setDomainUserSelectionApproval()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 47 import com.android.compatibility.common.util.ShellUtils; 179 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testPopulateAndQueryCallAndVoicemailLogs() 201 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testPopulateAndQueryCallAndVoicemailLogs() 222 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testInvalidQueryToCallLog() 228 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testInvalidQueryToCallLog() 241 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testInvalidQueryToCallLog() 244 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testInvalidQueryToCallLog() 382 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testInsertingBusinessCallComposerValues() 428 ShellUtils.runShellCommand("telecom set-default-dialer %s", in testLocationStorageAndRetrieval() 464 ShellUtils.runShellCommand("telecom set-default-dialer default"); in testLocationStorageAndRetrieval()
|
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/ |
D | LocaleConfigTest.java | 36 import com.android.compatibility.common.util.ShellUtils; 170 String installResult = ShellUtils.runShellCommand("pm install -r " + apk); in install() 177 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/backup/src/android/backup/cts/ |
D | PermissionTest.java | 51 import com.android.compatibility.common.util.ShellUtils; 382 ShellUtils.runShellCommand("pm install -r " in install() 388 ShellUtils.runShellCommand("pm uninstall " + packageName); in uninstall() 392 ShellUtils.runShellCommand("pm clear " + packageName); in resetApp() 393 ShellUtils.runShellCommand("appops reset " + packageName); in resetApp()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewMouseInteractionTest.java | 53 import com.android.compatibility.common.util.ShellUtils; 95 ShellUtils.runShellCommand("wm dismiss-keyguard"); in dismissKeyguard() 99 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;
|