/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | FetchAndJoinCustomAudienceRequestTest.java | 49 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testBuildValidRequest_all_success() 58 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildValidRequest_all_success() 98 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testBuildValidRequest_withExpirationTime_success() 103 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildValidRequest_withExpirationTime_success() 147 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_identical() 155 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_identical() 169 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_different() 177 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_different() 191 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_null() 206 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testHashCode_identical() [all …]
|
D | PartialCustomAudienceTest.java | 42 private static final Instant VALID_EXPIRATION_TIME = CommonFixture.FIXED_NEXT_ONE_DAY; field in PartialCustomAudienceTest 48 .setExpirationTime(VALID_EXPIRATION_TIME) 63 .setExpirationTime(VALID_EXPIRATION_TIME) in testBuildValidPartialCARequest_AllSetters_Success() 68 expect.that(partialCA.getExpirationTime()).isEqualTo(VALID_EXPIRATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success() 96 .setExpirationTime(VALID_EXPIRATION_TIME) in testEquals_Same() 103 .setExpirationTime(VALID_EXPIRATION_TIME) in testEquals_Same() 115 .setExpirationTime(VALID_EXPIRATION_TIME) in testHashCodeSame() 122 .setExpirationTime(VALID_EXPIRATION_TIME) in testHashCodeSame() 127 expect.that(VALID_PARTIAL_CA.getExpirationTime()).isEqualTo(VALID_EXPIRATION_TIME); in testHashCodeSame() 141 VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in testToString()
|
D | CustomAudienceTest.java | 87 CustomAudienceFixture.VALID_EXPIRATION_TIME, in testBuildValidCustomAudienceSuccess() 120 CustomAudienceFixture.VALID_EXPIRATION_TIME, in testBuildValidCustomAudienceSuccessWithPriority() 152 CustomAudienceFixture.VALID_EXPIRATION_TIME, in testBuildValidCustomAudienceSuccessWithoutPriority() 185 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildValidCustomAudienceSuccessWithAuctionServerRequestFlags() 313 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testNonNullValueNotSetBuildFails() 354 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildNullAdsCustomAudienceSuccess() 387 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildEmptyAdsCustomAudienceSuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/ |
D | PartialCustomAudienceTest.java | 34 private static final Instant VALID_EXPIRATION_TIME = CommonFixture.FIXED_NEXT_ONE_DAY; field in PartialCustomAudienceTest 40 .setExpirationTime(VALID_EXPIRATION_TIME) 48 expect.that(VALID_PARTIAL_CA.getExpirationTime()).isEqualTo(VALID_EXPIRATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success() 77 .setExpirationTime(VALID_EXPIRATION_TIME) in testEquals_Same() 84 .setExpirationTime(VALID_EXPIRATION_TIME) in testEquals_Same() 97 .setExpirationTime(VALID_EXPIRATION_TIME) in testHashCodeSame() 105 .setExpirationTime(VALID_EXPIRATION_TIME) in testHashCodeSame() 111 expect.that(VALID_PARTIAL_CA.getExpirationTime()).isEqualTo(VALID_EXPIRATION_TIME); in testHashCodeSame() 126 VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in testToString()
|
D | FetchAndJoinCustomAudienceInputTest.java | 44 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testBuildValidRequest_all_success() 57 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildValidRequest_all_success() 118 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testBuildValidRequest_withExpirationTime_success() 124 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testBuildValidRequest_withExpirationTime_success() 177 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_identical() 186 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_identical() 202 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_different() 211 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_different() 225 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testEquals_null() 239 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in testToString() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | DBPartialCustomAudienceTest.java | 34 private static final Instant VALID_EXPIRATION_TIME = CommonFixture.FIXED_NEXT_ONE_DAY; field in DBPartialCustomAudienceTest 46 .setExpirationTime(VALID_EXPIRATION_TIME) in testBuildDBPartialCustomAudience_BuilderSuccess() 61 .isEqualTo(VALID_EXPIRATION_TIME); in testBuildDBPartialCustomAudience_BuilderSuccess() 74 VALID_EXPIRATION_TIME, in testBuildDBPartialCustomAudience_CreateSuccess() 88 .isEqualTo(VALID_EXPIRATION_TIME); in testBuildDBPartialCustomAudience_CreateSuccess() 102 .setExpirationTime(VALID_EXPIRATION_TIME) in testBuildDBPartialCustomAudience_WithNullName_ThrowsException() 115 .setExpirationTime(VALID_EXPIRATION_TIME) in testBuildDBPartialCustomAudience_WithNullUpdateId_ThrowsException()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceFixture.java | 44 CustomAudienceFixture.VALID_EXPIRATION_TIME, in getFullSuccessfulJsonResponseString() 62 CustomAudienceFixture.VALID_EXPIRATION_TIME, in getFullSuccessfulJsonResponseStringWithAdRenderId() 81 CustomAudienceFixture.VALID_EXPIRATION_TIME, in getFullJsonResponseStringWithInvalidAdRenderId() 98 CustomAudienceFixture.VALID_EXPIRATION_TIME, in getFullSuccessfulJsonResponse() 122 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getFullSuccessfulDBCustomAudience() 147 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getFullSuccessfulDBCustomAudienceWithAdRenderId() 173 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobTest.java | 24 import static android.adservices.customaudience.CustomAudienceFixture.VALID_EXPIRATION_TIME; 78 .setExpirationTime(VALID_EXPIRATION_TIME) 86 VALID_EXPIRATION_TIME, 98 VALID_EXPIRATION_TIME, 127 assertEquals(mCustomAudienceBlob.getExpirationTime(), VALID_EXPIRATION_TIME); in testOverrideFromFetchAndJoinCustomAudienceInput_validValues() local 171 assertEquals(mCustomAudienceBlob.getExpirationTime(), VALID_EXPIRATION_TIME); in testOverrideFromJSONObject_validValues() local 207 VALID_EXPIRATION_TIME, in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() 225 assertEquals(blob.getExpirationTime(), VALID_EXPIRATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() local 251 VALID_EXPIRATION_TIME, in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() 271 assertEquals(blob.getExpirationTime(), VALID_EXPIRATION_TIME); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() local [all …]
|
D | CustomAudienceExpirationTimeValidatorTest.java | 26 import static android.adservices.customaudience.CustomAudienceFixture.VALID_EXPIRATION_TIME; 90 () -> mValidator.getValidationViolations(VALID_EXPIRATION_TIME, null)); in testGetValidationViolations_nullCalculatedActivationTime_throws() 108 VALID_EXPIRATION_TIME, null, new ImmutableList.Builder<>())); in testAddValidation_nullCalculatedActivationTime_throws() 115 () -> mValidator.addValidation(VALID_EXPIRATION_TIME, VALID_ACTIVATION_TIME, null)); in testAddValidation_nullViolations_throws() 121 mValidator.validate(VALID_EXPIRATION_TIME, VALID_ACTIVATION_TIME); in testValidator_valid()
|
D | CustomAudienceTimestampValidatorTest.java | 71 CustomAudienceFixture.VALID_EXPIRATION_TIME)); in testActivationTimeBeyondMaxAndExpireBeforeActivation() 126 CustomAudienceFixture.VALID_EXPIRATION_TIME) in testNullActivationTimeExpireBeforeMax()
|
D | CustomAudienceServiceEndToEndTest.java | 23 import static android.adservices.customaudience.CustomAudienceFixture.VALID_EXPIRATION_TIME; 661 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_overridesJoinCustomAudience() 710 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudienceAppInstallDisabled() 760 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudienceFrequencyCapDisabled() 817 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_overridesJoinCustomAudienceWithAuctionServerReqeustFlagsEnabled() 852 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_overriddenByJoinCustomAudience() 906 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_overriddenByJoinCustomAudienceWithAuctionServerRequestFlag() 952 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_FirstJoinsQuarantineTableSecondIsFiltered() 1013 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_FirstJoinsQuarantineTableSecondPasses() 1064 .setExpirationTime(VALID_EXPIRATION_TIME) in testFetchAndJoinCustomAudience_leaveSuccessfully()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerCustomAudienceFiltererTest.java | 60 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_nullBiddingData_returnsFalse() 81 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_emptyBiddingKeyList_returnsFalse() 103 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_nullBiddingKeys_returnsFalse() 128 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_emptyBiddingKeys_returnsFalse() 153 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_noAds_returnsFalse() 179 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse() 214 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_nullAdRenderId_returnsFalse() 275 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/ |
D | CustomAudienceFixture.java | 62 public static final Instant VALID_EXPIRATION_TIME = field in CustomAudienceFixture 104 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderForBuyer() 149 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderForBuyerFilters() 164 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderForBuyerFiltersWithAdRenderId() 190 .setExpirationTime(VALID_EXPIRATION_TIME) in getNValidCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/ |
D | DBCustomAudienceFixture.java | 42 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderByBuyer() 59 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderByBuyer() 81 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderByBuyerWithAdRenderId() 97 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in getValidBuilderByBuyerNoFilters()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | CustomAudienceSignalsTest.java | 49 CustomAudienceFixture.VALID_EXPIRATION_TIME, in testBuildCustomAudienceSignals() 70 CustomAudienceFixture.VALID_EXPIRATION_TIME, in testBuildFromCustomAudience()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/datahandlers/ |
D | ReportingDataTest.java | 43 public static final Instant VALID_EXPIRATION_TIME = field in ReportingDataTest 55 .setExpirationTime(VALID_EXPIRATION_TIME)
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | CustomAudienceShellCommandsE2ETest.java | 86 CustomAudienceFixture.VALID_EXPIRATION_TIME); in setUp() 93 CustomAudienceFixture.VALID_EXPIRATION_TIME); in setUp()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | CustomAudienceTestFixture.java | 77 CustomAudienceFixture.VALID_EXPIRATION_TIME); in createCustomAudience() 92 CustomAudienceFixture.VALID_EXPIRATION_TIME, in createCustomAudienceWithAdCost()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | CustomAudienceSetupRule.java | 48 private static final Instant VALID_EXPIRATION_TIME = field in CustomAudienceSetupRule 220 buyer, name, bids, VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME);
|
D | StaticAdTechServerUtils.java | 76 private static final Instant VALID_EXPIRATION_TIME = field in StaticAdTechServerUtils 168 VALID_EXPIRATION_TIME); in createAndGetCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | CustomAudienceSignalsFixture.java | 37 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in aCustomAudienceSignalsBuilder()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | AbstractPerfTest.java | 71 public static final Instant VALID_EXPIRATION_TIME = field in AbstractPerfTest 262 buyer, name, bids, VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in createCustomAudience()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceHelperTest.java | 61 CustomAudienceFixture.VALID_EXPIRATION_TIME) in testCustomAudienceFromJson_happyPath() 91 .isEqualTo(CustomAudienceFixture.VALID_EXPIRATION_TIME); in testCustomAudienceFromJson_happyPath()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapplowbid/java/com/android/adservices/tests/cts/customaudience/sampleapplowbid/ |
D | MainActivity.java | 129 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in createCustomAudience()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapphighbid/java/com/android/adservices/tests/cts/customaudience/sampleapphighbid/ |
D | MainActivity.java | 128 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in createCustomAudience()
|