Searched refs:requested_state (Results 1 - 4 of 4) sorted by relevance

/external/libweave/examples/daemon/lock/
H A Dlock.cc92 std::string requested_state; local
93 if (params.GetString("lockedState", &requested_state)) {
94 LOG(INFO) << cmd->GetName() << " state: " << requested_state;
98 if (!weave::StringToEnum(requested_state, &new_lock_status)) {
110 LOG(INFO) << "Lock is now: " << requested_state;
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dcommands.py133 requested_state = kwargs.get('state', None)
137 if (requested_state is None or
138 requested_state == command['state']):
/external/libweave/examples/daemon/speaker/
H A Dspeaker.cc135 std::string requested_state; local
136 if (params.GetString("state", &requested_state)) {
137 LOG(INFO) << cmd->GetName() << " state: " << requested_state;
139 bool new_speaker_status = requested_state == "on";
/external/libweave/examples/daemon/light/
H A Dlight.cc229 std::string requested_state; local
230 if (params.GetString("state", &requested_state)) {
231 LOG(INFO) << cmd->GetName() << " state: " << requested_state;
233 bool new_light_status = requested_state == "on";

Completed in 413 milliseconds