Home
last modified time | relevance | path

Searched refs:AidlDefinedType (Results 1 – 25 of 27) sorted by relevance

12

/system/tools/aidl/
Daidl_typenames.h33 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_;
Daidl_to_cpp_common.h40 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);
Daidl_typenames.cpp84 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()
Dtype_namespace.h92 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()
Dtype_namespace.cpp92 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()
Daidl_language.h461 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 …]
Daidl_to_ndk.h31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name,
35 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
Daidl_apicheck.cpp186 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()
Dgenerate_aidl_mappings.h29 SignatureMap generate_mappings(const AidlDefinedType* iface);
Daidl_to_cpp_common.cpp27 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()
Daidl.cpp94 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()
Dgenerate_java.h31 bool generate_java(const std::string& filename, const AidlDefinedType* iface,
Dgenerate_aidl_mappings.cpp30 SignatureMap generate_mappings(const AidlDefinedType* defined_type) { in generate_mappings()
Daidl_to_java.cpp125 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()
Daidl.h60 vector<AidlDefinedType*>* defined_types,
Dgenerate_cpp.h34 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
Dgenerate_ndk.h30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
Daidl_to_ndk.cpp31 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()
Dgenerate_ndk.cpp97 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()
Dtype_cpp.h103 const AidlDefinedType& context) const override;
Daidl_language.cpp608 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()
Daidl_language_y.yy65 AidlDefinedType* declaration;
160 ps->AddDefinedType(unique_ptr<AidlDefinedType>($1));
163 ps->AddDefinedType(unique_ptr<AidlDefinedType>($2));
Dtype_cpp.cpp147 static string GetCppHeader(const AidlDefinedType& defined_type) { in GetCppHeader()
521 const AidlDefinedType& context) const { in GetArgType()
Dgenerate_cpp_unittest.cpp1381 vector<AidlDefinedType*> defined_types; in ParseSingleInterface()
Dgenerate_java.cpp74 bool generate_java(const std::string& filename, const AidlDefinedType* defined_type, in generate_java()

12