Searched refs:luxTimestamps (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 56 public final long[] luxTimestamps; field in BrightnessChangeEvent 108 int userId, float[] luxValues, long[] luxTimestamps, float batteryLevel, in BrightnessChangeEvent() argument 117 this.luxTimestamps = luxTimestamps; in BrightnessChangeEvent() 136 this.luxTimestamps = other.luxTimestamps; in BrightnessChangeEvent() 154 luxTimestamps = source.createLongArray(); in BrightnessChangeEvent() 188 dest.writeLongArray(luxTimestamps); in writeToParcel() 249 public Builder setLuxTimestamps(long[] luxTimestamps) { in setLuxTimestamps() argument 250 mLuxTimestamps = luxTimestamps; in setLuxTimestamps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 299 event.luxTimestamps[0]); in testBrightnessEvent() 332 assertArrayEquals(new long[] {sensorTime}, event.luxTimestamps); in testBrightnessFullPopulatedEvent() 424 assertEquals(event.luxTimestamps[11 - i], in testLimitedSensorEvents() 473 assertArrayEquals(new long[] {someTimeAgo, someTimeAgo}, event.luxTimestamps); in testReadEvents() 490 assertArrayEquals(new long[] {someTimeAgo, someTimeAgo}, event.luxTimestamps); in testReadEvents() 590 assertArrayEquals(new long[] {firstSensorTime, secondSensorTime}, event.luxTimestamps); in testWriteThenRead() 638 assertArrayEquals(new long[] {sensorTime, eventTime}, event.luxTimestamps); in testWritePrunesOldEvents() 657 long[] luxTimestamps = new long[2]; in testParcelUnParcel() local 658 luxTimestamps[0] = 325L; in testParcelUnParcel() 659 luxTimestamps[1] = 315L; in testParcelUnParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 359 long[] luxTimestamps = new long[readingCount]; in handleBrightnessChanged() local 368 luxTimestamps[pos] = currentTimeMillis - in handleBrightnessChanged() 373 builder.setLuxTimestamps(luxTimestamps); in handleBrightnessChanged() 573 StringBuilder luxTimestamps = new StringBuilder(); in writeEventsLocked() local 577 luxTimestamps.append(','); in writeEventsLocked() 580 luxTimestamps.append(Long.toString(toWrite[i].luxTimestamps[j])); in writeEventsLocked() 583 out.attribute(null, ATTR_LUX_TIMESTAMPS, luxTimestamps.toString()); in writeEventsLocked() 661 long[] luxTimestamps = new long[luxValuesStrings.length]; in readEventsLocked() local 664 luxTimestamps[i] = Long.parseLong(luxTimestampsStrings[i]); in readEventsLocked() 667 builder.setLuxTimestamps(luxTimestamps); in readEventsLocked() [all …]
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 810 MissingNullability: android.hardware.display.BrightnessChangeEvent#luxTimestamps:
|
D | test-current.txt | 1247 field public final long[] luxTimestamps;
|
D | system-current.txt | 2435 field public final long[] luxTimestamps;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2383 field public final long[] luxTimestamps;
|