@Test public void testGenerateTitleFromUrl() { assertEquals("mozilla.org", HomeScreen.generateTitleFromUrl("https: assertEquals("facebook.com", HomeScreen.generateTitleFromUrl("http: }
@VisibleForTesting static String generateTitleFromUrl(String url) { return UrlUtils.stripCommonSubdomains(Uri.parse(url).getHost()); }
HomeScreen { @VisibleForTesting static String generateTitleFromUrl(String url) { return UrlUtils.stripCommonSubdomains(Uri.parse(url).getHost()); } }
HomeScreen { @VisibleForTesting static String generateTitleFromUrl(String url) { return UrlUtils.stripCommonSubdomains(Uri.parse(url).getHost()); }  }
HomeScreen { @VisibleForTesting static String generateTitleFromUrl(String url) { return UrlUtils.stripCommonSubdomains(Uri.parse(url).getHost()); }  static void installShortCut(Context context, Bitmap icon, String url, String title, boolean blockingEnabled, boolean requestDesktop); }
HomeScreen { @VisibleForTesting static String generateTitleFromUrl(String url) { return UrlUtils.stripCommonSubdomains(Uri.parse(url).getHost()); }  static void installShortCut(Context context, Bitmap icon, String url, String title, boolean blockingEnabled, boolean requestDesktop); static final String ADD_TO_HOMESCREEN_TAG; static final String BLOCKING_ENABLED; static final String REQUEST_DESKTOP; }