[ Merge of http://go/wvgerrit/171270 ] The metrics dump tool for the Widevine DRM factory was producing malformed YAML output. This is compounded by the formatting using fixed indentation for its output. Bug: 239462891 Test: adb shell dumpsys android.hardware.drm.IDrmFactory/widevine -m Test: atest GtsMediaTestCases Change-Id: I784d107085721ad0dabe94bdab33e9cc073f98e4
21 lines
505 B
C++
21 lines
505 B
C++
// Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
//
|
|
// Format widevine protobuf metrics
|
|
|
|
#ifndef WV_METRICS_H_
|
|
#define WV_METRICS_H_
|
|
|
|
#include <ostream>
|
|
|
|
#include "wv_metrics.pb.h"
|
|
|
|
namespace wv_metrics {
|
|
void FormatWvCdmMetrics(const drm_metrics::WvCdmMetrics& metrics,
|
|
size_t parent_indent,
|
|
std::ostream& os);
|
|
}
|
|
|
|
#endif // WV_METRICS_H_
|