Searched refs:nextRefreshTime (Results 1 – 2 of 2) sorted by relevance
274 long nextRefreshTime = Long.MAX_VALUE; in generateAlerts() local296 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()314 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()368 if (nextRefreshTime < Long.MAX_VALUE && nextRefreshTime > currentTime) { in generateAlerts()369 AlertUtils.scheduleNextNotificationRefresh(context, null, nextRefreshTime); in generateAlerts()371 long minutesBeforeRefresh = (nextRefreshTime - currentTime) / MINUTE_MS; in generateAlerts()373 time.set(nextRefreshTime); in generateAlerts()378 } else if (nextRefreshTime < currentTime) { in generateAlerts()460 long nextRefreshTime = Long.MAX_VALUE; in getNextRefreshTime() local464 nextRefreshTime = Math.min(nextRefreshTime, gracePeriodCutoff); in getNextRefreshTime()[all …]
631 final long nextRefreshTime = mRefreshManager.getLastMailboxListRefreshTime(mAccountId) in shouldRefreshMailboxList() local633 if (nextRefreshTime > mClock.getTime()) { in shouldRefreshMailboxList()651 final long nextRefreshTime = mRefreshManager.getLastMessageListRefreshTime(mInboxId) in shouldAutoRefreshInbox() local653 if (nextRefreshTime > mClock.getTime()) { in shouldAutoRefreshInbox()