Home
last modified time | relevance | path

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

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/logging/
DFileGroupStatsLogger.java64 public ListenableFuture<Void> log(int daysSinceLastLog) { in log() argument
65 return eventLogger.logMddFileGroupStats(() -> buildFileGroupStatusList(daysSinceLastLog)); in log()
69 int daysSinceLastLog) { in buildFileGroupStatusList() argument
96 buildFileGroupStatus(dataFileGroup, groupKey, daysSinceLastLog), in buildFileGroupStatusList()
108 DataFileGroupInternal dataFileGroup, GroupKey groupKey, int daysSinceLastLog) { in buildFileGroupStatus() argument
110 MddFileGroupStatus.newBuilder().setDaysSinceLastLog(daysSinceLastLog); in buildFileGroupStatus()
DStorageLogger.java129 public ListenableFuture<Void> logStorageStats(int daysSinceLastLog) { in logStorageStats() argument
130 return eventLogger.logMddStorageStats(() -> buildStorageStatsLogData(daysSinceLastLog)); in logStorageStats()
133 private ListenableFuture<MddStorageStats> buildStorageStatsLogData(int daysSinceLastLog) { in buildStorageStatsLogData() argument
140 buildStorageStatsInternal(allGroups, staleGroups, daysSinceLastLog), in buildStorageStatsLogData()
148 int daysSinceLastLog) { in buildStorageStatsInternal() argument
300 .setDaysSinceLastLog(daysSinceLastLog); in buildStorageStatsInternal()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/logging/
DFileGroupStatsLoggerTest.java100 int daysSinceLastLog = 10; in fileGroupStatsLogging() local
150 fileGroupStatsLogger.log(daysSinceLastLog).get(); in fileGroupStatsLogging()
181 assertThat(status1.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging()
196 assertThat(status2.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging()
209 assertThat(status3.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging()
214 int daysSinceLastLog = 10; in fileGroupStatsLogging_withInlineFiles() local
282 fileGroupStatsLogger.log(daysSinceLastLog).get(); in fileGroupStatsLogging_withInlineFiles()
313 assertThat(status1.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging_withInlineFiles()
328 assertThat(status2.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging_withInlineFiles()
341 assertThat(status3.getDaysSinceLastLog()).isEqualTo(daysSinceLastLog); in fileGroupStatsLogging_withInlineFiles()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/
DMobileDataDownloadManager.java650 daysSinceLastLog -> {
681 maintenanceFutures.add(fileGroupStatsLogger.log(daysSinceLastLog));
684 maintenanceFutures.add(storageLogger.logStorageStats(daysSinceLastLog));