Searched refs:spec_str (Results 1 – 3 of 3) sorted by relevance
/art/runtime/metrics/ |
D | reporter_test.cc | 406 void VerifyFalse(const std::string& spec_str) { in VerifyFalse() argument 407 Verify(spec_str, false, false, false, {}); in VerifyFalse() 411 const std::string& spec_str, in VerifyTrue() argument 415 Verify(spec_str, true, startup_first, continuous, periods); in VerifyTrue() 419 const std::string& spec_str, in Verify() argument 425 std::optional<ReportingPeriodSpec> spec = ReportingPeriodSpec::Parse(spec_str, &error_msg); in Verify() 427 ASSERT_EQ(valid, spec.has_value()) << spec_str; in Verify() 429 ASSERT_EQ(spec->spec, spec_str) << spec_str; in Verify() 430 ASSERT_EQ(spec->report_startup_first, startup_first) << spec_str; in Verify() 431 ASSERT_EQ(spec->continuous_reporting, continuous) << spec_str; in Verify() [all …]
|
D | reporter.cc | 260 std::optional<std::string> spec_str = is_system_server in FromFlags() local 266 if (spec_str.has_value()) { in FromFlags() 268 period_spec = ReportingPeriodSpec::Parse(spec_str.value(), &error); in FromFlags() 270 LOG(ERROR) << "Failed to create metrics reporting spec from: " << spec_str.value() in FromFlags() 301 const std::string& spec_str, std::string* error_msg) { in Parse() argument 303 if (spec_str.empty()) { in Parse() 310 Split(spec_str, ',', &elems); in Parse() 314 spec->spec = spec_str; in Parse() 325 *error_msg = "Invalid period value in spec: " + spec_str; in Parse() 333 *error_msg = "Invalid period value in spec: " + spec_str; in Parse()
|
D | reporter.h | 56 const std::string& spec_str, std::string* error_msg);
|