Namespaces

Enumerations

enum DiagnosticSeverity
Name Value
DISABLED 0
WARNING 1
ERROR 2

Defined at line 33 of file ../../third_party/android/platform/system/tools/aidl/diagnostics.h

enum DiagnosticID
Name Value
const_name 0
enum_explicit_default 1
file_descriptor 2
inout_parameter 3
interface_name 4
missing_permission_annotation 5
mixed_oneway 6
out_array 7
out_nullable 8
unique_import 9
unknown_warning 10
untyped_collection 11
redundant_name 12
redundant_oneway 13

Defined at line 39 of file ../../third_party/android/platform/system/tools/aidl/diagnostics.h

Records

Functions

  • bool HasHideInComments (const Comments & comments)
  • std::optional<Deprecated> FindDeprecated (const Comments & comments)
  • std::string FormatCommentsForJava (const Comments & comments)
  • std::string QuotedEscape (const std::string & str)
  • std::string MultilineCommentEscape (const std::string & str)
  • bool operator== (const Comment & lhs, const Comment & rhs)

    for GTest assertions

    Defined at line 35 of file ../../third_party/android/platform/system/tools/aidl/comments.h

  • std::ostream & operator<< (std::ostream & out, const Comment & c)

    Defined at line 38 of file ../../third_party/android/platform/system/tools/aidl/comments.h

  • std::string to_string (DiagnosticID id)

    relying on Argument-dependent lookup

  • bool Diagnose (const AidlDocument & doc, const DiagnosticMapping & mapping)
  • std::string to_string (Options::Language language)
  • android::base::Result<uint32_t> MinSdkVersionFromString (const std::string & str)

Variables

const std::map<std::string, DiagnosticOption> kAllDiagnostics