Searched refs:Language (Results 1 – 20 of 20) sorted by relevance
62 enum class Language { UNSPECIFIED, JAVA, CPP, NDK }; enum69 Options(int argc, const char* const argv[], Language default_lang = Language::UNSPECIFIED);82 Language TargetLanguage() const { return language_; } in TargetLanguage()83 bool IsCppOutput() const { return language_ == Language::CPP || language_ == Language::NDK; } in IsCppOutput()148 Language language_ = Language::UNSPECIFIED;
168 Options::Language lang, AidlError* error = nullptr, in Parse()172 if (lang == Options::Language::CPP) {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()247 EXPECT_NE(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, Options::Language::JAVA)); in TEST_F()[all …]
59 if (language_ == Options::Language::JAVA) { in GetUsage()63 } else if (language_ == Options::Language::CPP) { in GetUsage()152 Options::Language lang = Options::Language::JAVA; in From()155 lang = Options::Language::CPP; in From()166 Options::Options(int argc, const char* const argv[], Options::Language default_lang) in Options()205 if (language_ == Options::Language::CPP) { in Options()214 language_ = Options::Language::JAVA; in Options()217 language_ = Options::Language::CPP; in Options()220 language_ = Options::Language::NDK; in Options()341 if (language_ == Options::Language::JAVA) { in Options()[all …]
26 constexpr Options::Language kDefaultLang = Options::Language::CPP;28 constexpr Options::Language kDefaultLang = Options::Language::JAVA;
94 Options::Language default_lang = Options::Language::JAVA) { in GetOptions()130 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()146 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()160 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()171 unique_ptr<Options> options = GetOptions(kCompileCppCommand, Options::Language::CPP); in TEST()191 options = GetOptions(argv, Options::Language::CPP); in TEST()203 unique_ptr<Options> options = GetOptions(kCompileCppCommandNinja, Options::Language::CPP); in TEST()226 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()276 EXPECT_EQ(Options::Language::CPP, options->TargetLanguage()); in TEST()
303 bool AidlAnnotatable::IsStableApiParcelable(Options::Language lang) const { in IsStableApiParcelable()304 return HasAnnotation(annotations_, kJavaStableParcelable) && lang == Options::Language::JAVA; in IsStableApiParcelable()789 bool AidlTypeSpecifier::LanguageSpecificCheckValid(Options::Language lang) const { in LanguageSpecificCheckValid()790 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()796 if (this->GetName() == "FileDescriptor" && lang == Options::Language::NDK) { in LanguageSpecificCheckValid()806 if (lang == Options::Language::CPP) { in LanguageSpecificCheckValid()812 } else if (lang == Options::Language::JAVA) { in LanguageSpecificCheckValid()825 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()830 if (lang == Options::Language::JAVA) { in LanguageSpecificCheckValid()845 bool AidlParcelable::LanguageSpecificCheckValid(Options::Language lang) const { in LanguageSpecificCheckValid()[all …]
178 options.TargetLanguage() == Options::Language::JAVA) { in write_dep_file()237 if (options.TargetLanguage() == Options::Language::JAVA) { in generate_outputFileName()722 const Options::Language lang = options.TargetLanguage(); in compile_aidl()754 if (lang == Options::Language::CPP) { in compile_aidl()757 } else if (lang == Options::Language::NDK) { in compile_aidl()760 } else if (lang == Options::Language::JAVA) { in compile_aidl()
245 bool IsStableApiParcelable(Options::Language lang) const;313 bool LanguageSpecificCheckValid(Options::Language lang) const;663 virtual bool LanguageSpecificCheckValid(Options::Language lang) const = 0;717 bool LanguageSpecificCheckValid(Options::Language lang) const override;748 bool LanguageSpecificCheckValid(Options::Language lang) const override;794 bool LanguageSpecificCheckValid(Options::Language) const override { return true; } in LanguageSpecificCheckValid() argument828 bool LanguageSpecificCheckValid(Options::Language lang) const override;
136 if t.properties.Language == "inheritance-hierarchy" {174 if t.properties.Language == "lint" {203 Language string member239 switch g.properties.Language {252 if g.properties.Language == "vts" && isVtsSpecPackage(ctx.ModuleName()) {284 if g.properties.Language == "java" {288 if g.properties.Language == "lint" {303 if g.properties.Language == "inheritance-hierarchy" {328 "language": g.properties.Language,615 Language: "c++-sources",[all …]
30 Language: Java
28 # Set this to true to enable 'Set Menu Language' CEC feature.
6 hidl-gen is a compiler for the HIDL (HAL Interface Design Language) which generates
55 ## Language section in Fluoride Style Guide
40 ### Picking a Language
1 Android Init Language4 The Android Init Language consists of five broad classes of statements:
2114 # Language.
2227 # Language.
2198 # Language.