Home
last modified time | relevance | path

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

/system/tools/aidl/
Ddiagnostics.h33 enum class DiagnosticSeverity { enum
47 DiagnosticSeverity Severity(DiagnosticID id) const;
48 void Severity(DiagnosticID id, DiagnosticSeverity severity);
51 std::map<DiagnosticID, DiagnosticSeverity> mapping_;
Ddiagnostics.cpp41 void DiagnosticMapping::Severity(DiagnosticID id, DiagnosticSeverity severity) { in Severity()
45 DiagnosticSeverity DiagnosticMapping::Severity(DiagnosticID id) const { in Severity()
63 DiagnosticSeverity force_severity = DiagnosticSeverity::DISABLED) { in Report()
70 case DiagnosticSeverity::DISABLED: in Report()
72 case DiagnosticSeverity::WARNING: in Report()
74 case DiagnosticSeverity::ERROR: in Report()
86 Report(a.GetLocation(), DiagnosticID::unknown_warning, DiagnosticSeverity::ERROR) in Suppress()
90 new_mapping.Severity(it->second.id, DiagnosticSeverity::DISABLED); in Suppress()
Doptions_unittest.cpp30 using android::aidl::DiagnosticSeverity;
358 EXPECT_EQ(DiagnosticSeverity::WARNING, mapping.Severity(DiagnosticID::interface_name)); in TEST()
368 EXPECT_EQ(DiagnosticSeverity::WARNING, mapping.Severity(DiagnosticID::interface_name)); in TEST()
379 EXPECT_EQ(DiagnosticSeverity::DISABLED, mapping.Severity(DiagnosticID::interface_name)); in TEST()
389 EXPECT_EQ(DiagnosticSeverity::ERROR, mapping.Severity(DiagnosticID::interface_name)); in TEST()
Doptions.cpp733 DiagnosticSeverity severity = DiagnosticSeverity::DISABLED; in GetDiagnosticMapping()
735 severity = DiagnosticSeverity::WARNING; in GetDiagnosticMapping()
737 severity = DiagnosticSeverity::ERROR; in GetDiagnosticMapping()