Home
last modified time | relevance | path

Searched refs:registrationUri (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DEnrollment.java49 Uri registrationUri, in getValidEnrollmentId() argument
54 if (WebAddresses.isLocalhost(registrationUri)) { in getValidEnrollmentId()
56 WebAddresses.isLocalhostIp(registrationUri) in getValidEnrollmentId()
61 Uri uriWithoutParams = registrationUri.buildUpon().clearQuery().fragment(null).build(); in getValidEnrollmentId()
70 registrationUri); in getValidEnrollmentId()
78 registrationUri, enrollmentData.getEnrollmentId()); in getValidEnrollmentId()
88 registrationUri, enrollmentData.getEnrollmentId()); in getValidEnrollmentId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DWebSourceParams.java125 public Builder(@NonNull Uri registrationUri) { in Builder() argument
126 Objects.requireNonNull(registrationUri); in Builder()
127 if (registrationUri.getScheme() == null in Builder()
128 || !registrationUri.getScheme().equalsIgnoreCase("https")) { in Builder()
131 mRegistrationUri = registrationUri; in Builder()
DWebTriggerParams.java125 public Builder(@NonNull Uri registrationUri) { in Builder() argument
126 Objects.requireNonNull(registrationUri); in Builder()
127 if (registrationUri.getScheme() == null in Builder()
128 || !registrationUri.getScheme().equalsIgnoreCase("https")) { in Builder()
131 mRegistrationUri = registrationUri; in Builder()
DRegistrationRequest.java218 @NonNull Uri registrationUri, in Builder() argument
225 Objects.requireNonNull(registrationUri); in Builder()
226 if (registrationUri.getScheme() == null in Builder()
227 || !registrationUri.getScheme().equalsIgnoreCase("https")) { in Builder()
234 mRegistrationUri = registrationUri; in Builder()
DSourceRegistrationRequest.java137 for (Uri registrationUri : registrationUris) { in Builder()
138 if (registrationUri.getScheme() == null in Builder()
139 || !registrationUri.getScheme().equalsIgnoreCase("https")) { in Builder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistration.java195 for (Uri registrationUri :
197 if (hasValidScheme(registrationUri)) {
200 registrationUri,
223 Uri registrationUri,
243 .setRegistrationUri(registrationUri)
278 private static boolean hasValidScheme(Uri registrationUri) {
279 return registrationUri.getScheme().equalsIgnoreCase("https");
DAsyncRegistration.java292 public Builder setRegistrationUri(@NonNull Uri registrationUri) { in setRegistrationUri() argument
293 Validation.validateNonNull(registrationUri); in setRegistrationUri()
294 mRegistrationUri = registrationUri; in setRegistrationUri()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/measurement/
DRegistrationRequestFixture.java28 @NonNull Uri registrationUri, in getInvalidRegistrationRequest() argument
31 Objects.requireNonNull(registrationUri); in getInvalidRegistrationRequest()
37 registrationUri.writeToParcel(parcel, 0); in getInvalidRegistrationRequest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementImpl.java297 @NonNull Uri registrationUri, in registerEvent()
304 Objects.requireNonNull(registrationUri); in registerEvent()
312 registrationUri, in registerEvent()
325 registrationUri, in registerEvent()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerSandboxTest.java196 final Uri registrationUri = Uri.parse("https://registration-uri"); in testRegisterWebTrigger_verifySamePackageAsContext() local
199 WebTriggerParams webTriggerParams = new WebTriggerParams.Builder(registrationUri).build(); in testRegisterWebTrigger_verifySamePackageAsContext()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DDebugReportApi.java414 Uri registrationUri, in scheduleHeaderErrorReport() argument
423 body.put(Body.CONTEXT_SITE, registrationUri); in scheduleHeaderErrorReport()
431 registrationUri, in scheduleHeaderErrorReport()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EMockTest.java750 Uri registrationUri = Uri.parse(uri); in updateEnrollment() local
751 String reportingUrl = registrationUri.getScheme() + "://" + registrationUri.getAuthority(); in updateEnrollment()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java10230 private RegistrationRequest buildRequest(String registrationUri) { in buildRequest() argument
10231 return buildRequest(registrationUri, null); in buildRequest()
10234 private RegistrationRequest buildRequest(String registrationUri, InputEvent inputEvent) { in buildRequest() argument
10236 buildDefaultRegistrationRequestBuilder(registrationUri); in buildRequest()
10240 private RegistrationRequest buildRequestWithAdId(String registrationUri) { in buildRequestWithAdId() argument
10242 buildDefaultRegistrationRequestBuilder(registrationUri); in buildRequestWithAdId()
10350 Uri registrationUri, in createAsyncRegistration() argument
10367 .setRegistrationUri(registrationUri) in createAsyncRegistration()
10443 String registrationUri) { in buildDefaultRegistrationRequestBuilder() argument
10446 Uri.parse(registrationUri), in buildDefaultRegistrationRequestBuilder()
DAsyncRegistrationQueueRunnerTest.java4997 Uri registrationUri, String originalUriString) { in getRegistrationRedirectToWellKnownUri() argument
4998 return registrationUri in getRegistrationRedirectToWellKnownUri()
DAsyncTriggerFetcherTest.java7009 Uri registrationUri, in createAsyncRegistration() argument
7024 .setRegistrationUri(registrationUri) in createAsyncRegistration()