Lines Matching +full:default +full:- +full:trigger
11 _intf->sd_bus_emit_interfaces_added_strv(_bus.get(), path, in emit_interfaces_added()
19 _intf->sd_bus_emit_interfaces_removed_strv(_bus.get(), path, in emit_interfaces_removed()
23 /* Create a new default connection: system bus if root, session bus if user. */
30 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default()
35 /* Create a new default connection to the session bus. */
42 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_user()
47 /* Create a new default connection to the system bus. */
54 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_system()
66 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_bus()
80 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_user()
94 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_system()
102 _intf(intf), _bus(_intf->sd_bus_ref(b), details::BusDeleter(intf)) in bus()
105 // which can trigger a 'transaction' in the server bindings. If in bus()
107 // sd-bus code. Get the 'unique_name' to ensure the bus is up far in bus()
117 _bus(_intf->sd_bus_ref(b), details::BusDeleter(&sdbus_impl)) in bus()
120 // which can trigger a 'transaction' in the server bindings. If in bus()
122 // sd-bus code. Get the 'unique_name' to ensure the bus is up far in bus()
134 // which can trigger a 'transaction' in the server bindings. If in bus()
136 // sd-bus code. Get the 'unique_name' to ensure the bus is up far in bus()
146 int r = _intf->sd_notify(0, "WATCHDOG=1"); in watchdog_pet()
149 throw exception::SdBusError(-r, "sd_notify WATCHDOG=1"); in watchdog_pet()
155 int r = _intf->sd_notify(0, "WATCHDOG=trigger"); in watchdog_trigger()
158 throw exception::SdBusError(-r, "sd_notify WATCHDOG=trigger"); in watchdog_trigger()
165 int r = _intf->sd_watchdog_enabled(0, &usec); in watchdog_enabled()
168 throw exception::SdBusError(-r, "sd_watchdog_enabled"); in watchdog_enabled()