Home
last modified time | relevance | path

Searched refs:uniqueDisplayId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java52 public final String uniqueDisplayId; field in BrightnessChangeEvent
127 int userId, String uniqueDisplayId, float[] luxValues, long[] luxTimestamps, in BrightnessChangeEvent() argument
136 this.uniqueDisplayId = uniqueDisplayId; in BrightnessChangeEvent()
159 this.uniqueDisplayId = other.uniqueDisplayId; in BrightnessChangeEvent()
181 uniqueDisplayId = source.readString(); in BrightnessChangeEvent()
219 dest.writeString(uniqueDisplayId); in writeToParcel()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp80 const std::string& uniqueDisplayId) const { in getDisplayViewportByUniqueId()
81 if (uniqueDisplayId.empty()) { in getDisplayViewportByUniqueId()
88 if (uniqueDisplayId == currentViewport.uniqueId) { in getDisplayViewportByUniqueId()
95 count, uniqueDisplayId.c_str()); in getDisplayViewportByUniqueId()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java318 boolean isDefaultBrightnessConfig, String uniqueDisplayId) { in notifyBrightnessChanged() argument
326 mInjector.currentTimeMillis(), uniqueDisplayId)); in notifyBrightnessChanged()
332 boolean isDefaultBrightnessConfig, long timestamp, String uniqueDisplayId) { in handleBrightnessChanged() argument
357 builder.setUniqueDisplayId(uniqueDisplayId); in handleBrightnessChanged()
570 String uniqueDisplayId = toWrite[i].uniqueDisplayId; in writeEventsLocked() local
571 if (uniqueDisplayId == null) { in writeEventsLocked()
572 uniqueDisplayId = ""; in writeEventsLocked()
574 out.attribute(null, ATTR_UNIQUE_DISPLAY_ID, uniqueDisplayId); in writeEventsLocked()
659 String uniqueDisplayId = parser.getAttributeValue(null, ATTR_UNIQUE_DISPLAY_ID); in readEventsLocked() local
660 if (uniqueDisplayId == null) { in readEventsLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java302 assertEquals(displayId, event.uniqueDisplayId); in testBrightnessEvent()
342 assertEquals(displayId, event.uniqueDisplayId); in testBrightnessFullPopulatedEvent()
496 assertEquals("123", event.uniqueDisplayId); in testReadEvents()
515 assertEquals("456", event.uniqueDisplayId); in testReadEvents()
621 assertEquals(displayId, event.uniqueDisplayId); in testWriteThenRead()
726 assertEquals(event.uniqueDisplayId, event2.uniqueDisplayId); in testParcelUnParcel()
823 assertEquals(firstDisplayId, firstEvent.uniqueDisplayId); in testDisplayIdChange()
831 assertEquals(secondDisplayId, secondEvent.uniqueDisplayId); in testDisplayIdChange()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h309 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueDisplayId)
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp481 String8 uniqueDisplayId; in configureParameters() local
483 uniqueDisplayId); in configureParameters()
484 mParameters.uniqueDisplayId = uniqueDisplayId.c_str(); in configureParameters()
509 mParameters.uniqueDisplayId.c_str()); in dumpParameters()
567 if (!mParameters.uniqueDisplayId.empty()) { in findViewport()
568 return mConfig.getDisplayViewportByUniqueId(mParameters.uniqueDisplayId); in findViewport()
DTouchInputMapper.h208 std::string uniqueDisplayId; member
/frameworks/base/core/api/
Dsystem-current.txt3206 field @NonNull public final String uniqueDisplayId;