/system/tools/aidl/ |
D | generate_ndk.h | 29 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 …]
|
D | aidl_typenames.cpp | 84 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()
|
D | aidl_to_ndk.h | 39 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,
|
D | aidl_typenames.h | 50 class AidlTypenames final { 52 AidlTypenames() = default;
|
D | generate_ndk.cpp | 39 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 …]
|
D | aidl_language.h | 18 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 …]
|
D | aidl_to_ndk.cpp | 238 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()
|
D | aidl_to_cpp.h | 31 const AidlTypenames& types;
|
D | generate_java.h | 40 AidlTypenames& typenames);
|
D | aidl_to_java.cpp | 72 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()
|
D | aidl_language.cpp | 186 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()
|
D | aidl_to_java.h | 59 const AidlTypenames& typenames;
|
D | aidl.h | 64 TypeNamespace* types, AidlTypenames& typenames);
|
D | aidl.cpp | 407 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()
|
D | generate_java.cpp | 54 AidlTypenames& typenames, const IoDelegate& io_delegate) { in generate_java_parcel() 97 AidlTypenames& typenames) { in generate_parcel_class()
|
D | aidl_to_cpp_common.cpp | 168 if (AidlTypenames::IsBuiltinTypename(aidl_name)) { in GetTypeInfo()
|
D | type_namespace.h | 120 AidlTypenames typenames_;
|
D | generate_java_binder.cpp | 372 const AidlTypenames& typenames) { in generate_write_to_parcel()
|