Lines Matching defs:method

203             pa_strbuf_printf(buf, "  <method name=\"%s\">\n", method_handler->method_name);
211 pa_strbuf_puts(buf, " </method>\n");
236 " <method name=\"Introspect\">\n"
238 " </method>\n"
241 " <method name=\"Get\">\n"
245 " </method>\n"
246 " <method name=\"Set\">\n"
250 " </method>\n"
251 " <method name=\"GetAll\">\n"
254 " </method>\n"
274 /* The received message is a valid method call. */
296 /* No method handler was found for the received message. */
319 const char *method; /* Method name (extracted from the message). */
335 if (pa_streq(call_info->method, "Get"))
338 else if (pa_streq(call_info->method, "Set")) {
360 if ((call_info->method_handler = pa_hashmap_get(call_info->iface_entry->method_handlers, call_info->method))) {
361 pa_assert_se(call_info->expected_method_sig = pa_hashmap_get(call_info->iface_entry->method_signatures, call_info->method));
376 if (pa_streq(call_info->method, "GetAll")) {
396 } else if (pa_streq(call_info->method, "Get")) {
418 } else if (pa_streq(call_info->method, "Set")) {
469 else if ((call_info->method_handler = pa_hashmap_get(call_info->iface_entry->method_handlers, call_info->method))) {
470 pa_assert_se(call_info->expected_method_sig = pa_hashmap_get(call_info->iface_entry->method_signatures, call_info->method));
480 } else { /* The method call doesn't contain an interface. */
481 if (pa_streq(call_info->method, "Get") || pa_streq(call_info->method, "Set") || pa_streq(call_info->method, "GetAll")) {
483 /* The object has a method named Get, Set or GetAll in some other interface than .Properties. */
515 pa_assert_se(call_info.method = dbus_message_get_member(message));
556 "%s access denied for property %s", call_info.method, call_info.property);
560 pa_dbus_send_error(connection, message, DBUS_ERROR_UNKNOWN_METHOD, "No such method: %s", call_info.method);
577 "Invalid signature for method %s: '%s'. Expected '%s'.",
578 call_info.method, call_info.method_sig, call_info.expected_method_sig);