Home
last modified time | relevance | path

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

12345678910>>...16

/openbmc/debug-trigger/
H A Dmeson.build1 project('debug-trigger', 'c',
16 configure_file(input: 'systemd/system/debug-trigger@.service',
17 output: 'debug-trigger@.service',
30 foreach trigger : triggers
31 src = 'udev/rules.d/debug-trigger-' + trigger + '.rules'
32 dst = 'debug-trigger-' + trigger + '.rules'
37 executable('debug-trigger', 'main.c', config_h,
H A DREADME.md3 `debug-trigger` listens for an external signal that the BMC is in some way
9 `debug-trigger` implements a simple protocol over an LPC KCS device as its
10 trigger source.
14 `debug-trigger` implements a single action once the trigger event is received,
15 which is to crash the kernel via `/proc/sysrq-trigger`. For systems with kdump
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/
H A Dversion_open_unittest.cpp34 EXPECT_CALL(*tm.at("blob0"), trigger()).Times(1).WillOnce(Return(true)); in TEST_F()
43 EXPECT_CALL(*val, trigger()).WillOnce(Return(true)); in TEST_F()
54 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
60 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
66 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
74 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(false)); in TEST_F()
76 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
83 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
H A Dversion_close_unittest.cpp33 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
41 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
56 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
65 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
74 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
H A Dversion_read_unittest.cpp42 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
64 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
76 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
94 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
102 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
113 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
126 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
H A Dversion_mock.hpp25 auto trigger = std::make_unique<testing::StrictMock<TriggerMock>>(); in createMockVersionConfig() local
28 *tm = trigger.get(); in createMockVersionConfig()
30 ret.actions->onOpen = std::move(trigger); in createMockVersionConfig()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/
H A Dlog_open_unittest.cpp48 EXPECT_CALL(*tm.at("blob0"), trigger()).Times(1).WillOnce(Return(true)); in TEST_F()
57 EXPECT_CALL(*val, trigger()).WillOnce(Return(true)); in TEST_F()
68 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
74 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
80 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
88 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(false)); in TEST_F()
90 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
97 EXPECT_CALL(*tm.at("blob1"), trigger()).WillOnce(Return(true)); in TEST_F()
H A Dlog_close_unittest.cpp47 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
55 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
70 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
79 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
88 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
H A Dlog_read_unittest.cpp56 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
78 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
90 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
108 EXPECT_CALL(*tm.at("blob0"), trigger()).WillOnce(Return(true)); in TEST_F()
116 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
127 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
140 EXPECT_CALL(*tm.at("blob0"), trigger()) in TEST_F()
H A Dlog_mock.hpp39 auto trigger = std::make_unique<testing::StrictMock<TriggerMock>>(); in createMockLogConfig() local
42 *tm = trigger.get(); in createMockLogConfig()
44 ret.actions->onOpen = std::move(trigger); in createMockLogConfig()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_skip_unittest.cpp15 EXPECT_TRUE(skip.trigger()); in TEST()
18 EXPECT_TRUE(skip.trigger()); in TEST()
20 EXPECT_TRUE(skip.trigger()); in TEST()
28 EXPECT_TRUE(skip.trigger()); in TEST()
/openbmc/openbmc/meta-phosphor/recipes-phosphor/dump/
H A Ddebug-trigger_git.bb1 SUMMARY = "Debug trigger"
3 HOMEPAGE = "https://github.com/openbmc/debug-trigger"
5 SRC_URI = "git://github.com/openbmc/debug-trigger;branch=master;protocol=https"
34 SYSTEMD_SERVICE:${PN} += "debug-trigger@.service"
/openbmc/phosphor-fan-presence/control/json/
H A Devent.cpp58 for (const auto& [type, trigger] : _triggers) in enable()
63 trigger(getName(), _manager, _groups, _actions); in enable()
70 for (const auto& [type, trigger] : _triggers) in powerOn()
74 trigger(getName(), _manager, _groups, _actions); in powerOn()
81 for (const auto& [type, trigger] : _triggers) in powerOff()
85 trigger(getName(), _manager, _groups, _actions); in powerOff()
288 auto trigFunc = trigger::triggers.find(tClass); in setTriggers()
289 if (trigFunc != trigger::triggers.end()) in setTriggers()
299 std::next(trigger::triggers.begin()), trigger::triggers.end(), in setTriggers()
300 trigger::triggers.begin()->first, [](auto list, auto trig) { in setTriggers()
/openbmc/docs/designs/
H A Dtelemetry.md26 with metrics report and trigger management. This service is described later in
314 The trigger management D-Bus object:
323 to create new trigger for the certain metric. The method's parameters allow to
324 define the type of metric for which trigger is set (discrete or numeric). Depend
325 on this setting, this method accepts different set of trigger parameters.
327 For discrete metric type, trigger parameters contain:
331 … | Discrete trigger condition: <br> "Changed" - trigger occurs when value of metric has c…
332 | DiscreteTriggers | array of structures | Array of discrete trigger structures. …
338 | TriggerId | string | Unique trigger Id …
340 | Value | variant | Value of discrete metric, that constitutes a trigger event. …
[all …]
/openbmc/debug-trigger/systemd/system/
H A Ddebug-trigger@.service7 Environment=DEBUG_TRIGGER_OPTIONS= DEBUG_TRIGGER_SOURCE=/%I DEBUG_TRIGGER_SINK=/proc/sysrq-trigger
8 EnvironmentFile=-/etc/default/debug-trigger
9 ExecStart=/usr/bin/debug-trigger $DEBUG_TRIGGER_OPTIONS $DEBUG_TRIGGER_SOURCE $DEBUG_TRIGGER_SINK
/openbmc/openbmc/meta-ibm/recipes-phosphor/dump/
H A Ddebug-trigger_%.bbappend3 SRC_URI:append:ibm-enterprise = " file://debug-trigger.default"
8 … install -m 0644 -T ${UNPACKDIR}/debug-trigger.default ${D}${sysconfdir}/default/debug-trigger
/openbmc/sdbusplus/test/bus/
H A Dmatch.cpp32 auto trigger = [](sd_bus_message* /*m*/, void* context, in TEST_F() local
38 sdbusplus::bus::match_t m{bus, matchRule(), trigger, &triggered}; in TEST_F()
53 auto trigger = [&triggered](sdbusplus::message_t& /*m*/) { in TEST_F() local
57 sdbusplus::bus::match_t m{bus, matchRule(), trigger}; in TEST_F()
/openbmc/u-boot/arch/arm/dts/
H A Dam572x-idk-common.dtsi22 linux,default-trigger = "cpu0";
35 linux,default-trigger = "heartbeat";
42 linux,default-trigger = "cpu1";
55 linux,default-trigger = "mmc0";
/openbmc/phosphor-webui/app/common/styles/elements/
H A Daccordion.scss21 .accord-trigger {
54 .accordion-trigger {
58 &.accordion-trigger--expanded {
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dbootstrap-3.4.1.js58 var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
121 $parent.trigger(e = $.Event('close.bs.alert'))
129 $parent.detach().trigger('closed.bs.alert').remove()
241 if (changed) $input.trigger('change')
291 if ($btn.is('input,button')) $btn.trigger('focus')
292 else $btn.find('input:visible,button:visible').first().trigger('focus')
398 this.$element.trigger($.support.transition.end)
431 this.$element.trigger(slideEvent)
458 that.$element.trigger(slidEvent)
466 this.$element.trigger(slidEvent)
[all …]
H A Dtypeahead.jquery.js270 this.$el.trigger.apply(this.$el, args);
279 trigger: function(type) { method in AnonymousClassc6d3f3560e01
296 trigger: trigger
332 function trigger(types) { function
465 this.trigger("blurred");
469 this.trigger("focused");
475 this.trigger(keyName + "Keyed", $e);
497 var trigger;
500 trigger = !withModifier($e);
504 trigger = true;
[all …]
H A Dbootstrap-3.4.1.min.js6trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function o(){var t=d… property in options.AnonymousClassdb6618643701
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/files/
H A Dobmc-init.sh203 trigger=${image}rwfs
313 touch $trigger
319 touch $trigger
325 if test "$force_rwfst_jffs2" = "y" -a "$rwfst" != jffs2 -a ! -f $trigger
328 touch $trigger
336 elif test -f $trigger -a ! -s $trigger
346 if test "$imglist" = "$trigger" -a $do_save = "--save-files"
363 touch $trigger
390 touch $trigger
/openbmc/u-boot/doc/device-tree-bindings/leds/
H A Dcommon.txt7 - linux,default-trigger : This parameter, if present, is a
8 string defining the trigger assigned to the LED. Current triggers are:
21 linux,default-trigger = "heartbeat";
/openbmc/webui-vue/tests/unit/
H A DAppHeader.spec.js44 wrapper.get('#app-header-refresh').trigger('click');
51 wrapper.get('#app-header-trigger').trigger('click');
57 wrapper.get('[data-test-id="appHeader-link-logout"]').trigger('click');

12345678910>>...16