Home
last modified time | relevance | path

Searched refs:object_path (Results 1 – 25 of 25) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmessage-handler.c70 void pa_message_handler_register(pa_core *c, const char *object_path, const char *description, pa_m… in pa_message_handler_register() argument
74 pa_assert(object_path); in pa_message_handler_register()
79 pa_assert(object_path_is_valid(object_path)); in pa_message_handler_register()
84 handler->object_path = pa_xstrdup(object_path); in pa_message_handler_register()
87 pa_assert_se(pa_hashmap_put(c->message_handlers, handler->object_path, handler) == 0); in pa_message_handler_register()
91 void pa_message_handler_unregister(pa_core *c, const char *object_path) { in pa_message_handler_unregister() argument
95 pa_assert(object_path); in pa_message_handler_unregister()
97 pa_assert_se(handler = pa_hashmap_remove(c->message_handlers, object_path)); in pa_message_handler_unregister()
99 pa_xfree(handler->object_path); in pa_message_handler_unregister()
105 int pa_message_handler_send_message(pa_core *c, const char *object_path, const char *message, const… in pa_message_handler_send_message() argument
[all …]
Dmessage-handler.h28 const char *object_path,
36 char *object_path; member
43 void pa_message_handler_register(pa_core *c, const char *object_path, const char *description, pa_m…
44 void pa_message_handler_unregister(pa_core *c, const char *object_path);
47 int pa_message_handler_send_message(pa_core *c, const char *object_path, const char *message, const…
50 int pa_message_handler_set_description(pa_core *c, const char *object_path, const char *description…
Dcard.c41 static int card_message_handler(const char *object_path, const char *message, const pa_json_object …
148 char *object_path, *description; in pa_card_new() local
198 object_path = make_message_handler_path(c->name); in pa_card_new()
202 … pa_message_handler_register(c->core, object_path, description, card_message_handler, (void *) c); in pa_card_new()
203 pa_xfree(object_path); in pa_card_new()
260 char *object_path; in pa_card_free() local
275 object_path = make_message_handler_path(c->name); in pa_card_free()
276 pa_message_handler_unregister(core, object_path); in pa_card_free()
277 pa_xfree(object_path); in pa_card_free()
469 static int card_message_handler(const char *object_path, const char *message, const pa_json_object … in card_message_handler() argument
[all …]
Dcore.c80 pa_json_encoder_add_member_string(encoder, "name", handler->object_path); in message_handler_list()
90 static int core_message_handler(const char *object_path, const char *message, const pa_json_object … in core_message_handler() argument
96 pa_assert(pa_safe_streq(object_path, "/core")); in core_message_handler()
Dcli-command.c1791 const char *object_path, *message, *message_parameters; in pa_cli_command_send_message_to_object() local
1801 if (!(object_path = pa_tokenizer_get(t, 1))) { in pa_cli_command_send_message_to_object()
1814 ret = pa_message_handler_send_message(c, object_path, message, message_parameters, &response); in pa_cli_command_send_message_to_object()
Dprotocol-native.c4744 const char *object_path = NULL; in command_send_object_message() local
4755 if (pa_tagstruct_gets(t, &object_path) < 0 || in command_send_object_message()
4764 CHECK_VALIDITY(c->pstream, object_path != NULL, tag, PA_ERR_INVALID); in command_send_object_message()
4765 CHECK_VALIDITY(c->pstream, pa_utf8_valid(object_path), tag, PA_ERR_INVALID); in command_send_object_message()
4772 pa_log_debug("Client %s sent message %s to path %s", client_name, message, object_path); in command_send_object_message()
4776 …ret = pa_message_handler_send_message(c->protocol->core, object_path, message, message_parameters,… in command_send_object_message()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c683 const char *object_path; in handle_get_fallback_sink() local
696 object_path = pa_dbusiface_device_get_path(fallback_sink); in handle_get_fallback_sink()
698 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_fallback_sink()
704 const char *object_path; in handle_set_fallback_sink() local
717 dbus_message_iter_get_basic(iter, &object_path); in handle_set_fallback_sink()
719 if (!(fallback_sink = pa_hashmap_get(c->sinks_by_path, object_path))) { in handle_set_fallback_sink()
720 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such sink.", object_path); in handle_set_fallback_sink()
771 const char *object_path; in handle_get_fallback_source() local
784 object_path = pa_dbusiface_device_get_path(fallback_source); in handle_get_fallback_source()
786 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_fallback_source()
[all …]
Diface-card.c471 const char *object_path; in card_profile_changed_cb() local
479object_path = pa_dbusiface_card_profile_get_path(pa_hashmap_get(dbus_card->profiles, dbus_card->ac… in card_profile_changed_cb()
484 …pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &object_path, DBUS_TYPE_I… in card_profile_changed_cb()
499 const char *object_path; in card_profile_added_cb() local
509 object_path = pa_dbusiface_card_profile_get_path(p); in card_profile_added_cb()
514 …pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &object_path, DBUS_TYPE_I… in card_profile_added_cb()
528 const char *object_path; in card_profile_available_changed_cb() local
537 object_path = pa_dbusiface_card_profile_get_path(p); in card_profile_available_changed_cb()
543 pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &object_path, in card_profile_available_changed_cb()
Diface-core.h45 pa_sink *pa_dbusiface_core_get_sink(pa_dbusiface_core *c, const char *object_path);
48 pa_source *pa_dbusiface_core_get_source(pa_dbusiface_core *c, const char *object_path);
Diface-stream.c229 const char *object_path = NULL; in handle_get_owner_module() local
246 object_path = pa_dbusiface_core_get_module_path(s->core, owner_module); in handle_get_owner_module()
248 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_owner_module()
254 const char *object_path = NULL; in handle_get_client() local
271 object_path = pa_dbusiface_core_get_client_path(s->core, client); in handle_get_client()
273 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_client()
Diface-device.c301 const char *object_path = NULL; in handle_get_owner_module() local
319 object_path = pa_dbusiface_core_get_module_path(d->core, owner_module); in handle_get_owner_module()
321 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_owner_module()
327 const char *object_path = NULL; in handle_get_card() local
345 object_path = pa_dbusiface_core_get_card_path(d->core, card); in handle_get_card()
347 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, &object_path); in handle_get_card()
1200 const char *object_path = NULL; in port_changed_cb() local
1203object_path = pa_dbusiface_device_port_get_path(pa_hashmap_get(d->ports, d->active_port->name)); in port_changed_cb()
1208 …pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &object_path, DBUS_TYPE_I… in port_changed_cb()
/third_party/ninja/src/
Dmsvc_helper_main-win32.cc53 void WriteDepFileOrDie(const char* object_path, const CLParser& parse) { in WriteDepFileOrDie() argument
54 string depfile_path = string(object_path) + ".d"; in WriteDepFileOrDie()
57 unlink(object_path); in WriteDepFileOrDie()
61 if (fprintf(depfile, "%s: ", object_path) < 0) { in WriteDepFileOrDie()
62 unlink(object_path); in WriteDepFileOrDie()
71 unlink(object_path); in WriteDepFileOrDie()
/third_party/pulseaudio/src/modules/
Dreserve.c43 char *object_path; member
413 if (!(d->object_path = malloc(sizeof(OBJECT_PREFIX) + strlen(device_name)))) { in rd_acquire()
417 sprintf(d->object_path, OBJECT_PREFIX "%s", d->device_name); in rd_acquire()
444 d->object_path, in rd_acquire()
518 d->object_path, in rd_acquire()
578 d->object_path); in rd_release()
590 free(d->object_path); in rd_release()
Dmodule-stream-restore.c158 char *object_path; member
314 de->object_path = pa_sprintf_malloc("%s/%s%u", OBJECT_PATH, ENTRY_OBJECT_NAME, de->index); in dbus_entry_new()
316 …pa_assert_se(pa_dbus_protocol_add_interface(u->dbus_protocol, de->object_path, &entry_interface_in… in dbus_entry_new()
324 …pa_assert_se(pa_dbus_protocol_remove_interface(de->userdata->dbus_protocol, de->object_path, entry… in dbus_entry_free()
327 pa_xfree(de->object_path); in dbus_entry_free()
450 …pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &entry->object_path, DBUS… in send_new_entry_signal()
461 …pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &entry->object_path, DBUS… in send_entry_removed_signal()
475 …pa_assert_se(signal_msg = dbus_message_new_signal(de->object_path, INTERFACE_ENTRY, entry_signals[… in send_device_updated_signal()
488 …pa_assert_se(signal_msg = dbus_message_new_signal(de->object_path, INTERFACE_ENTRY, entry_signals[… in send_volume_updated_signal()
506 …pa_assert_se(signal_msg = dbus_message_new_signal(de->object_path, INTERFACE_ENTRY, entry_signals[… in send_mute_updated_signal()
[all …]
/third_party/cups-filters/cupsfilters/
Dcolord.c116 const char *object_path) in get_filename_for_profile_path() argument
129 object_path, in get_filename_for_profile_path()
171 const char *object_path, in get_profile_for_device_path() argument
187 object_path, in get_profile_for_device_path()
356 get_profile_inhibitors (DBusConnection *con, const char *object_path) in get_profile_inhibitors() argument
370 object_path, in get_profile_inhibitors()
/third_party/pulseaudio/src/tests/
Dladspa-dbus.py37 core = connection.get_object(object_path="/org/pulseaudio/core1")
43 …ladspa_sink_property_iface = dbus.Interface(connection.get_object(object_path=ladspa_sink_path), d…
/third_party/pulseaudio/src/utils/
Dqpaeq143 sink=self.connection.get_object(object_path=name)
179 core_obj=self.connection.get_object(object_path=self.core_path)
231 self.manager_obj=self.connection.get_object(object_path=self.manager_path)
238 core=self.connection.get_object(object_path=self.core_path)
274 sink=self.connection.get_object(object_path=x)
Dpactl.c62 *object_path = NULL, variable
2466 …o = pa_context_send_message_to_object(c, object_path, message, message_args, send_message_callback… in context_state_callback()
3166 object_path = pa_xstrdup(argv[optind + 1]); in main()
3274 pa_xfree(object_path); in main()
/third_party/glib/patch/
Dbackport-openharmony-adapt.patch4247 + * @object_path: An object path.
4264 + const gchar *object_path,
4269 …", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-n…
4302 + * @object_path: An object path.
4319 + const gchar *object_path,
4324 …", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-n…
4337 + * @object_path: An object path.
4354 + const gchar *object_path,
4359 …lags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-n…
4392 + * @object_path: An object path.
[all …]
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Dgstavrcputil.c208 const gchar * object_path, const gchar * interface_name, gpointer user_data) in manager_proxy_type_func() argument
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c2566 static int bluez5_device_message_handler(const char *object_path, const char *message, const pa_jso… in bluez5_device_message_handler() argument
2581 if (!object_path || !pa_streq(object_path, message_handler_path)) { in bluez5_device_message_handler()
/third_party/pulseaudio/
DPROTOCOL446 string object_path - unique path identifying the object
/third_party/pulseaudio/src/pulse/
Dintrospect.c2255 pa_operation* pa_context_send_message_to_object(pa_context *c, const char *object_path, const char … in pa_context_send_message_to_object() argument
2271 pa_tagstruct_puts(t, object_path); in pa_context_send_message_to_object()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest13-pr18894.so.abi1725 …<parameter type-id='type-id-7' name='object_path' filepath='/tmp/legendre/spack-stage/spack-stage-…
/third_party/libabigail/tests/data/test-annotate/
Dtest13-pr18894.so.abi2886 …<parameter type-id='type-id-7' name='object_path' filepath='/tmp/legendre/spack-stage/spack-stage-…