Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DFetchAndJoinCustomAudienceRequestTest.java48 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testBuildValidRequest_all_success()
56 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildValidRequest_all_success()
86 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testBuildValidRequest_withActivationTime_success()
91 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildValidRequest_withActivationTime_success()
146 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_identical()
154 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_identical()
168 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_different()
176 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_different()
190 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_null()
205 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testHashCode_identical()
[all …]
DPartialCustomAudienceTest.java41 private static final Instant VALID_ACTIVATION_TIME = CommonFixture.FIXED_NOW; field in PartialCustomAudienceTest
49 .setActivationTime(VALID_ACTIVATION_TIME)
64 .setActivationTime(VALID_ACTIVATION_TIME) in testBuildValidPartialCARequest_AllSetters_Success()
67 expect.that(partialCA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success()
97 .setActivationTime(VALID_ACTIVATION_TIME) in testEquals_Same()
104 .setActivationTime(VALID_ACTIVATION_TIME) in testEquals_Same()
116 .setActivationTime(VALID_ACTIVATION_TIME) in testHashCodeSame()
123 .setActivationTime(VALID_ACTIVATION_TIME) in testHashCodeSame()
126 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testHashCodeSame()
141 VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in testToString()
DCustomAudienceTest.java84 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testBuildValidCustomAudienceSuccess()
117 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testBuildValidCustomAudienceSuccessWithPriority()
149 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testBuildValidCustomAudienceSuccessWithoutPriority()
183 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildValidCustomAudienceSuccessWithAuctionServerRequestFlags()
352 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildNullAdsCustomAudienceSuccess()
385 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildEmptyAdsCustomAudienceSuccess()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/
DPartialCustomAudienceTest.java33 private static final Instant VALID_ACTIVATION_TIME = CommonFixture.FIXED_NOW; field in PartialCustomAudienceTest
41 .setActivationTime(VALID_ACTIVATION_TIME)
47 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success()
78 .setActivationTime(VALID_ACTIVATION_TIME) in testEquals_Same()
85 .setActivationTime(VALID_ACTIVATION_TIME) in testEquals_Same()
98 .setActivationTime(VALID_ACTIVATION_TIME) in testHashCodeSame()
106 .setActivationTime(VALID_ACTIVATION_TIME) in testHashCodeSame()
110 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testHashCodeSame()
126 VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in testToString()
DFetchAndJoinCustomAudienceInputTest.java43 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testBuildValidRequest_all_success()
54 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildValidRequest_all_success()
101 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testBuildValidRequest_withActivationTime_success()
107 .isEqualTo(CustomAudienceFixture.VALID_ACTIVATION_TIME); in testBuildValidRequest_withActivationTime_success()
176 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_identical()
185 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_identical()
201 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_different()
210 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_different()
224 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testEquals_null()
238 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testToString()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBPartialCustomAudienceTest.java33 private static final Instant VALID_ACTIVATION_TIME = CommonFixture.FIXED_NOW; field in DBPartialCustomAudienceTest
45 .setActivationTime(VALID_ACTIVATION_TIME) in testBuildDBPartialCustomAudience_BuilderSuccess()
58 .isEqualTo(VALID_ACTIVATION_TIME); in testBuildDBPartialCustomAudience_BuilderSuccess()
73 VALID_ACTIVATION_TIME, in testBuildDBPartialCustomAudience_CreateSuccess()
85 .isEqualTo(VALID_ACTIVATION_TIME); in testBuildDBPartialCustomAudience_CreateSuccess()
101 .setActivationTime(VALID_ACTIVATION_TIME) in testBuildDBPartialCustomAudience_WithNullName_ThrowsException()
114 .setActivationTime(VALID_ACTIVATION_TIME) in testBuildDBPartialCustomAudience_WithNullUpdateId_ThrowsException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceExpirationTimeValidatorTest.java24 import static android.adservices.customaudience.CustomAudienceFixture.VALID_ACTIVATION_TIME;
83 () -> mValidator.getValidationViolations(null, VALID_ACTIVATION_TIME)); in testGetValidationViolations_nullExpirationTime_throws()
99 null, VALID_ACTIVATION_TIME, new ImmutableList.Builder<>())); in testAddValidation_nullExpirationTime_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()
132 INVALID_BEFORE_NOW_EXPIRATION_TIME, VALID_ACTIVATION_TIME)); in testValidator_beforeNow()
184 INVALID_BEYOND_MAX_EXPIRATION_TIME, VALID_ACTIVATION_TIME)); in testValidator_exceedsExpiryLimit()
DCustomAudienceBlobTest.java23 import static android.adservices.customaudience.CustomAudienceFixture.VALID_ACTIVATION_TIME;
77 .setActivationTime(VALID_ACTIVATION_TIME)
85 VALID_ACTIVATION_TIME,
97 VALID_ACTIVATION_TIME,
126 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromFetchAndJoinCustomAudienceInput_validValues() local
170 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValues() local
206 VALID_ACTIVATION_TIME, in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
224 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() local
250 VALID_ACTIVATION_TIME, in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled()
270 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() local
[all …]
DCustomAudienceActivationTimeValidatorTest.java23 import static android.adservices.customaudience.CustomAudienceFixture.VALID_ACTIVATION_TIME;
87 () -> mValidator.addValidation(VALID_ACTIVATION_TIME, null)); in testAddValidation_nullViolations_throws()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceFixture.java43 CustomAudienceFixture.VALID_ACTIVATION_TIME, in getFullSuccessfulJsonResponseString()
61 CustomAudienceFixture.VALID_ACTIVATION_TIME, in getFullSuccessfulJsonResponseStringWithAdRenderId()
80 CustomAudienceFixture.VALID_ACTIVATION_TIME, in getFullJsonResponseStringWithInvalidAdRenderId()
97 CustomAudienceFixture.VALID_ACTIVATION_TIME, in getFullSuccessfulJsonResponse()
121 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getFullSuccessfulDBCustomAudience()
146 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getFullSuccessfulDBCustomAudienceWithAdRenderId()
172 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/
DCustomAudienceFixture.java53 public static final Instant VALID_ACTIVATION_TIME = field in CustomAudienceFixture
63 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_DEFAULT_EXPIRE_IN);
67 VALID_ACTIVATION_TIME.minusSeconds(DAY_IN_SECONDS);
73 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_MAX_EXPIRE_IN.multipliedBy(2));
103 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderForBuyer()
148 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderForBuyerFilters()
163 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderForBuyerFiltersWithAdRenderId()
189 .setActivationTime(VALID_ACTIVATION_TIME) in getNValidCustomAudiences()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerCustomAudienceFiltererTest.java59 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_nullBiddingData_returnsFalse()
80 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_emptyBiddingKeyList_returnsFalse()
102 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_nullBiddingKeys_returnsFalse()
127 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_emptyBiddingKeys_returnsFalse()
152 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_noAds_returnsFalse()
178 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse()
213 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_nullAdRenderId_returnsFalse()
274 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
DAdSelectionScriptEngineTest.java643 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3SuccessfulCase()
704 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3WithCopierSuccessfulCase()
749 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3WithCopierWithAdCounterKeysSuccessfulCase()
1083 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3ReturnDebugReportingNoUrl()
1148 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3ReturnDebugReportingNoUrl_WhenDisabled()
1211 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testGenerateBidV3ReturnDebugReportingNoBadUrl()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/
DDBCustomAudienceFixture.java41 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderByBuyer()
58 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderByBuyer()
80 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderByBuyerWithAdRenderId()
96 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in getValidBuilderByBuyerNoFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/datahandlers/
DReportingDataTest.java41 public static final Instant VALID_ACTIVATION_TIME = field in ReportingDataTest
44 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN);
54 .setActivationTime(VALID_ACTIVATION_TIME)
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DCustomAudienceSetupRule.java47 private static final Instant VALID_ACTIVATION_TIME = Instant.now(); field in CustomAudienceSetupRule
49 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN);
220 buyer, name, bids, VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME);
DStaticAdTechServerUtils.java75 private static final Instant VALID_ACTIVATION_TIME = Instant.now(); field in StaticAdTechServerUtils
77 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN);
167 VALID_ACTIVATION_TIME, in createAndGetCustomAudiences()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DCustomAudienceSignalsTest.java46 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testBuildCustomAudienceSignals()
67 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testBuildFromCustomAudience()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAbstractPerfTest.java70 public static final Instant VALID_ACTIVATION_TIME = Instant.now(); field in AbstractPerfTest
72 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN);
262 buyer, name, bids, VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME); in createCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DCustomAudienceTestFixture.java76 CustomAudienceFixture.VALID_ACTIVATION_TIME, in createCustomAudience()
91 CustomAudienceFixture.VALID_ACTIVATION_TIME, in createCustomAudienceWithAdCost()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DCustomAudienceSignalsFixture.java36 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in aCustomAudienceSignalsBuilder()
DDataHandlersFixture.java71 public static final Instant VALID_ACTIVATION_TIME = field in DataHandlersFixture
74 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN);
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapplowbid/java/com/android/adservices/tests/cts/customaudience/sampleapplowbid/
DMainActivity.java128 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in createCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/testapps/sampleapphighbid/java/com/android/adservices/tests/cts/customaudience/sampleapphighbid/
DMainActivity.java127 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in createCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java2394 CustomAudienceFixture.VALID_ACTIVATION_TIME, in testAdSelectionFlow_skipExpiredCA_Success()
3052 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFledgeAuctionAppFilteringFlow_overall_Success()
3187 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFledgeAuctionAppFilteringFlow_overall_AppInstallFailure()
3311 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_NonWinEvent_FiltersAds()
3483 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered()
3672 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered()
3828 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered()
4006 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_NonWinEventWrongAdSelection_DoesNotFilterAds()
4175 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_WinEvent_FiltersAds()
4350 .setActivationTime(CustomAudienceFixture.VALID_ACTIVATION_TIME) in testFrequencyCapFiltering_WinEventDifferentKey_IsNotFiltered()
[all …]

12