class Options
Defined at line 101 of file ../../third_party/android/platform/system/tools/aidl/options.h
Options for AIDL
These are passed all throughout the compiler, but they should not affect the
code which is generated. In order to avoid ODR issues, and also in order to
make sure the language is orthogonal and portable, we should only generate
different things based on the file contents themselves.
Public Members
size_t onTransact_outline_threshold_
size_t onTransact_non_outline_count_
Public Methods
Options AsPreviousVersion ()
Defined at line 116 of file ../../third_party/android/platform/system/tools/aidl/options.h
Options WithoutVersion ()
Defined at line 122 of file ../../third_party/android/platform/system/tools/aidl/options.h
Options WithNoWarnings ()
Defined at line 129 of file ../../third_party/android/platform/system/tools/aidl/options.h
std::string RawArgs ()
to print in output files
Defined at line 140 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool IsStructured ()
Contain no references to unstructured data types (such as a parcelable that is
implemented in Java). These interfaces aren't inherently stable but they have the
capacity to be stabilized.
Defined at line 145 of file ../../third_party/android/platform/system/tools/aidl/options.h
Stability GetStability ()
Defined at line 147 of file ../../third_party/android/platform/system/tools/aidl/options.h
uint32_t GetMinSdkVersion ()
Defined at line 149 of file ../../third_party/android/platform/system/tools/aidl/options.h
Language TargetLanguage ()
Defined at line 151 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool IsCppOutput ()
Defined at line 152 of file ../../third_party/android/platform/system/tools/aidl/options.h
Task GetTask ()
Defined at line 157 of file ../../third_party/android/platform/system/tools/aidl/options.h
CheckApiLevel GetCheckApiLevel ()
Defined at line 159 of file ../../third_party/android/platform/system/tools/aidl/options.h
const set<string> & ImportDirs ()
Defined at line 161 of file ../../third_party/android/platform/system/tools/aidl/options.h
const vector<string> & PreprocessedFiles ()
Defined at line 169 of file ../../third_party/android/platform/system/tools/aidl/options.h
string DependencyFile ()
Defined at line 171 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool AutoDepFile ()
Defined at line 175 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenRpc ()
Defined at line 177 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenTraces ()
Defined at line 179 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenTransactionNames ()
Defined at line 181 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenMockall ()
Defined at line 183 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool DependencyFileNinja ()
Defined at line 185 of file ../../third_party/android/platform/system/tools/aidl/options.h
const string & PreviousApiDir ()
Defined at line 187 of file ../../third_party/android/platform/system/tools/aidl/options.h
const vector<string> & InputFiles ()
Defined at line 189 of file ../../third_party/android/platform/system/tools/aidl/options.h
const string & OutputFile ()
Path to the output file. This is used only when there is only one
output file for the invocation. When there are multiple outputs
(e.g. compile multiple AIDL files), output files are created under
OutputDir().
Defined at line 195 of file ../../third_party/android/platform/system/tools/aidl/options.h
const string & OutputDir ()
Path to the directory where output file(s) will be generated under.
Defined at line 198 of file ../../third_party/android/platform/system/tools/aidl/options.h
const string & OutputHeaderDir ()
Path to the directory where header file(s) will be generated under.
Only used when TargetLanguage() == Language::CPP
Defined at line 202 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool FailOnParcelable ()
Defined at line 204 of file ../../third_party/android/platform/system/tools/aidl/options.h
int Version ()
Defined at line 206 of file ../../third_party/android/platform/system/tools/aidl/options.h
int PreviousVersion ()
Defined at line 208 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool IsLatestUnfrozenVersion ()
Defined at line 213 of file ../../third_party/android/platform/system/tools/aidl/options.h
string Hash ()
Defined at line 215 of file ../../third_party/android/platform/system/tools/aidl/options.h
string PreviousHash ()
Defined at line 217 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenLog ()
Defined at line 219 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool DumpNoLicense ()
Defined at line 221 of file ../../third_party/android/platform/system/tools/aidl/options.h
Options From (const string & cmdline)
Options From (const vector<string> & args)
bool Ok ()
Defined at line 223 of file ../../third_party/android/platform/system/tools/aidl/options.h
string GetErrorMessage ()
Defined at line 225 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool GenApiMapping ()
Defined at line 229 of file ../../third_party/android/platform/system/tools/aidl/options.h
DiagnosticMapping GetDiagnosticMapping ()
Defined at line 231 of file ../../third_party/android/platform/system/tools/aidl/options.h
bool StabilityFromString (const std::string & stability, Stability * out_stability)
void Options (int argc, const char *const[] argv, Language default_lang)
Options PlusImportDir (const std::string & import_dir)
string GetUsage ()
Enumerations
enum Language
| Name | Value |
|---|---|
| UNSPECIFIED | 0 |
| JAVA | 1 |
| CPP | 2 |
| NDK | 3 |
| RUST | 4 |
| CPP_ANALYZER | 5 |
Defined at line 103 of file ../../third_party/android/platform/system/tools/aidl/options.h
enum Task
| Name | Value |
|---|---|
| HELP | 0 |
| COMPILE | 1 |
| PREPROCESS | 2 |
| DUMP_API | 3 |
| CHECK_API | 4 |
| DUMP_MAPPINGS | 5 |
Defined at line 105 of file ../../third_party/android/platform/system/tools/aidl/options.h
enum CheckApiLevel
| Name | Value |
|---|---|
| COMPATIBLE | 0 |
| EQUAL | 1 |
Defined at line 107 of file ../../third_party/android/platform/system/tools/aidl/options.h
enum Stability
| Name | Value |
|---|---|
| UNSPECIFIED | 0 |
| VINTF | 1 |
Defined at line 109 of file ../../third_party/android/platform/system/tools/aidl/options.h