Home
last modified time | relevance | path

Searched refs:setCreationTime (Results 1 – 25 of 65) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DDBEncoderEndpointTest.java55 .setCreationTime(CommonFixture.FIXED_NOW) in testBuildEndPoint()
78 .setCreationTime(CommonFixture.FIXED_NOW) in testEquals()
84 .setCreationTime(CommonFixture.FIXED_NOW) in testEquals()
97 .setCreationTime(CommonFixture.FIXED_NOW) in testNotEquals()
103 .setCreationTime(CommonFixture.FIXED_NOW) in testNotEquals()
115 .setCreationTime(CommonFixture.FIXED_NOW) in testHashCode()
121 .setCreationTime(CommonFixture.FIXED_NOW) in testHashCode()
DDBEncoderLogicMetadataTest.java64 .setCreationTime(time) in testBuildEncodingLogic()
93 .setCreationTime(time) in testEquals()
100 .setCreationTime(time) in testEquals()
118 .setCreationTime(time) in testNotEquals()
125 .setCreationTime(time) in testNotEquals()
143 .setCreationTime(time) in testHashCode()
150 .setCreationTime(time) in testHashCode()
DDBProtectedSignalTest.java62 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildSignal()
81 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testEqual()
90 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testEqual()
104 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testNotEqual()
113 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testNotEqual()
127 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testHashCode()
136 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testHashCode()
DDBProtectedSignalFixture.java34 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getBuilder()
41 .setCreationTime(
DDBEncoderLogicFixture.java35 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in anEncoderLogicBuilder()
DDBEncodedPayloadFixture.java38 .setCreationTime(CommonFixture.FIXED_NOW) in anEncodedPayloadBuilder()
DEncodedPayloadDaoTest.java135 .setCreationTime(Instant.now()) in testDeleteAllBuyersRegisteredBefore()
141 .setCreationTime(Instant.now().plus(10, ChronoUnit.DAYS)) in testDeleteAllBuyersRegisteredBefore()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerCustomAudienceFiltererTest.java61 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_nullBiddingData_returnsFalse()
82 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_emptyBiddingKeyList_returnsFalse()
104 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_nullBiddingKeys_returnsFalse()
129 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_emptyBiddingKeys_returnsFalse()
154 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_noAds_returnsFalse()
180 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse()
215 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_nullAdRenderId_returnsFalse()
276 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenTest.java46 .setCreationTime(NOW) in testBuilderAndEquals()
51 .setCreationTime(NOW) in testBuilderAndEquals()
59 .setCreationTime(NOW) in testBuilderAndEquals()
71 .setCreationTime(NOW) in testBuildTwiceThrows()
DFederatedComputeEncryptionKeyDaoTest.java98 .setCreationTime(key1.getCreationTime()) in testInsertDuplicateEncryptionKey_success()
230 .setCreationTime(mClock.currentTimeMillis()) in insertNullFieldEncryptionKey()
245 .setCreationTime(mClock.currentTimeMillis()) in createRandomPublicKeyWithConstantTTL()
255 .setCreationTime(NOW) in createFixedPublicKey()
DFederatedComputeEncryptionKeyTest.java53 .setCreationTime(NOW) in testBuilderAndEquals()
64 .setCreationTime(NOW) in testBuilderAndEquals()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBScheduledCustomAudienceUpdateTest.java50 .setCreationTime(CREATION_TIME) in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess()
118 .setCreationTime(CREATION_TIME) in testBuildDBScheduledCustomAudienceUpdate_NullOwner_ThrowsException()
132 .setCreationTime(CREATION_TIME) in testBuildDBScheduledCustomAudienceUpdate_NullBuyer_ThrowsException()
146 .setCreationTime(CREATION_TIME) in testBuildDBScheduledCustomAudienceUpdate_NullUpdateUri_ThrowsException()
160 .setCreationTime(CREATION_TIME) in testBuildDBScheduledCustomAudienceUpdate_NullScheduledTime_ThrowsException()
DCustomAudienceDaoTest.java178 .setCreationTime(CREATION_TIME_1)
207 .setCreationTime(CREATION_TIME_2)
259 .setCreationTime(CREATION_TIME_1)
274 .setCreationTime(CREATION_TIME_2)
302 .setCreationTime(CREATION_TIME_1)
317 .setCreationTime(CREATION_TIME_MINUS_THREE_DAYS)
332 .setCreationTime(CREATION_TIME_MINUS_THREE_DAYS)
360 .setCreationTime(CREATION_TIME_MINUS_THREE_DAYS)
388 .setCreationTime(CREATION_TIME_MINUS_THREE_DAYS)
403 .setCreationTime(CREATION_TIME_MINUS_THREE_DAYS)
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsFixture.java84 .setCreationTime(NOW) in createSignal()
95 .setCreationTime(NOW) in createSignal()
107 .setCreationTime(creationTime) in createSignal()
119 builder.setBuyer(ADTECH).setPackageName(PACKAGE).setCreationTime(NOW).build()); in assertSignalsBuilderUnorderedListEquals()
123 builder.setBuyer(ADTECH).setPackageName(PACKAGE).setCreationTime(NOW).build()); in assertSignalsBuilderUnorderedListEquals()
DPeriodicEncodingJobWorkerTest.java99 .setCreationTime(Instant.now())
105 .setCreationTime(Instant.now())
114 .setCreationTime(Instant.now())
442 .setCreationTime(Instant.now()) in testEncodeSignals_tooManyFailure_noJsExecution()
466 .setCreationTime(Instant.now()) in testEncodeSignals_previousFailureAndThenSuccess_resetFailedCount()
509 .setCreationTime(CommonFixture.FIXED_EARLIER_ONE_DAY) in testEncodeSignals_noUpdateToBuyer_skipEncoding()
568 .setCreationTime(Instant.now()) in testEncodeProtectedSignalsAlsoUpdatesEncodersIsNotAffectedByEncodingFailures()
DProtectedSignalsArgumentUtilTest.java153 .setCreationTime(FIXED_NOW) in handleEmptyValue()
172 .setCreationTime(FIXED_NOW) in generateSignal()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/
DDBCustomAudienceFixture.java43 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getValidBuilderByBuyer()
60 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getValidBuilderByBuyer()
82 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getValidBuilderByBuyerWithAdRenderId()
98 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getValidBuilderByBuyerNoFilters()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceFixture.java119 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getFullSuccessfulDBCustomAudience()
144 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getFullSuccessfulDBCustomAudienceWithAdRenderId()
170 .setCreationTime(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DDBEncoderEndpoint.java80 .setCreationTime(creationTime) in create()
95 public abstract Builder setCreationTime(@NonNull Instant value); in setCreationTime() method in DBEncoderEndpoint.Builder
DDBEncoderLogicMetadata.java77 .setCreationTime(creationTime) in create()
100 public abstract Builder setCreationTime(@NonNull Instant value); in setCreationTime() method in DBEncoderLogicMetadata.Builder
DDBEncodedPayload.java73 .setCreationTime(creationTime) in create()
96 public abstract Builder setCreationTime(@NonNull Instant value); in setCreationTime() method in DBEncodedPayload.Builder
DDBProtectedSignal.java97 .setCreationTime(creationTime) in create()
120 public abstract Builder setCreationTime(@NonNull Instant creationTime); in setCreationTime() method in DBProtectedSignal.Builder
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DDBScheduledCustomAudienceUpdate.java111 .setCreationTime(creationTime) in create()
140 public abstract Builder setCreationTime(@NonNull Instant creationTime); in setCreationTime() method in DBScheduledCustomAudienceUpdate.Builder
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DFederatedComputeKeyFetchManagerTest.java364 .setCreationTime(currentTime) in testFetchAndPersistActiveKeys_scheduledWithDeletion()
403 .setCreationTime(currentTime) in testFetchAndPersistActiveKeys_nonScheduledWithDeletion()
456 .setCreationTime(currentTime) in testGetOrFetchActiveKeys_noFetch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignal.java53 abstract Builder setCreationTime(Instant creationTime); in setCreationTime() method in ProtectedSignal.Builder

123