/system/tools/aidl/ |
D | aidl_typenames.h | 33 class AidlDefinedType; variable 59 bool AddPreprocessedType(unique_ptr<AidlDefinedType> type); 62 const AidlDefinedType* TryGetDefinedType(const string& type_name) const; 63 std::vector<AidlDefinedType*> AllDefinedTypes() const; 81 void IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const; 85 DefinedImplResult(const AidlDefinedType* type, const bool from_preprocessed) in DefinedImplResult() 87 const AidlDefinedType* type; 91 map<string, const AidlDefinedType*> defined_types_; 92 map<string, unique_ptr<AidlDefinedType>> preprocessed_types_;
|
D | aidl_typenames.cpp | 86 static bool HasValidNameComponents(const AidlDefinedType& defined) { in HasValidNameComponents() 139 bool AidlTypenames::AddPreprocessedType(unique_ptr<AidlDefinedType> type) { in AddPreprocessedType() 160 const AidlDefinedType* AidlTypenames::TryGetDefinedType(const string& type_name) const { in TryGetDefinedType() 194 std::vector<AidlDefinedType*> AidlTypenames::AllDefinedTypes() const { in AllDefinedTypes() 195 std::vector<AidlDefinedType*> res; in AllDefinedTypes() 212 const AidlDefinedType* defined_type = TryGetDefinedType(type_name); in ResolveTypename() 236 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeImmutable() 252 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeOutParameter() 276 void AidlTypenames::IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const { in IterateTypes()
|
D | aidl_to_cpp_common.h | 41 string ClassName(const AidlDefinedType& defined_type, ClassNames type); 46 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, 49 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type); 50 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type);
|
D | aidl_language.h | 636 class AidlDefinedType; variable 646 class AidlDefinedType : public AidlAnnotatable { 648 AidlDefinedType(const AidlLocation& location, const std::string& name, 650 virtual ~AidlDefinedType() = default; 653 AidlDefinedType(const AidlDefinedType&) = delete; 654 AidlDefinedType(AidlDefinedType&&) = delete; 655 AidlDefinedType& operator=(const AidlDefinedType&) = delete; 656 AidlDefinedType& operator=(AidlDefinedType&&) = delete; 681 const_cast<const AidlDefinedType*>(this)->AsStructuredParcelable()); in AsStructuredParcelable() 684 return const_cast<AidlParcelable*>(const_cast<const AidlDefinedType*>(this)->AsParcelable()); in AsParcelable() [all …]
|
D | aidl_to_ndk.h | 31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, 37 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
|
D | generate_aidl_mappings.h | 29 SignatureMap generate_mappings(const AidlDefinedType* iface, const AidlTypenames& typenames);
|
D | aidl_to_cpp_common.cpp | 31 string ClassName(const AidlDefinedType& defined_type, ClassNames type) { in ClassName() 55 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile() 72 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNamespace() 78 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNamespace()
|
D | generate_java.h | 30 bool generate_java(const std::string& filename, const AidlDefinedType* iface,
|
D | generate_aidl_mappings.cpp | 30 SignatureMap generate_mappings(const AidlDefinedType* defined_type, in generate_mappings()
|
D | aidl_language.cpp | 710 AidlDefinedType::AidlDefinedType(const AidlLocation& location, const std::string& name, in AidlDefinedType() function in AidlDefinedType 719 bool AidlDefinedType::CheckValid(const AidlTypenames& typenames) const { in CheckValid() 727 bool AidlDefinedType::IsHidden() const { in IsHidden() 731 std::string AidlDefinedType::GetCanonicalName() const { in GetCanonicalName() 738 void AidlDefinedType::DumpHeader(CodeWriter* writer) const { in DumpHeader() 748 : AidlDefinedType(location, name, comments, package), in AidlParcelable() 789 if (!AidlDefinedType::CheckValid(typenames)) { in CheckValid() 981 : AidlDefinedType(location, name, comments, package), enumerators_(std::move(*enumerators)) {} in AidlEnumDeclaration() 1016 if (!AidlDefinedType::CheckValid(typenames)) { in CheckValid() 1062 : AidlDefinedType(location, name, comments, package) { in AidlInterface() [all …]
|
D | aidl_to_cpp.h | 65 void AddHeaders(const AidlDefinedType& parcelable, std::set<std::string>& headers);
|
D | generate_cpp.h | 33 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
|
D | generate_ndk.h | 30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
|
D | aidl_to_java.cpp | 271 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in WriteToParcelFor() 378 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in WriteToParcelFor() 499 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in CreateFromParcelFor() 613 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in CreateFromParcelFor() 689 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in ReadFromParcelFor() 760 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in ReadFromParcelFor() 793 const AidlDefinedType* t = c.typenames.TryGetDefinedType(name); in ToStringFor()
|
D | aidl.cpp | 94 bool check_filename(const std::string& filename, const AidlDefinedType& defined_type) { in check_filename() 155 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file() 220 string generate_outputFileName(const Options& options, const AidlDefinedType& defined_type) { in generate_outputFileName() 534 typenames->IterateTypes([&](const AidlDefinedType& type) { in load_and_validate_aidl() 693 typenames->IterateTypes([&](const AidlDefinedType& type) { in load_and_validate_aidl() 856 static string GetApiDumpPathFor(const AidlDefinedType& defined_type, const Options& options) { in GetApiDumpPathFor()
|
D | aidl_checkapi.cpp | 327 std::vector<AidlDefinedType*> old_types = old_tns->AllDefinedTypes(); in check_api() 328 std::vector<AidlDefinedType*> new_types = new_tns->AllDefinedTypes(); in check_api() 330 map<string, AidlDefinedType*> new_map; in check_api()
|
D | generate_ndk.cpp | 126 const AidlDefinedType& defined_type, const IoDelegate& io_delegate) { in GenerateNdk() 154 void EnterNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNdkNamespace() 158 void LeaveNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNdkNamespace() 174 const AidlDefinedType& defined_type) { in GenerateHeaderIncludes() 185 const AidlDefinedType* type = types.TryGetDefinedType(typespec.GetName()); in GenerateHeaderIncludes() 238 const AidlDefinedType& /*defined_type*/) { in GenerateSourceIncludes() argument 241 types.IterateTypes([&](const AidlDefinedType& a_defined_type) { in GenerateSourceIncludes()
|
D | aidl_to_ndk.cpp | 31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, in NdkHeaderFile() 350 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetTypeAspect() 385 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name) { in NdkFullClassName()
|
D | aidl_language_y.yy | 94 AidlDefinedType* declaration; 99 std::vector<std::unique_ptr<AidlDefinedType>>* declarations; 247 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>();
|
D | aidl_to_cpp.cpp | 322 void AddHeaders(const AidlDefinedType& definedType, std::set<std::string>& headers) { in AddHeaders()
|
D | generate_java.cpp | 75 bool generate_java(const std::string& filename, const AidlDefinedType* defined_type, in generate_java()
|
D | generate_cpp.cpp | 232 string BuildHeaderGuard(const AidlDefinedType& defined_type, ClassNames header_type) { in BuildHeaderGuard() 1417 const AidlDefinedType& defined_type, const IoDelegate& io_delegate) { in GenerateCpp()
|
D | aidl_unittest.cpp | 155 AidlDefinedType* Parse(const string& path, const string& contents, AidlTypenames& typenames_, in Parse() 518 const AidlDefinedType* defined = Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage()); in TEST_P()
|