Searched refs:ShellCommandRule (Results 1 – 8 of 8) sorted by relevance
41 public class ShellCommandRule implements TestRule { class48 public ShellCommandRule(String cmd, @Nullable String revertCommand, boolean checkSuccess, in ShellCommandRule() method in ShellCommandRule56 public ShellCommandRule(String cmd, @Nullable String revertCommand) { in ShellCommandRule() method in ShellCommandRule95 public static ShellCommandRule grantWidgetBind() {96 return new ShellCommandRule("appwidget grantbind --package "103 public static ShellCommandRule setDefaultLauncher() {105 return new ShellCommandRule(getLauncherCommand(launcher), null, true, () ->121 public static ShellCommandRule disableHeadsUpNotification() {122 return new ShellCommandRule("settings put global heads_up_notifications_enabled 0",
31 import com.android.launcher3.util.rule.ShellCommandRule;46 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
36 import com.android.launcher3.util.rule.ShellCommandRule;52 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
45 import com.android.launcher3.util.rule.ShellCommandRule;62 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;186 public ShellCommandRule mDisableHeadsUpNotification =187 ShellCommandRule.disableHeadsUpNotification();221 ? 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;
40 "src/com/android/launcher3/util/rule/ShellCommandRule.java",