Home
last modified time | relevance | path

Searched refs:getDefaultUrl (Results 1 – 6 of 6) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DSettingsTest.java67 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()
DPeriodicProvisionerTests.java85 Assume.assumeFalse(Settings.getDefaultUrl().isEmpty()); in setUp()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DSettings.java160 getDefaultUrl()); in resetDefaultConfig()
231 return sharedPref.getString(KEY_URL, getDefaultUrl()); in getUrl()
239 public static String getDefaultUrl() { in getDefaultUrl() method in Settings
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DWidevineProvisioner.java167 req.getDefaultUrl(), in fetchWidevineCertificate()
173 final String chinaUrl = req.getDefaultUrl().replace(".com", ".cn"); in fetchWidevineCertificate()
DPeriodicProvisioner.java102 if (Settings.getDefaultUrl().isEmpty() || Settings.getUrl(mContext).isEmpty()) {
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java64 if (Settings.getDefaultUrl().isEmpty() || Settings.getUrl(context).isEmpty()) { in getRegistration()