Home
last modified time | relevance | path

Searched refs:ShellCommandRule (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
H A DShellCommandRule.java41 public class ShellCommandRule implements TestRule { class
48 public ShellCommandRule(String cmd, @Nullable String revertCommand, boolean checkSuccess, in ShellCommandRule() method in ShellCommandRule
56 public ShellCommandRule(String cmd, @Nullable String revertCommand) { in ShellCommandRule() method in ShellCommandRule
95 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",
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
H A DAddWidgetTest.java31 import com.android.launcher3.util.rule.ShellCommandRule;
46 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
H A DAddConfigWidgetTest.java36 import com.android.launcher3.util.rule.ShellCommandRule;
52 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
H A DRequestPinItemTest.java45 import com.android.launcher3.util.rule.ShellCommandRule;
62 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
H A DBindWidgetTest.java48 import com.android.launcher3.util.rule.ShellCommandRule;
71 public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
H A DAbstractLauncherUiTest.java69 import com.android.launcher3.util.rule.ShellCommandRule;
186 public ShellCommandRule mDisableHeadsUpNotification =
187 ShellCommandRule.disableHeadsUpNotification();
221 ? RuleChain.outerRule(ShellCommandRule.setDefaultLauncher()) in getRulesInsideActivityMonitor()
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DFallbackRecentsTest.java33 import static com.android.launcher3.util.rule.ShellCommandRule.disableHeadsUpNotification;
34 import static com.android.launcher3.util.rule.ShellCommandRule.getLauncherCommand;
/aosp12/packages/apps/Launcher3/tests/
H A DAndroid.bp40 "src/com/android/launcher3/util/rule/ShellCommandRule.java",