Home
last modified time | relevance | path

Searched refs:serializedMetrics (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/libmediadrm/tests/
DDrmMetrics_test.cpp298 std::string serializedMetrics; in TEST_F() local
299 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
302 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
348 std::string serializedMetrics; in TEST_F() local
349 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
352 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
398 std::string serializedMetrics; in TEST_F() local
399 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
402 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
/frameworks/av/drm/libmediadrm/
DDrmMetrics.cpp84 status_t MediaDrmMetrics::GetSerializedMetrics(std::string *serializedMetrics) { in GetSerializedMetrics() argument
86 if (!serializedMetrics) { in GetSerializedMetrics()
183 if (!metrics.SerializeToString(serializedMetrics)) { in GetSerializedMetrics()
DDrmHal.cpp1533 std::string serializedMetrics; in reportFrameworkMetrics() local
1534 result = mMetrics.GetSerializedMetrics(&serializedMetrics); in reportFrameworkMetrics()
1538 std::string b64EncodedMetrics = toBase64StringNoPad(serializedMetrics.data(), in reportFrameworkMetrics()
1539 serializedMetrics.size()); in reportFrameworkMetrics()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmMetrics.h82 status_t GetSerializedMetrics(std::string* serializedMetrics);