media/codec2/tests/vndk/C2FenceTest.cpp
0 → 100644
+455
−0
+340
−73
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Fix multiple issues with multi-fd sync fences: - add expanded documentation for public methods - restore single-fd native handles to have a single fd - use proper magic number in the native handles, and distinguish ordered and unordered multi-fd fence native handles to ensure APIs behave as described. - fix handling all previous layouts of native handles Add unit tests to ensure compatibility. Bug: 326528469 Test: /data/nativetest64/codec2_vndk_test/codec2_vndk_test and high-level tests (cherry picked from https://android-review.googlesource.com/q/commit:cb5d948cc202c2181e3f12326a34a5675248d8a0) Merged-In: I5123dbd51dfd94c5f821e9663a0674a0a6e73b22 Change-Id: I5123dbd51dfd94c5f821e9663a0674a0a6e73b22
File changed.
Preview size limit exceeded, changes collapsed.