Home
last modified time | relevance | path

Searched refs:Options (Results 1 – 25 of 52) sorted by relevance

123

/system/tools/aidl/
Doptions.cpp39 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 …]
Dgenerate_ndk.h29 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 …]
Dgenerate_cpp.h33 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);
Dmain.cpp26 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()
Daidl_unittest.cpp153 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 …]
Doptions_unittest.cpp93 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 …]
Daidl.h49 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,
Dmain_cpp.cpp24 using android::aidl::Options;
35 Options options(argc, argv, Options::Language::CPP); in main()
Doptions.h60 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;
Dgenerate_java.h33 const Options& options);
37 const Options& options);
Daidl.cpp211 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 …]
Dgenerate_ndk.cpp38 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/
DOptions.cpp43 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 …]
DOptions.h30 class Options {
32 Options() = default;
33 ~Options() = default;
75 bool (Options::*func)(const std::string&, const std::string&, bool); member
DIsolate.h40 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/
Dend_to_end_tests.cpp83 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/
DOptionsTest.cpp37 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/
DMain.java33 import org.apache.commons.cli.Options;
41 Options options = new Options(); in main()
114 private static void help(Options options) { in help()
/system/vold/
Dsecdiscard.cpp38 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/
Dipc_handler_dbus.cc39 base::Thread::Options thread_options; in Run()
52 Bus::Options bus_options; in InitDbus()
/system/nfc/
DPREUPLOAD.cfg1 [Options]
/system/tools/hidl/
DPREUPLOAD.cfg1 [Options]
/system/libfmq/
DPREUPLOAD.cfg1 [Options]
/system/libvintf/
DPREUPLOAD.cfg1 [Options]
/system/hardware/interfaces/
DPREUPLOAD.cfg1 [Options]

123