Searched refs:spec_str (Results 1 – 3 of 3) sorted by relevance
/art/runtime/metrics/ |
D | reporter_test.cc | 403 void VerifyFalse(const std::string& spec_str) { in VerifyFalse() argument 404 Verify(spec_str, false, false, false, {}); in VerifyFalse() 408 const std::string& spec_str, in VerifyTrue() argument 412 Verify(spec_str, true, startup_first, continuous, periods); in VerifyTrue() 416 const std::string& spec_str, in Verify() argument 422 std::optional<ReportingPeriodSpec> spec = ReportingPeriodSpec::Parse(spec_str, &error_msg); in Verify() 424 ASSERT_EQ(valid, spec.has_value()) << spec_str; in Verify() 426 ASSERT_EQ(spec->spec, spec_str) << spec_str; in Verify() 427 ASSERT_EQ(spec->report_startup_first, startup_first) << spec_str; in Verify() 428 ASSERT_EQ(spec->continuous_reporting, continuous) << spec_str; in Verify() [all …]
|
D | reporter.cc | 264 std::optional<std::string> spec_str = is_system_server in FromFlags() local 270 if (spec_str.has_value()) { in FromFlags() 272 period_spec = ReportingPeriodSpec::Parse(spec_str.value(), &error); in FromFlags() 274 LOG(ERROR) << "Failed to create metrics reporting spec from: " << spec_str.value() in FromFlags() 306 const std::string& spec_str, std::string* error_msg) { in Parse() argument 308 if (spec_str.empty()) { in Parse() 315 Split(spec_str, ',', &elems); in Parse() 319 spec->spec = spec_str; in Parse() 330 *error_msg = "Invalid period value in spec: " + spec_str; in Parse() 338 *error_msg = "Invalid period value in spec: " + spec_str; in Parse()
|
D | reporter.h | 57 const std::string& spec_str, std::string* error_msg);
|