History log of /frameworks/av/drm/libmediadrm/DrmMetrics.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
342f5ff6ec6d28559464e20139cb5ae133eef31b 04-May-2018 Adam Stone <blueeyes@google.com> Fixes the transformation of metrics.

This changes slightly the way metrics are converted from the HIDL
interface to the MediaDrm interface. This provides a cleaner
representation for querying metrics.

Bug: 73724453
Test: New and existing unit tests. Updated and existing GTS. Google Play
manual.

Change-Id: I9be170784a19ca3e89add53cea1cdfcaad6d65eb
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
5830c5a1b0e10057589eff3b4d0015fe849374a2 28-Feb-2018 Adam Stone <blueeyes@google.com> Merge "Adds HAL metrics support for Media Drm"
28f27c3bee88b0f47b1086feeaa904bcdec37af6 06-Feb-2018 Adam Stone <blueeyes@google.com> Adds HAL metrics support for Media Drm

Adds support to fetch metrics from vendor and convert them to a proto
bundle returned from a call to getMetrics.

Bug: 64001676

Test: CTS test for metrics and GPlay test
Change-Id: I05634dd1bf092e64e2d0e77c4c0e243340af48e3
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
7d2c6e8be2c9a4f3c1364d243856a345f17f851e 17-Feb-2018 Jeff Tinker <jtinker@google.com> Move mediadrm-related headers

Relocate drm and crypto headers from media
to mediadrm to have finer grained ownership

bug:73556221
Change-Id: I7d1b5944f261f9b1fdeed7605e4c0b4b4ca43e1a
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
fb679e38bbc91614faa917024adddeb51ff07d0a 07-Feb-2018 Adam Stone <blueeyes@google.com> Add logging support for FW metrics

Adds proto serialization and logging support for media drm framework metrics.

Bug: 64001676

Test: Ran CTS tests, unit tests and Google Play.
Change-Id: Ie350ac93caa6b35610eb63e4acc860c8e8a5cf5b
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
568b3c45d48fab64c80b2780e8547564d35722e9 31-Jan-2018 Adam Stone <blueeyes@google.com> Fix Metrics with PersistableBundle support

Some metrics required a conversion to using PersistableBundle to support
slightly richer structure (lists, and nested PBs).

BUG: 64001676

Test: Ran updated CTS test and verified Google Play works.
Change-Id: I8f8d67ba04b234f2ac5ac348a8945e20837f98d6
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
637b7855829920114a8863b93fe52203b7471eea 30-Jan-2018 Adam Stone <blueeyes@google.com> Fix DrmHal implementation to return all metrics

This change in DrmHal allows us to transfer a PersistableBundle containing
previously unavailable metrics.

Bug: 64001676
Test: CTS test for metrics and GPlay test
Change-Id: I1fa87c76dd980a3f91b4e2d02b37329f6c0a88ec
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
4bea53c67527030fca3820dbe7d7711badf10cde 25-Jan-2018 Adam Stone <blueeyes@google.com> Update metric names for API consistency.

The metric names need to be consistent with related APIs (e.g.
MediaCodec#getMetrics). Those APIs use dot separators rather than
slashes.

Bug 64001676

Test: Re-ran CTS, unit tests. Smoke with GPlay Movies.
Change-Id: I606e4c4bcbf630d584b9dea80471ad256764a42b
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
cea91ce60260d7ebb94449ad7674150fdc227886 23-Jan-2018 Adam Stone <blueeyes@google.com> Adds most remaining framework metrics

Adds nearly all of the remaining specified framework level metrics.
Also adds a basic unit test to verify that metrics are exported
correctly. A follow-up CL will update the CTS test to touch all metric
values in DrmHal.

BUG: 64001676
Test: New unit test. Smoke tested with GPlay/Walleye.
Change-Id: I4df90675ae304d3c62b7886537328b3d848fd77c
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp
f0e618d0ee16c63f918c7bb87ec1ff264d177746 18-Jan-2018 Adam Stone <blueeyes@google.com> Add EventMetric and a single use case.

Adds an EventMetric class, associated unit tests, and an instance of the
EventMetric to DrmHal. Also added a unit test for CounterMetric and
created a class to hold all of the future metric instances.

BUG: 64001676

Test: Added and ran unit tests. Also added a CTS test case.
Change-Id: Ic94bedd5f8293a58a939613a4ae69ce656a772be
/frameworks/av/drm/libmediadrm/DrmMetrics.cpp