Searched refs:ShellCommandRule (Results 1 – 7 of 7) sorted by relevance
42 public class ShellCommandRule implements TestRule { class49 public ShellCommandRule(String cmd, @Nullable String revertCommand, boolean checkSuccess, in ShellCommandRule() method in ShellCommandRule57 public ShellCommandRule(String cmd, @Nullable String revertCommand) { in ShellCommandRule() method in ShellCommandRule96 public static ShellCommandRule grantWidgetBind() {97 return new ShellCommandRule("appwidget grantbind --package "104 public static ShellCommandRule setDefaultLauncher() {108 return new ShellCommandRule(getLauncherCommand(launcher), null, true, () ->124 public static ShellCommandRule disableHeadsUpNotification() {125 return new ShellCommandRule("settings put global heads_up_notifications_enabled 0",
30 import com.android.launcher3.util.rule.ShellCommandRule;45 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
40 import com.android.launcher3.util.rule.ShellCommandRule;56 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
46 import com.android.launcher3.util.rule.ShellCommandRule;63 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
48 import com.android.launcher3.util.rule.ShellCommandRule;71 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
69 import com.android.launcher3.util.rule.ShellCommandRule;208 public ShellCommandRule mDisableHeadsUpNotification =209 ShellCommandRule.disableHeadsUpNotification();242 ? RuleChain.outerRule(ShellCommandRule.setDefaultLauncher()) in getRulesInsideActivityMonitor()
33 import static com.android.launcher3.util.rule.ShellCommandRule.disableHeadsUpNotification;34 import static com.android.launcher3.util.rule.ShellCommandRule.getLauncherCommand;