Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/
DPartialCustomAudienceTest.java47 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success()
55 expect.that(VALID_PARTIAL_CA.getActivationTime()).isNotNull(); in testBuildValidPartialCARequestParcel_Success()
65 expect.that(ca.getActivationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success()
66 .isEqualTo(fromParcel.getActivationTime().getEpochSecond()); in testBuildValidPartialCARequestParcel_Success()
110 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testHashCodeSame()
DFetchAndJoinCustomAudienceInputTest.java53 .that(request.getActivationTime()) in testBuildValidRequest_all_success()
106 .that(request.getActivationTime()) in testBuildValidRequest_withActivationTime_success()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DPartialCustomAudienceTest.java67 expect.that(partialCA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testBuildValidPartialCARequest_AllSetters_Success()
75 expect.that(VALID_PARTIAL_CA.getActivationTime()).isNotNull(); in testBuildValidPartialCARequestParcel_Success()
85 expect.that(ca.getActivationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success()
86 .isEqualTo(fromParcel.getActivationTime().getEpochSecond()); in testBuildValidPartialCARequestParcel_Success()
126 expect.that(VALID_PARTIAL_CA.getActivationTime()).isEqualTo(VALID_ACTIVATION_TIME); in testHashCodeSame()
DCustomAudienceTest.java85 validCustomAudience.getActivationTime()); in testBuildValidCustomAudienceSuccess()
118 validCustomAudience.getActivationTime()); in testBuildValidCustomAudienceSuccessWithPriority()
150 validCustomAudience.getActivationTime()); in testBuildValidCustomAudienceSuccessWithoutPriority()
182 assertThat(validCustomAudience.getActivationTime()) in testBuildValidCustomAudienceSuccessWithAuctionServerRequestFlags()
218 assertThat(validDelayedActivationCustomAudience.getActivationTime()) in testBuildValidDelayedActivationCustomAudienceSuccess()
351 assertThat(nullAdsCustomAudience.getActivationTime()) in testBuildNullAdsCustomAudienceSuccess()
384 assertThat(emptyAdsCustomAudience.getActivationTime()) in testBuildEmptyAdsCustomAudienceSuccess()
DFetchAndJoinCustomAudienceRequestTest.java55 assertThat(request.getActivationTime()) in testBuildValidRequest_all_success()
90 assertThat(request.getActivationTime()) in testBuildValidRequest_withActivationTime_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobTest.java126 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromFetchAndJoinCustomAudienceInput_validValues()
153 mCustomAudienceBlob.getActivationTime(), in testOverrideFromPartialCustomAudience_validValues()
154 PARTIAL_CUSTOM_AUDIENCE_1.getActivationTime()); in testOverrideFromPartialCustomAudience_validValues()
170 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValues()
224 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
270 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled()
320 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled()
364 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsDisabled()
521 assertEquals(mCustomAudienceBlob.getActivationTime(), VALID_ACTIVATION_TIME); in testGetActivationTime_valid()
526 assertThrows(NullPointerException.class, mCustomAudienceBlob::getActivationTime); in testGetActivationTime_unsetThrows()
[all …]
DScheduleCustomAudienceUpdateTestUtils.java125 ca.getActivationTime(), in generateCustomAudienceWithName()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DCustomAudienceSignalsTest.java47 customAudienceSignals.getActivationTime()); in testBuildCustomAudienceSignals()
68 customAudienceSignals.getActivationTime()); in testBuildFromCustomAudience()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBPartialCustomAudienceTest.java57 .that(dbPartialCustomAudience.getActivationTime()) in testBuildDBPartialCustomAudience_BuilderSuccess()
84 .that(dbPartialCustomAudience.getActivationTime()) in testBuildDBPartialCustomAudience_CreateSuccess()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DDBPartialCustomAudience.java68 public abstract Instant getActivationTime(); in getActivationTime() method in DBPartialCustomAudience
96 .setActivationTime(dbPartialCustomAudience.getActivationTime()) in getPartialCustomAudience()
DDBCustomAudience.java185 Optional.ofNullable(parcelable.getActivationTime()).orElse(currentTime); in fromServiceObject()
316 public Instant getActivationTime() { in getActivationTime() method in DBCustomAudience
492 mActivationTime = customAudience.getActivationTime(); in Builder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DCustomAudienceSignals.java112 public Instant getActivationTime() { in getActivationTime() method in CustomAudienceSignals
166 .setActivationTime(customAudience.getActivationTime()) in buildFromCustomAudience()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceBlob.java247 if (input.getActivationTime() != null) { in overrideFromFetchAndJoinCustomAudienceInput()
248 this.setActivationTime(input.getActivationTime()); in overrideFromFetchAndJoinCustomAudienceInput()
268 if (partialCustomAudience.getActivationTime() != null) { in overrideFromPartialCustomAudience()
269 this.setActivationTime(partialCustomAudience.getActivationTime()); in overrideFromPartialCustomAudience()
438 public Instant getActivationTime() { in getActivationTime() method in CustomAudienceBlob
DCustomAudienceTimestampValidator.java88 Instant activationTime = customAudience.getActivationTime(); in addValidation()
DCustomAudienceBlobValidator.java130 calculatedActivationTime = customAudience.getActivationTime(); in addValidation()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DCustomAudienceBiddingSignalsArgumentUtil.java66 instantToEpochMilli(customAudienceSignals.getActivationTime())), in asScriptArgument()
DCustomAudienceBiddingInfo.java109 customAudience.getActivationTime(), in create()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DCustomAudienceBiddingSignalsArgumentUtilTest.java93 actualSignals.getActivationTime())), in matchCustomAudienceSignals()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DFetchAndJoinCustomAudienceRequest.java80 public Instant getActivationTime() { in getActivationTime() method in FetchAndJoinCustomAudienceRequest
DPartialCustomAudience.java110 public Instant getActivationTime() { in getActivationTime() method in PartialCustomAudience
DFetchAndJoinCustomAudienceInput.java119 public Instant getActivationTime() { in getActivationTime() method in FetchAndJoinCustomAudienceInput
DCustomAudienceManager.java243 fetchAndJoinCustomAudienceRequest.getActivationTime()) in fetchAndJoinCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DScheduleCustomAudienceUpdateTest.java142 .setActivationTime(customAudience.getActivationTime()) in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java2369 customAudience1.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2392 customAudience2.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2531 customAudience1.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2554 customAudience2.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2695 customAudience1.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
2718 customAudience2.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
2879 customAudience1.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_FCapEnabled_AppInstallDisabled()
2902 customAudience2.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_FCapEnabled_AppInstallDisabled()
3064 customAudience1.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_AppInstallEnabled_FCapDisabled()
3087 customAudience2.getActivationTime(), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_AppInstallEnabled_FCapDisabled()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceHelperTest.java89 assertThat(customAudience.getActivationTime()).isNotNull(); in testCustomAudienceFromJson_happyPath()

12