Home
last modified time | relevance | path

Searched refs:Severity (Results 1 – 6 of 6) sorted by relevance

/system/tools/aidl/
Dlogging.h29 enum Severity { NO_OP, WARNING, ERROR, FATAL }; enum
31 AidlErrorLog(Severity severity, const AidlLocation& location, const std::string& suffix = "");
32 AidlErrorLog(Severity severity, const std::string& filename);
33 AidlErrorLog(Severity severity, const AidlNode& node);
34 AidlErrorLog(Severity severity, const AidlNode* node) : AidlErrorLog(severity, *node) {} in AidlErrorLog()
37 AidlErrorLog(Severity severity, const std::unique_ptr<T>& node) : AidlErrorLog(severity, *node) {} in AidlErrorLog()
61 Severity severity_;
Dlogging.cpp23 AidlErrorLog::AidlErrorLog(Severity severity, const AidlLocation& location, in AidlErrorLog()
33 AidlErrorLog::AidlErrorLog(Severity severity, const AidlNode& node) in AidlErrorLog()
36 AidlErrorLog::AidlErrorLog(Severity severity, const std::string& filename) in AidlErrorLog()
Ddiagnostics.h47 DiagnosticSeverity Severity(DiagnosticID id) const;
48 void Severity(DiagnosticID id, DiagnosticSeverity severity);
Ddiagnostics.cpp41 void DiagnosticMapping::Severity(DiagnosticID id, DiagnosticSeverity severity) { in Severity() function in android::aidl::DiagnosticMapping
45 DiagnosticSeverity DiagnosticMapping::Severity(DiagnosticID id) const { in Severity() function in android::aidl::DiagnosticMapping
59 auto severity = std::max(force_severity, mapping_.top().Severity(id)); in Report()
81 new_mapping.Severity(it->second.id, DiagnosticSeverity::DISABLED); in Suppress()
Doptions_unittest.cpp358 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.cpp591 mapping.Severity(d.id, severity); in GetDiagnosticMapping()