/system/tools/aidl/ |
D | aidl_typenames.h | 33 class AidlDefinedType; variable 54 bool AddDefinedType(unique_ptr<AidlDefinedType> type); 55 bool AddPreprocessedType(unique_ptr<AidlDefinedType> type); 58 const AidlDefinedType* TryGetDefinedType(const string& type_name) const; 63 void IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const; 66 map<string, unique_ptr<AidlDefinedType>> defined_types_; 67 map<string, unique_ptr<AidlDefinedType>> preprocessed_types_;
|
D | aidl_to_cpp_common.h | 40 string ClassName(const AidlDefinedType& defined_type, ClassNames type); 45 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, 48 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type); 49 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type);
|
D | aidl_typenames.cpp | 84 bool AidlTypenames::AddDefinedType(unique_ptr<AidlDefinedType> type) { in AddDefinedType() 96 bool AidlTypenames::AddPreprocessedType(unique_ptr<AidlDefinedType> type) { in AddPreprocessedType() 117 const AidlDefinedType* AidlTypenames::TryGetDefinedType(const string& type_name) const { in TryGetDefinedType() 154 const AidlDefinedType* defined_type = TryGetDefinedType(type_name); in ResolveTypename() 169 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeOutParameter() 174 void AidlTypenames::IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const { in IterateTypes()
|
D | type_namespace.h | 92 bool AddDefinedTypes(vector<AidlDefinedType*>& types, const string& filename); 110 const AidlDefinedType& context) const; 115 const AidlDefinedType& context) const; 118 virtual const ValidatableType* GetDefinedType(const AidlDefinedType& defined_type) const = 0; 128 const AidlDefinedType& context) const = 0; 154 const ValidatableType* GetDefinedType(const AidlDefinedType& defined_type) const override { in GetDefinedType() 183 const AidlDefinedType& context) const override; 364 const AidlDefinedType& context) const { in GetValidatableType()
|
D | type_namespace.cpp | 92 const AidlDefinedType& context) const { in GetReturnType() 103 bool TypeNamespace::AddDefinedTypes(vector<AidlDefinedType*>& types, const string& filename) { in AddDefinedTypes() 124 const AidlDefinedType& context) const { in GetArgType()
|
D | aidl_language.h | 461 class AidlDefinedType; variable 491 class AidlDefinedType : public AidlAnnotatable { 493 AidlDefinedType(const AidlLocation& location, const std::string& name, 495 virtual ~AidlDefinedType() = default; 516 const_cast<const AidlDefinedType*>(this)->AsStructuredParcelable()); in AsStructuredParcelable() 519 return const_cast<AidlParcelable*>(const_cast<const AidlDefinedType*>(this)->AsParcelable()); in AsParcelable() 522 return const_cast<AidlInterface*>(const_cast<const AidlDefinedType*>(this)->AsInterface()); in AsInterface() 531 const_cast<const AidlDefinedType*>(this)->AsUnstructuredParcelable()); in AsUnstructuredParcelable() 551 DISALLOW_COPY_AND_ASSIGN(AidlDefinedType); 554 class AidlParcelable : public AidlDefinedType { [all …]
|
D | aidl_to_ndk.h | 31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, 35 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
|
D | aidl_apicheck.cpp | 186 vector<AidlDefinedType*> old_types; in check_api() 193 vector<AidlDefinedType*> types; in check_api() 205 vector<AidlDefinedType*> new_types; in check_api() 212 vector<AidlDefinedType*> types; in check_api() 221 map<string, AidlDefinedType*> new_map; in check_api()
|
D | generate_aidl_mappings.h | 29 SignatureMap generate_mappings(const AidlDefinedType* iface);
|
D | aidl_to_cpp_common.cpp | 27 string ClassName(const AidlDefinedType& defined_type, ClassNames type) { in ClassName() 51 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile() 68 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNamespace() 74 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNamespace()
|
D | aidl.cpp | 94 bool check_filename(const std::string& filename, const AidlDefinedType& defined_type) { in check_filename() 211 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file() 269 string generate_outputFileName(const Options& options, const AidlDefinedType& defined_type) { in generate_outputFileName() 473 vector<AidlDefinedType*>* defined_types, in load_and_validate_aidl() 683 typenames.IterateTypes([&](const AidlDefinedType& type) { in load_and_validate_aidl() 736 vector<AidlDefinedType*> defined_types; in compile_aidl() 791 vector<AidlDefinedType*> defined_types; in dump_mappings() 833 static string GetApiDumpPathFor(const AidlDefinedType& defined_type, const Options& options) { in GetApiDumpPathFor() 844 vector<AidlDefinedType*> defined_types; in dump_api()
|
D | generate_java.h | 31 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_to_java.cpp | 125 const AidlDefinedType* t = typenames.TryGetDefinedType(contained_type); in IsMarshallingUnsupportedFor() 140 const AidlDefinedType* t = typenames.TryGetDefinedType(name); in IsMarshallingUnsupportedFor() 244 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in WriteToParcelFor() 317 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in WriteToParcelFor() 441 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in CreateFromParcelFor() 516 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in CreateFromParcelFor() 595 const AidlDefinedType* t = c.typenames.TryGetDefinedType(contained_type); in ReadFromParcelFor() 639 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in ReadFromParcelFor()
|
D | aidl.h | 60 vector<AidlDefinedType*>* defined_types,
|
D | generate_cpp.h | 34 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
|
D | generate_ndk.h | 30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
|
D | aidl_to_ndk.cpp | 31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, in NdkHeaderFile() 252 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetTypeAspect() 281 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name) { in NdkFullClassName()
|
D | generate_ndk.cpp | 97 const AidlDefinedType& defined_type, const IoDelegate& io_delegate) { in GenerateNdk() 120 void EnterNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNdkNamespace() 124 void LeaveNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNdkNamespace() 140 const AidlDefinedType& defined_type) { in GenerateHeaderIncludes() 143 types.IterateTypes([&](const AidlDefinedType& other_defined_type) { in GenerateHeaderIncludes() 160 const AidlDefinedType& /*defined_type*/) { in GenerateSourceIncludes() argument 161 types.IterateTypes([&](const AidlDefinedType& a_defined_type) { in GenerateSourceIncludes()
|
D | type_cpp.h | 103 const AidlDefinedType& context) const override;
|
D | aidl_language.cpp | 608 AidlDefinedType::AidlDefinedType(const AidlLocation& location, const std::string& name, in AidlDefinedType() function in AidlDefinedType 613 std::string AidlDefinedType::GetPackage() const { in GetPackage() 617 std::string AidlDefinedType::GetCanonicalName() const { in GetCanonicalName() 627 : AidlDefinedType(location, name->GetDotName(), comments, package), in AidlParcelable() 688 : AidlDefinedType(location, name, comments, package) { in AidlInterface()
|
D | aidl_language_y.yy | 65 AidlDefinedType* declaration; 160 ps->AddDefinedType(unique_ptr<AidlDefinedType>($1)); 163 ps->AddDefinedType(unique_ptr<AidlDefinedType>($2));
|
D | type_cpp.cpp | 147 static string GetCppHeader(const AidlDefinedType& defined_type) { in GetCppHeader() 521 const AidlDefinedType& context) const { in GetArgType()
|
D | generate_cpp_unittest.cpp | 1381 vector<AidlDefinedType*> defined_types; in ParseSingleInterface()
|
D | generate_java.cpp | 74 bool generate_java(const std::string& filename, const AidlDefinedType* defined_type, in generate_java()
|