summaryrefslogtreecommitdiff
path: root/libs/gui/Flags.cpp
diff options
context:
space:
mode:
author Gil Dekel <gildekel@google.com> 2024-11-14 14:14:25 -0500
committer Gil Dekel <gildekel@google.com> 2024-11-16 01:30:59 -0500
commitf9854d272c816ca2ad2fec085e17c6591721bff9 (patch)
tree0e57c8df7626ee83481719b73e025f0a0356ba35 /libs/gui/Flags.cpp
parentc37c90444774da117f8a4eef14b091f0a54086f2 (diff)
SF: Hash and cache descriptor block serial number
More EDID fields are required as a part of migrating to EDID-based display IDs. This CL parses the device's serial number from the serial number descriptor bloc, (depicted by the FF marker), hashes it using a stable hash, and serves it as a part of the Edid struct. Later, amongst others, this value will be used to fabricate a unique display ID that is based on the display's EDID. See: 1. EDID spec: https://glenwing.github.io/docs/VESA-EEDID-A2.pdf 2. https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#Structure,_version_1.4 Flag: com.android.graphics.surfaceflinger.flags.stable_edid_ids Bug: 378923759 Test: DisplayIdentification_test Change-Id: If9c9358b0d0850337496740d15419fd0ed330a02
Diffstat (limited to 'libs/gui/Flags.cpp')
0 files changed, 0 insertions, 0 deletions