Searched refs:device_state_entry (Results 1 – 2 of 2) sorted by relevance
91 for (const Json::Value& device_state_entry : in GetCustomDeviceStateActionConfigFromJson() local94 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() local151 device_state_entry[kCustomActionDeviceStateLidSwitchOpen] = in ToJson()155 device_state_entry[kCustomActionDeviceStateHingeAngleValue] = in ToJson()158 json[kCustomActionDeviceStates].append(device_state_entry); in ToJson()
468 Json::Value device_state_entry; in OnOpen() local470 device_state_entry[kControlPanelButtonLidSwitchOpen] = in OnOpen()474 device_state_entry[kControlPanelButtonHingeAngleValue] = in OnOpen()477 device_states.append(device_state_entry); in OnOpen()