add getMetrics() method to access media.metrics for AudioTrack and
AudioRecord. Includes the code paths and the sdk documentation
for the keys and what they return.
Moves the media metrics JNI support routines from media to core
to support these audiotrack/record operations being there; still
accessible to the existing operations in the media libraries.
Bug: 72179020
Bug: 72178968
Test: enhanced CTS
Change-Id: I3f05beba31aacb9b96854f8a774cb8f669ee1625
This method is the MediaDrm implementation providing metrics to the
media application. This method is comparable to the getMetrics call on
MediaCodec.
Bug: 64001676
Test: CTS tests to verify metrics and regressed on GPlay Movies.
Change-Id: I0334178b8f93921a0ba24584f345e477c393bbad
Adds the session start and end times metric definition to the MediaDrm
API.
Bug: 4001676
Test: Regressed unit tests and ran Google Play Movies. New tests pending.
Change-Id: Ib5e9f62057d3a23cc1d13ff1b8f69c14c5116722
This represents the bulk of the remaining metric constants that will be
supported in Android Pi.
BUG: 64001676
Test: New unit tests in an assoicated CL. Also, tested with GPlay/Walleye.
Change-Id: I06f43532688306ca37af3cfaa1c36bb9c8e54373
This adds a metric constant name for success and failure counts of
getKeyRequest.
BUG: 64001676
Test: Added a CTS test case for the metric and ran on a device.
Change-Id: I84992536320d87a716c14cd461b8f4d2245f3431
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: Ia61632b7a09fab7f41fd89e9489a01af13d6c3c2
This CL brings latest MediaControlView2/VideoView2 code from
experimental, and it does the following:
- Fullscreen button support (ag/3490251)
- Set prev/next listener and controlling button visibility (ag/3498244)
Test: Ran VideoViewTest app
Change-Id: I1a64a9c98dcc625b504785728673edbee7b6935d
MediaLibraryService2 is the new name for the MediaBrowserService
Test: Run all MediaComponents tests once
Change-Id: I7a1ae20ff59aa4714cff08e43cdabb5b8c557b98
Two additional KeyRequestTypes have been added, None and Update. None
indicates that no key request is needed as keys have already been
loaded. Update indicates that while keys have previously been loaded,
an additional (non-renewal) license request is needed.
Bug: 70335058
Change-Id: Id8575fd4c8e8d71009373235a3944b4ec47849da
This adds a new class CounterMetric which is used to hold metric
information. It also adds a single use case for recording and
reporting a counter metric.
BUG: 64001676
Test: Added and ran a new test for the specific CounterMetric use case.
Change-Id: I94ff9d4d965d55af4d78b3f9545f07d634b5abbd
This adds a stub for supporting retrieving metrics from the MediaDrm
interface.
BUG: 64001676
Test: Ran the new CTS unit test added in a related CL.
Change-Id: I84cafb79dd6e6f860b058a58fb52113a4e699f7d
Also changing method signatures to be more in line with our convention.
Based on some of the changes I went through, it looks like:
1. We were only legitimately saving the very last NotificationRecord
that was dumped.
2. We weren't dumping any NotificationChannels into
NotificationChannelGroup protos.
Bug: 65750824
Test: Android builds
Change-Id: I8c1ef90cf69d8ea00a7bad0c67445741056e23ef