Lines Matching refs:udi
422 libhal_device_get_all_properties (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_get_all_properties() argument
433 LIBHAL_CHECK_UDI_VALID(udi, NULL); in libhal_device_get_all_properties()
435 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_all_properties()
970 char *udi; in filter_func() local
972 DBUS_TYPE_STRING, &udi, in filter_func()
975 ctx->device_added (ctx, udi); in filter_func()
982 char *udi; in filter_func() local
984 DBUS_TYPE_STRING, &udi, in filter_func()
987 ctx->device_removed (ctx, udi); in filter_func()
994 char *udi; in filter_func() local
997 DBUS_TYPE_STRING, &udi, in filter_func()
1001 ctx->device_new_capability (ctx, udi, capability); in filter_func()
1144 libhal_device_get_property_type (LibHalContext *ctx, const char *udi, const char *key, DBusError *e… in libhal_device_get_property_type() argument
1153 LIBHAL_CHECK_UDI_VALID(udi, LIBHAL_PROPERTY_TYPE_INVALID); in libhal_device_get_property_type()
1156 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_type()
1204 libhal_device_get_property_strlist (LibHalContext *ctx, const char *udi, const char *key, DBusError… in libhal_device_get_property_strlist() argument
1213 LIBHAL_CHECK_UDI_VALID(udi, NULL); in libhal_device_get_property_strlist()
1216 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_strlist()
1275 const char *udi, const char *key, DBusError *error) in libhal_device_get_property_string() argument
1285 LIBHAL_CHECK_UDI_VALID(udi, NULL); in libhal_device_get_property_string()
1288 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_string()
1350 const char *udi, const char *key, DBusError *error) in libhal_device_get_property_int() argument
1359 LIBHAL_CHECK_UDI_VALID(udi, -1); in libhal_device_get_property_int()
1362 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_int()
1398 udi); in libhal_device_get_property_int()
1421 const char *udi, const char *key, DBusError *error) in libhal_device_get_property_uint64() argument
1430 LIBHAL_CHECK_UDI_VALID(udi, -1); in libhal_device_get_property_uint64()
1433 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_uint64()
1468 udi); in libhal_device_get_property_uint64()
1491 const char *udi, const char *key, DBusError *error) in libhal_device_get_property_double() argument
1500 LIBHAL_CHECK_UDI_VALID(udi, -1.0); in libhal_device_get_property_double()
1503 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_double()
1538 "of type double\n", __FILE__, __LINE__, key, udi); in libhal_device_get_property_double()
1561 const char *udi, const char *key, DBusError *error) in libhal_device_get_property_bool() argument
1570 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_get_property_bool()
1573 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_get_property_bool()
1608 "of type bool\n", __FILE__, __LINE__, key, udi); in libhal_device_get_property_bool()
1622 const char *udi, in libhal_device_set_property_helper() argument
1638 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_helper()
1665 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_set_property_helper()
1729 const char *udi, in libhal_device_set_property_string() argument
1735 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_string()
1739 return libhal_device_set_property_helper (ctx, udi, key, in libhal_device_set_property_string()
1758 libhal_device_set_property_int (LibHalContext *ctx, const char *udi, in libhal_device_set_property_int() argument
1762 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_int()
1765 return libhal_device_set_property_helper (ctx, udi, key, in libhal_device_set_property_int()
1784 libhal_device_set_property_uint64 (LibHalContext *ctx, const char *udi, in libhal_device_set_property_uint64() argument
1788 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_uint64()
1791 return libhal_device_set_property_helper (ctx, udi, key, in libhal_device_set_property_uint64()
1810 libhal_device_set_property_double (LibHalContext *ctx, const char *udi, in libhal_device_set_property_double() argument
1814 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_double()
1817 return libhal_device_set_property_helper (ctx, udi, key, in libhal_device_set_property_double()
1836 libhal_device_set_property_bool (LibHalContext *ctx, const char *udi, in libhal_device_set_property_bool() argument
1840 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_set_property_bool()
1843 return libhal_device_set_property_helper (ctx, udi, key, in libhal_device_set_property_bool()
1863 const char *udi, const char *key, DBusError *error) in libhal_device_remove_property() argument
1866 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_remove_property()
1869 return libhal_device_set_property_helper (ctx, udi, key, DBUS_TYPE_INVALID, in libhal_device_remove_property()
1889 const char *udi, in libhal_device_property_strlist_append() argument
1899 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_property_strlist_append()
1903 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_property_strlist_append()
1948 const char *udi, in libhal_device_property_strlist_prepend() argument
1958 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_property_strlist_prepend()
1962 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_property_strlist_prepend()
2007 const char *udi, in libhal_device_property_strlist_remove_index() argument
2017 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_property_strlist_remove_index()
2020 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_property_strlist_remove_index()
2065 const char *udi, in libhal_device_property_strlist_remove() argument
2074 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_property_strlist_remove()
2078 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_property_strlist_remove()
2123 const char *udi, in libhal_device_lock() argument
2132 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_lock()
2138 udi, in libhal_device_lock()
2194 const char *udi, DBusError *error) in libhal_device_unlock() argument
2200 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_unlock()
2203 udi, in libhal_device_unlock()
2327 const char *temp_udi, const char *udi, DBusError *error) in libhal_device_commit_to_gdl() argument
2335 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_commit_to_gdl()
2350 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in libhal_device_commit_to_gdl()
2386 libhal_remove_device (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_remove_device() argument
2393 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_remove_device()
2407 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in libhal_remove_device()
2438 libhal_device_exists (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_exists() argument
2447 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_exists()
2461 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in libhal_device_exists()
2508 const char *udi, const char *key, DBusError *error) in libhal_device_property_exists() argument
2517 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_property_exists()
2520 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_property_exists()
2715 libhal_device_print (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_print() argument
2723 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_print()
2725 printf ("device_id = %s\n", udi); in libhal_device_print()
2727 if ((pset = libhal_device_get_all_properties (ctx, udi, error)) == NULL) in libhal_device_print()
2873 const char *udi, const char *capability, DBusError *error) in libhal_device_add_capability() argument
2880 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_add_capability()
2883 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_add_capability()
2927 libhal_device_query_capability (LibHalContext *ctx, const char *udi, const char *capability, DBusEr… in libhal_device_query_capability() argument
2934 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_query_capability()
2939 caps = libhal_device_get_property_strlist (ctx, udi, "info.capabilities", error); in libhal_device_query_capability()
3062 libhal_device_add_property_watch (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_add_property_watch() argument
3067 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_add_property_watch()
3072 "sender='org.freedesktop.Hal'," "path=%s", udi); in libhal_device_add_property_watch()
3093 libhal_device_remove_property_watch (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_remove_property_watch() argument
3098 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_remove_property_watch()
3103 "sender='org.freedesktop.Hal'," "path=%s", udi); in libhal_device_remove_property_watch()
3497 libhal_device_rescan (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_rescan() argument
3505 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_rescan()
3507 message = dbus_message_new_method_call ("org.freedesktop.Hal", udi, in libhal_device_rescan()
3554 libhal_device_reprobe (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_reprobe() argument
3562 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_reprobe()
3565 udi, in libhal_device_reprobe()
3615 const char *udi, in libhal_device_emit_condition() argument
3627 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_emit_condition()
3632 udi, in libhal_device_emit_condition()
3697 libhal_device_addon_is_ready (LibHalContext *ctx, const char *udi, DBusError *error) in libhal_device_addon_is_ready() argument
3706 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_addon_is_ready()
3709 udi, in libhal_device_addon_is_ready()
3761 const char *udi, in libhal_device_claim_interface() argument
3773 LIBHAL_CHECK_UDI_VALID(udi, FALSE); in libhal_device_claim_interface()
3777 udi, in libhal_device_claim_interface()
3839 char *udi; member
3854 libhal_device_new_changeset (const char *udi) in libhal_device_new_changeset() argument
3858 LIBHAL_CHECK_UDI_VALID(udi, NULL); in libhal_device_new_changeset()
3864 changeset->udi = strdup (udi); in libhal_device_new_changeset()
3865 if (changeset->udi == NULL) { in libhal_device_new_changeset()
4176 LIBHAL_CHECK_UDI_VALID(changeset->udi, FALSE); in libhal_device_commit_changeset()
4182 message = dbus_message_new_method_call ("org.freedesktop.Hal", changeset->udi, in libhal_device_commit_changeset()
4315 free (changeset->udi); in libhal_device_free_changeset()