Searched refs:runShellCommandOrThrow (Results 1 – 9 of 9) sorted by relevance
39 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()
45 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow90 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()
47 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow116 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()
33 import com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow146 private fun enableTestMode() = runShellCommandOrThrow("dumpsys activity service" +149 private fun disableTestMode() = runShellCommandOrThrow("dumpsys activity service" +
20 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;181 runShellCommandOrThrow("am force-stop " + pkg); in forceStopPackage()
36 "compatibility-device-util-axt", // used for SystemUtil.runShellCommandOrThrow
24 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;282 runShellCommandOrThrow("dumpsys activity service" in enableTestMode()287 runShellCommandOrThrow("dumpsys activity service" in disableTestMode()
28 import static com.android.compatibility.common.util.SystemUtil.runShellCommandOrThrow;293 runShellCommandOrThrow("dumpsys activity service" in enableTestMode()298 runShellCommandOrThrow("dumpsys activity service" in disableTestMode()
136 public static String runShellCommandOrThrow(String cmd) { in runShellCommandOrThrow() method in SystemUtil