/dports/sysutils/upower/upower-0.99.13/libupower-glib/ |
H A D | up-types.c | 54 case UP_DEVICE_KIND_UPS: in up_device_kind_to_string() 131 return UP_DEVICE_KIND_UPS; in up_device_kind_from_string()
|
H A D | up-types.h | 42 UP_DEVICE_KIND_UPS, enumerator
|
H A D | up-device.c | 310 kind == UP_DEVICE_KIND_UPS || in up_device_to_text() 325 kind == UP_DEVICE_KIND_UPS || in up_device_to_text() 343 if (kind == UP_DEVICE_KIND_UPS || in up_device_to_text() 354 kind == UP_DEVICE_KIND_UPS) { in up_device_to_text()
|
/dports/devel/kf5-solid/solid-5.89.0/src/solid/devices/backends/upower/ |
H A D | upower.h | 21 UP_DEVICE_KIND_UPS, enumerator
|
H A D | upowerdevice.cpp | 84 case UP_DEVICE_KIND_UPS: in queryDeviceInterface()
|
H A D | upowerbattery.cpp | 42 case UP_DEVICE_KIND_UPS: in type()
|
/dports/sysutils/mate-power-manager/mate-power-manager-1.26.0/src/ |
H A D | gpm-upower.c | 104 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_upower_get_device_icon() 493 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string() 550 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_icon()
|
H A D | gpm-engine.c | 229 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_CRITICAL, FALSE); in gpm_engine_get_icon() 249 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_LOW, FALSE); in gpm_engine_get_icon() 269 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_NONE, TRUE); in gpm_engine_get_icon() 283 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_NONE, FALSE); in gpm_engine_get_icon()
|
H A D | gpm-manager.c | 1214 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_discharging_cb() 1315 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_low_cb() 1450 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_critical_cb() 1539 case UP_DEVICE_KIND_UPS: in gpm_manager_engine_charge_critical_cb() 1618 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_action_cb()
|
H A D | gpm-statistics.c | 373 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details() 413 if (kind == UP_DEVICE_KIND_UPS || in gpm_stats_update_info_page_details() 421 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details() 436 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
|
H A D | gpm-tray-icon.c | 349 dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_UPS); in gpm_tray_icon_create_menu()
|
H A D | gpm-prefs-core.c | 732 if (kind == UP_DEVICE_KIND_UPS) in gpm_prefs_init()
|
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/src/ |
H A D | xfpm-battery.c | 104 if (battery->priv->type == UP_DEVICE_KIND_BATTERY || battery->priv->type == UP_DEVICE_KIND_UPS) in G_DEFINE_TYPE_WITH_PRIVATE() 216 battery->priv->type == UP_DEVICE_KIND_UPS ) in xfpm_battery_notify_state() 296 battery->priv->type == UP_DEVICE_KIND_UPS ) in xfpm_battery_refresh()
|
H A D | xfpm-power.c | 353 type == UP_DEVICE_KIND_UPS ) in xfpm_power_report_error() 555 type != UP_DEVICE_KIND_UPS && in xfpm_power_get_current_charge_state() 892 device_type == UP_DEVICE_KIND_UPS || in xfpm_power_add_device() 1417 type == UP_DEVICE_KIND_UPS ) in xfpm_power_has_battery()
|
/dports/sysutils/gnome-control-center/gnome-control-center-41.2/panels/power/ |
H A D | cc-battery-row.c | 195 case UP_DEVICE_KIND_UPS: in kind_to_description() 260 is_kind_battery = (kind == UP_DEVICE_KIND_BATTERY || kind == UP_DEVICE_KIND_UPS); in cc_battery_row_new()
|
H A D | cc-power-panel.c | 333 "kind", UP_DEVICE_KIND_UPS, in up_client_changed() 351 if (kind == UP_DEVICE_KIND_UPS) in up_client_changed() 401 else if (kind == UP_DEVICE_KIND_UPS && on_ups) in up_client_changed() 622 if (kind == UP_DEVICE_KIND_UPS || in set_ac_battery_ui_mode()
|
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/common/ |
H A D | xfpm-power-common.c | 46 case UP_DEVICE_KIND_UPS: in xfpm_power_translate_device_type() 244 else if ( type == UP_DEVICE_KIND_UPS ) in get_device_icon_name()
|
/dports/sysutils/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5/plugins/power/ |
H A D | gpm-common.c | 573 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string() 637 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_icon() 811 if (kind == UP_DEVICE_KIND_UPS) { in gpm_device_to_localised_string()
|
H A D | csd-power-manager.c | 483 } else if (kind == UP_DEVICE_KIND_UPS || in engine_get_warning() 614 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_CRITICAL, FALSE); in engine_get_icon() 628 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_LOW, FALSE); in engine_get_icon() 642 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_NONE, TRUE); in engine_get_icon() 650 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_NONE, FALSE); in engine_get_icon() 1069 if (kind != UP_DEVICE_KIND_UPS) in engine_ups_discharging() 1248 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_low() 1409 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_critical() 1517 case UP_DEVICE_KIND_UPS: in engine_charge_critical() 1602 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_action()
|
/dports/sysutils/upower/upower-0.99.13/src/linux/ |
H A D | up-device-hid.c | 352 "type", UP_DEVICE_KIND_UPS, in up_device_hid_coldplug() 454 if (type != UP_DEVICE_KIND_UPS) in up_device_hid_get_on_battery()
|
H A D | integration-test | 82 UP_DEVICE_KIND_UPS, 881 self.assertEqual(self.get_dbus_dev_property(ups0_up, 'Type'), UP_DEVICE_KIND_UPS)
|
/dports/sysutils/upower/upower-0.99.13/src/ |
H A D | up-daemon.c | 195 if (kind == UP_DEVICE_KIND_UPS) { in up_daemon_update_display_battery() 309 if (daemon->priv->kind != UP_DEVICE_KIND_UPS && in up_daemon_get_warning_level_local() 313 if (daemon->priv->kind == UP_DEVICE_KIND_UPS && in up_daemon_get_warning_level_local() 670 } else if (kind == UP_DEVICE_KIND_UPS) { in up_daemon_compute_warning_level()
|
/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/plugins/power/ |
H A D | gsd-power-manager.c | 265 kind == UP_DEVICE_KIND_UPS || in engine_device_add() 389 if (kind != UP_DEVICE_KIND_UPS) in engine_ups_discharging() 467 kind == UP_DEVICE_KIND_UPS) in engine_device_debounce_warn() 531 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_low() 687 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_critical() 815 case UP_DEVICE_KIND_UPS: in engine_charge_critical() 875 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_action() 961 if (kind != UP_DEVICE_KIND_UPS) in engine_device_warning_changed_cb() 968 kind == UP_DEVICE_KIND_UPS) in engine_device_warning_changed_cb()
|
/dports/sysutils/gnome-power-manager/gnome-power-manager-3.32.0/src/ |
H A D | gpm-statistics.c | 234 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string() 590 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details() 630 if (kind == UP_DEVICE_KIND_UPS || in gpm_stats_update_info_page_details() 638 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details() 653 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
|
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/panel-plugins/power-manager-plugin/ |
H A D | power-manager-button.c | 206 if (type == UP_DEVICE_KIND_BATTERY || type == UP_DEVICE_KIND_UPS) in get_display_device()
|