Searched refs:q_name (Results 1 – 4 of 4) sorted by relevance
/system/tools/aidl/ |
D | generate_ndk.cpp | 476 const std::string q_name = GetQualifiedName(defined_type, ClassNames::CLIENT); in GenerateClientMethodDefinition() local 479 out << NdkMethodDecl(types, method, q_name) << " {\n"; in GenerateClientMethodDefinition() 507 out << cpp::GenLogBeforeExecute(q_name, method, false /* isServer */, true /* isNdk */); in GenerateClientMethodDefinition() 597 out << cpp::GenLogAfterExecute(q_name, defined_type, method, "_aidl_status", "_aidl_return", in GenerateClientMethodDefinition() 609 const string q_name = GetQualifiedName(defined_type, ClassNames::SERVER); in GenerateServerCaseDefinition() local 646 out << cpp::GenLogBeforeExecute(q_name, method, true /* isServer */, true /* isNdk */); in GenerateServerCaseDefinition() 652 out << cpp::GenLogAfterExecute(q_name, defined_type, method, "_aidl_status", "_aidl_return", in GenerateServerCaseDefinition() 698 const std::string q_name = GetQualifiedName(defined_type, ClassNames::SERVER); in GenerateClassSource() local 718 out << "std::shared_ptr<" << q_name << "> _aidl_impl = std::static_pointer_cast<" << q_name in GenerateClassSource() 745 const std::string q_name = GetQualifiedName(defined_type, ClassNames::CLIENT); in GenerateClientSource() local [all …]
|
D | generate_cpp.cpp | 380 const string q_name = GetQualifiedName(interface, ClassNames::CLIENT); in GenerateClientSource() local 387 out << q_name << "::" << bp_name << "(const ::android::sp<::android::IBinder>& _aidl_impl)\n"; in GenerateClientSource() 393 out << "std::function<void(const " + q_name + "::TransactionLog&)> " << q_name in GenerateClientSource() 415 const string& q_name) { in GenerateConstantDefinitions() argument 422 out << "const " << cpp_type << "& " << q_name << "::" << constant->GetName() << "() {\n"; in GenerateConstantDefinitions() 575 const string q_name = GetQualifiedName(interface, ClassNames::SERVER); in GenerateServerOnTransact() local 587 kAndroidStatusLiteral, q_name.c_str(), kCodeVarName, kAndroidParcelLiteral, in GenerateServerOnTransact() 658 const string q_name = GetQualifiedName(interface, ClassNames::SERVER); in GenerateServerSource() local 664 out.Write("%s::%s()\n", q_name.c_str(), bn_name.c_str()); in GenerateServerSource() 679 out << "int32_t " << q_name << "::" << kGetInterfaceVersion << "() {\n" in GenerateServerSource() [all …]
|
D | generate_cpp_analyzer.cpp | 131 string q_name = GetQualifiedName(*interface, ClassNames::INTERFACE); in GenerateAnalyzerSource() local 151 q_name.c_str(), kDataVarName, kReplyVarName); in GenerateAnalyzerSource() 181 canonicalName.c_str(), interfaceName.c_str(), q_name.c_str()); in GenerateAnalyzerSource()
|
D | aidl_to_cpp_common.cpp | 236 string q_name = ClassName(type, class_names); in GetQualifiedName() local 238 q_name = parent->GetName() + "::" + q_name; in GetQualifiedName() 240 return q_name; in GetQualifiedName() 301 const auto q_name = GetQualifiedName(enum_decl); in GenerateEnumToString() local 308 code << "[[nodiscard]] static inline std::string toString(" + q_name + " val) {\n"; in GenerateEnumToString() 319 code << " case " << q_name << "::" << enumerator->GetName() << ":\n"; in GenerateEnumToString()
|