Searched refs:getDefaultUrl (Results 1 – 6 of 6) sorted by relevance
67 assertThat(Settings.getDefaultUrl()).isEmpty(); in testDefaultUrlEmpty()74 assertThat(Settings.getDefaultUrl()).isEqualTo("https://your.hostname/v1"); in testDefaultUrlNonEmpty()84 assertEquals(Settings.getDefaultUrl(), in testCheckDefaults()117 assertEquals(Settings.getDefaultUrl(), in testResetDefaults()
85 Assume.assumeFalse(Settings.getDefaultUrl().isEmpty()); in setUp()
160 getDefaultUrl()); in resetDefaultConfig()231 return sharedPref.getString(KEY_URL, getDefaultUrl()); in getUrl()239 public static String getDefaultUrl() { in getDefaultUrl() method in Settings
167 req.getDefaultUrl(), in fetchWidevineCertificate()173 final String chinaUrl = req.getDefaultUrl().replace(".com", ".cn"); in fetchWidevineCertificate()
102 if (Settings.getDefaultUrl().isEmpty() || Settings.getUrl(mContext).isEmpty()) {
64 if (Settings.getDefaultUrl().isEmpty() || Settings.getUrl(context).isEmpty()) { in getRegistration()