media: add available/required resources test api

Bug: 363282971
Test: build and boot, manual testing
Flag: android.media.codec.codec_availability
Change-Id: I723d0de9fe1c1acc49da0904783fc9a53c4a84d9
3 files changed