/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | DaoBuildingBlocks.java | 89 Void insertLastSentDayIndex(ReportKey reportKey, int dayIndex) { in insertLastSentDayIndex() argument 90 return insertLastSentDayIndex(ReportEntity.create(reportKey, dayIndex)); in insertLastSentDayIndex() 128 Void updateLastSentDayIndex(ReportKey reportKey, int dayIndex) { in updateLastSentDayIndex() argument 129 return updateLastSentDayIndex(ReportEntity.create(reportKey, dayIndex)); in updateLastSentDayIndex() 151 int dayIndex, in updateAggregateValue() argument 160 dayIndex, in updateAggregateValue() 193 int dayIndex, in updateAggregateValue() argument 225 int dayIndex, in updateSystemProfileHash() argument 259 int dayIndex, in updateSystemProfileHashAndAggregateValue() argument 290 int dayIndex, in queryOneSystemProfileAndAggregateValue() argument [all …]
|
D | DataService.java | 190 int dayIndex, in aggregateCount() argument 201 dayIndex, in aggregateCount() 229 int dayIndex, in aggregateString() argument 241 dayIndex, in aggregateString() 296 int dayIndex, in aggregateCountSync() argument 303 dayIndex, in aggregateCountSync() 313 int dayIndex, in aggregateStringSync() argument 321 mDaoBuildingBlocks.queryStringListIndex(reportKey, dayIndex, stringBufferMax, hash); in aggregateStringSync() 326 StringHashEntity stringHash = StringHashEntity.create(reportKey, dayIndex, index, hash); in aggregateStringSync() 329 dayIndex, in aggregateStringSync() [all …]
|
D | StringHashEntity.java | 73 abstract int dayIndex(); in dayIndex() method in StringHashEntity 94 ReportKey reportKey, int dayIndex, int listIndex, HashCode stringHash) { in create() argument 95 return new AutoValue_StringHashEntity(reportKey, dayIndex, listIndex, stringHash); in create() 103 ReportKey reportKey, int dayIndex, int listIndex, String string) { in create() argument 104 return new AutoValue_StringHashEntity(reportKey, dayIndex, listIndex, getHash(string)); in create()
|
D | TestOnlyDao.java | 81 int dayIndex, in create() argument 87 .setDayIndex(dayIndex) in create() 115 public abstract int dayIndex(); in dayIndex() method in TestOnlyDao.AggregateStoreTableRow 145 aggregateStoreTableRow.dayIndex(), in insertAggregateValue() 158 public Void insertLastSentDayIndex(ReportKey reportKey, int dayIndex) { in insertLastSentDayIndex() argument 159 return insertLastSentDayIndex(ReportEntity.create(reportKey, dayIndex)); in insertLastSentDayIndex()
|
D | AggregateStoreEntity.java | 71 abstract int dayIndex(); in dayIndex() method in AggregateStoreEntity 99 int dayIndex, in create() argument 104 reportKey, dayIndex, eventVector, systemProfileHash, aggregateValue); in create()
|
D | ObservationGenerator.java | 35 int dayIndex, in generateObservations() argument
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/ |
D | DaoBuildingBlocksTest.java | 103 int dayIndex, in insertAggregateValue() argument 109 reportKey, dayIndex, eventVector, systemProfileHash, aggregateValue)); in insertAggregateValue() 113 ReportKey reportKey, int dayIndex, int listIndex, HashCode stringHashHint) { in insertStringHash() argument 115 StringHashEntity.create(reportKey, dayIndex, listIndex, stringHashHint)); in insertStringHash() 122 private void insertLastSentDayIndex(ReportKey reportKey, int dayIndex) { in insertLastSentDayIndex() argument 123 mDaoBuildingBlocks.insertLastSentDayIndex(ReportEntity.create(reportKey, dayIndex)); in insertLastSentDayIndex() 126 private void updateLastSentDayIndex(ReportKey reportKey, int dayIndex) { in updateLastSentDayIndex() argument 127 mDaoBuildingBlocks.updateLastSentDayIndex(ReportEntity.create(reportKey, dayIndex)); in updateLastSentDayIndex() 132 int dayIndex, in updateAggregateValue() argument 141 dayIndex, in updateAggregateValue() local [all …]
|
D | CobaltDatabaseMigrationTest.java | 51 int dayIndex = 5; in migrate1To2() local 70 dayIndex, in migrate1To2() 93 dayIndex, in migrate1To2() 112 reportKey, dayIndex, eventVector, systemProfileHash)) in migrate1To2()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/system/ |
D | CobaltClockTest.java | 57 assertThat(mClock.dayIndex("America/Los_Angeles")).isEqualTo(DAY_INDEX_UTC - 1); in dayIndex_mtv_succeeds() 63 assertThat(mClock.dayIndex("Europe/Lisbon")).isEqualTo(DAY_INDEX_UTC); in dayIndex_eu_succeeds() 68 assertThrows(ZoneRulesException.class, () -> mClock.dayIndex("Pacific")); in dayIndex_invalidTimeZone_throwsException() 74 mClock.dayIndex( in dayIndex_metricInUtc_succeeds() 85 mClock.dayIndex( in dayIndex_metricLocal_succeeds() 95 mClock.dayIndex( in dayIndex_metricInMtv_succeeds() 108 mClock.dayIndex( in dayIndex_unrecognizedPolicy_throwsException()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | PrivateObservationGenerator.java | 100 int dayIndex, in generateObservations() argument 105 dayIndex, in generateObservations() 114 generateObservations(dayIndex, systemProfile, allEventData.get(systemProfile))); in generateObservations() 129 int dayIndex, in generateObservations() argument 186 .setDayIndex(dayIndex) in generateObservations()
|
D | ObservationGeneratorFactory.java | 74 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getObservationGenerator() argument 77 return getNonPrivateObservationGenerator(metric, report, dayIndex); in getObservationGenerator() 87 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getNonPrivateObservationGenerator() argument 106 dayIndex)); in getNonPrivateObservationGenerator()
|
D | NonPrivateObservationGenerator.java | 85 int dayIndex, in generateObservations() argument 114 .setDayIndex(dayIndex) in generateObservations()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/system/ |
D | CobaltClock.java | 45 public int dayIndex(String timeZone) { in dayIndex() method in CobaltClock 50 public int dayIndex(MetricDefinition metric) { in dayIndex() method in CobaltClock 57 return dayIndex(metric.getOtherTimeZone()); in dayIndex()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/ |
D | CobaltLoggerImpl.java | 193 int dayIndex = clock.dayIndex(metric); in logNumberToReports() local 213 dayIndex, in logNumberToReports() 230 int dayIndex = clock.dayIndex(metric); in logStringToReports() local 250 dayIndex, in logStringToReports()
|
D | CobaltPeriodicJobImpl.java | 177 int dayIndexToGenerate = currentClock.dayIndex(metric) - 1; in generateAndSaveObservations() 178 int dayIndexLoggerEnabled = initialEnabledClock.dayIndex(metric); in generateAndSaveObservations() 197 (dayIndex) -> in generateAndSaveObservations() 199 metric, report, dayIndex); in generateAndSaveObservations()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryLevelData.java | 179 for (int dayIndex = 0; dayIndex < multiDaysData.size(); dayIndex++) { in combine() 180 PeriodBatteryLevelData oneDayData = multiDaysData.get(dayIndex); in combine()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | ObservationGeneratorFactoryTest.java | 135 int dayIndex = 10; in getObservationGenerator_nonPrivateStringsCounts_queriesStringHashList() local 137 when(mDaoBuildingBlocks.queryStringHashList(reportKey, dayIndex)) in getObservationGenerator_nonPrivateStringsCounts_queriesStringHashList() 151 dayIndex); in getObservationGenerator_nonPrivateStringsCounts_queriesStringHashList() 153 verify(mDaoBuildingBlocks).queryStringHashList(reportKey, dayIndex); in getObservationGenerator_nonPrivateStringsCounts_queriesStringHashList()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.kt | 290 val dayIndex: Int = mDayInfos.size in buildFromCursor() constant 292 mRowInfos.add(RowInfo(RowInfo.TYPE_DAY, dayIndex)) in buildFromCursor()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.kt | 1099 val dayIndex = segment.day - firstJulianDay in weaveDNAStrands() constant 1105 val x = dayXs[dayIndex] in weaveDNAStrands()
|
D | DayView.kt | 2339 private fun drawEvents(date: Int, dayIndex: Int, top: Int, canvas: Canvas, p: Paint) { in drawEvents() 2341 val left = computeDayLeftPosition(dayIndex) + 1 in drawEvents() 2342 val cellWidth = computeDayLeftPosition(dayIndex + 1) - left + 1 in drawEvents()
|