/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() 131 Options Options::From(const string& cmdline) { in From() 136 Options Options::From(const vector<string>& args) { in From() 137 Options::Language lang = Options::Language::JAVA; in From() 140 lang = Options::Language::CPP; in From() 148 return Options(argc, argv, lang); in From() 151 Options::Options(int argc, const char* const argv[], Options::Language default_lang) in Options() function in android::aidl::Options 187 if (language_ == Options::Language::CPP) { in Options() [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 | 33 bool GenerateCpp(const string& output_file, const Options& options, const cpp::TypeNamespace& types, 39 const Options& options); 42 const Options& options); 45 const Options& options); 48 const Options& options); 51 const Options& options); 54 const Options& options); 58 const Options& options); 61 const Options& options);
|
D | main.cpp | 26 using android::aidl::Options; 36 Options options(argc, argv, Options::Language::JAVA); in main() 45 case Options::Task::COMPILE: in main() 47 case Options::Task::PREPROCESS: in main() 49 case Options::Task::DUMP_API: in main() 51 case Options::Task::CHECK_API: in main() 53 case Options::Task::DUMP_MAPPINGS: in main()
|
D | aidl_unittest.cpp | 153 Options options = Options::From(args); 318 Options options = Options::From(args); in TEST_F() 339 Options options = Options::From(args); in TEST_F() 376 Options options1 = Options::From("aidl p/IFoo.aidl"); in TEST_F() 380 Options options2 = Options::From("aidl -b p/IFoo.aidl"); in TEST_F() 386 Options options3 = Options::From("aidl p/IBar.aidl"); in TEST_F() 388 Options options4 = Options::From("aidl -b p/IBar.aidl"); in TEST_F() 548 Options options = Options::From(args); in TEST_F() 566 Options options = Options::From(args); in TEST_F() 585 Options options = Options::From(args); in TEST_F() [all …]
|
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() 141 unique_ptr<Options> options = GetOptions(kCompileJavaCommandNinja); in TEST() 142 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST() [all …]
|
D | aidl.h | 49 int compile_aidl(const Options& options, const IoDelegate& io_delegate); 50 bool preprocess_aidl(const Options& options, const IoDelegate& io_delegate); 51 bool dump_api(const Options& options, const IoDelegate& io_delegate); 52 bool dump_mappings(const Options& options, const IoDelegate& io_delegate); 58 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options,
|
D | main_cpp.cpp | 24 using android::aidl::Options; 35 Options options(argc, argv, Options::Language::CPP); in main()
|
D | options.h | 60 class Options final { 66 Options(int argc, const char* const argv[], Language default_lang = Language::UNSPECIFIED); 68 static Options From(const string& cmdline); 70 static Options From(const vector<string>& args); 136 Options() = default;
|
D | generate_java.h | 33 const Options& options); 37 const Options& options);
|
D | aidl.cpp | 211 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file() 269 string generate_outputFileName(const Options& options, const AidlDefinedType& defined_type) { in generate_outputFileName() 288 if (options.TargetLanguage() == Options::Language::JAVA) { in generate_outputFileName() 471 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options, in load_and_validate_aidl() 577 const bool is_check_api = options.GetTask() == Options::Task::CHECK_API; in load_and_validate_aidl() 714 int compile_aidl(const Options& options, const IoDelegate& io_delegate) { in compile_aidl() 715 const Options::Language lang = options.TargetLanguage(); in compile_aidl() 729 } else if (lang == Options::Language::JAVA) { in compile_aidl() 764 if (lang == Options::Language::CPP) { in compile_aidl() 767 } else if (lang == Options::Language::NDK) { in compile_aidl() [all …]
|
D | generate_ndk.cpp | 38 void GenerateNdkInterface(const string& output_file, const Options& options, in GenerateNdkInterface() 63 void GenerateNdkParcel(const string& output_file, const Options& options, in GenerateNdkParcel() 96 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, in GenerateNdk() 220 const Options& options) { in GenerateSource() 240 const Options& options) { in GenerateClientMethodDefinition() 342 const AidlMethod& method, const Options& options) { in GenerateServerCaseDefinition() 407 const AidlInterface& defined_type, const Options& options) { in GenerateClassSource() 443 const AidlInterface& defined_type, const Options& options) { in GenerateClientSource() 463 const AidlInterface& defined_type, const Options& options) { in GenerateServerSource() 496 const AidlInterface& defined_type, const Options& options) { in GenerateInterfaceSource() [all …]
|
/system/testing/gtest_extras/ |
D | Options.cpp | 43 const std::unordered_map<std::string, Options::ArgInfo> Options::kArgs = { 44 {"deadline_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 45 {"slow_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 46 {"gtest_format", {FLAG_NONE, &Options::SetBool}}, 47 {"no_gtest_format", {FLAG_NONE, &Options::SetBool}}, 48 {"gtest_list_tests", {FLAG_NONE, &Options::SetBool}}, 49 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 52 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetIterations}, 54 {"gtest_output", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetXmlFile}}, 55 {"gtest_print_time", {FLAG_ENVIRONMENT_VARIABLE | FLAG_OPTIONAL_VALUE, &Options::SetPrintTime}}, [all …]
|
D | Options.h | 30 class Options { 32 Options() = default; 33 ~Options() = default; 75 bool (Options::*func)(const std::string&, const std::string&, bool); member
|
D | Isolate.h | 40 Isolate(const Options& options, const std::vector<const 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() 184 Options options = Options::From(args); in TEST_F() 211 Options options = Options::From(args); in TEST_F() 237 Options options = Options::From(args); in TEST_F() 260 Options options = Options::From(args); in TEST_F() 279 Options options = Options::From(args); in TEST_F() 298 Options options = Options::From(args); in TEST_F() [all …]
|
/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 37 Options options; in TEST() 48 Options options; in TEST() 59 Options options; in TEST() 69 Options options; in TEST() 90 Options options; in TEST() 100 Options options; in TEST() 110 Options options; in TEST() 119 Options options; in TEST() 129 Options options; in TEST() 139 Options options; in TEST() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | Main.java | 33 import org.apache.commons.cli.Options; 41 Options options = new Options(); in main() 114 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/tools/hidl/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libfmq/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libvintf/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/hardware/interfaces/ |
D | PREUPLOAD.cfg | 1 [Options]
|