Home
last modified time | relevance | path

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

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