/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/ |
D | DeletionRequestTest.java | 38 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 …]
|
D | DeletionParamTest.java | 42 .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/ |
D | MeasurementManagerJetpackTest.java | 27 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/ |
D | DeletionParam.java | 41 @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()
|
D | DeletionRequest.java | 32 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()
|
D | MeasurementManager.java | 350 @NonNull DeletionRequest deletionRequest, in deleteRegistrations() 373 @NonNull DeletionRequest deletionRequest, in deleteRegistrations()
|
D | MeasurementCompatibleManager.java | 572 @NonNull DeletionRequest deletionRequest, in deleteRegistrations()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/ |
D | MeasurementManagerCtsTest.java | 27 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/ |
D | MeasurementApiParamsCtsTest.java | 22 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/ |
D | MeasurementDataDeleterTest.java | 35 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/ |
D | MeasurementClient.java | 19 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/ |
D | MeasurementManagerTest.java | 27 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()
|
D | MeasurementCompatibleManagerSandboxTest.java | 31 import android.adservices.measurement.DeletionRequest; 222 DeletionRequest deletionRequest = in testDeleteRegistrations_verifySamePackageAsContext() 223 new DeletionRequest.Builder() in testDeleteRegistrations_verifySamePackageAsContext()
|
D | MeasurementCompatibleManagerTest.java | 39 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/ |
D | DeleteApiIntegrationTest.java | 20 import android.adservices.measurement.DeletionRequest; 92 matchBehavior = DeletionRequest.MATCH_BEHAVIOR_DELETE; in runActionToTest() 95 deletionMode = DeletionRequest.DELETION_MODE_ALL; in runActionToTest()
|
D | MeasurementDaoTest.java | 53 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/ |
D | IMeasurementDao.java | 19 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()
|
D | MeasurementDao.java | 21 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/ |
D | SdkMeasurement.java | 20 import android.adservices.measurement.DeletionRequest; 99 new DeletionRequest.Builder() in onLoadSdk()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleter.java | 22 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/ |
D | MeasurementCtsDebuggableTest.java | 22 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/ |
D | MeasurementImplTest.java | 39 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()
|
D | MeasurementServiceImplTest.java | 57 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/ |
D | MeasurementRegisterCalls.java | 23 import android.adservices.measurement.DeletionRequest; 515 DeletionRequest deletionRequest = new DeletionRequest.Builder().build(); in executeDeleteRegistrations()
|
/packages/modules/AdServices/adservices/framework/api/ |
D | current.txt | 626 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 …]
|