| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | meson.build | 3 'actions', 29 'actions/action_environment_tests.cpp', 30 'actions/action_error_tests.cpp', 31 'actions/action_utils_tests.cpp', 32 'actions/and_action_tests.cpp', 33 'actions/compare_presence_action_tests.cpp', 34 'actions/compare_vpd_action_tests.cpp', 35 'actions/i2c_action_tests.cpp', 36 'actions/i2c_capture_bytes_action_tests.cpp', 37 'actions/i2c_compare_bit_action_tests.cpp', [all …]
|
| H A D | validate-regulators-config_tests.cpp | 50 "actions": [ 61 "actions": [ 75 "actions": [ 87 "actions": [ 274 configFile["rules"][0]["actions"][0]["comments"][0] = in TEST() 290 configFile["rules"][0]["actions"].push_back(andAction); in TEST() 296 configFile["rules"][0]["actions"][1]["compare_presence"]["fru"] = in TEST() 298 configFile["rules"][0]["actions"][1]["compare_presence"]["value"] = in TEST() 305 configFile["rules"][0]["actions"][1]["compare_vpd"]["fru"] = in TEST() 307 configFile["rules"][0]["actions"][1]["compare_vpd"]["keyword"] = "CCIN"; in TEST() [all …]
|
| H A D | rule_tests.cpp | 39 // Build vector of actions in TEST() 40 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 41 actions.push_back(std::make_unique<MockAction>()); in TEST() 42 actions.push_back(std::make_unique<MockAction>()); in TEST() 45 Rule rule("set_voltage_rule", std::move(actions)); in TEST() 60 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 65 actions.push_back(std::move(action)); in TEST() 67 Rule rule("set_voltage_rule", std::move(actions)); in TEST() 76 // Test where all actions are executed in TEST() 79 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local [all …]
|
| /openbmc/phosphor-power/phosphor-regulators/src/ |
| H A D | meson.build | 4 'actions', 28 'actions/compare_presence_action.cpp', 29 'actions/compare_vpd_action.cpp', 30 'actions/if_action.cpp', 31 'actions/i2c_capture_bytes_action.cpp', 32 'actions/i2c_compare_bit_action.cpp', 33 'actions/i2c_compare_byte_action.cpp', 34 'actions/i2c_compare_bytes_action.cpp', 35 'actions/i2c_write_bit_action.cpp', 36 'actions/i2c_write_byte_action.cpp', [all …]
|
| H A D | rule.hpp | 33 * A rule is a sequence of actions that can be shared by multiple voltage 38 * - Actions that set the output voltage of a regulator rail 39 * - Actions that read all the sensors of a regulator rail 40 * - Actions that detect down-level hardware using version registers 57 * @param actions actions in the rule 60 std::vector<std::unique_ptr<Action>> actions) : in Rule() argument 61 id{id}, actions{std::move(actions)} in Rule() 65 * Executes the actions in this rule. 77 return action_utils::execute(actions, environment); in execute() 81 * Returns the actions in this rule. [all …]
|
| H A D | configuration.hpp | 49 * The configuration changes are applied by executing one or more actions. 52 * stored in the ActionEnvironment when the actions are executed. Actions that 71 * @param actions actions that configure the device/rail 74 std::vector<std::unique_ptr<Action>> actions) : in Configuration() argument 75 volts{volts}, actions{std::move(actions)} in Configuration() 79 * Executes the actions to configure the specified device. 93 * Executes the actions to configure the specified rail. 108 * Returns the actions that configure the device/rail. 110 * @return actions 114 return actions; in getActions() [all …]
|
| H A D | presence_detection.hpp | 45 * Device presence is detected by executing actions, such as 49 * performed if the actions indicate the device is present. 71 * @param actions actions that detect whether the device is present 73 explicit PresenceDetection(std::vector<std::unique_ptr<Action>> actions) : in PresenceDetection() argument 74 actions{std::move(actions)} in PresenceDetection() 86 * Executes the actions to detect whether the device is present. 93 * return the cached value rather than re-executing the actions. This 94 * provides a performance improvement since the actions may be expensive to 104 * Returns the actions that detect whether the device is present. 106 * @return actions [all …]
|
| H A D | sensor_monitoring.hpp | 46 * Sensors are read by executing actions, such as PMBusReadSensorAction. To 47 * read multiple sensors for a rail, multiple actions need to be executed. 63 * @param actions actions that read the sensors for a rail 65 explicit SensorMonitoring(std::vector<std::unique_ptr<Action>> actions) : in SensorMonitoring() argument 66 actions{std::move(actions)} in SensorMonitoring() 84 * Executes the actions to read the sensors for a rail. 96 * Returns the actions that read the sensors for a rail. 98 * @return actions 102 return actions; in getActions() 107 * Actions that read the sensors for a rail. [all …]
|
| /openbmc/phosphor-fan-presence/control/ |
| H A D | meson.build | 16 include_dirs += ['./json', './json/actions', './json/triggers'] 25 'json/actions/count_state_floor.cpp', 26 'json/actions/count_state_target.cpp', 27 'json/actions/default_floor.cpp', 28 'json/actions/get_managed_objects.cpp', 29 'json/actions/mapped_floor.cpp', 30 'json/actions/missing_owner_target.cpp', 31 'json/actions/net_target_decrease.cpp', 32 'json/actions/net_target_increase.cpp', 33 'json/actions/override_fan_target.cpp', [all …]
|
| /openbmc/phosphor-power/phosphor-regulators/test/actions/ |
| H A D | and_action_tests.cpp | 39 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 40 actions.push_back(std::make_unique<MockAction>()); in TEST() 41 actions.push_back(std::make_unique<MockAction>()); in TEST() 43 AndAction andAction{std::move(actions)}; in TEST() 54 // Test where empty vector of actions is specified in TEST() 57 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 58 AndAction andAction{std::move(actions)}; in TEST() 69 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 77 actions.push_back(std::move(action)); in TEST() 82 actions.push_back(std::move(action)); in TEST() [all …]
|
| H A D | or_action_tests.cpp | 39 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 40 actions.push_back(std::make_unique<MockAction>()); in TEST() 41 actions.push_back(std::make_unique<MockAction>()); in TEST() 43 OrAction orAction{std::move(actions)}; in TEST() 55 // Test where empty vector of actions is specified in TEST() 58 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 59 OrAction orAction{std::move(actions)}; in TEST() 70 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 78 actions.push_back(std::move(action)); in TEST() 83 actions.push_back(std::move(action)); in TEST() [all …]
|
| H A D | action_utils_tests.cpp | 48 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 49 EXPECT_EQ(action_utils::execute(actions, env), true); in TEST() 59 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 67 actions.push_back(std::move(action)); in TEST() 72 actions.push_back(std::move(action)); in TEST() 74 action_utils::execute(actions, env); in TEST() 85 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 91 actions.push_back(std::move(action)); in TEST() 96 actions.push_back(std::move(action)); in TEST() 98 EXPECT_EQ(action_utils::execute(actions, env), false); in TEST() [all …]
|
| H A D | run_rule_action_tests.cpp | 71 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 76 actions.push_back(std::move(action)); in TEST() 77 Rule rule("exception_rule", std::move(actions)); in TEST() 99 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 100 actions.push_back(std::make_unique<RunRuleAction>("infinite_rule")); in TEST() 101 Rule rule("infinite_rule", std::move(actions)); in TEST() 127 // Create rule with two actions. Last action returns false. in TEST() 128 std::vector<std::unique_ptr<Action>> actions{}; in TEST() local 133 actions.push_back(std::move(action)); in TEST() 137 actions.push_back(std::move(action)); in TEST() [all …]
|
| /openbmc/phosphor-power/phosphor-regulators/src/actions/ |
| H A D | or_action.hpp | 32 * Executes a sequence of actions and tests whether any of them returned true. 50 * @param actions actions to execute 52 explicit OrAction(std::vector<std::unique_ptr<Action>> actions) : in OrAction() argument 53 actions{std::move(actions)} in OrAction() 57 * Executes the actions specified in the constructor. 59 * Returns true if any of the actions returned true, otherwise returns 62 * Note: All of the actions will be executed even if an action before the 63 * end returns true. This ensures that actions with beneficial side-effects 71 * @return true if any actions returned true, otherwise returns false 76 for (std::unique_ptr<Action>& action : actions) in execute() [all …]
|
| H A D | and_action.hpp | 32 * Executes a sequence of actions and tests whether all of them returned true. 50 * @param actions actions to execute 52 explicit AndAction(std::vector<std::unique_ptr<Action>> actions) : in AndAction() argument 53 actions{std::move(actions)} in AndAction() 57 * Executes the actions specified in the constructor. 59 * Returns true if all of the actions returned true, otherwise returns 62 * Note: All of the actions will be executed even if an action before the 63 * end returns false. This ensures that actions with beneficial 71 * @return true if all actions returned true, otherwise returns false 76 for (std::unique_ptr<Action>& action : actions) in execute() [all …]
|
| H A D | if_action.hpp | 32 * Performs actions based on whether a condition is true. 45 * If the condition is true, the actions in the "then" clause are executed. 47 * If the condition is false, the actions in the "else" clause are executed (if 65 * @param thenActions actions to perform if condition is true 66 * @param elseActions actions to perform if condition is false (optional) 79 * If the condition action returns true, the actions in the "then" clause 83 * If the condition action returns false, the actions in the "else" clause 106 * Returns the actions in the "then" clause. 108 * These actions are executed if the condition is true. 110 * @return then clause actions [all …]
|
| /openbmc/phosphor-fan-presence/control/json/triggers/ |
| H A D | signal.hpp | 51 * @param[in] actions - Actions to be run when signal is received 54 TriggerActions& actions, const json&); 61 * @param[in] actions - Actions to be run when signal is received 63 void interfacesAdded(Manager* mgr, const Group& group, TriggerActions& actions, 71 * @param[in] actions - Actions to be run when signal is received 74 TriggerActions& actions, const json&); 81 * @param[in] actions - Actions to be run when signal is received 83 void nameOwnerChanged(Manager* mgr, const Group& group, TriggerActions& actions, 91 * @param[in] actions - Actions to be run when signal is received 93 void member(Manager* mgr, const Group& group, TriggerActions& actions, [all …]
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
| H A D | firmware_json_unittest.cpp | 29 "actions" : { in TEST() 57 "actions" : { in TEST() 86 "actions" : { in TEST() 115 "actions" : { in TEST() 140 "actions" : { in TEST() 184 "actions" : { in TEST() 209 "actions" : { in TEST() 233 "actions" : { in TEST() 255 "actions" : { in TEST() 276 "actions" : { in TEST() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/xfce4-panel/files/ |
| H A D | 0002-use-lxdm-to-replace-dm-tool.patch | 22 plugins/actions/actions.c | 4 ++-- 25 diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c 27 --- a/plugins/actions/actions.c 28 +++ b/plugins/actions/actions.c
|
| /openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
| H A D | version_json_unittest.cpp | 28 "actions":{ in TEST() 40 EXPECT_FALSE(h[0].actions == nullptr); in TEST() 54 "actions": { in TEST() 66 EXPECT_FALSE(h[0].actions == nullptr); in TEST() 79 "actions": { in TEST() 100 "actions": { in TEST() 137 "actions": {} in TEST() 154 "actions":{ in TEST() 169 "actions":{ in TEST() 184 "actions":{ in TEST() [all …]
|
| /openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
| H A D | rule.md | 5 A rule is a sequence of actions that can be shared by multiple regulators in the 11 - Actions that set the output voltage of a regulator rail 12 - Actions that read all the sensors of a regulator rail 13 - Actions that detect down-level hardware using version registers 14 - Actions that detect phase faults 22 | actions | yes | array of [actions](action.md) | One or more actions to execute. … 26 Return value of the last action in the "actions" property. 34 "actions": [
|
| H A D | presence_detection.md | 14 Device presence is detected by executing actions, such as 20 actions indicate the device is present. 22 The actions can be specified in two ways: 25 - Use the "actions" property to specify an array of actions that are unique to 44 | actions | see [notes](#notes) | array of [actions](action.md) | One or more actions to execute. … 48 - You must specify either "rule_id" or "actions". 62 "actions": [
|
| /openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
| H A D | log_json_unittest.cpp | 42 "actions":{ in TEST() 54 EXPECT_FALSE(h[0].actions == nullptr); in TEST() 68 "actions": { in TEST() 80 EXPECT_FALSE(h[0].actions == nullptr); in TEST() 93 "actions": { in TEST() 114 "actions": { in TEST() 151 "actions": {} in TEST() 168 "actions":{ in TEST() 183 "actions":{ in TEST() 198 "actions":{ in TEST() [all …]
|
| /openbmc/phosphor-webui/app/common/components/table/ |
| H A D | table-toolbar.js | 9 * The <table-toolbar> component expects an 'actions' attribute 14 * actions: [ 33 * @param {[]} actions 35 const setActions = (actions = []) => { 36 return actions 65 this.actions = setActions(this.actions); 75 <div class="toolbar__batch-actions" ng-show="$ctrl.actions.length > 0"> 80 ng-repeat="action in $ctrl.actions" 105 actions: '<',
|
| H A D | table-actions.js | 9 * The <table-actions> component expects an 'actions' attribute 14 * actions: [ 33 * @param {[]} actions 35 const setActions = (actions = []) => { 36 return actions 61 this.actions = setActions(this.actions); 73 ng-repeat="action in $ctrl.actions track by $index" 86 bindings: {actions: '<', emitAction: '&'}
|