MediaCodec: define available/required resources APIs

This CL defines:
- APIs for querying available and required resources
- Callback to notify change in codec resource requirements

The implementation is not complete as the integration
with component store and interface happens in follow up
changes.

Bug: 363282971
Test: none
Flag: android.media.codec.codec_availability
Change-Id: Id4afb251e5014f488137db7ae186175744c9837b
2 files changed