Home
last modified time | relevance | path

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

/frameworks/av/services/mediametrics/
Dstatsd_codec.cpp173 static void parseVector(const std::string &str, std::vector<int32_t> *vector) { in parseVector() function
174 if (!mediametrics::stringutils::parseVector(str, vector)) { in parseVector()
749 parseVector(freezeDurationMsHistogramStr, &statsFreezeDurationMsHistogram); in statsd_codec()
751 parseVector(freezeDurationMsHistogramBucketsStr, &statsFreezeDurationMsHistogramBuckets); in statsd_codec()
753 parseVector(freezeDistanceMsHistogramStr, &statsFreezeDistanceMsHistogram); in statsd_codec()
755 parseVector(freezeDistanceMsHistogramBucketsStr, &statsFreezeDistanceMsHistogramBuckets); in statsd_codec()
759 parseVector(judderScoreHistogramStr, &statsJudderScoreHistogram); in statsd_codec()
761 parseVector(judderScoreHistogramBucketsStr, &statsJudderScoreHistogramBuckets); in statsd_codec()
DStringUtils.cpp59 bool parseVector(const std::string &str, std::vector<int32_t> *vector) { in parseVector() function
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp34 using android::mediametrics::stringutils::parseVector;
62 TEST(mediametrics_tests, parseVector) { in TEST() argument
65 EXPECT_EQ(true, parseVector("0{4,300,0,-112343,350}9", &values)); in TEST()
70 EXPECT_EQ(true, parseVector("53", &values)); in TEST()
75 EXPECT_EQ(false, parseVector("5{3,6*3}3", &values)); in TEST()
81 EXPECT_EQ(false, parseVector("51342abcd,1232", &values)); in TEST()
86 EXPECT_EQ(false, parseVector("12345678901234,12345678901234", &values)); in TEST()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DStringUtils.h78 bool parseVector(const std::string &str, std::vector<int32_t> *vector);