/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/ |
D | PartialCustomAudienceTest.java | 47 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()
|
D | FetchAndJoinCustomAudienceInputTest.java | 53 .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/ |
D | PartialCustomAudienceTest.java | 67 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()
|
D | CustomAudienceTest.java | 85 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()
|
D | FetchAndJoinCustomAudienceRequestTest.java | 55 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/ |
D | CustomAudienceBlobTest.java | 126 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 …]
|
D | ScheduleCustomAudienceUpdateTestUtils.java | 125 ca.getActivationTime(), in generateCustomAudienceWithName()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | CustomAudienceSignalsTest.java | 47 customAudienceSignals.getActivationTime()); in testBuildCustomAudienceSignals() 68 customAudienceSignals.getActivationTime()); in testBuildFromCustomAudience()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | DBPartialCustomAudienceTest.java | 57 .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/ |
D | DBPartialCustomAudience.java | 68 public abstract Instant getActivationTime(); in getActivationTime() method in DBPartialCustomAudience 96 .setActivationTime(dbPartialCustomAudience.getActivationTime()) in getPartialCustomAudience()
|
D | DBCustomAudience.java | 185 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/ |
D | CustomAudienceSignals.java | 112 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/ |
D | CustomAudienceBlob.java | 247 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
|
D | CustomAudienceTimestampValidator.java | 88 Instant activationTime = customAudience.getActivationTime(); in addValidation()
|
D | CustomAudienceBlobValidator.java | 130 calculatedActivationTime = customAudience.getActivationTime(); in addValidation()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | CustomAudienceBiddingSignalsArgumentUtil.java | 66 instantToEpochMilli(customAudienceSignals.getActivationTime())), in asScriptArgument()
|
D | CustomAudienceBiddingInfo.java | 109 customAudience.getActivationTime(), in create()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | CustomAudienceBiddingSignalsArgumentUtilTest.java | 93 actualSignals.getActivationTime())), in matchCustomAudienceSignals()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/ |
D | FetchAndJoinCustomAudienceRequest.java | 80 public Instant getActivationTime() { in getActivationTime() method in FetchAndJoinCustomAudienceRequest
|
D | PartialCustomAudience.java | 110 public Instant getActivationTime() { in getActivationTime() method in PartialCustomAudience
|
D | FetchAndJoinCustomAudienceInput.java | 119 public Instant getActivationTime() { in getActivationTime() method in FetchAndJoinCustomAudienceInput
|
D | CustomAudienceManager.java | 243 fetchAndJoinCustomAudienceRequest.getActivationTime()) in fetchAndJoinCustomAudience()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/ |
D | ScheduleCustomAudienceUpdateTest.java | 142 .setActivationTime(customAudience.getActivationTime()) in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 2369 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/ |
D | CustomAudienceHelperTest.java | 89 assertThat(customAudience.getActivationTime()).isNotNull(); in testCustomAudienceFromJson_happyPath()
|