Home
last modified time | relevance | path

Searched refs:custom_action (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Dcustom_actions.cpp109 Json::Value ToJson(const CustomActionInstanceID& custom_action) { in ToJson() argument
111 json[kCustomActionInstanceID] = custom_action.instance_id; in ToJson()
115 Json::Value ToJson(const CustomShellActionConfig& custom_action) { in ToJson() argument
118 json[kCustomActionShellCommand] = custom_action.shell_command; in ToJson()
121 custom_action.button.command; in ToJson()
123 custom_action.button.title; in ToJson()
125 custom_action.button.icon_name; in ToJson()
129 Json::Value ToJson(const CustomActionServerConfig& custom_action) { in ToJson() argument
132 json[kCustomActionServer] = custom_action.server; in ToJson()
134 for (const auto& button : custom_action.buttons) { in ToJson()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/
Dmain.cpp295 for (const auto& custom_action : in main() local
297 const auto button = custom_action.button; in main()
300 custom_action.shell_command); in main()
303 for (const auto& custom_action : in main() local
305 if (action_server_fds.find(custom_action.server) == in main()
308 << custom_action.server; in main()
311 LOG(INFO) << "Connecting to custom action server " << custom_action.server; in main()
313 int fd = action_server_fds[custom_action.server]; in main()
319 for (const auto& button : custom_action.buttons) { in main()
328 << custom_action.server; in main()
[all …]
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dstreamer.cpp57 for (const auto& custom_action : custom_actions) { in LaunchCustomActionServers() local
70 auto binary = HostBinaryPath(custom_action.server); in LaunchCustomActionServers()
78 webrtc_cmd.AddParameter("-action_servers=", custom_action.server, ":", in LaunchCustomActionServers()
81 webrtc_cmd.AppendToLastParameter(",", custom_action.server, ":", in LaunchCustomActionServers()