Lines Matching refs:GetName

458     out << "public static final " << type.Signature() << " " << constant->GetName() << " = "  in GenerateConstantDeclarations()
469 decl->name = method.GetName(); in GenerateInterfaceMethod()
477 auto var = std::make_shared<Variable>(JavaSignatureOf(arg->GetType()), arg->GetName()); in GenerateInterfaceMethod()
500 *code_ << "/** Helper method to enforce permissions for " << method_.GetName() << " */\n"; in Prologue()
501 *code_ << "protected void " << method_.GetName() << "_enforcePermission() " in Prologue()
507 *code_ << "static final String[] PERMISSIONS_" << method_.GetName() << " = {" in AddStaticArrayPermissions()
519 *code_ << "mEnforcer.enforcePermissionAllOf(PERMISSIONS_" << method_.GetName() << ", " in operator ()()
531 *code_ << "mEnforcer.enforcePermissionAnyOf(PERMISSIONS_" << method_.GetName() << ", " in operator ()()
569 auto realCall = std::make_shared<MethodCall>(THIS_VALUE, method.GetName()); in GenerateStubCode()
584 method.GetName() + " is unimplemented.\")")); in GenerateStubCode()
642 if (method.GetType().GetName() == "void") { in GenerateStubCode()
691 std::string outline_name = "onTransact$" + method.GetName() + "$"; in GenerateStubCaseOutline()
735 return JavaSignatureOf(arg.GetType()) + " " + arg.GetName(); in FormatArgForDecl()
742 bool is_void = method.GetType().GetName() == "void"; in GenerateProxyMethod()
745 out << "@Override public " << JavaSignatureOf(method.GetType()) << " " << method.GetName() << "(" in GenerateProxyMethod()
751 out << " throw new android.os.RemoteException(\"Method " + method.GetName() + in GenerateProxyMethod()
789 out << "_data.writeInt(" << arg->GetName() << ".length);\n"; in GenerateProxyMethod()
791 GenerateWriteToParcel(out, typenames, arg->GetType(), "_data", arg->GetName(), in GenerateProxyMethod()
827 out << "getDefaultImpl()." << method.GetName() << "(" in GenerateProxyMethod()
828 << ArgList(method, &AidlArgument::GetName) << ");\n"; in GenerateProxyMethod()
831 out << "return getDefaultImpl()." << method.GetName() << "(" in GenerateProxyMethod()
832 << ArgList(method, &AidlArgument::GetName) << ");\n"; in GenerateProxyMethod()
841 out << "throw new android.os.RemoteException(\"Method " << method.GetName() in GenerateProxyMethod()
874 .var = arg->GetName(), in GenerateProxyMethod()
910 transactCodeName += method.GetName(); in GenerateMethods()
922 std::make_shared<StringLiteralExpression>(method.GetName()))); in GenerateMethods()
931 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateMethods()
937 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateMethods()
959 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateMethods()
969 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateMethods()
988 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateMethods()
1021 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateMethods()
1153 default_method->name = method.GetName(); in GenerateDefaultImplMethod()
1157 std::make_shared<Variable>(JavaSignatureOf(arg->GetType()), arg->GetName())); in GenerateDefaultImplMethod()
1161 if (method.GetType().GetName() != "void") { in GenerateDefaultImplMethod()
1172 default_class->comment = "/** Default implementation for " + iface.GetName() + ". */"; in GenerateDefaultImplClass()
1188 if (m->GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateDefaultImplClass()
1196 if (m->GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateDefaultImplClass()
1221 delegator_method->name = method.GetName(); in GenerateDelegatorMethod()
1226 std::make_shared<Variable>(JavaSignatureOf(arg->GetType()), arg->GetName())); in GenerateDelegatorMethod()
1227 argNames.push_back(arg->GetName()); in GenerateDelegatorMethod()
1232 if (method.GetType().GetName() != "void") { in GenerateDelegatorMethod()
1236 std::make_shared<LiteralStatement>(return_str + "mImpl." + method.GetName() + "(" + in GenerateDelegatorMethod()
1244 delegator_class->comment = "/** Delegator implementation for " + iface.GetName() + ". */"; in GenerateDelegatorClass()