Lines Matching refs:method
244 for (const auto &method : iface->methods()) { in generateJava() local
245 const bool needsCallback = method->results().size() > 1; in generateJava()
248 out << "\n@java.lang.FunctionalInterface\npublic interface " << method->name() in generateJava()
254 method->emitJavaResultSignature(out); in generateJava()
261 method->emitDocComment(out); in generateJava()
263 method->emitJavaSignature(out); in generateJava()
316 const Method *method = tuple.method(); in generateJava() local
325 const bool returnsValue = !method->results().empty(); in generateJava()
326 const bool needsCallback = method->results().size() > 1; in generateJava()
329 method->emitJavaSignature(out); in generateJava()
337 if (method->isHidlReserved() && method->overridesJavaImpl(IMPL_PROXY)) { in generateJava()
338 method->javaImpl(IMPL_PROXY, out); in generateJava()
348 for (const auto &arg : method->args()) { in generateJava()
361 << method->getSerialId() in generateJava()
363 << method->name() in generateJava()
366 if (method->isOneway()) { in generateJava()
374 if (!method->isOneway()) { in generateJava()
385 for (const auto &arg : method->results()) { in generateJava()
398 for (const auto &arg : method->results()) { in generateJava()
409 const std::string returnName = method->results()[0]->name(); in generateJava()
440 for (Method *method : iface->hidlReservedMethods()) { in generateJava()
442 CHECK_LE(method->results().size(), 1u); in generateJava()
443 std::string resultType = method->results().size() == 0 ? "void" : in generateJava()
444 method->results()[0]->type().getJavaType(); in generateJava()
446 bool canBeOverriden = method->name() == "debug"; in generateJava()
449 << method->name() << "("; in generateJava()
450 method->emitJavaArgSignature(out); in generateJava()
454 method->javaImpl(IMPL_INTERFACE, out); in generateJava()
501 const Method *method = tuple.method(); in generateJava() local
504 const bool returnsValue = !method->results().empty(); in generateJava()
505 const bool needsCallback = method->results().size() > 1; in generateJava()
508 << method->getSerialId() in generateJava()
510 << method->name() in generateJava()
515 if (method->isHidlReserved() && method->overridesJavaImpl(IMPL_STUB)) { in generateJava()
516 method->javaImpl(IMPL_STUB, out); in generateJava()
527 for (const auto &arg : method->args()) { in generateJava()
537 const NamedReference<Type>* returnArg = method->results()[0]; in generateJava()
545 out << method->name() in generateJava()
549 for (const auto &arg : method->args()) { in generateJava()
564 out << "new " << method->name() << "Callback() {\n"; in generateJava()
569 method->emitJavaResultSignature(out); in generateJava()
575 for (const auto &arg : method->results()) { in generateJava()
594 if (!needsCallback && !method->isOneway()) { in generateJava()
598 const NamedReference<Type>* returnArg = method->results()[0]; in generateJava()