/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | AmbientBrightnessDayStatsTest.java | 47 () -> 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/ |
D | AmbientBrightnessDayStats.java | 39 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 …]
|
D | AmbientBrightnessDayStats.aidl | 19 parcelable AmbientBrightnessDayStats;
|
D | DisplayManagerGlobal.java | 653 public List<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats() 655 ParceledListSlice<AmbientBrightnessDayStats> stats = mDm.getAmbientBrightnessStats(); in getAmbientBrightnessStats()
|
D | DisplayManager.java | 683 public List<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 21 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 …]
|
D | BrightnessTracker.java | 35 import android.hardware.display.AmbientBrightnessDayStats; 826 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats(int userId) { in getAmbientBrightnessStats() 828 ArrayList<AmbientBrightnessDayStats> stats = in getAmbientBrightnessStats()
|
D | DisplayPowerController.java | 32 import android.hardware.display.AmbientBrightnessDayStats; 584 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats( in getAmbientBrightnessStats()
|
D | DisplayManagerService.java | 46 import android.hardware.display.AmbientBrightnessDayStats; 2109 public ParceledListSlice<AmbientBrightnessDayStats> getAmbientBrightnessStats() { in getAmbientBrightnessStats()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AmbientBrightnessStatsTrackerTest.java | 25 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()
|
D | BrightnessTrackerTest.java | 38 import android.hardware.display.AmbientBrightnessDayStats; 686 ParceledListSlice<AmbientBrightnessDayStats> slice = mTracker.getAmbientBrightnessStats(0); in testNonNullAmbientStats()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 790 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…
|
D | test-current.txt | 916 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…
|
D | system-current.txt | 2096 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/ |
D | preloaded-classes | 1521 android.hardware.display.AmbientBrightnessDayStats$1 1522 android.hardware.display.AmbientBrightnessDayStats
|
D | boot-image-profile.txt | 7139 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;
|
D | hiddenapi-greylist-max-o.txt | 22563 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/ |
D | system-current.txt | 2096 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/ |
D | art-profile | 6481 …ayStats(Ljava/util/Deque;Ljava/time/LocalDate;)Landroid/hardware/display/AmbientBrightnessDayStats;
|