Update a frame metadata

When the device supports Android synchronization framework, EVS frame
delivery logic enables a timestamp-based frame synchronization even if a
target device is not a logical camera device.

A recent change (c6313cc1e438afa7024bb425aea5f39bd4288af7) to handle
VIDIOC_REQBUFS ioctl correctly unfornately missed to update a frame
metadata EVS manager holds and erases a timestamp on the EVS frame.
Therefore, delivered EVS frames are ignored by a synchronization logic.

This change adds a line to store a frame metadata right after
VIDIOC_DQBUF ioctl so makes it can be referred later.

Fix: 164118107
Test: adb shell evs_app --test
Change-Id: If2c72162e54b3b6a81f924c9671aadac7a77c7bb
Merged-In: If2c72162e54b3b6a81f924c9671aadac7a77c7bb
(cherry picked from commit e2bc68b4298abe56e091c7b388121ad13993b17a)
1 file changed
tree: c1d622f6ed039b6c3040f60b1f8eac216e92ebc9
  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.