Home
last modified time | relevance | path

Searched refs:runShellCommandOrThrow (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DAppHibernationUtils.kt39 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow in <lambda>()
79 runShellCommandOrThrow("cmd jobscheduler run -u " + in <lambda>()
168 runShellCommandOrThrow("input keyevent KEYCODE_HOME") in goHome()
183 runShellCommandOrThrow(CMD_EXPAND_NOTIFICATIONS) in openUnusedAppsNotification()
213 runShellCommandOrThrow(CMD_COLLAPSE) in resetNotifications()
215 runShellCommandOrThrow(CMD_EXPAND_NOTIFICATIONS) in resetNotifications()
DAppHibernationIntegrationTest.kt45 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow
90 runShellCommandOrThrow("cmd statusbar collapse"), in setup()
94 runShellCommandOrThrow("input keyevent KEYCODE_WAKEUP") in setup()
95 runShellCommandOrThrow("input keyevent 82") in setup()
219 runShellCommandOrThrow(String.format(CMD_KILL, packageName)) in killApp()
DCompanionDeviceManagerTest.kt47 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow
116 runShellCommandOrThrow( in cleanUp()
191 runShellCommandOrThrow("cmd companiondevice simulate_connect $deviceAddress") in testProfiles()
195 runShellCommandOrThrow("cmd companiondevice simulate_disconnect $deviceAddress") in testProfiles()
244 return runShellCommandOrThrow("cmd companiondevice list ${user.identifier}") in getAssociatedDevices()
/cts/tests/tests/permission3/src/android/permission3/cts/
DPermissionTest30WithBluetooth.kt33 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow
146 private fun enableTestMode() = runShellCommandOrThrow("dumpsys activity service" +
149 private fun disableTestMode() = runShellCommandOrThrow("dumpsys activity service" +
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DTestUtils.java20 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;
181 runShellCommandOrThrow("am force-stop " + pkg); in forceStopPackage()
/cts/common/device-side/bedstead/eventlib/
DAndroid.bp36 "compatibility-device-util-axt", // used for SystemUtil.runShellCommandOrThrow
/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java24 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;
282 runShellCommandOrThrow("dumpsys activity service" in enableTestMode()
287 runShellCommandOrThrow("dumpsys activity service" in disableTestMode()
DNearbyDevicesPermissionTest.java28 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;
293 runShellCommandOrThrow("dumpsys activity service" in enableTestMode()
298 runShellCommandOrThrow("dumpsys activity service" in disableTestMode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSystemUtil.java136 public static String runShellCommandOrThrow(String cmd) { in runShellCommandOrThrow() method in SystemUtil