Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java59 public final long[] luxTimestamps; field in BrightnessChangeEvent
128 int userId, String uniqueDisplayId, float[] luxValues, long[] luxTimestamps, in BrightnessChangeEvent() argument
139 this.luxTimestamps = luxTimestamps; in BrightnessChangeEvent()
162 this.luxTimestamps = other.luxTimestamps; in BrightnessChangeEvent()
184 luxTimestamps = source.createLongArray(); in BrightnessChangeEvent()
222 dest.writeLongArray(luxTimestamps); in writeToParcel()
246 + ", luxTimestamps: " + Arrays.toString(luxTimestamps) in toString()
321 public Builder setLuxTimestamps(long[] luxTimestamps) { in setLuxTimestamps() argument
322 mLuxTimestamps = luxTimestamps; in setLuxTimestamps()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java329 long[] luxTimestamps) { in notifyBrightnessChanged() argument
337 mInjector.currentTimeMillis(), uniqueDisplayId, luxValues, luxTimestamps)); in notifyBrightnessChanged()
352 float[] luxValues, long[] luxTimestamps) { in handleBrightnessChanged() argument
382 long[] luxTimestampsMillis = new long[luxTimestamps.length]; in handleBrightnessChanged()
387 for (int i = 0; i < luxTimestamps.length; i++) { in handleBrightnessChanged()
389 elapsedTimeNanos) - luxTimestamps[i]); in handleBrightnessChanged()
642 StringBuilder luxTimestamps = new StringBuilder(); in writeEventsLocked() local
646 luxTimestamps.append(','); in writeEventsLocked()
649 luxTimestamps.append(Long.toString(toWrite[i].luxTimestamps[j])); in writeEventsLocked()
652 out.attribute(null, ATTR_LUX_TIMESTAMPS, luxTimestamps.toString()); in writeEventsLocked()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java315 event.luxTimestamps[0]); in testBrightnessEvent()
362 eventOne.luxTimestamps[0]); in testMultipleBrightnessEvents()
367 eventTwo.luxTimestamps[0]); in testMultipleBrightnessEvents()
372 eventThree.luxTimestamps[0]); in testMultipleBrightnessEvents()
377 eventFour.luxTimestamps[0]); in testMultipleBrightnessEvents()
408 assertArrayEquals(new long[] {currentTime}, event.luxTimestamps); in testBrightnessFullPopulatedEvent()
532 assertArrayEquals(new long[] {someTimeAgo, someTimeAgo}, event.luxTimestamps); in testReadEvents()
551 assertArrayEquals(new long[] {someTimeAgo, someTimeAgo}, event.luxTimestamps); in testReadEvents()
658 assertArrayEquals(new long[] {currentTime1, currentTime2}, event.luxTimestamps); in testWriteThenRead()
686 long[] luxTimestamps = new long[2]; in testParcelUnParcel() local
[all …]
/frameworks/base/core/api/
Dsystem-current.txt5077 field public final long[] luxTimestamps;