Home
last modified time | relevance | path

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

/frameworks/av/drm/libmediadrm/tests/
DDrmMetrics_test.cpp294 std::string serializedMetrics; in TEST_F() local
295 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
298 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
344 std::string serializedMetrics; in TEST_F() local
345 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
348 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
394 std::string serializedMetrics; in TEST_F() local
395 ASSERT_EQ(OK, metrics.GetSerializedMetrics(&serializedMetrics)); in TEST_F()
398 ASSERT_TRUE(metricsProto.ParseFromString(serializedMetrics)); in TEST_F()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmMetrics.h81 status_t GetSerializedMetrics(std::string* serializedMetrics);
/frameworks/av/drm/libmediadrm/
DDrmMetrics.cpp257 status_t MediaDrmMetrics::GetSerializedMetrics(std::string *serializedMetrics) { in GetSerializedMetrics() argument
259 if (!serializedMetrics) { in GetSerializedMetrics()
356 if (!metrics.SerializeToString(serializedMetrics)) { in GetSerializedMetrics()
DDrmHal.cpp1596 std::string serializedMetrics; in reportFrameworkMetrics() local
1597 result = mMetrics.GetSerializedMetrics(&serializedMetrics); in reportFrameworkMetrics()
1601 std::string b64EncodedMetrics = toBase64StringNoPad(serializedMetrics.data(), in reportFrameworkMetrics()
1602 serializedMetrics.size()); in reportFrameworkMetrics()