CodecCapabilities: Port CodecCapabilities from Java to native.

Test: manual
Bug: b/306023029
Change-Id: I946a295b8f0c15588705cb972bfe61417dcf1477
3 files changed