Home
last modified time | relevance | path

Searched refs:launcherStrategy (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java83 public void registerLauncherStrategy(Class<? extends ILauncherStrategy> launcherStrategy) { in registerLauncherStrategy() argument
85 if (!mKnownLauncherStrategies.contains(launcherStrategy)) { in registerLauncherStrategy()
87 ILauncherStrategy strategy = launcherStrategy.newInstance(); in registerLauncherStrategy()
89 mKnownLauncherStrategies.add(launcherStrategy); in registerLauncherStrategy()
92 + launcherStrategy.getCanonicalName()); in registerLauncherStrategy()
127 ILauncherStrategy launcherStrategy = getLauncherStrategy(); in getLeanbackLauncherStrategy() local
128 if (launcherStrategy instanceof ILeanbackLauncherStrategy) { in getLeanbackLauncherStrategy()
129 return (ILeanbackLauncherStrategy)launcherStrategy; in getLeanbackLauncherStrategy()
140 ILauncherStrategy launcherStrategy = getLauncherStrategy(); in getAutoLauncherStrategy() local
141 if (launcherStrategy instanceof IAutoLauncherStrategy) { in getAutoLauncherStrategy()
[all …]
DCommonLauncherHelper.java132 public long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
134 return launchApp(launcherStrategy, app, packageName, MAX_SCROLL_ATTEMPTS); in launchApp()
146 public long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
156 launcherStrategy.open(); in launchApp()
159 UiObject2 container = launcherStrategy.openAllApps(false); in launchApp()
160 Direction dir = launcherStrategy.getAllAppsScrollDirection(); in launchApp()
DLeanbackLauncherStrategy.java388 protected long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
390 return launchApp(launcherStrategy, app, packageName, isGame, MAX_SCROLL_ATTEMPTS); in launchApp()
393 protected long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
403 launcherStrategy.open(); in launchApp()
410 container = launcherStrategy.openAllApps(false); in launchApp()
DTvLauncherStrategy.java713 protected long launchApp(ILauncherStrategy launcherStrategy, String appName,
723 launcherStrategy.open();
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt43 protected val launcherStrategy: ILauncherStrategy = constant
44 LauncherStrategyFactory.getInstance(instr).launcherStrategy
51 launcherStrategy: ILauncherStrategy =
52 LauncherStrategyFactory.getInstance(instr).launcherStrategy
54 FlickerComponentName(packageName, ".$activity"), launcherStrategy)
74 launcherStrategy.launch(appName, component.packageName) in open()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/dsl/
DFlickerBuilder.kt46 private val launcherStrategy: ILauncherStrategy, constant in com.android.server.wm.flicker.dsl.FlickerBuilder
76 launcherStrategy: ILauncherStrategy = LauncherStrategyFactory
77 .getInstance(instrumentation).launcherStrategy,
92 launcherStrategy,
116 otherBuilder.launcherStrategy,
243 launcherStrategy,
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DFlicker.kt52 @JvmField val launcherStrategy: ILauncherStrategy, constant in com.android.server.wm.flicker.Flicker