Namespaces

Enumerations

enum class 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 class DiagnosticID
Name Value Comments
const_name 0

DIAG(enum, name, enable-by-default)

enum_explicit_default 1

DIAG(enum, name, enable-by-default)

file_descriptor 2

DIAG(enum, name, enable-by-default)

inout_parameter 3

DIAG(enum, name, enable-by-default)

interface_name 4

DIAG(enum, name, enable-by-default)

missing_permission_annotation 5

DIAG(enum, name, enable-by-default)

mixed_oneway 6

DIAG(enum, name, enable-by-default)

out_array 7

DIAG(enum, name, enable-by-default)

out_nullable 8

DIAG(enum, name, enable-by-default)

unique_import 9

DIAG(enum, name, enable-by-default)

unknown_warning 10

DIAG(enum, name, enable-by-default)

untyped_collection 11

DIAG(enum, name, enable-by-default)

redundant_name 12

DIAG(enum, name, enable-by-default)

redundant_oneway 13

DIAG(enum, name, enable-by-default)

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