Home
last modified time | relevance | path

Searched refs:AidlTypenames (Results 1 – 18 of 18) sorted by relevance

/system/tools/aidl/
Dgenerate_ndk.h29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types,
33 void GenerateSource(CodeWriter& out, const AidlTypenames& types, const AidlInterface& defined_type,
35 void GenerateClassSource(CodeWriter& out, const AidlTypenames& types,
37 void GenerateClientSource(CodeWriter& out, const AidlTypenames& types,
39 void GenerateServerSource(CodeWriter& out, const AidlTypenames& types,
41 void GenerateInterfaceSource(CodeWriter& out, const AidlTypenames& types,
43 void GenerateClientHeader(CodeWriter& out, const AidlTypenames& types,
45 void GenerateServerHeader(CodeWriter& out, const AidlTypenames& types,
47 void GenerateInterfaceHeader(CodeWriter& out, const AidlTypenames& types,
50 void GenerateParcelHeader(CodeWriter& out, const AidlTypenames& types,
[all …]
Daidl_typenames.cpp84 bool AidlTypenames::AddDefinedType(unique_ptr<AidlDefinedType> type) { in AddDefinedType()
96 bool AidlTypenames::AddPreprocessedType(unique_ptr<AidlDefinedType> type) { in AddPreprocessedType()
108 bool AidlTypenames::IsBuiltinTypename(const string& type_name) { in IsBuiltinTypename()
113 bool AidlTypenames::IsPrimitiveTypename(const string& type_name) { in IsPrimitiveTypename()
117 const AidlDefinedType* AidlTypenames::TryGetDefinedType(const string& type_name) const { in TryGetDefinedType()
146 pair<string, bool> AidlTypenames::ResolveTypename(const string& type_name) const { in ResolveTypename()
163 bool AidlTypenames::CanBeOutParameter(const AidlTypeSpecifier& type) const { in CanBeOutParameter()
174 void AidlTypenames::IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const { in IterateTypes()
183 void AidlTypenames::Reset() { in Reset()
Daidl_to_ndk.h39 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode);
44 const AidlTypenames& types;
56 const AidlTypenames& types, const AidlMethod& method,
82 std::string NdkMethodDecl(const AidlTypenames& types, const AidlMethod& method,
Daidl_typenames.h50 class AidlTypenames final {
52 AidlTypenames() = default;
Dgenerate_ndk.cpp39 const AidlTypenames& types, const AidlInterface& defined_type, in GenerateNdkInterface()
64 const AidlTypenames& types, const AidlStructuredParcelable& defined_type, in GenerateNdkParcel()
96 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, in GenerateNdk()
139 static void GenerateHeaderIncludes(CodeWriter& out, const AidlTypenames& types, in GenerateHeaderIncludes()
159 static void GenerateSourceIncludes(CodeWriter& out, const AidlTypenames& types, in GenerateSourceIncludes()
219 void GenerateSource(CodeWriter& out, const AidlTypenames& types, const AidlInterface& defined_type, in GenerateSource()
236 static void GenerateClientMethodDefinition(CodeWriter& out, const AidlTypenames& types, in GenerateClientMethodDefinition()
340 static void GenerateServerCaseDefinition(CodeWriter& out, const AidlTypenames& types, in GenerateServerCaseDefinition()
406 void GenerateClassSource(CodeWriter& out, const AidlTypenames& types, in GenerateClassSource()
442 void GenerateClientSource(CodeWriter& out, const AidlTypenames& types, in GenerateClientSource()
[all …]
Daidl_language.h18 using android::aidl::AidlTypenames;
132 class AidlTypenames; variable
233 bool Resolve(android::aidl::AidlTypenames& typenames);
235 bool CheckValid(const AidlTypenames& typenames) const;
279 bool CheckValid(const AidlTypenames& typenames) const;
380 bool CheckValid(const AidlTypenames& typenames) const;
512 virtual bool CheckValid(const AidlTypenames&) const { return true; } in CheckValid() argument
565 bool CheckValid(const AidlTypenames& typenames) const override;
594 bool CheckValid(const AidlTypenames& typenames) const override;
621 bool CheckValid(const AidlTypenames& typenames) const override;
[all …]
Daidl_to_ndk.cpp238 static TypeInfo::Aspect GetTypeAspect(const AidlTypenames& types, const AidlTypeSpecifier& aidl) { in GetTypeAspect()
247 if (AidlTypenames::IsBuiltinTypename(aidl_name)) { in GetTypeAspect()
290 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode) { in NdkNameOf()
320 const AidlTypenames& types, const AidlMethod& method, in NdkArgList()
340 std::string NdkMethodDecl(const AidlTypenames& types, const AidlMethod& method, in NdkMethodDecl()
Daidl_to_cpp.h31 const AidlTypenames& types;
Dgenerate_java.h40 AidlTypenames& typenames);
Daidl_to_java.cpp72 CHECK(AidlTypenames::IsBuiltinTypename(aidl_name)); in JavaNameOf()
104 CHECK(AidlTypenames::IsBuiltinTypename(name)); in DefaultJavaValueOf()
113 const AidlTypenames& typenames) { in IsMarshallingUnsupportedFor()
119 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in IsMarshallingUnsupportedFor()
133 if (AidlTypenames::IsBuiltinTypename(name) && aidl.IsArray()) { in IsMarshallingUnsupportedFor()
237 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in WriteToParcelFor()
434 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in CreateFromParcelFor()
588 if (AidlTypenames::IsBuiltinTypename(contained_type)) { in ReadFromParcelFor()
Daidl_language.cpp186 bool AidlTypeSpecifier::Resolve(android::aidl::AidlTypenames& typenames) { in Resolve()
195 bool AidlTypeSpecifier::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
230 if (AidlTypenames::IsPrimitiveTypename(GetName()) && !IsArray()) { in CheckValid()
252 bool AidlVariableDeclaration::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
536 bool AidlConstantDeclaration::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
636 bool AidlParcelable::CheckValid(const AidlTypenames&) const { in CheckValid()
674 bool AidlStructuredParcelable::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
722 bool AidlInterface::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
810 AidlTypenames& typenames) { in Parse()
853 android::aidl::AidlTypenames& typenames) in Parser()
Daidl_to_java.h59 const AidlTypenames& typenames;
Daidl.h64 TypeNamespace* types, AidlTypenames& typenames);
Daidl.cpp407 TypeNamespace* types, AidlTypenames& typenames) { in parse_preprocessed_file()
439 if (AidlTypenames::IsBuiltinTypename(class_name)) { in parse_preprocessed_file()
508 if (!AidlTypenames::IsBuiltinTypename(import->GetNeededClass())) { in load_and_validate_aidl()
520 if (!AidlTypenames::IsBuiltinTypename(type->GetName())) { in load_and_validate_aidl()
611 AidlTypenames& typenames = types->typenames_; in load_and_validate_aidl()
818 AidlTypenames typenames; in preprocess_aidl()
Dgenerate_java.cpp54 AidlTypenames& typenames, const IoDelegate& io_delegate) { in generate_java_parcel()
97 AidlTypenames& typenames) { in generate_parcel_class()
Daidl_to_cpp_common.cpp168 if (AidlTypenames::IsBuiltinTypename(aidl_name)) { in GetTypeInfo()
Dtype_namespace.h120 AidlTypenames typenames_;
Dgenerate_java_binder.cpp372 const AidlTypenames& typenames) { in generate_write_to_parcel()