Some drm HAL methods were not properly checking
their hidl Return<Status> values which would cause
aborts in some cases. This CL adds checks as needed
Test: GTS media tests
bug:73500808
Change-Id: I47ae0f82d4e614b1e78923ed48fbe4c024df5d71
MediaCodec looper's prioirty is set in android_media_MediaCodec.cpp
(MediaCodec jni) to ANDROID_PRIORITY_VIDEO, not AUDIO. Setting sw
codec looper priority to AUDIO could starve client side if the sw
decoder is running ASAP.
bug: 73898805
test: android.video.cts.VideoEncoderDecoderTest,
YouTube VP9 / VP9 HDR playback
Change-Id: I3efa975b843976d7c2886c5a802241a1dfe2fa0f
Create an MMAP stream at 48000 Hz.
Then try to create a second MMAP stream at 44100 Hz,
which will open on the Legacy path.
The bug will cause the first stream to be killed.
Bug: 73369112
Test: this is a test
Change-Id: Ibc7ef78b6bfd67114d6d2f47519e2a9113e75855
This is request from the Android Auto Embeded, where the Android is
running on the car kit and needs support radio application
Test: Run all MediaComponents tests once
Change-Id: I7a38cd41aa1d37162d4b494fdbbe45a46a556463
This CL adds the UX for Settings by using ListView. The next CL
will include updating the data dynamically.
Bug: 73703113
Test: manually run VideoViewTest.apk
Change-Id: Iff0677cbabc2965ccc72275b58592355557e4ac0
This reverts commit cfb6813467.
Reason for revert: Crashes in Play Music b/73624638
Test: Play Music with cleared app data, check equalizer settings
Bug: 73624638
Bug: 70912361
Change-Id: I6d4eec2fda57a60c2c6949937752d8f1e50bb8ab
- Set proper media type for component interface and read them in
CCodec instead of current hack.
- Define debug.stagefright.omx_default_rank to override default OMX.*
rank value (currently set to be preferred over c2.*)
- Move MediaCodec::CreateByType logic from ACodec to MediaCodec.
Test: am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Test: setprop debug.stagefright.ccodec yes
Test: killall mediaserver
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.MediaCodecListTest
Change-Id: I55bd10d2d8c65867eae654e5bd64ef545689e699
- Add MetaDataBase base class that MetaData derives from, but which
does not derive from RefBase.
- MediaBuffer::meta_data() now returns a MetaDataBase& rather than an
sp<MetaData>
- Rename MediaSourceBase to MediaTrack.
- MediaSource no longer derives from MediaSourceBase (or MediaTrack)
- MediaTrack::getFormat(), MediaExtractor::getTrackMetaData() and
MediaExtractor::getMetaData() all take a MetaDataBase& parameter that
they fill out, rather than returning a MetaData directly (the
corresponding methods on MediaSource and RemoteMediaExtractor continue
to return MetaData)
Bug: 67908544
Test: CTS MediaPlayerTest, DecoderTest, EncodeDecodeTest, manually record video
Change-Id: Ib531ab309061290be33d40d6100c9a8127e22083
This CL adds additional UX for showing the remaining time and the
unskippable time. Also disable NEXT button for the first 5 seconds
and disable SEEK throughout the whole duration of the advertisement.
Also, this CL adds a listener to TitleBar so that when the layout of
VideoView2 is changed the layouts of the TitleBar is also changed to
avoid overlapping text.
Bug: 73136129
Test: run VideoViewTest.apk
Change-Id: Ic91b3f285343f4b6bbca2900ce499fb1f0d54bf6
- Move C2* objects out of android namespace
- keep some stubs in place to not break dependencies
- Separate usage flags from gralloc usage flags
- Remove some unused classes
Bug: 64121714
Test: Build
Change-Id: Ibd0a5c2b4c3835a46aaa9c75c467bc728c2d85eb