/system/tools/aidl/ |
D | options.cpp | 39 string Options::GetUsage() const { in GetUsage() 59 if (language_ == Options::Language::JAVA) { in GetUsage() 63 } else if (language_ == Options::Language::CPP) { in GetUsage() 138 bool Options::StabilityFromString(const std::string& stability, Stability* out_stability) { in StabilityFromString() 146 Options Options::From(const string& cmdline) { in From() 151 Options Options::From(const vector<string>& args) { in From() 152 Options::Language lang = Options::Language::JAVA; in From() 155 lang = Options::Language::CPP; in From() 163 return Options(argc, argv, lang); in From() 166 Options::Options(int argc, const char* const argv[], Options::Language default_lang) in Options() function in android::aidl::Options [all …]
|
D | main.cpp | 26 constexpr Options::Language kDefaultLang = Options::Language::CPP; 28 constexpr Options::Language kDefaultLang = Options::Language::JAVA; 31 using android::aidl::Options; 33 int process_options(const Options& options) { in process_options() 36 case Options::Task::COMPILE: in process_options() 38 case Options::Task::PREPROCESS: in process_options() 40 case Options::Task::DUMP_API: in process_options() 42 case Options::Task::CHECK_API: in process_options() 44 case Options::Task::DUMP_MAPPINGS: in process_options() 56 Options options(argc, argv, kDefaultLang); in main()
|
D | aidl_unittest.cpp | 168 Options::Language lang, AidlError* error = nullptr, in Parse() 172 if (lang == Options::Language::CPP) { 187 Options options = Options::From(args); 215 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, Options::Language::JAVA)); in TEST_F() 217 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, Options::Language::CPP)); in TEST_F() 222 Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, Options::Language::JAVA)); in TEST_F() 225 Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, Options::Language::CPP)); in TEST_F() 236 EXPECT_EQ(nullptr, Parse(path, contents, typenames_, Options::Language::JAVA)); in TEST_F() 238 EXPECT_EQ(nullptr, Parse(path, contents, typenames_, Options::Language::CPP)); in TEST_F() 245 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, Options::Language::CPP)); in TEST_F() [all …]
|
D | generate_ndk.h | 29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, 34 const Options& options); 36 const AidlInterface& defined_type, const Options& options); 38 const AidlInterface& defined_type, const Options& options); 40 const AidlInterface& defined_type, const Options& options); 42 const AidlInterface& defined_type, const Options& options); 44 const AidlInterface& defined_type, const Options& options); 46 const AidlInterface& defined_type, const Options& options); 48 const AidlInterface& defined_type, const Options& options); 51 const AidlStructuredParcelable& defined_type, const Options& options); [all …]
|
D | generate_cpp.h | 32 bool GenerateCpp(const string& output_file, const Options& options, const AidlTypenames& typenames, 38 const Options& options); 41 const Options& options); 44 const Options& options); 47 const Options& options); 50 const Options& options); 53 const Options& options); 57 const Options& options); 60 const Options& options);
|
D | options_unittest.cpp | 93 unique_ptr<Options> GetOptions(const char* command[], in GetOptions() 94 Options::Language default_lang = Options::Language::JAVA) { in GetOptions() 98 unique_ptr<Options> ret(new Options(argc, command, default_lang)); in GetOptions() 114 unique_ptr<Options> options = GetOptions(kPreprocessCommand); in TEST() 115 EXPECT_EQ(Options::Task::PREPROCESS, options->GetTask()); in TEST() 128 unique_ptr<Options> options = GetOptions(kCompileJavaCommand); in TEST() 129 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST() 130 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST() 145 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST() 146 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST() [all …]
|
D | aidl.h | 48 int compile_aidl(const Options& options, const IoDelegate& io_delegate); 49 bool preprocess_aidl(const Options& options, const IoDelegate& io_delegate); 50 bool dump_api(const Options& options, const IoDelegate& io_delegate); 51 bool dump_mappings(const Options& options, const IoDelegate& io_delegate); 78 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options,
|
D | options.h | 60 class Options final { 69 Options(int argc, const char* const argv[], Language default_lang = Language::UNSPECIFIED); 71 static Options From(const string& cmdline); 73 static Options From(const vector<string>& args); 145 Options() = default;
|
D | aidl.cpp | 153 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file() 178 options.TargetLanguage() == Options::Language::JAVA) { in write_dep_file() 218 string generate_outputFileName(const Options& options, const AidlDefinedType& defined_type) { in generate_outputFileName() 237 if (options.TargetLanguage() == Options::Language::JAVA) { in generate_outputFileName() 412 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options, in load_and_validate_aidl() 526 const bool is_check_api = options.GetTask() == Options::Task::CHECK_API; in load_and_validate_aidl() 604 (options.GetStability() != Options::Stability::VINTF || !options.IsStructured())) { in load_and_validate_aidl() 692 if (options.GetStability() == Options::Stability::VINTF && !type.IsVintfStability()) { in load_and_validate_aidl() 721 int compile_aidl(const Options& options, const IoDelegate& io_delegate) { in compile_aidl() 722 const Options::Language lang = options.TargetLanguage(); in compile_aidl() [all …]
|
D | generate_java.h | 32 const Options& options); 35 const AidlInterface* iface, const AidlTypenames& typenames, const Options& options);
|
D | generate_ndk.cpp | 41 void GenerateNdkInterface(const string& output_file, const Options& options, in GenerateNdkInterface() 66 void GenerateNdkParcel(const string& output_file, const Options& options, in GenerateNdkParcel() 99 void GenerateNdkEnumDeclaration(const string& output_file, const Options& options, in GenerateNdkEnumDeclaration() 126 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, in GenerateNdk() 275 const Options& options) { in GenerateSource() 294 const Options& options) { in GenerateClientMethodDefinition() 411 const AidlMethod& method, const Options& options) { in GenerateServerCaseDefinition() 476 const AidlInterface& defined_type, const Options& options) { in GenerateClassSource() 512 const AidlInterface& defined_type, const Options& options) { in GenerateClientSource() 526 const AidlInterface& defined_type, const Options& options) { in GenerateServerSource() [all …]
|
/system/testing/gtest_extras/ |
D | Options.cpp | 45 const std::unordered_map<std::string, Options::ArgInfo> Options::kArgs = { 46 {"deadline_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 47 {"slow_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 48 {"gtest_list_tests", {FLAG_NONE, &Options::SetBool}}, 49 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 50 {"gtest_flagfile", {FLAG_REQUIRES_VALUE, &Options::SetString}}, 53 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetIterations}, 55 {"gtest_output", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetXmlFile}}, 56 {"gtest_print_time", {FLAG_ENVIRONMENT_VARIABLE | FLAG_OPTIONAL_VALUE, &Options::SetPrintTime}}, 59 {FLAG_ENVIRONMENT_VARIABLE | FLAG_CHILD, &Options::SetBool}, [all …]
|
D | Options.h | 30 class Options { 32 Options() = default; 33 ~Options() = default; 74 bool (Options::*func)(const std::string&, const std::string&, bool); member
|
D | Isolate.h | 40 Isolate(const Options& options, const std::vector<char*>& child_args) in Isolate() 54 void (*print_func)(const Options&, const Test&); 81 const Options& options_;
|
/system/tools/aidl/tests/ |
D | end_to_end_tests.cpp | 83 Options options = Options::From(args); in TEST_F() 108 Options options = Options::From(args); in TEST_F() 133 Options options = Options::From(args); in TEST_F() 157 Options options = Options::From(args); in TEST_F() 185 Options options = Options::From(args); in TEST_F() 212 Options options = Options::From(args); in TEST_F() 239 Options options = Options::From(args); in TEST_F() 262 Options options = Options::From(args); in TEST_F() 281 Options options = Options::From(args); in TEST_F() 301 Options options = Options::From(args); in TEST_F() [all …]
|
/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 58 Options options; in TEST_F() 68 Options options; in TEST_F() 78 Options options; in TEST_F() 87 Options options; in TEST_F() 106 Options options; in TEST_F() 115 Options options; in TEST_F() 124 Options options; in TEST_F() 132 Options options; in TEST_F() 141 Options options; in TEST_F() 151 Options options; in TEST_F() [all …]
|
/system/tools/hidl/ |
D | PREUPLOAD.cfg | 1 [Options] 4 [Builtin Hooks Options]
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | Main.java | 33 import org.apache.commons.cli.Options; 41 Options options = new Options(); in main() 113 private static void help(Options options) { in help()
|
/system/vold/ |
D | secdiscard.cpp | 38 struct Options { struct 45 bool read_command_line(int argc, const char* const argv[], Options& options); 55 Options options; in main() 104 bool read_command_line(int argc, const char* const argv[], Options& options) { in read_command_line()
|
/system/bt/service/ipc/dbus/ |
D | ipc_handler_dbus.cc | 39 base::Thread::Options thread_options; in Run() 52 Bus::Options bus_options; in InitDbus()
|
/system/nfc/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libvintf/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/hardware/interfaces/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libfmq/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libhidl/ |
D | PREUPLOAD.cfg | 1 [Options]
|