Home
last modified time | relevance | path

Searched refs:ClassNames (Results 1 – 11 of 11) sorted by relevance

/system/tools/aidl/
Dgenerate_ndk.cpp97 using cpp::ClassNames;
111 gen(options.OutputHeaderDir() + NdkHeaderFile(defined_type, ClassNames::RAW), &GenerateHeader); in GenerateNdk()
112 gen(options.OutputHeaderDir() + NdkHeaderFile(defined_type, ClassNames::CLIENT), in GenerateNdk()
114 gen(options.OutputHeaderDir() + NdkHeaderFile(defined_type, ClassNames::SERVER), in GenerateNdk()
280 includes.insert(NdkHeaderFile(*defined, ClassNames::RAW, false /*use_os_sep*/)); in GenerateHeaderIncludes()
374 const string self_header = NdkHeaderFile(defined_type, ClassNames::RAW, false /*use_os_sep*/); in GenerateSourceIncludes()
382 includes.insert(NdkHeaderFile(a_defined_type, ClassNames::CLIENT, false /*use_os_sep*/)); in GenerateSourceIncludes()
383 includes.insert(NdkHeaderFile(a_defined_type, ClassNames::SERVER, false /*use_os_sep*/)); in GenerateSourceIncludes()
384 includes.insert(NdkHeaderFile(a_defined_type, ClassNames::RAW, false /*use_os_sep*/)); in GenerateSourceIncludes()
476 const std::string q_name = GetQualifiedName(defined_type, ClassNames::CLIENT); in GenerateClientMethodDefinition()
[all …]
Dgenerate_cpp.cpp170 const string i_name = ClassName(interface, ClassNames::INTERFACE); in GenerateClientTransaction()
171 const string bp_name = GetQualifiedName(interface, ClassNames::CLIENT); in GenerateClientTransaction()
172 const string bn_name = GetQualifiedName(interface, ClassNames::SERVER); in GenerateClientTransaction()
313 const string bp_name = GetQualifiedName(interface, ClassNames::CLIENT); in GenerateClientMetaTransaction()
314 const string bn_name = GetQualifiedName(interface, ClassNames::SERVER); in GenerateClientMetaTransaction()
366 HeaderFile(interface, ClassNames::CLIENT, false), in GenerateClientSource()
367 HeaderFile(interface, ClassNames::SERVER, false), // for TRANSACTION_* consts in GenerateClientSource()
378 const string i_name = ClassName(interface, ClassNames::INTERFACE); in GenerateClientSource()
379 const string bp_name = ClassName(interface, ClassNames::CLIENT); in GenerateClientSource()
380 const string q_name = GetQualifiedName(interface, ClassNames::CLIENT); in GenerateClientSource()
[all …]
Daidl_to_cpp_common.h35 enum class ClassNames { enum
45 string ClassName(const AidlDefinedType& defined_type, ClassNames type);
56 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type,
87 std::string GetQualifiedName(const AidlDefinedType& type, ClassNames name = ClassNames::RAW);
Daidl_to_ndk.cpp33 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, in NdkHeaderFile()
37 AIDL_FATAL_IF(name != cpp::ClassNames::RAW, "unstructured parcelable should only use raw name"); in NdkHeaderFile()
91 const std::string clazz = NdkFullClassName(*intf, cpp::ClassNames::INTERFACE); in GetBaseTypeInfo()
94 std::string clazz = NdkFullClassName(*parcelable, cpp::ClassNames::RAW); in GetBaseTypeInfo()
106 const std::string clazz = NdkFullClassName(*enum_decl, cpp::ClassNames::RAW); in GetBaseTypeInfo()
194 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name) { in NdkFullClassName()
Daidl_to_cpp_common.cpp58 string ClassName(const AidlDefinedType& defined_type, ClassNames type) { in ClassName()
65 case ClassNames::CLIENT: in ClassName()
67 case ClassNames::SERVER: in ClassName()
69 case ClassNames::INTERFACE: in ClassName()
71 case ClassNames::DEFAULT_IMPL: in ClassName()
73 case ClassNames::BASE: in ClassName()
75 case ClassNames::DELEGATOR_IMPL: in ClassName()
77 case ClassNames::RAW: in ClassName()
84 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile()
90 class_type = ClassNames::RAW; in HeaderFile()
[all …]
Daidl_to_ndk.h31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name,
39 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
Dgenerate_cpp_analyzer.cpp131 string q_name = GetQualifiedName(*interface, ClassNames::INTERFACE); in GenerateAnalyzerSource()
139 HeaderFile(*interface, ClassNames::RAW, false), in GenerateAnalyzerSource()
Daidl.cpp205 using ::android::aidl::cpp::ClassNames; in write_dep_file()
208 for (ClassNames c : {ClassNames::CLIENT, ClassNames::SERVER, ClassNames::RAW}) { in write_dep_file()
Dgenerate_rust.cpp74 return ClassName(type, cpp::ClassNames::INTERFACE); in Typename()
487 auto trait_name = ClassName(*iface, cpp::ClassNames::INTERFACE); in GenerateServerItems()
488 auto server_name = ClassName(*iface, cpp::ClassNames::SERVER); in GenerateServerItems()
571 auto trait_name = ClassName(*iface, cpp::ClassNames::INTERFACE); in GenerateRustInterface()
574 auto client_name = ClassName(*iface, cpp::ClassNames::CLIENT); in GenerateRustInterface()
575 auto server_name = ClassName(*iface, cpp::ClassNames::SERVER); in GenerateRustInterface()
634 auto default_trait_name = ClassName(*iface, cpp::ClassNames::DEFAULT_IMPL); in GenerateRustInterface()
Daidl_to_cpp.cpp354 return HeaderFile(defined_type, ClassNames::RAW, /*use_os_sep=*/false); in CppHeaderForType()
Daidl_unittest.cpp1811 EXPECT_EQ(cpp::HeaderFile(*resolved.defined_type, cpp::ClassNames::CLIENT), "p/Outer.h"); in TEST_F()