Lines Matching refs:GetName
115 const auto definedType = typenames.TryGetDefinedType(a->GetType().GetName()); in BuildArgList()
118 const bool isPrimitive = AidlTypenames::IsPrimitiveTypename(a->GetType().GetName()); in BuildArgList()
127 literal += " " + a->GetName(); in BuildArgList()
142 if (method.GetType().GetName() != "void") { in BuildArgList()
169 new MethodDecl{kBinderStatusLiteral, method.GetName(), in BuildMethodDecl()
176 if (method.GetName() == kGetInterfaceVersion && options.Version()) { in BuildMetaMethodDecl()
189 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in BuildMetaMethodDecl()
257 new MethodImpl{kBinderStatusLiteral, bp_name, method.GetName(), in DefineClientTransaction()
276 kTraceVarName, interface.GetName().c_str(), method.GetName().c_str())); in DefineClientTransaction()
293 const string var_name = ((a->IsOut()) ? "*" : "") + a->GetName(); in DefineClientTransaction()
336 arg_names.emplace_back(StringPrintf("std::move(%s)", a->GetName().c_str())); in DefineClientTransaction()
338 arg_names.emplace_back(a->GetName()); in DefineClientTransaction()
341 if (method.GetType().GetName() != "void") { in DefineClientTransaction()
348 i_name.c_str(), i_name.c_str(), method.GetName().c_str(), in DefineClientTransaction()
374 if (method.GetType().GetName() != "void") { in DefineClientTransaction()
392 ParcelReadCastOf(a->GetType(), typenames, a->GetName())))); in DefineClientTransaction()
422 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in DefineClientMetaTransaction()
449 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in DefineClientMetaTransaction()
540 if (method.GetType().GetName() != "void") { in HandleServerTransaction()
558 kTraceVarName, interface.GetName().c_str(), method.GetName().c_str())); in HandleServerTransaction()
593 method.GetName(), BuildArgList(typenames, method, false /* not for method decl */))); in HandleServerTransaction()
617 if (method.GetType().GetName() != "void") { in HandleServerTransaction()
647 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in HandleServerMetaTransaction()
656 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in HandleServerMetaTransaction()
810 constant->GetName(), {})); in BuildInterfaceSource()
976 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
984 int_constant_enum->AddValue(constant->GetName(), in BuildInterfaceHeader()
1035 code << "::android::binder::Status " << method->GetName() in BuildInterfaceHeader()
1041 if (method->GetName() == kGetInterfaceVersion && options.Version() > 0) { in BuildInterfaceHeader()
1048 if (method->GetName() == kGetInterfaceHash && !options.Hash().empty()) { in BuildInterfaceHeader()
1072 unique_ptr<ClassDecl> parcel_class{new ClassDecl{parcel.GetName(), "::android::Parcelable"}}; in BuildParcelHeader()
1086 variable_name.push_back(variable->GetName()); in BuildParcelHeader()
1087 rhs_variable_name.push_back("rhs." + variable->GetName()); in BuildParcelHeader()
1090 operator_code << "inline bool operator" << op << "(const " << parcel.GetName() in BuildParcelHeader()
1104 out << cppType.c_str() << " " << variable->GetName().c_str(); in BuildParcelHeader()
1136 unique_ptr<MethodImpl> read{new MethodImpl{kAndroidStatusLiteral, parcel.GetName(), in BuildParcelSource()
1155 "&" + variable->GetName())))); in BuildParcelSource()
1167 new MethodImpl{kAndroidStatusLiteral, parcel.GetName(), "writeToParcel", in BuildParcelSource()
1182 ParcelWriteCastOf(variable->GetType(), typenames, variable->GetName())))); in BuildParcelSource()
1208 code << "static inline std::string toString(" << enum_decl.GetName() << " val) {\n"; in GenerateEnumToString()
1219 code << " case " << enum_decl.GetName() << "::" << enumerator->GetName() << ":\n"; in GenerateEnumToString()
1220 code << " return \"" << enumerator->GetName() << "\";\n"; in GenerateEnumToString()
1234 new Enum{enum_decl.GetName(), CppNameOf(enum_decl.GetBackingType(), typenames), true}}; in BuildEnumHeader()
1237 enumerator->GetName(), in BuildEnumHeader()