1. Create base class MediaFormat resolver for VideoFormatResolver
and upcoming ImageFormatResolver in T.
2. Move the setter of client capabilities and video format hint into
VideoFormatResolver's constructor.
3. Remove minProgressUpdateInterval as it is not implemented yet.
Bug: 181551684
Test: atest CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Icefb302d6ffc22182bed6a26daca7fc621ae54c5
1. Create a base class TranscodingRequest for VideoTranscodingRequest
and upcoming ImageTranscodingRequest in Androd T. Also have builder in each type
with VideoTranscodingRequest.builder inherit TranscodingRequest.builder.
2. Hiding the PRIORITY_REALTIME and setPrority api for Android S.
3. Hiding TRANSCODING_TYPE_VIDEO as it is only for internal bookkeeping
4. Move TRANSCODING_TYPE_* and PRIORITY_* to inside TranscodingRequest.
5. Remove the setSrcUri, setDstUri, setVideoTrackFormat and set them in constructor.
Bug: 181551684
Test: atest CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Ib6fead5e9fcb48bfd1db35f9f35402d6fa1ed73d
Remove ServiceNotAvailableException and use boolean to signal client
the service is not avaiable during enqueueRequest.
Bug: 181611895
Test: atest CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Ie5bbf65c77076839bee7619ed6ad45d8edfff617
This CL adds
- MediaCommunicationManager#notifySession2Created
- MediaCommunicationManager#getSession2Tokens
, which replaces the same methods in MediaSessionManager
to let MediacommunicationService manage MediaSession2.
MediaSessionService gets notified of created MediaSession2 instances
by adding a callback to MCM.
Bug: 180417011
Test: atest MediaSessionManagerTest MediaCommunicationManagerTest
Change-Id: Ia5ffdcd15573d1223ca520cfa8eca3b976874118
1. Add new API isFormatSpecified to query if client has specified the
format.
2. Remove the FormatNotFoundException for the APIs.
Bug: 179727499
Test: atest CtsMediaTranscodingTestCases:ApplicationMediaCapabilitiesTest
Change-Id: Ifb2b990f1bce3e6aeb3c4e11b82b08a548c7173e
ApplicationMediaCapabilities need to differentiate between unspecified format and unsupported format
Change to throw NameNotFoundException for unspecified case.
Bug: 176993974
Test: atest CtsMediaTranscodingTestCases:ApplicationMediaCapabilitiesTest
Change-Id: I2cd3f921f7855f9891726568d0e36f59bbadc6e3
This adds metalava api tracking generation to the module
stub rules, to make sure we know exactly what API a
particular module stub exports.
Bug: 147768409
Test: m update-api
Exempt-From-Owner-Approval: Approved in master
Change-Id: Iaf2ef5b5751eb208d119ddbc74481239366fe581
Merged-In: Iaf2ef5b5751eb208d119ddbc74481239366fe581