codec2: add traits for c2.v4l2.* components
To list c2.v4l2.* components in MediaCodecList we need to define the component
traits.
Reference from: media/libstagefright/codec2/vndk/C2Store.cpp
And align the component name all over the places.
Bug: 73261432
Test: adb shell setprop debug.stagefright.ccodec yes
Test: adb shell setprop debug.stagefright.ccodec_v4l2 yes
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.MediaCodecListTest
Change-Id: Ida3fff68e22564a19a1162acf5b79becf460a1c2
(cherry picked from commit 49bf8dbba63a549c103dce120c70fa91868d71a5)
5 files changed