Home
last modified time | relevance | path

Searched refs:serializedMetrics (Results 1 – 5 of 5) 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()
182 if (!metrics.SerializeToString(serializedMetrics)) { in GetSerializedMetrics()
DDrmHalAidl.cpp1182 std::string serializedMetrics; in reportFrameworkMetrics() local
1183 result = mMetrics->GetSerializedMetrics(&serializedMetrics); in reportFrameworkMetrics()
1188 toBase64StringNoPad(serializedMetrics.data(), serializedMetrics.size()); in reportFrameworkMetrics()
1199 return serializedMetrics; in reportFrameworkMetrics()
DDrmHalHidl.cpp1444 std::string serializedMetrics; in reportFrameworkMetrics() local
1445 result = mMetrics.GetSerializedMetrics(&serializedMetrics); in reportFrameworkMetrics()
1450 toBase64StringNoPad(serializedMetrics.data(), serializedMetrics.size()); in reportFrameworkMetrics()
1461 return serializedMetrics; in reportFrameworkMetrics()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmMetrics.h80 status_t GetSerializedMetrics(std::string* serializedMetrics);