Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DDeletionRequestTest.java38 DeletionRequest request = in testNonNullParams()
39 new DeletionRequest.Builder() in testNonNullParams()
40 .setDeletionMode(DeletionRequest.DELETION_MODE_EXCLUDE_INTERNAL_DATA) in testNonNullParams()
41 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_PRESERVE) in testNonNullParams()
53 .isEqualTo(DeletionRequest.DELETION_MODE_EXCLUDE_INTERNAL_DATA); in testNonNullParams()
54 expect.that(request.getMatchBehavior()).isEqualTo(DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in testNonNullParams()
59 DeletionRequest request = in testNullParams()
60 new DeletionRequest.Builder() in testNullParams()
68 expect.that(request.getDeletionMode()).isEqualTo(DeletionRequest.DELETION_MODE_ALL); in testNullParams()
69 expect.that(request.getMatchBehavior()).isEqualTo(DeletionRequest.MATCH_BEHAVIOR_DELETE); in testNullParams()
[all …]
DDeletionParamTest.java42 .setDeletionMode(DeletionRequest.DELETION_MODE_EXCLUDE_INTERNAL_DATA) in createExample()
43 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_PRESERVE) in createExample()
62 expect.that(request.getMatchBehavior()).isEqualTo(DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in verifyExample()
64 .isEqualTo(DeletionRequest.DELETION_MODE_EXCLUDE_INTERNAL_DATA); in verifyExample()
73 expect.that(request.getMatchBehavior()).isEqualTo(DeletionRequest.MATCH_BEHAVIOR_DELETE); in verifyDefaultExample()
74 expect.that(request.getDeletionMode()).isEqualTo(DeletionRequest.DELETION_MODE_ALL); in verifyDefaultExample()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/measurement/
DMeasurementManagerJetpackTest.java27 import androidx.privacysandbox.ads.adservices.measurement.DeletionRequest;
138 DeletionRequest deletionRequest = in testDeleteRegistrations_withRequest_withNoRange_withCallback_NoErrors()
139 new DeletionRequest.Builder( in testDeleteRegistrations_withRequest_withNoRange_withCallback_NoErrors()
140 DeletionRequest.DELETION_MODE_ALL, in testDeleteRegistrations_withRequest_withNoRange_withCallback_NoErrors()
141 DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeleteRegistrations_withRequest_withNoRange_withCallback_NoErrors()
151 DeletionRequest deletionRequest = in testDeleteRegistrations_withRequest_withEmptyLists_withRange_withCallback_NoErrors()
152 new DeletionRequest.Builder( in testDeleteRegistrations_withRequest_withEmptyLists_withRange_withCallback_NoErrors()
153 DeletionRequest.DELETION_MODE_ALL, in testDeleteRegistrations_withRequest_withEmptyLists_withRange_withCallback_NoErrors()
154 DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeleteRegistrations_withRequest_withEmptyLists_withRange_withCallback_NoErrors()
165 DeletionRequest deletionRequest = in testDeleteRegistrations_withRequest_withInvalidArguments_withCallback_hasError()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DDeletionParam.java41 @DeletionRequest.DeletionMode private final int mDeletionMode;
42 @DeletionRequest.MatchBehavior private final int mMatchBehavior;
151 @DeletionRequest.DeletionMode
157 @DeletionRequest.MatchBehavior
200 @DeletionRequest.DeletionMode private int mDeletionMode;
201 @DeletionRequest.MatchBehavior private int mMatchBehavior;
237 public Builder setDeletionMode(@DeletionRequest.DeletionMode int deletionMode) { in setDeletionMode()
244 public Builder setMatchBehavior(@DeletionRequest.MatchBehavior int matchBehavior) { in setMatchBehavior()
DDeletionRequest.java32 public class DeletionRequest { class
77 private DeletionRequest(@NonNull Builder builder) { in DeletionRequest() method in DeletionRequest
200 public @NonNull DeletionRequest build() { in build()
207 return new DeletionRequest(this); in build()
DMeasurementManager.java350 @NonNull DeletionRequest deletionRequest, in deleteRegistrations()
373 @NonNull DeletionRequest deletionRequest, in deleteRegistrations()
DMeasurementCompatibleManager.java572 @NonNull DeletionRequest deletionRequest, in deleteRegistrations()
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java27 import android.adservices.measurement.DeletionRequest;
651 DeletionRequest deletionRequest = new DeletionRequest.Builder().build();
664 DeletionRequest deletionRequest = new DeletionRequest.Builder().build();
679 DeletionRequest deletionRequest = new DeletionRequest.Builder().build();
700 DeletionRequest deletionRequest = new DeletionRequest.Builder().build();
723 DeletionRequest deletionRequest =
724 new DeletionRequest.Builder()
739 DeletionRequest deletionRequest =
740 new DeletionRequest.Builder()
757 DeletionRequest deletionRequest =
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DMeasurementApiParamsCtsTest.java22 import android.adservices.measurement.DeletionRequest;
51 DeletionRequest deletionRequest = in testDeletionRequest()
52 new DeletionRequest.Builder() in testDeletionRequest()
53 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in testDeletionRequest()
54 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeletionRequest()
67 assertEquals(DeletionRequest.DELETION_MODE_ALL, deletionRequest.getDeletionMode()); in testDeletionRequest()
68 assertEquals(DeletionRequest.MATCH_BEHAVIOR_DELETE, deletionRequest.getMatchBehavior()); in testDeletionRequest()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleterTest.java35 import android.adservices.measurement.DeletionRequest;
512 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in delete_deletionModeAll_success()
513 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in delete_deletionModeAll_success()
533 DeletionRequest.MATCH_BEHAVIOR_DELETE)) in delete_deletionModeAll_success()
541 DeletionRequest.MATCH_BEHAVIOR_DELETE)) in delete_deletionModeAll_success()
549 DeletionRequest.MATCH_BEHAVIOR_DELETE)) in delete_deletionModeAll_success()
635 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in delete_deletionModeAllFlexApi_success()
636 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in delete_deletionModeAllFlexApi_success()
658 DeletionRequest.MATCH_BEHAVIOR_DELETE)) in delete_deletionModeAllFlexApi_success()
666 DeletionRequest.MATCH_BEHAVIOR_DELETE)) in delete_deletionModeAllFlexApi_success()
[all …]
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/
DMeasurementClient.java19 import android.adservices.measurement.DeletionRequest;
112 public ListenableFuture<Void> deleteRegistrations(@NonNull DeletionRequest request) { in deleteRegistrations()
309 private ListenableFuture<Void> deleteRegistrationsForSPlus(DeletionRequest request) {
332 private ListenableFuture<Void> deleteRegistrationsForR(DeletionRequest request) {
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementManagerTest.java27 import android.adservices.measurement.DeletionRequest;
310 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullExecutor_throwNullPointerException()
324 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullExecutor_throwNullPointerException_customReceiver()
339 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullCallback_throwNullPointerException()
352 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullCallback_throwNullPointerException_customReceiver()
657 DeletionRequest request = new DeletionRequest.Builder().build(); in testDeleteRegistrations()
673 DeletionRequest request = new DeletionRequest.Builder().build(); in testDeleteRegistrations_SPlus()
DMeasurementCompatibleManagerSandboxTest.java31 import android.adservices.measurement.DeletionRequest;
222 DeletionRequest deletionRequest = in testDeleteRegistrations_verifySamePackageAsContext()
223 new DeletionRequest.Builder() in testDeleteRegistrations_verifySamePackageAsContext()
DMeasurementCompatibleManagerTest.java39 import android.adservices.measurement.DeletionRequest;
1105 new DeletionRequest.Builder().build(), in testDeleteRegistrations_callingApp_expectedAttributionSource()
1124 new DeletionRequest.Builder().build(), in testDeleteRegistrations_callingSdk_expectedAttributionSource()
1140 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullExecutor_throwNullPointerException()
1153 new DeletionRequest.Builder().build(), in testDeleteRegistrations_nullCallback_throwNullPointerException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDeleteApiIntegrationTest.java20 import android.adservices.measurement.DeletionRequest;
92 matchBehavior = DeletionRequest.MATCH_BEHAVIOR_DELETE; in runActionToTest()
95 deletionMode = DeletionRequest.DELETION_MODE_ALL; in runActionToTest()
DMeasurementDaoTest.java53 import android.adservices.measurement.DeletionRequest;
7360 DeletionRequest.MATCH_BEHAVIOR_DELETE); in fetchMatchingSources_bringsMatchingSources()
7372 DeletionRequest.MATCH_BEHAVIOR_DELETE); in fetchMatchingSources_bringsMatchingSources()
7385 DeletionRequest.MATCH_BEHAVIOR_DELETE); in fetchMatchingSources_bringsMatchingSources()
7396 DeletionRequest.MATCH_BEHAVIOR_DELETE); in fetchMatchingSources_bringsMatchingSources()
7407 DeletionRequest.MATCH_BEHAVIOR_DELETE); in fetchMatchingSources_bringsMatchingSources()
7420 DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in fetchMatchingSources_bringsMatchingSources()
7432 DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in fetchMatchingSources_bringsMatchingSources()
7444 DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in fetchMatchingSources_bringsMatchingSources()
7456 DeletionRequest.MATCH_BEHAVIOR_PRESERVE); in fetchMatchingSources_bringsMatchingSources()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java19 import android.adservices.measurement.DeletionRequest;
646 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingSources()
674 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingTriggers()
702 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingAsyncRegistrations()
DMeasurementDao.java21 import android.adservices.measurement.DeletionRequest;
2198 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingSources()
2243 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingTriggers()
2291 @DeletionRequest.MatchBehavior int matchBehavior) in fetchMatchingAsyncRegistrations()
2360 @DeletionRequest.MatchBehavior int matchBehavior) {
2364 if (matchBehavior == DeletionRequest.MATCH_BEHAVIOR_PRESERVE) {
2382 if (matchBehavior == DeletionRequest.MATCH_BEHAVIOR_PRESERVE) {
2397 matchBehavior == DeletionRequest.MATCH_BEHAVIOR_PRESERVE
2406 matchBehavior == DeletionRequest.MATCH_BEHAVIOR_PRESERVE
2410 matchBehavior == DeletionRequest.MATCH_BEHAVIOR_PRESERVE ? " AND " : " OR ";
[all …]
/packages/modules/AdServices/adservices/tests/cts/sandbox/measurement/providers/sdkmeasurement/src/com/android/tests/providers/sdkmeasurement/
DSdkMeasurement.java20 import android.adservices.measurement.DeletionRequest;
99 new DeletionRequest.Builder() in onLoadSdk()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleter.java22 import android.adservices.measurement.DeletionRequest;
112 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_PRESERVE) in deleteAppUninstalledData()
212 if (deletionParam.getDeletionMode() == DeletionRequest.DELETION_MODE_ALL) { in delete()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java22 import android.adservices.measurement.DeletionRequest;
556 DeletionRequest deletionRequest = in executeDeleteRegistrations()
557 new DeletionRequest.Builder() in executeDeleteRegistrations()
559 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_PRESERVE) in executeDeleteRegistrations()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementImplTest.java39 import android.adservices.measurement.DeletionRequest;
291 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeleteRegistrations_successfulWithRange()
292 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in testDeleteRegistrations_successfulWithRange()
309 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeleteRegistrations_successfulWithOrigin()
310 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in testDeleteRegistrations_successfulWithOrigin()
330 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in testDeleteRegistrations_internalError()
331 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in testDeleteRegistrations_internalError()
DMeasurementServiceImplTest.java57 import android.adservices.measurement.DeletionRequest;
1967 .setMatchBehavior(DeletionRequest.MATCH_BEHAVIOR_DELETE) in createDeletionRequest()
1968 .setDeletionMode(DeletionRequest.DELETION_MODE_ALL) in createDeletionRequest()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/
DMeasurementRegisterCalls.java23 import android.adservices.measurement.DeletionRequest;
515 DeletionRequest deletionRequest = new DeletionRequest.Builder().build(); in executeDeleteRegistrations()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt626 public class DeletionRequest {
639 public static final class DeletionRequest.Builder {
640 ctor public DeletionRequest.Builder();
641 method @NonNull public android.adservices.measurement.DeletionRequest build();
642 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setDeletionMode(int);
643 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setDomainUris(@Nulla…
644 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setEnd(@NonNull java…
645 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setMatchBehavior(int…
646 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setOriginUris(@Nulla…
647 …method @NonNull public android.adservices.measurement.DeletionRequest.Builder setStart(@NonNull ja…
[all …]