Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/config/
Dcustom_actions.cpp58 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomShellActionConfigFromJson() local
59 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomShellActionConfigFromJson()
60 button_entry[kCustomActionButtonTitle].asString(), in GetCustomShellActionConfigFromJson()
61 button_entry[kCustomActionButtonIconName].asString()}; in GetCustomShellActionConfigFromJson()
70 for (const Json::Value& button_entry : dictionary[kCustomActionButtons]) { in GetCustomActionServerConfigFromJson() local
72 {button_entry[kCustomActionButtonCommand].asString(), in GetCustomActionServerConfigFromJson()
73 button_entry[kCustomActionButtonTitle].asString(), in GetCustomActionServerConfigFromJson()
74 button_entry[kCustomActionButtonIconName].asString()}); in GetCustomActionServerConfigFromJson()
85 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomDeviceStateActionConfigFromJson() local
86 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomDeviceStateActionConfigFromJson()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dstreamer.cpp409 Json::Value button_entry; in OnOpen() local
410 button_entry[kControlPanelButtonCommand] = button.command; in OnOpen()
411 button_entry[kControlPanelButtonTitle] = button.title; in OnOpen()
412 button_entry[kControlPanelButtonIconName] = button.icon_name; in OnOpen()
414 button_entry[kControlPanelButtonShellCommand] = *(button.shell_command); in OnOpen()
429 button_entry[kControlPanelButtonDeviceStates] = device_states; in OnOpen()
431 custom_control_panel_buttons.append(button_entry); in OnOpen()