Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DFetchAndJoinCustomAudienceRequestTest.java49 .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 …]
DPartialCustomAudienceTest.java42 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()
DCustomAudienceTest.java87 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/
DPartialCustomAudienceTest.java34 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()
DFetchAndJoinCustomAudienceInputTest.java44 .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/
DDBPartialCustomAudienceTest.java34 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/
DFetchCustomAudienceFixture.java44 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/
DCustomAudienceBlobTest.java24 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 …]
DCustomAudienceExpirationTimeValidatorTest.java26 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()
DCustomAudienceTimestampValidatorTest.java71 CustomAudienceFixture.VALID_EXPIRATION_TIME)); in testActivationTimeBeyondMaxAndExpireBeforeActivation()
126 CustomAudienceFixture.VALID_EXPIRATION_TIME) in testNullActivationTimeExpireBeforeMax()
DCustomAudienceServiceEndToEndTest.java23 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/
DAuctionServerCustomAudienceFiltererTest.java60 .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/
DCustomAudienceFixture.java62 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/
DDBCustomAudienceFixture.java42 .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/
DCustomAudienceSignalsTest.java49 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/
DReportingDataTest.java43 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/
DCustomAudienceShellCommandsE2ETest.java86 CustomAudienceFixture.VALID_EXPIRATION_TIME); in setUp()
93 CustomAudienceFixture.VALID_EXPIRATION_TIME); in setUp()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DCustomAudienceTestFixture.java77 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/
DCustomAudienceSetupRule.java48 private static final Instant VALID_EXPIRATION_TIME = field in CustomAudienceSetupRule
220 buyer, name, bids, VALID_ACTIVATION_TIME, VALID_EXPIRATION_TIME);
DStaticAdTechServerUtils.java76 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/
DCustomAudienceSignalsFixture.java37 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in aCustomAudienceSignalsBuilder()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAbstractPerfTest.java71 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/
DCustomAudienceHelperTest.java61 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/
DMainActivity.java129 .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/
DMainActivity.java128 .setExpirationTime(CustomAudienceFixture.VALID_EXPIRATION_TIME) in createCustomAudience()

12