/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | HttpClientTest.java | 62 private static final String TEST_URL = "https://test.url"; field in HttpClientTest 116 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_contentTypeXml_returnsXmlBody() 120 .setUrl(TEST_URL) in request_contentTypeXml_returnsXmlBody() 149 HttpRequest.builder().setUrl(TEST_URL).setRequestMethod(RequestMethod.GET).build(); in request_httpGetResponseBadRequest_throwsException() 150 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_httpGetResponseBadRequest_throwsException() 179 URL url = new URL(TEST_URL); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork() 184 .setUrl(TEST_URL) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork() 208 .setUrl(TEST_URL) in request_postJson_doNotEscapeForwardSlash() 218 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_postJson_doNotEscapeForwardSlash() 231 .setUrl(TEST_URL) in request_postGzipJsonArray() [all …]
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/ |
D | HelpActivityTest.java | 37 private static final String TEST_URL = "https://www.google.com"; field in HelpActivityTest 49 intent.putExtra(HelpActivity.EXTRA_URL_PARAM, TEST_URL); in helpActivity_loadUrlSuccess() 51 assertThat(shadowOf(activity.getWebView()).getLastLoadedUrl()).isEqualTo(TEST_URL); in helpActivity_loadUrlSuccess() 63 intent.putExtra(EXTRA_BAD_PARAM, TEST_URL); in helpActivity_finishWhenURLNotPresent()
|
D | ProvisionInfoListAdapterTest.java | 51 private static final String TEST_URL = "testUrl"; field in ProvisionInfoListAdapterTest 136 urlProvisionInfo.setUrl(TEST_URL); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl() 144 getExpectedUrlString(TEST_URL, urlProvisionInfo.getTextId())); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl() 145 assertUrlIsExpected(actualText, TEST_URL); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl()
|
D | ProgressFragmentTest.java | 102 private static final String TEST_URL = "test.url"; field in ProgressFragmentTest 158 provisioningProgressViewModel.mSupportUrlLiveData.setValue(TEST_URL); in onCreateView_viewsAndListenersShouldBeCorrectlySet() 206 assertThat(next.getStringExtra(HelpActivity.EXTRA_URL_PARAM)).isEqualTo(TEST_URL); in onCreateView_viewsAndListenersShouldBeCorrectlySet()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/ |
D | BrowserUriTest.java | 37 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in BrowserUriTest 49 mPropertyInfo.setValue(TEST_URL); in setUp() 58 assertEquals(TEST_URL, mBrowserUri.getUri()); in verifyGetUri()
|
D | SppCommandTest.java | 40 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in SppCommandTest 57 propertyInfo.setValue(new SoapObject().addProperty(BROWSER_COMMAND, TEST_URL)); in verifyLaunchBrowserCommand() 64 assertEquals(TEST_URL, ((BrowserUri) result.getCommandData()).getUri()); in verifyLaunchBrowserCommand()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | WebActivityTest.java | 41 private static final String TEST_URL = "http://www.test.com/support"; field in WebActivityTest 62 TEST_URL)); in testUrlLaunched() 68 assertThat(urlRef.get()).isEqualTo(TEST_URL); in testUrlLaunched()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | CborUtilsTest.java | 69 private static final String TEST_URL = "https://www.wonderifthisisvalid.combutjustincase"; field in CborUtilsTest 102 new UnicodeString(TEST_URL)); in setUp() 110 new UnicodeString(TEST_URL)) in setUp() 201 assertEquals(TEST_URL, resp.provisioningUrl); in testParseGeekResponseFakeData() 227 assertEquals(TEST_URL, resp.provisioningUrl); in testParseGeekResponseFakeDataWithBadCertTimeRange() 258 assertEquals(TEST_URL, resp.provisioningUrl); in testExtraDeviceConfigEntriesDontFail() 318 assertEquals(TEST_URL, resp.provisioningUrl); in testMissingDeviceConfigEntriesDoesntFail()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsTransportTest.java | 44 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in HttpsTransportTest 57 mUrl = new URL(TEST_URL); in setUp()
|
D | SoapParserTest.java | 39 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in SoapParserTest 70 subCommand.addProperty(BROWSER_COMMAND, TEST_URL); in verifyValidSppPostDevDataResponse()
|
D | PostDevDataResponseTest.java | 40 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in PostDevDataResponseTest 64 subCommand.addProperty(BROWSER_COMMAND, TEST_URL); in verifyValidPostDevDataResponse()
|
D | HttpsServiceConnectionTest.java | 54 private static final String TEST_URL = "https://127.0.0.1:12345/index.htm"; field in HttpsServiceConnectionTest 69 mUrl = new URL(TEST_URL); in setUp()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | UrlQuerySanitizerTest.java | 54 private static final String TEST_URL = "http://example.com/?name=Joe+User&age=20&height=175"; field in UrlQuerySanitizerTest 99 uqs = new MockUrlQuerySanitizer(TEST_URL); in testUrlQuerySanitizer() 156 uqs.parseUrl(TEST_URL); in testUrlQuerySanitizer() 162 uqs.parseUrl(TEST_URL); in testUrlQuerySanitizer()
|
D | BatteryStatsManagerTest.java | 77 private static final String TEST_URL = "https://connectivitycheck.gstatic.com/generate_204"; field in BatteryStatsManagerTest 153 final URL url = new URL(TEST_URL); in verifyGetCellBatteryStats() 192 final URL url = new URL(TEST_URL); in verifyGetWifiBatteryStats()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 128 private static final String TEST_URL = "http://android.test.com"; field in CaptivePortalLoginActivityTest 368 .putExtra(EXTRA_CAPTIVE_PORTAL_URL, TEST_URL) in testonCreateWithNullCaptivePortal() 426 initActivity(TEST_URL); in testHasVpnNetwork() 438 initActivity(TEST_URL); in testIsAlwaysOnVpnEnabled() 447 initActivity(TEST_URL); in runVpnMsgOrLinkToBrowser() 525 initActivity(TEST_URL); in testNetworkCapabilitiesUpdate_RAndLater() 542 initActivity(TEST_URL); in testNetworkCapabilitiesUpdate_Q() 900 initActivity(TEST_URL); in testDirectlyOpen_onDownloadAborted()
|
D | DownloadServiceTest.kt | 79 private val TEST_URL = "https://test.download.example.com/myfile" constant 460 TEST_URL, in startDownloadTask()
|
/packages/modules/Bluetooth/system/blueberry/tests/pan/ |
D | bluetooth_pan_test.py | 22 TEST_URL = 'http://www.google.com' variable 250 return bool(device.sl4a.httpPing(TEST_URL))
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/ |
D | SatelliteEntitlementApiTest.java | 57 private static final String TEST_URL = "https://test.url"; field in SatelliteEntitlementApiTest 92 TEST_URL); in setUp()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisionerTest.java | 124 private static final String TEST_URL = "https://127.0.0.1/session_id=" + TEST_SESSION_ID; field in PasspointProvisionerTest 255 when(mBrowserUri.getUri()).thenReturn(TEST_URL); in setUp()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | android_bluetooth_decorator.py | 61 TEST_URL = 'http://www.google.com' variable 1324 test_url: str = TEST_URL,
|