Home
last modified time | relevance | path

Searched refs:getUrl (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java180 URL url = server.getUrl(mReportingPath); in testGetAndReadNothingSuccessfulResponse()
189 URL url = server.getUrl(mReportingPath); in testGetAndReadNothingSuccessfulResponse_DevOptionsEnabled()
198 URL url = server.getUrl(mReportingPath); in testGetAndReadNothingCorrectPath()
211 URL url = server.getUrl(mReportingPath); in testGetAndReadNothingFailedResponse()
249 URL url = server.getUrl(mFetchPayloadPath); in testFetchPayloadSuccessfulResponse()
261 URL url = server.getUrl(mFetchPayloadPath); in testFetchPayloadSuccessfulResponse_DevOptionsEnabled()
273 URL url = server.getUrl(mFetchPayloadPath); in testFetchPayloadCorrectPath()
286 URL url = server.getUrl(mFetchPayloadPath); in testFetchPayloadFailedResponse()
319 URL url = server.getUrl(mFetchPayloadPath); in testThrowsIOExceptionWhenConnectionTimesOut()
350 URL url = server.getUrl(mFetchPayloadPath); in testInputStreamToStringThrowsExceptionWhenExceedingMaxSize()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java556 URL fetchServerParamUrl = server.getUrl(GET_SERVER_PARAM_PATH); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
557 URL registerClientUrl = server.getUrl(REGISTER_CLIENT_PARAMETERS_PATH); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
558 URL getTokensResponseUrl = server.getUrl(GET_TOKENS_PATH); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
559 URL joinUrl = server.getUrl(JOIN_PATH); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
560 URL fetchKeyUrl = server.getUrl(FETCH_KEY_PATH); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage()
641 URL fetchServerParamUrl = server.getUrl(GET_SERVER_PARAM_PATH); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB()
689 URL fetchServerParamUrl = server.getUrl(GET_SERVER_PARAM_PATH); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB()
690 URL registerClientUrl = server.getUrl(REGISTER_CLIENT_PARAMETERS_PATH); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB()
740 URL fetchServerUrl = server.getUrl(GET_SERVER_PARAM_PATH); in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB()
782 URL getChallengeUrl = server.getUrl(GET_CHALLENGE); in persistAdSelectionData_getChallengeHttpFails_shouldNotUpdateStatusInDB()
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DServerInterfaceTest.java79 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testRetryOnServerFailure()
96 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testFetchGeekRkpDisabled()
112 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testFetchGeekRkpEnabled()
156 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testFetchKeyAndUpdate()
171 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testRequestSignedCertUnregistered()
187 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testRequestSignedCertClientError()
204 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testRequestSignedCertCborError()
221 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testRequestSignedCertValid()
237 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testDataBudgetEmptyFetchGeekNetworkConnected()
260 TIME_TO_REFRESH_HOURS /* expiringBy */, server.getUrl()); in testNetworkDisconnected()
DSettingsTest.java85 Settings.getUrl(sContext)); in testCheckDefaults()
118 Settings.getUrl(sContext)); in testResetDefaults()
132 assertEquals(url, Settings.getUrl(sContext)); in testSetDeviceConfig()
DProvisionerTest.java103 Settings.setDeviceConfig(sContext, 20, Duration.ofDays(1), server.getUrl()); in testProvisionerUsesCorrectBatchSize()
126 Settings.setDeviceConfig(sContext, 20, Duration.ofDays(1), server.getUrl()); in testProvisionerHandlesExceptionOnGetBatchSize()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DOdpWebViewClient.java118 if (!EventUrlHelper.isOdpUrl(request.getUrl().toString())) { in shouldInterceptRequest()
153 if (!EventUrlHelper.isOdpUrl(request.getUrl().toString())) { in shouldOverrideUrlLoading()
167 String landingPage = request.getUrl().getQueryParameter( in shouldOverrideUrlLoading()
182 Objects.requireNonNull(request.getUrl()); in getPayLoadFromRequest()
184 String url = request.getUrl().toString(); in getPayLoadFromRequest()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DEventUrlProvider.java80 return getUrl(params, Constants.API_NAME_EVENT_URL_CREATE_WITH_RESPONSE, startTimeMillis); in createEventTrackingUrlWithResponse()
101 return getUrl(params, Constants.API_NAME_EVENT_URL_CREATE_WITH_REDIRECT, startTimeMillis); in createEventTrackingUrlWithRedirect()
104 @NonNull private Uri getUrl( in getUrl() method in EventUrlProvider
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DKeystoreIntegrationTest.java248 Duration.ofDays(1), server.getUrl()); in testKeyCreationFailsWhenRkpFails()
270 Duration.ofDays(1), server.getUrl()); in testKeyCreationWithFallback()
300 Settings.setDeviceConfig(sContext, 1, Duration.ofDays(1), server.getUrl()); in testRetryableRkpError()
319 Settings.setDeviceConfig(sContext, 1, Duration.ofDays(1), server.getUrl()); in testPeriodicProvisionerProvisioningDisabled()
337 Settings.setDeviceConfig(sContext, 1, Duration.ofDays(1), server.getUrl()); in testRetryNeverWhenDeviceNotRegistered()
364 Settings.setDeviceConfig(sContext, 1, Duration.ofDays(1), server.getUrl()); in testCancelDueToServiceTimeout()
/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeSpec.java154 public URL getUrl() { in getUrl() method in CaptivePortalProbeSpec
192 returnCode, locationHeader, getUrl().toString(), this, PROBE_HTTP); in getResult()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java141 String url = request.getUrl().toString(); in shouldOverrideUrlLoading()
178 final Uri uri = request.getUrl(); in shouldInterceptRequest()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DWebsiteDataItem.java32 public String getUrl() { in getUrl() method in WebsiteDataItem
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DWebsiteDataItem.java33 public String getUrl() { in getUrl() method in WebsiteDataItem
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DActivityConstants.java73 public static String getUrl(Intent intent) { in getUrl() method in ActivityConstants
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java270 if (request.getUrl().toString().startsWith("http://127.0.0.1")) { in onReceivedError()
287 error.getPrimaryError(), error.getUrl(), error.getCertificate())); in onReceivedSslError()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/qns/
DWfcQnsActivationActivity.java46 String url = ActivityConstants.getUrl(getIntent()); in startWebPortalFragment()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java303 mUrl = getUrl(); in onCreate()
630 private URL getUrl() { in getUrl() method in CaptivePortalLoginActivity
842 final String url = request.getUrl().toString(); in shouldOverrideUrlLoading()
858 mMainFrameUrls.add(request.getUrl().toString()); in shouldInterceptRequest()
866 final String strErrorUrl = error.getUrl(); in onReceivedSslError()
1022 ((TextView) sslWarningView.findViewById(R.id.address)).setText(error.getUrl()); in showSslAlertDialog()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisionInfo.java76 public String getUrl() { in getUrl() method in ProvisionInfo
DProvisionInfoListAdapter.java104 provisionInfo.getUrl())); in bindProvisionInfo()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpClientTest.java342 final URL url = server.getUrl("/test"); in testSetup_headersLeakingInfoAreOverridden()
370 final URL url = server.getUrl("/test"); in testSetup_connectLocalhostToUntrustedServer_success()
406 final URL url = server.getUrl("/test"); in testSetup_connectNonLocalhostToUntrustedServer_throws()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DWnmData.java120 public String getUrl() { in getUrl() method in WnmData
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DWebActivityTest.java65 .findViewById(android.R.id.content)).getChildAt(0)).getUrl())); in testUrlLaunched()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java1382 Uri updateUri = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_Success()
1543 Uri updateUri = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_SuccessWithAuctionServerRequestFlags()
1683 Uri updateUri1 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_MultipleUpdates_Success()
1684 Uri updateUri2 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH_2).toString()); in testScheduleCustomAudienceUpdate_MultipleUpdates_Success()
1819 Uri updateUri1 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_AppInstallDisabled()
1928 Uri updateUri1 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_FrequencyCapDisabled()
2010 Uri updateUri1 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_MultipleInvalidUpdates_SilentFailure()
2011 Uri updateUri2 = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH_2).toString()); in testScheduleCustomAudienceUpdate_MultipleInvalidUpdates_SilentFailure()
2106 Uri updateUri = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_PartialCaOverrides_Success()
2209 Uri updateUri = Uri.parse(mockWebServer.getUrl(UPDATE_URI_PATH).toString()); in testScheduleCustomAudienceUpdate_InvalidPartialCa_PartialSuccess()
[all …]
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java64 if (Settings.getDefaultUrl().isEmpty() || Settings.getUrl(context).isEmpty()) { in getRegistration()
/packages/modules/RemoteKeyProvisioning/app/tests/util/src/com/android/rkpdapp/testutil/
DFakeRkpServer.java179 public String getUrl() { in getUrl() method in FakeRkpServer
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DWebActivity.java78 String url = request.getUrl().toString(); in onCreate()

123