History log of /frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
32494f5438db362e96b69e5fda7b2fd34633b562 27-Feb-2018 Adam Stone <blueeyes@google.com> Fixes serialization of vendor metrics

Uses an updated proto model that's more efficient for serialization.

Test: Unit tests, google play and CTS tests.
Bug: 73724218

Change-Id: I936bc18216c0c67de580424b4c62344d94be6b38
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.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/PluginMetricsReporting.cpp
92d23b433bd770c22c2d4a30b573602f5565de1b 29-Jan-2018 Ray Essick <essick@google.com> Remove finalized concept from media.metrics

the 'finalized' concept didn't pan out -- remove references to it.
Simplifies the code flow.
Also purged some uses of generateSessionID().

Bug: 71874686
Test: logcat/dumpsys
Change-Id: I39e48526a5696158d8195f47154881ca6ecda266
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp
0426c97b51fef73b2df55379b69fff8db0703d57 16-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "media.metrics changes AString -> std::string"
783bd0d74d142493b4ef0a15a2664535854e99f9 11-Jan-2018 Ray Essick <essick@google.com> media.metrics changes AString -> std::string

change from AString to std::string for how media.metrics handles
strings. This severs the dependency on libstagefright_foundation,
where AString is implemented, so we can integrate into places
which do not want to introduce a dependency on libstagefright_foundation.

Bug: 70805723
Test: compilation/linking, CTS subset
Change-Id: I66de971b6ec354444e06112607a2d7614084cef8
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp
3692d9d49f822c1ce23bc5f28a9d18e4baa8398d 10-Jan-2018 Ray Essick <essick@google.com> Cleaner logging in a 32/64 bit world

Use the portable PRId64 construct to print our 64-bit value.

Bug: 16890215
Test: compilation
Change-Id: If1b5d1731c8d2c4dc267889763ec04a4e3ac5e8e
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp
21c721250cef7722217c1e952a6923fb79c84e37 06-Sep-2017 Adam Stone <blueeyes@google.com> Fix package name reporting in MediaDrm metrics.

The app package name was not previously reported in drm metrics. This
change reports the app package name as returned from the vendor metrics.

This is part of the fix. The other change will go into another project.

Bug: 64584568

Test: Unit tests, GTS tests, and Google Play.
Change-Id: Iee36d5203364c5f80a8b0fe9d9bbf5c167abefd1
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp
33ecc4f6b0e53ea7088ff4f151323e29183070c5 04-Apr-2017 John W. Bruce <juce@google.com> Marshal Metrics

Because DRM Plugins will not be allowed to call the AMI API under
Treble, the mediadrmservice will need to marshal the metrics out of the
plugin in protobuf format and report them to the AMI API instead. This
patch implements the pulling and interpreting of metrics from DRM
Plugins.

Bug: 36497276
Test: Played Google Play Movies, verified that playback still worked and
Widevine metrics appeared in a dump of the system media metrics.
Change-Id: If07717c1b87022bc1fcdedfbc62b9193899742d5
/frameworks/av/drm/libmediadrm/PluginMetricsReporting.cpp