Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DConsentNotificationJobService.java125 long millisecondsInTheCurrentDay = getMillisecondsInTheCurrentDay(calendar); in calculateInitialDelay() local
130 if (millisecondsInTheCurrentDay < flags.getConsentNotificationIntervalBeginMs()) { in calculateInitialDelay()
131 return flags.getConsentNotificationIntervalBeginMs() - millisecondsInTheCurrentDay; in calculateInitialDelay()
137 if (millisecondsInTheCurrentDay >= flags.getConsentNotificationIntervalBeginMs() in calculateInitialDelay()
138 && millisecondsInTheCurrentDay in calculateInitialDelay()
148 - millisecondsInTheCurrentDay in calculateInitialDelay()
159 long millisecondsInTheCurrentDay = getMillisecondsInTheCurrentDay(calendar); in calculateDeadline() local
165 if (millisecondsInTheCurrentDay in calculateDeadline()
168 return flags.getConsentNotificationIntervalEndMs() - millisecondsInTheCurrentDay; in calculateDeadline()
173 - millisecondsInTheCurrentDay in calculateDeadline()
[all …]