Home
last modified time | relevance | path

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

/system/tools/aidl/
Doptions.cpp65 if (language_ == Options::Language::JAVA) { in GetUsage()
69 } else if (language_ == Options::Language::CPP) { in GetUsage()
144 const string Options::LanguageToString(Language language) { in LanguageToString()
146 case Options::Language::CPP: in LanguageToString()
148 case Options::Language::JAVA: in LanguageToString()
150 case Options::Language::NDK: in LanguageToString()
152 case Options::Language::UNSPECIFIED: in LanguageToString()
174 Options::Language lang = Options::Language::JAVA; in From()
177 lang = Options::Language::CPP; in From()
188 Options::Options(int argc, const char* const argv[], Options::Language default_lang) in Options()
[all …]
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()
138 static const string LanguageToString(Language language);
150 Language language_ = Language::UNSPECIFIED;
Dmain.cpp27 constexpr Options::Language kDefaultLang = Options::Language::CPP;
29 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.cpp306 bool AidlAnnotatable::IsStableApiParcelable(Options::Language lang) const { in IsStableApiParcelable()
307 return lang == Options::Language::JAVA && in IsStableApiParcelable()
851 Options::Language lang) const { in LanguageSpecificCheckValid()
852 if (lang == Options::Language::NDK && IsArray() && GetName() == "IBinder") { in LanguageSpecificCheckValid()
856 if (lang == Options::Language::NDK && IsArray() && IsNullable()) { in LanguageSpecificCheckValid()
868 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()
874 if (this->GetName() == "FileDescriptor" && lang == Options::Language::NDK) { in LanguageSpecificCheckValid()
884 if (lang == Options::Language::CPP) { in LanguageSpecificCheckValid()
891 } else if (lang == Options::Language::JAVA) { in LanguageSpecificCheckValid()
906 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()
[all …]
Daidl_unittest.cpp153 class AidlTest : public ::testing::TestWithParam<Options::Language> {
156 Options::Language lang, AidlError* error = nullptr, in Parse()
192 Options::Language GetLanguage() { return GetParam(); } in GetLanguage()
203 testing::Values(Options::Language::CPP, Options::Language::JAVA,
204 Options::Language::NDK),
205 [](const testing::TestParamInfo<Options::Language>& info) { in __anon73b97b860202()
997 case Options::Language::CPP: in TEST_P()
1002 case Options::Language::JAVA: in TEST_P()
1007 case Options::Language::NDK: in TEST_P()
1036 if (GetLanguage() != Options::Language::JAVA) { in TEST_P()
[all …]
Daidl.cpp180 options.TargetLanguage() == Options::Language::JAVA) { in write_dep_file()
239 if (options.TargetLanguage() == Options::Language::JAVA) { in generate_outputFileName()
755 const Options::Language lang = options.TargetLanguage(); in compile_aidl()
786 if (lang == Options::Language::CPP) { in compile_aidl()
789 } else if (lang == Options::Language::NDK) { in compile_aidl()
792 } else if (lang == Options::Language::JAVA) { in compile_aidl()
Daidl_language.h234 bool IsStableApiParcelable(Options::Language lang) const;
306 bool LanguageSpecificCheckValid(const AidlTypenames& typenames, Options::Language lang) const;
678 Options::Language lang) const = 0;
736 Options::Language lang) const override;
773 Options::Language lang) const override;
829 Options::Language) const override { in LanguageSpecificCheckValid() argument
871 Options::Language lang) const override;
/system/tools/hidl/build/
Dhidl_interface.go140 if t.properties.Language == "inheritance-hierarchy" {
181 if t.properties.Language == "lint" {
210 Language string member
246 switch g.properties.Language {
259 if g.properties.Language == "vts" && isVtsSpecPackage(ctx.ModuleName()) {
295 if g.properties.Language == "java" {
299 if g.properties.Language == "lint" {
314 if g.properties.Language == "inheritance-hierarchy" {
339 "language": g.properties.Language,
653 Language: "c++-sources",
[all …]
/system/tools/hidl/
DREADME.md6 hidl-gen is a compiler for the HIDL (HAL Interface Design Language) which generates
/system/libsysprop/srcs/android/sysprop/
DHdmiProperties.sysprop40 # Set this to true to enable 'Set Menu Language' CEC feature.
/system/bt/gd/docs/architecture/
Darchitecture.md210 ## Packet Definition Language (PDL)
216 created a Packet Definition Language that defines networking packet structure to
/system/bt/doc/
Dstyle_guide.md55 ## Language section in Fluoride Style Guide
/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.orig2114 # Language.
DDoxyfile.bak2114 # Language.
DDoxyfile2301 # Language.
/system/chre/chre_api/doc/
DDoxyfile2198 # Language.
/system/chre/pal/doc/
DDoxyfile2198 # Language.