Home
last modified time | relevance | path

Searched refs:activationTime (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DCustomAudienceSignals.java69 @NonNull Instant activationTime, in CustomAudienceSignals() argument
75 Objects.requireNonNull(activationTime); in CustomAudienceSignals()
82 mActivationTime = activationTime; in CustomAudienceSignals()
225 public CustomAudienceSignals.Builder setActivationTime(Instant activationTime) { in setActivationTime() argument
226 Objects.requireNonNull(activationTime); in setActivationTime()
227 mActivationTime = activationTime; in setActivationTime()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceActivationTimeValidator.java61 @NonNull Instant activationTime, in addValidation()
63 Objects.requireNonNull(activationTime); in addValidation()
69 if (activationTime.isBefore(currentTime)) { in addValidation()
72 calculatedActivationTime = activationTime; in addValidation()
DCustomAudienceTimestampValidator.java88 Instant activationTime = customAudience.getActivationTime(); in addValidation() local
90 if (activationTime == null || activationTime.isBefore(currentTime)) { in addValidation()
93 calculatedActivationTime = activationTime; in addValidation()
DFetchCustomAudienceReader.java149 Instant activationTime = in getActivationTimeFromJsonObject() local
154 return activationTime; in getActivationTimeFromJsonObject()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DCustomAudienceTestFixture.java100 Instant activationTime, in createCustomAudience() argument
106 activationTime, in createCustomAudience()
115 Instant activationTime, in createCustomAudience() argument
134 .setActivationTime(activationTime) in createCustomAudience()
149 Instant activationTime, in createCustomAudienceWithAdCost() argument
170 .setActivationTime(activationTime) in createCustomAudienceWithAdCost()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DDBCustomAudience.java120 @NonNull Instant activationTime, in DBCustomAudience() argument
143 mActivationTime = activationTime; in DBCustomAudience()
184 Instant activationTime = in fromServiceObject() local
186 if (activationTime.isBefore(currentTime)) { in fromServiceObject()
187 activationTime = currentTime; in fromServiceObject()
192 .orElse(activationTime.plus(defaultExpireIn)); in fromServiceObject()
205 .setActivationTime(activationTime) in fromServiceObject()
529 public Builder setActivationTime(Instant activationTime) { in setActivationTime() argument
530 mActivationTime = activationTime; in setActivationTime()
DDBPartialCustomAudience.java107 @Nullable Instant activationTime, in create() argument
113 .setActivationTime(activationTime) in create()
132 public abstract Builder setActivationTime(@Nullable Instant activationTime); in setActivationTime() argument
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DCustomAudienceBlobFixture.java61 Instant activationTime, in asJSONObjectString() argument
73 activationTime, in asJSONObjectString()
93 Instant activationTime, in asJSONObject() argument
107 json = addActivationTime(json, activationTime, shouldAddHarmlessJunk); in asJSONObject()
169 JSONObject json, Instant activationTime, boolean shouldAddHarmlessJunk) in addActivationTime() argument
171 if (activationTime != null) { in addActivationTime()
175 activationTime.toEpochMilli(), in addActivationTime()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DFetchAndJoinCustomAudienceRequest.java195 public Builder setActivationTime(@Nullable Instant activationTime) { in setActivationTime() argument
196 this.mActivationTime = activationTime; in setActivationTime()
DPartialCustomAudience.java225 public PartialCustomAudience.Builder setActivationTime(@Nullable Instant activationTime) { in setActivationTime() argument
226 this.mActivationTime = activationTime; in setActivationTime()
DFetchAndJoinCustomAudienceInput.java288 public Builder setActivationTime(@Nullable Instant activationTime) { in setActivationTime() argument
289 this.mActivationTime = activationTime; in setActivationTime()
DCustomAudience.java465 public CustomAudience.Builder setActivationTime(@Nullable Instant activationTime) { in setActivationTime() argument
466 mActivationTime = activationTime; in setActivationTime()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DCustomAudienceSetupRule.java180 Instant activationTime,
201 .setActivationTime(activationTime)
DStaticAdTechServerUtils.java180 Instant activationTime, in createCustomAudience() argument
204 .setActivationTime(activationTime) in createCustomAudience()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DAbstractPerfTest.java228 Instant activationTime, in createCustomAudience() argument
249 .setActivationTime(activationTime) in createCustomAudience()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DOutcomeSelectionRunnerTest.java369 final Instant activationTime = Instant.now(); in persistAdSelectionEntry() local
382 .setCreationTimestamp(activationTime) in persistAdSelectionEntry()
DAdSelectionFromOutcomesE2ETest.java975 final Instant activationTime = Instant.now(); in persistAdSelectionEntryDaoResults() local
989 .setCreationTimestamp(activationTime) in persistAdSelectionEntryDaoResults()
DAdSelectionE2ETest.java7791 Instant activationTime, in createDBCustomAudience() argument
7816 .setActivationTime(activationTime) in createDBCustomAudience()
7848 Instant activationTime, in createDBCustomAudienceWithAdCost() argument
7873 .setActivationTime(activationTime) in createDBCustomAudienceWithAdCost()
DAdSelectionServiceImplTest.java10878 final Instant activationTime = Instant.now(); in persistAdSelectionEntryDaoResults() local
10892 .setCreationTimestamp(activationTime) in persistAdSelectionEntryDaoResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java1685 long activationTime = 2000; in testHighPerfLockMetrics() local
1713 when(mClock.getElapsedSinceBootMillis()).thenReturn(activationTime); in testHighPerfLockMetrics()
1722 eq(deactivationTime - activationTime), eq(true), eq(false), eq(false)); in testHighPerfLockMetrics()
1741 long activationTime = 2000; in testLowLatencyLockMetrics() local
1765 when(mClock.getElapsedSinceBootMillis()).thenReturn(activationTime); in testLowLatencyLockMetrics()
1774 eq(deactivationTime - activationTime), eq(true), eq(false), eq(false)); in testLowLatencyLockMetrics()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/
DFledgeCtsDebuggableJetpackTest.java810 Instant activationTime, in createCustomAudience() argument
831 .setActivationTime(activationTime) in createCustomAudience()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp1286 for (const int& activationTime : configStats->activation_time_sec) { in dumpStats() local
1287 dprintf(out, "\tactivation time: %d\n", activationTime); in dumpStats()
1365 for (const int& activationTime : configStats->activation_time_sec) { in dumpStats() local
1366 dprintf(out, "\tactivation time: %d\n", activationTime); in dumpStats()