Home
last modified time | relevance | path

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

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java73 public void registerLauncherStrategy(Class<? extends ILauncherStrategy> launcherStrategy) { in registerLauncherStrategy() argument
75 if (!mKnownLauncherStrategies.contains(launcherStrategy)) { in registerLauncherStrategy()
77 ILauncherStrategy strategy = launcherStrategy.newInstance(); in registerLauncherStrategy()
81 + launcherStrategy.getCanonicalName()); in registerLauncherStrategy()
116 ILauncherStrategy launcherStrategy = getLauncherStrategy(); in getLeanbackLauncherStrategy() local
117 if (launcherStrategy instanceof ILeanbackLauncherStrategy) { in getLeanbackLauncherStrategy()
118 return (ILeanbackLauncherStrategy)launcherStrategy; in getLeanbackLauncherStrategy()
129 ILauncherStrategy launcherStrategy = getLauncherStrategy(); in getAutoLauncherStrategy() local
130 if (launcherStrategy instanceof IAutoLauncherStrategy) { in getAutoLauncherStrategy()
131 return (IAutoLauncherStrategy) launcherStrategy; in getAutoLauncherStrategy()
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.java369 protected long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
371 return launchApp(launcherStrategy, app, packageName, isGame, MAX_SCROLL_ATTEMPTS); in launchApp()
374 protected long launchApp(ILauncherStrategy launcherStrategy, BySelector app, in launchApp() argument
384 launcherStrategy.open(); in launchApp()
391 container = launcherStrategy.openAllApps(false); in launchApp()
DTvLauncherStrategy.java701 protected long launchApp(ILauncherStrategy launcherStrategy, String appName,
711 launcherStrategy.open();