Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/config/
Dcustom_actions.cpp91 for (const Json::Value& device_state_entry : in GetCustomDeviceStateActionConfigFromJson() local
94 if (device_state_entry.isMember( in GetCustomDeviceStateActionConfigFromJson()
97 device_state_entry[kCustomActionDeviceStateLidSwitchOpen].asBool(); in GetCustomDeviceStateActionConfigFromJson()
99 if (device_state_entry.isMember( in GetCustomDeviceStateActionConfigFromJson()
102 device_state_entry[kCustomActionDeviceStateHingeAngleValue].asInt(); in GetCustomDeviceStateActionConfigFromJson()
149 Json::Value device_state_entry; in ToJson() local
151 device_state_entry[kCustomActionDeviceStateLidSwitchOpen] = in ToJson()
155 device_state_entry[kCustomActionDeviceStateHingeAngleValue] = in ToJson()
158 json[kCustomActionDeviceStates].append(device_state_entry); in ToJson()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dstreamer.cpp468 Json::Value device_state_entry; in OnOpen() local
470 device_state_entry[kControlPanelButtonLidSwitchOpen] = in OnOpen()
474 device_state_entry[kControlPanelButtonHingeAngleValue] = in OnOpen()
477 device_states.append(device_state_entry); in OnOpen()