[ Merge of http://go/wvgerrit/59022 ] Android metrics are output by the adb shell command |dumpsys media.metrics|. They appear in bugreports and can also be requested interactively. Both the widevine and framework mediadrm metrics are base64 encoded protobufs detailing each of the metrics items. This tool prints them in a readable format. Test: wv android unit/integration tests Change-Id: Id1bc05b34693a3ca44dd3872a28a2337b3ce4d79
16 lines
428 B
C++
16 lines
428 B
C++
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine Master
|
|
// License Agreement.
|
|
//
|
|
// Format mediadrm framework protobuf metrics
|
|
|
|
#include <string>
|
|
|
|
#include "mediadrm_metrics.pb.h"
|
|
|
|
namespace mediadrm_metrics {
|
|
void FormatDrmFrameworkMetrics(
|
|
const android::drm_metrics::DrmFrameworkMetrics& metrics,
|
|
std::string& result);
|
|
};
|