Home
last modified time | relevance | path

Searched refs:cmd_value (Results 1 – 2 of 2) sorted by relevance

/external/libweave/examples/daemon/ledflasher/
Dledflasher.cc86 bool cmd_value = false; in OnFlasherSetCommand() local
88 params.GetBoolean("_on", &cmd_value)) { in OnFlasherSetCommand()
91 << ", _on: " << (cmd_value ? "true" : "false"); in OnFlasherSetCommand()
94 int new_state = cmd_value ? 1 : 0; in OnFlasherSetCommand()
98 if (cmd_value != cur_state) { in OnFlasherSetCommand()
/external/autotest/client/cros/
Dtouch_playback_test_base.py146 cmd_value = 1 if value else 0
147 utils.run('%s --%s %d' % (self._INPUTCONTROL, setting, cmd_value))