Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DAmbientBrightnessDayStatsTest.java47 () -> new AmbientBrightnessDayStats(null, BUCKET_BOUNDARIES)); in testParamsMustNotBeNull()
50 () -> new AmbientBrightnessDayStats(LOCAL_DATE, null)); in testParamsMustNotBeNull()
53 () -> new AmbientBrightnessDayStats(null, BUCKET_BOUNDARIES, STATS)); in testParamsMustNotBeNull()
56 () -> new AmbientBrightnessDayStats(LOCAL_DATE, null, STATS)); in testParamsMustNotBeNull()
61 new AmbientBrightnessDayStats(LocalDate.now(), new float[]{}); in testBucketBoundariesMustNotBeEmpty()
68 new AmbientBrightnessDayStats(LOCAL_DATE, BUCKET_BOUNDARIES, stats); in testStatsAndBoundariesMustHaveSameLength()
73 AmbientBrightnessDayStats dayStats = new AmbientBrightnessDayStats(LOCAL_DATE, in testAmbientBrightnessDayStatsAdd()
89 AmbientBrightnessDayStats dayStats = new AmbientBrightnessDayStats(LOCAL_DATE, in testGetters()
99 AmbientBrightnessDayStats stats = new AmbientBrightnessDayStats(today, in testParcelUnparcelAmbientBrightnessDayStats()
110 AmbientBrightnessDayStats statsAgain = AmbientBrightnessDayStats.CREATOR.createFromParcel( in testParcelUnparcelAmbientBrightnessDayStats()
[all …]
/frameworks/base/core/java/android/hardware/display/
DAmbientBrightnessDayStats.java39 public final class AmbientBrightnessDayStats implements Parcelable { class
58 public AmbientBrightnessDayStats(@NonNull LocalDate localDate, in AmbientBrightnessDayStats() method in AmbientBrightnessDayStats
71 public AmbientBrightnessDayStats(@NonNull LocalDate localDate, in AmbientBrightnessDayStats() method in AmbientBrightnessDayStats
119 private AmbientBrightnessDayStats(Parcel source) { in AmbientBrightnessDayStats() method in AmbientBrightnessDayStats
125 public static final @android.annotation.NonNull Creator<AmbientBrightnessDayStats> CREATOR =
126 new Creator<AmbientBrightnessDayStats>() {
129 public AmbientBrightnessDayStats createFromParcel(Parcel source) {
130 return new AmbientBrightnessDayStats(source);
134 public AmbientBrightnessDayStats[] newArray(int size) {
135 return new AmbientBrightnessDayStats[size];
[all …]
DAmbientBrightnessDayStats.aidl19 parcelable AmbientBrightnessDayStats;
DDisplayManagerGlobal.java653 public List<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats()
655 ParceledListSlice<AmbientBrightnessDayStats> stats = mDm.getAmbientBrightnessStats(); in getAmbientBrightnessStats()
DDisplayManager.java683 public List<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java21 import android.hardware.display.AmbientBrightnessDayStats;
123 public synchronized ArrayList<AmbientBrightnessDayStats> getUserStats(int userId) { in getUserStats()
146 private Map<Integer, Deque<AmbientBrightnessDayStats>> mStats;
154 Deque<AmbientBrightnessDayStats> userStats = getOrCreateUserStats(mStats, userId); in log()
155 AmbientBrightnessDayStats dayStats = getOrCreateDayStats(userStats, localDate); in log()
159 public ArrayList<AmbientBrightnessDayStats> getUserStats(@UserIdInt int userId) { in getUserStats()
175 for (Map.Entry<Integer, Deque<AmbientBrightnessDayStats>> entry : mStats.entrySet()) { in writeToXML()
176 for (AmbientBrightnessDayStats userDayStats : entry.getValue()) { in writeToXML()
208 Map<Integer, Deque<AmbientBrightnessDayStats>> parsedStats = new HashMap<>(); in readFromXML()
252 Deque<AmbientBrightnessDayStats> userStats = getOrCreateUserStats( in readFromXML()
[all …]
DBrightnessTracker.java35 import android.hardware.display.AmbientBrightnessDayStats;
826 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats(int userId) { in getAmbientBrightnessStats()
828 ArrayList<AmbientBrightnessDayStats> stats = in getAmbientBrightnessStats()
DDisplayPowerController.java32 import android.hardware.display.AmbientBrightnessDayStats;
584 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats( in getAmbientBrightnessStats()
DDisplayManagerService.java46 import android.hardware.display.AmbientBrightnessDayStats;
2109 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java25 import android.hardware.display.AmbientBrightnessDayStats;
59 ArrayList<AmbientBrightnessDayStats> userStats; in testBrightnessStatsTrackerOverSingleDay()
97 ArrayList<AmbientBrightnessDayStats> userStats; in testBrightnessStatsTrackerOverMultipleDays()
135 ArrayList<AmbientBrightnessDayStats> userStats; in testBrightnessStatsTrackerOverMultipleUsers()
175 ArrayList<AmbientBrightnessDayStats> userStats; in testBrightnessStatsTrackerOverMaxDays()
200 ArrayList<AmbientBrightnessDayStats> userStats; in testReadAmbientBrightnessStats()
225 assertEquals(new AmbientBrightnessDayStats(date.minusDays(1), in testReadAmbientBrightnessStats()
228 assertEquals(new AmbientBrightnessDayStats(date, in testReadAmbientBrightnessStats()
295 ArrayList<AmbientBrightnessDayStats> userStats; in testWriteThenReadAmbientBrightnessStats()
DBrightnessTrackerTest.java38 import android.hardware.display.AmbientBrightnessDayStats;
686 ParceledListSlice<AmbientBrightnessDayStats> slice = mTracker.getAmbientBrightnessStats(0); in testNonNullAmbientStats()
/frameworks/base/api/
Dtest-lint-baseline.txt790 MissingNullability: android.hardware.display.AmbientBrightnessDayStats#getBucketBoundaries():
792 MissingNullability: android.hardware.display.AmbientBrightnessDayStats#getLocalDate():
794 MissingNullability: android.hardware.display.AmbientBrightnessDayStats#getStats():
796 MissingNullability: android.hardware.display.AmbientBrightnessDayStats#writeToParcel(android.os.Par…
Dtest-current.txt916 public final class AmbientBrightnessDayStats implements android.os.Parcelable {
922 …ic final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
980 …NT_LIGHT_STATS") public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbi…
Dsystem-current.txt2096 public final class AmbientBrightnessDayStats implements android.os.Parcelable {
2102 …ic final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
2170 …ENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbi…
/frameworks/base/config/
Dpreloaded-classes1521 android.hardware.display.AmbientBrightnessDayStats$1
1522 android.hardware.display.AmbientBrightnessDayStats
Dboot-image-profile.txt7139 HSPLandroid/hardware/display/AmbientBrightnessDayStats$1;-><init>()V
7140 HSPLandroid/hardware/display/AmbientBrightnessDayStats;-><init>(Ljava/time/LocalDate;[F)V
7141 HSPLandroid/hardware/display/AmbientBrightnessDayStats;-><init>(Ljava/time/LocalDate;[F[F)V
7142 HSPLandroid/hardware/display/AmbientBrightnessDayStats;->getBucketIndex(F)I
7143 HSPLandroid/hardware/display/AmbientBrightnessDayStats;->log(FF)V
7144 HPLandroid/hardware/display/AmbientBrightnessDayStats;->writeToParcel(Landroid/os/Parcel;I)V
33713 Landroid/hardware/display/AmbientBrightnessDayStats$1;
33714 Landroid/hardware/display/AmbientBrightnessDayStats;
Dhiddenapi-greylist-max-o.txt22563 Landroid/hardware/display/AmbientBrightnessDayStats;-><init>(Landroid/os/Parcel;)V
22564 Landroid/hardware/display/AmbientBrightnessDayStats;-><init>(Ljava/time/LocalDate;[F)V
22565 Landroid/hardware/display/AmbientBrightnessDayStats;-><init>(Ljava/time/LocalDate;[F[F)V
22566 Landroid/hardware/display/AmbientBrightnessDayStats;->checkSorted([F)V
22567 Landroid/hardware/display/AmbientBrightnessDayStats;->getBucketIndex(F)I
22568 Landroid/hardware/display/AmbientBrightnessDayStats;->log(FF)V
22569 Landroid/hardware/display/AmbientBrightnessDayStats;->mBucketBoundaries:[F
22570 Landroid/hardware/display/AmbientBrightnessDayStats;->mLocalDate:Ljava/time/LocalDate;
22571 Landroid/hardware/display/AmbientBrightnessDayStats;->mStats:[F
/frameworks/base/non-updatable-api/
Dsystem-current.txt2096 public final class AmbientBrightnessDayStats implements android.os.Parcelable {
2102 …ic final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
2170 …ENT_LIGHT_STATS) public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbi…
/frameworks/base/services/
Dart-profile6481 …ayStats(Ljava/util/Deque;Ljava/time/LocalDate;)Landroid/hardware/display/AmbientBrightnessDayStats;