Correct a display port number extraction from EDID

While the display port number is embedded at the least 8-bit of EDID,
EVS uses only the least 4-bit so may cause conflicts between display
devices that have the same value in the least 4-bit.

This change fixes logics to use all 8-bit value as the port number and
updates config.json with the right display port numbers on the reference
platform.  Below command shows the port numbers display devices are
connected to:
$ adb shell lshal \
  debug android.hardware.automotive.evs@1.1::IEvsEnumerator/default \
  --list display
  Display devices available to EVS service:
    display port 136
    display port 130

Fix: 168931805
Test: Run above example and compare them against below command returns:
      $ adb shell dumpsys SurfaceFlinger --display-id
Change-Id: I42b22ba8ef211c0c858e4adf382e590fd9c894b5
Merged-In: I42b22ba8ef211c0c858e4adf382e590fd9c894b5
(cherry picked from commit 56da052387ece35e4f8a26be80fee4c44294e76f)
2 files changed
tree: 5a9e8847c4d9895b0b801935a5cf74ea012ec992
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. EncryptionRunner/
  12. evs/
  13. experimental/
  14. FrameworkPackageStubs/
  15. obd2-lib/
  16. packages/
  17. procfs-inspector/
  18. service/
  19. surround_view/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.