Home
last modified time | relevance | path

Searched refs:WebTriggerParams (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DWebTriggerParams.java27 public final class WebTriggerParams implements Parcelable { class
30 public static final Creator<WebTriggerParams> CREATOR =
31 new Creator<WebTriggerParams>() {
33 public WebTriggerParams createFromParcel(Parcel in) {
34 return new WebTriggerParams(in);
38 public WebTriggerParams[] newArray(int size) {
39 return new WebTriggerParams[size];
53 private WebTriggerParams(@NonNull Builder builder) { in WebTriggerParams() method in WebTriggerParams
59 private WebTriggerParams(@NonNull Parcel in) { in WebTriggerParams() method in WebTriggerParams
67 if (!(o instanceof WebTriggerParams)) return false; in equals()
[all …]
DWebTriggerRegistrationRequest.java48 @NonNull private final List<WebTriggerParams> mWebTriggerParams;
60 ArrayList<WebTriggerParams> webTriggerParams = new ArrayList<>(); in WebTriggerRegistrationRequest()
62 in.readList(webTriggerParams, WebTriggerParams.class.getClassLoader()); in WebTriggerRegistrationRequest()
66 WebTriggerParams.class.getClassLoader(), in WebTriggerRegistrationRequest()
67 WebTriggerParams.class); in WebTriggerRegistrationRequest()
89 public List<WebTriggerParams> getTriggerParams() { in getTriggerParams()
117 @NonNull private List<WebTriggerParams> mWebTriggerParams;
128 public Builder(@NonNull List<WebTriggerParams> webTriggerParams, @NonNull Uri destination) { in Builder()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DWebTriggerParamsTest.java31 private static final WebTriggerParams WEB_TRIGGER_PARAMS =
32 new WebTriggerParams.Builder(REGISTRATION_URI).setDebugKeyAllowed(true).build();
34 private WebTriggerParams createExampleRegistration() { in createExampleRegistration()
35 return new WebTriggerParams.Builder(REGISTRATION_URI).setDebugKeyAllowed(true).build(); in createExampleRegistration()
38 private void verifyExampleRegistration(WebTriggerParams request) { in verifyExampleRegistration()
67 verifyExampleRegistration(WebTriggerParams.CREATOR.createFromParcel(p)); in testParcelingAttribution()
DWebTriggerRegistrationRequestTest.java40 private static final WebTriggerParams TRIGGER_REGISTRATION_1 =
41 new WebTriggerParams.Builder(REGISTRATION_URI_1).setDebugKeyAllowed(true).build();
43 private static final WebTriggerParams TRIGGER_REGISTRATION_2 =
44 new WebTriggerParams.Builder(REGISTRATION_URI_2).setDebugKeyAllowed(false).build();
46 private static final List<WebTriggerParams> TRIGGER_REGISTRATIONS =
138 private static List<WebTriggerParams> generateWebTriggerParamsList(int count) { in generateWebTriggerParamsList()
142 new WebTriggerParams.Builder(REGISTRATION_URI_1) in generateWebTriggerParamsList()
DWebTriggerRegistrationRequestInternalTest.java38 private static final WebTriggerParams TRIGGER_REGISTRATION_1 =
39 new WebTriggerParams.Builder(REGISTRATION_URI_1).setDebugKeyAllowed(true).build();
41 private static final WebTriggerParams TRIGGER_REGISTRATION_2 =
42 new WebTriggerParams.Builder(REGISTRATION_URI_2).setDebugKeyAllowed(false).build();
44 private static final List<WebTriggerParams> TRIGGER_REGISTRATIONS =
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DMeasurementApiParamsCtsTest.java25 import android.adservices.measurement.WebTriggerParams;
179 private WebTriggerParams createWebTriggerParamsExample() { in createWebTriggerParamsExample()
180 return new WebTriggerParams.Builder(Uri.parse("https://registration-uri")) in createWebTriggerParamsExample()
187 WebTriggerParams webTriggerParams = createWebTriggerParamsExample(); in testWebTriggerParams()
197 WebTriggerParams exampleParams = createWebTriggerParamsExample(); in testWebTriggerParamsParceling()
200 WebTriggerParams params = WebTriggerParams.CREATOR.createFromParcel(p); in testWebTriggerParamsParceling()
213 new WebTriggerParams.Builder(Uri.parse("https://registration-uri")) in createWebTriggerRegistrationRequestExample()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/actions/
DRegisterWebTrigger.java25 import android.adservices.measurement.WebTriggerParams;
84 private List<WebTriggerParams> createTriggerParams(JSONArray triggerParamsArray, JSONObject obj) in createTriggerParams()
86 List<WebTriggerParams> triggerParamsList = new ArrayList<>(triggerParamsArray.length()); in createTriggerParams()
91 new WebTriggerParams.Builder( in createTriggerParams()
/packages/modules/AdServices/adservices/tests/cts/sandbox/measurement/providers/sdkmeasurement/src/com/android/tests/providers/sdkmeasurement/
DSdkMeasurement.java23 import android.adservices.measurement.WebTriggerParams;
154 WebTriggerParams webTriggerParams = in buildDefaultWebTriggerRegistrationRequest()
155 new WebTriggerParams.Builder(TRIGGER_REGISTRATION_URI).build(); in buildDefaultWebTriggerRegistrationRequest()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/measurement/
DMeasurementManagerJetpackTest.java30 import androidx.privacysandbox.ads.adservices.measurement.WebTriggerParams;
126 WebTriggerParams webTriggerParams = new WebTriggerParams(TRIGGER_REGISTRATION_URI, false); in registerWebTrigger_NoErrors()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DDevContextAccessResolver.java24 import android.adservices.measurement.WebTriggerParams;
77 for (WebTriggerParams params : webRegistrationRequest.getTriggerParams()) { in DevContextAccessResolver()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistrationTest.java30 import android.adservices.measurement.WebTriggerParams;
87 private static final WebTriggerParams INPUT_TRIGGER_REGISTRATION_1 =
88 new WebTriggerParams.Builder(REGISTRATION_URI_1).setDebugKeyAllowed(true).build();
90 private static final WebTriggerParams INPUT_TRIGGER_REGISTRATION_2 =
91 new WebTriggerParams.Builder(REGISTRATION_URI_2).setDebugKeyAllowed(false).build();
93 private static final WebTriggerParams INVALID_TRIGGER_REGISTRATION =
98 private static final List<WebTriggerParams> sTriggerParamsList = new ArrayList<>();
1003 private static WebTriggerParams getInvalidWebTriggerParams(Uri uri) { in getInvalidWebTriggerParams()
1008 return WebTriggerParams.CREATOR.createFromParcel(parcel); in getInvalidWebTriggerParams()
DAsyncTriggerFetcherTest.java52 import android.adservices.measurement.WebTriggerParams;
178 private static final WebTriggerParams TRIGGER_REGISTRATION_1 =
179 new WebTriggerParams.Builder(REGISTRATION_URI_1).setDebugKeyAllowed(true).build();
6935 List<WebTriggerParams> triggerParams, String topOrigin) { in buildWebTriggerRegistrationRequest()
6986 WebTriggerParams webTriggerParams = in webTriggerRegistrationRequest()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerSandboxTest.java39 import android.adservices.measurement.WebTriggerParams;
199 WebTriggerParams webTriggerParams = new WebTriggerParams.Builder(registrationUri).build(); in testRegisterWebTrigger_verifySamePackageAsContext()
DMeasurementManagerTest.java33 import android.adservices.measurement.WebTriggerParams;
195 WebTriggerParams webTriggerParams = in buildDefaultWebTriggerRegistrationRequest()
196 new WebTriggerParams.Builder(Uri.parse("https://example.com")) in buildDefaultWebTriggerRegistrationRequest()
DMeasurementCompatibleManagerTest.java49 import android.adservices.measurement.WebTriggerParams;
650 WebTriggerParams webTriggerParams = in buildDefaultWebTriggerRegistrationRequest()
651 new WebTriggerParams.Builder(Uri.parse("https://example.com")) in buildDefaultWebTriggerRegistrationRequest()
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java32 import android.adservices.measurement.WebTriggerParams;
552 WebTriggerParams webTriggerParams =
553 new WebTriggerParams.Builder(TRIGGER_REGISTRATION_URI).build();
569 WebTriggerParams webTriggerParams =
570 new WebTriggerParams.Builder(TRIGGER_REGISTRATION_URI).build();
1146 WebTriggerParams webTriggerParams = in registerWebTriggerAndVerifyRateLimitReached()
1147 new WebTriggerParams.Builder(TRIGGER_REGISTRATION_URI).build(); in registerWebTriggerAndVerifyRateLimitReached()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/
DDevContextAccessResolverTest.java30 import android.adservices.measurement.WebTriggerParams;
61 @Mock private WebTriggerParams mWebTriggerParams;
62 @Mock private WebTriggerParams mWebTriggerParams2;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DEnqueueAsyncRegistration.java23 import android.adservices.measurement.WebTriggerParams;
150 for (WebTriggerParams webTriggerParams :
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java26 import android.adservices.measurement.WebTriggerParams;
474 final WebTriggerParams params = new WebTriggerParams.Builder(Uri.parse(path)).build(); in executeRegisterWebTrigger()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/
DMeasurementRegisterCalls.java26 import android.adservices.measurement.WebTriggerParams;
438 final WebTriggerParams params = new WebTriggerParams.Builder(Uri.parse(path)).build(); in executeRegisterWebTrigger()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementImplTest.java45 import android.adservices.measurement.WebTriggerParams;
133 private static final WebTriggerParams INPUT_TRIGGER_REGISTRATION_1 =
134 new WebTriggerParams.Builder(REGISTRATION_URI_1).setDebugKeyAllowed(true).build();
135 private static final WebTriggerParams INPUT_TRIGGER_REGISTRATION_2 =
136 new WebTriggerParams.Builder(REGISTRATION_URI_2).setDebugKeyAllowed(false).build();
DMeasurementServiceImplTest.java69 import android.adservices.measurement.WebTriggerParams;
1948 new WebTriggerParams.Builder( in createWebTriggerRegistrationRequest()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt719 public final class WebTriggerParams implements android.os.Parcelable {
724 …tatic final android.os.Parcelable.Creator<android.adservices.measurement.WebTriggerParams> CREATOR;
727 public static final class WebTriggerParams.Builder {
728 ctor public WebTriggerParams.Builder(@NonNull android.net.Uri);
729 method @NonNull public android.adservices.measurement.WebTriggerParams build();
730 …method @NonNull public android.adservices.measurement.WebTriggerParams.Builder setDebugKeyAllowed(…
736 …method @NonNull public java.util.List<android.adservices.measurement.WebTriggerParams> getTriggerP…
742 …uest.Builder(@NonNull java.util.List<android.adservices.measurement.WebTriggerParams>, @NonNull an…