Home
last modified time | relevance | path

Searched refs:Language (Results 1 – 20 of 20) sorted by relevance

/system/tools/aidl/
Doptions.h62 enum class Language { UNSPECIFIED, JAVA, CPP, NDK }; enum
69 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;
Daidl_unittest.cpp168 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 …]
Doptions.cpp59 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 …]
Dmain.cpp26 constexpr Options::Language kDefaultLang = Options::Language::CPP;
28 constexpr Options::Language kDefaultLang = Options::Language::JAVA;
Doptions_unittest.cpp94 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()
Daidl_language.cpp303 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 …]
Daidl.cpp178 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()
Daidl_language.h245 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() argument
828 bool LanguageSpecificCheckValid(Options::Language lang) const override;
/system/tools/hidl/build/
Dhidl_interface.go136 if t.properties.Language == "inheritance-hierarchy" {
174 if t.properties.Language == "lint" {
203 Language string member
239 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 …]
/system/chre/
D.clang-format30 Language: Java
/system/libsysprop/srcs/android/sysprop/
DHdmiProperties.sysprop28 # Set this to true to enable 'Set Menu Language' CEC feature.
/system/tools/hidl/
DREADME.md6 hidl-gen is a compiler for the HIDL (HAL Interface Design Language) which generates
/system/bt/doc/
Dstyle_guide.md55 ## Language section in Fluoride Style Guide
/system/chre/doc/
Dnanoapp_developer_guide.md40 ### Picking a Language
/system/core/init/
DREADME.md1 Android Init Language
4 The Android Init Language consists of five broad classes of statements:
/system/media/audio_utils/
DDoxyfile.bak2114 # Language.
DDoxyfile.orig2114 # Language.
DDoxyfile2227 # Language.
/system/chre/chre_api/doc/
DDoxyfile2198 # Language.
/system/chre/pal/doc/
DDoxyfile2198 # Language.