This CL includes
- Rename SessionToken to SessionToken2
- Add repeat/shuffle mode support in PlaylistParam
- Add Executor params in session builder
- Add more APIs for MediaPlayerBase
Test: Run all MediaComponents tests once
Change-Id: I7b74897c4bec377107eb040f950679d59e61f2bf
closeAllSessions() was calling into the hidl interface closeSession
directly, and neglected to check the return status which resulted in
an abort. Instead, call the DrmHal::closeSession() method which handles
the hidl return status correctly.
Test: gts media tests
bug:72400509
Change-Id: I444be998702aeaca2905ddf560a5138d5775a316
We should be logging the nuplayer2 metrics under 'nuplayer', not
'nuplayer2'. I had made the poor suggestion that they be nuplayer2.
Bug: 72445608
Test: build
allow some more metrics through that are now being generated from
app-side contexts instead of within media services.
Bug: 71874383
Test: logcat/dumpsys
Now requestStop() and requestPause() do the appropriate thing
based on state.
Flush is allowed when OPEN, PAUSED or STOPPED because there might
be pre-roll data.
Bug: 69810494
Test: test_various.cpp
Change-Id: Ie1b306b17734a58fa71b1742bb186482893656b7
This CL brings latest MediaControlView2/VideoView2 code from
experimental, and it does the following:
- Update layout / overflow button (ag/3468812)
- Change CC button visibility automatically (ag/3481791)
- Fullscreen button support (ag/3490251)
- Set prev/next listener and controlling button visibility (ag/3498244)
Test: Ran VideoViewTest app
Change-Id: I45ecbd5964da427d1f86c6d499398e829bcec445
Client apps can have 40 tracks, up from 14 tracks
Related code cleanup:
a) Removed State nested class
b) Moved static functions to Track member functions
c) Moved static function hooks to pointer-to-member-function hooks
d) Some reorganization of touched code for recent C++ style
Test: test-mixer native mixer test
Test: SoloTester effect test
Test: SoundPool with many tracks
Test: CTS AudioTrackTest
Bug: 64161002
Change-Id: I0d09620acd715d577e776bb6f76e94e87e554520