/system/tools/aidl/ |
D | options.cpp | 44 string Options::GetUsage() const { in GetUsage() 65 if (language_ == Options::Language::JAVA) { in GetUsage() 69 } else if (language_ == Options::Language::CPP) { in GetUsage() 73 } else if (language_ == Options::Language::RUST) { in GetUsage() 158 string to_string(Options::Language language) { in to_string() 160 case Options::Language::CPP: in to_string() 162 case Options::Language::JAVA: in to_string() 164 case Options::Language::NDK: in to_string() 166 case Options::Language::RUST: in to_string() 168 case Options::Language::UNSPECIFIED: in to_string() [all …]
|
D | aidl_unittest.cpp | 85 class AidlTest : public ::testing::TestWithParam<Options::Language> { 88 Options::Language lang, AidlError* error = nullptr, in Parse() 104 Options options = Options::From(args); 124 Options::Language GetLanguage() { return GetParam(); } in GetLanguage() 135 testing::Values(Options::Language::CPP, Options::Language::JAVA, 136 Options::Language::NDK, Options::Language::RUST), 137 [](const testing::TestParamInfo<Options::Language>& info) { in __anon6124370d0202() 426 Options java_options = Options::From("aidl -o out --structured a/Foo.aidl"); in TEST_F() 427 Options cpp_options = Options::From("aidl --lang=cpp -o out -h out/include a/Foo.aidl"); in TEST_F() 428 Options cpp_structured_options = 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 AidlEnumDeclaration& enum_decl, const Options& options);
|
D | main.cpp | 24 using android::aidl::Options; 27 constexpr Options::Language kDefaultLang = Options::Language::CPP; 29 constexpr Options::Language kDefaultLang = Options::Language::JAVA; 33 Options options(argc, argv, kDefaultLang); in main()
|
D | options_unittest.cpp | 100 unique_ptr<Options> GetOptions(const char* command[], in GetOptions() 101 Options::Language default_lang = Options::Language::JAVA) { in GetOptions() 105 unique_ptr<Options> ret(new Options(argc, command, default_lang)); in GetOptions() 121 unique_ptr<Options> options = GetOptions(kPreprocessCommand); in TEST() 122 EXPECT_EQ(Options::Task::PREPROCESS, options->GetTask()); in TEST() 135 unique_ptr<Options> options = GetOptions(kCompileJavaCommand); in TEST() 136 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST() 137 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST() 148 unique_ptr<Options> options = GetOptions(kCompileJavaCommandNinja); in TEST() 149 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST() [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);
|
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_mappings(const Options& options, const IoDelegate& io_delegate); 53 int aidl_entry(const Options& options, const IoDelegate& io_delegate); 81 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options,
|
D | aidl.cpp | 156 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file() 181 options.TargetLanguage() == Options::Language::JAVA) { in write_dep_file() 222 string GetOutputFilePath(const Options& options, const AidlDefinedType& defined_type) { in GetOutputFilePath() 239 if (options.TargetLanguage() == Options::Language::JAVA) { in GetOutputFilePath() 243 } else if (options.TargetLanguage() == Options::Language::RUST) { in GetOutputFilePath() 464 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() 578 const bool is_dump_api = options.GetTask() == Options::Task::DUMP_API; in load_and_validate_aidl() 662 if (options.GetStability() != Options::Stability::VINTF) { in load_and_validate_aidl() 733 if (options.GetStability() == Options::Stability::VINTF && !type.IsVintfStability()) { in load_and_validate_aidl() [all …]
|
D | options.h | 76 class Options final { 87 Options(int argc, const char* const argv[], Language default_lang = Language::UNSPECIFIED); 89 static Options From(const string& cmdline); 91 static Options From(const vector<string>& args); 167 Options() = default; 196 std::string to_string(Options::Language language);
|
D | generate_java.h | 32 const Options& options); 35 const AidlInterface* iface, const AidlTypenames& typenames, const Options& options);
|
D | diagnostics_unittest.cpp | 30 using android::aidl::Options; 45 const Options options = in ParseFiles() 46 Options::From("aidl " + optional_args + " -I . --lang java -o out -Weverything " + main); in ParseFiles()
|
D | generate_ndk.cpp | 42 const AidlStructuredParcelable& defined_type, const Options& options); 44 const AidlStructuredParcelable& defined_type, const Options& options); 46 const AidlUnionDecl& defined_type, const Options& options); 48 const AidlUnionDecl& defined_type, const Options& options); 53 void GenerateNdkInterface(const string& output_file, const Options& options, in GenerateNdkInterface() 79 void GenerateNdkParcel(const string& output_file, const Options& options, in GenerateNdkParcel() 117 void GenerateNdkEnumDeclaration(const string& output_file, const Options& options, in GenerateNdkEnumDeclaration() 144 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, in GenerateNdk() 347 const Options& options) { in GenerateSource() 369 const Options& options) { in GenerateClientMethodDefinition() [all …]
|
/system/testing/gtest_extras/ |
D | Options.cpp | 47 const std::unordered_map<std::string, Options::ArgInfo> Options::kArgs = { 48 {"deadline_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 49 {"slow_threshold_ms", {FLAG_REQUIRES_VALUE, &Options::SetNumeric}}, 50 {"gtest_list_tests", {FLAG_NONE, &Options::SetBool}}, 51 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 52 {"gtest_flagfile", {FLAG_REQUIRES_VALUE, &Options::SetString}}, 55 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetIterations}, 57 {"gtest_output", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetXmlFile}}, 58 {"gtest_print_time", {FLAG_ENVIRONMENT_VARIABLE | FLAG_OPTIONAL_VALUE, &Options::SetPrintTime}}, 61 {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/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/bt/ |
D | PREUPLOAD.cfg | 1 [Options] 8 [Builtin Hooks Options]
|
/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/bt/include/ |
D | abstract_message_loop.h | 63 inline void set_message_loop_type_IO(base::Thread::Options& options) { in set_message_loop_type_IO() 79 inline void set_message_loop_type_IO(base::Thread::Options& options) {
|
/system/vold/ |
D | secdiscard.cpp | 38 struct Options { struct 45 bool read_command_line(int argc, const char* const argv[], Options& options); 76 Options options; in main() 145 bool read_command_line(int argc, const char* const argv[], Options& options) { in read_command_line()
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | Main.java | 35 import org.apache.commons.cli.Options; 43 Options options = new Options(); in main() 174 private static void help(Options options) { in help()
|
/system/hardware/interfaces/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/nfc/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libvintf/ |
D | PREUPLOAD.cfg | 1 [Options]
|
/system/libhidl/ |
D | PREUPLOAD.cfg | 1 [Options]
|