Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java71 assertEquals(mTestInjector.getLocalDate(), userStats.get(0).getLocalDate()); in testBrightnessStatsTrackerOverSingleDay()
86 assertEquals(mTestInjector.getLocalDate(), userStats.get(0).getLocalDate()); in testBrightnessStatsTrackerOverSingleDay()
119 assertEquals(mTestInjector.getLocalDate().minusDays(1), userStats.get(0).getLocalDate()); in testBrightnessStatsTrackerOverMultipleDays()
125 assertEquals(mTestInjector.getLocalDate(), userStats.get(1).getLocalDate()); in testBrightnessStatsTrackerOverMultipleDays()
157 assertEquals(mTestInjector.getLocalDate().minusDays(1), userStats.get(0).getLocalDate()); in testBrightnessStatsTrackerOverMultipleUsers()
165 assertEquals(mTestInjector.getLocalDate(), userStats.get(0).getLocalDate()); in testBrightnessStatsTrackerOverMultipleUsers()
189 LocalDate runningDate = mTestInjector.getLocalDate(); in testBrightnessStatsTrackerOverMaxDays()
191 assertEquals(runningDate, userStats.get(i).getLocalDate()); in testBrightnessStatsTrackerOverMaxDays()
199 LocalDate date = mTestInjector.getLocalDate(); in testReadAmbientBrightnessStats()
236 LocalDate date = mTestInjector.getLocalDate(); in testFailedReadAmbientBrightnessStatsWithException()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java87 mAmbientBrightnessStats.log(mCurrentUserId, mInjector.getLocalDate(), in stop()
97 mAmbientBrightnessStats.log(mCurrentUserId, mInjector.getLocalDate(), in add()
173 final LocalDate cutOffDate = mInjector.getLocalDate().minusDays(MAX_DAYS_TO_TRACK); in writeToXML()
179 if (userSerialNumber != -1 && userDayStats.getLocalDate().isAfter(cutOffDate)) { in writeToXML()
183 userDayStats.getLocalDate().toString()); in writeToXML()
222 final LocalDate cutOffDate = mInjector.getLocalDate().minusDays(MAX_DAYS_TO_TRACK); in readFromXML()
291 if (lastBrightnessStats != null && lastBrightnessStats.getLocalDate().equals( in getOrCreateDayStats()
359 public LocalDate getLocalDate() { in getLocalDate() method in AmbientBrightnessStatsTracker.Injector
/frameworks/base/core/java/android/hardware/display/
DAmbientBrightnessDayStats.java99 public LocalDate getLocalDate() { in getLocalDate() method in AmbientBrightnessDayStats
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DAmbientBrightnessDayStatsTest.java91 assertEquals(LOCAL_DATE, dayStats.getLocalDate()); in testGetters()
/frameworks/base/api/
Dtest-lint-baseline.txt802 MissingNullability: android.hardware.display.AmbientBrightnessDayStats#getLocalDate():
Dtest-current.txt1222 method public java.time.LocalDate getLocalDate();
Dsystem-current.txt2417 method public java.time.LocalDate getLocalDate();
/frameworks/base/non-updatable-api/
Dsystem-current.txt2365 method public java.time.LocalDate getLocalDate();
/frameworks/base/config/
Dboot-image-profile.txt9674 HSPLandroid/hardware/display/AmbientBrightnessDayStats;->getLocalDate()Ljava/time/LocalDate;
/frameworks/base/services/
Dart-profile14735 HSPLcom/android/server/display/AmbientBrightnessStatsTracker$Injector;->getLocalDate()Ljava/time/Lo…