Lines Matching refs:json_command
1654 for json_command in json_domain["commands"]:
1655 Generator.process_command(json_command, domain_name, agent_field_name, agent_interface_name)
1699 def process_command(json_command, domain_name, agent_field_name, agent_interface_name):
1700 if (("handlers" in json_command) and (not ("renderer" in json_command["handlers"]))):
1703 json_command_name = json_command["name"]
1705 cmd_enum_name = "k%s_%sCmd" % (domain_name, json_command["name"])
1711 backend_agent_interface_list = [] if "redirect" in json_command else Generator.backend_agent_interface_list
1727 if "error" in json_command:
1728 json_error = json_command["error"]
1737 if "parameters" in json_command:
1738 json_params = json_command["parameters"]
1775 if json_command.get("async") == True:
1782 Generator.generate_send_method(json_command.get("returns"), json_command_name, domain_name, ad_hoc_type_writer,
1818 if "returns" in json_command:
1823 for json_return in json_command["returns"]:
1870 if "redirect" in json_command:
1871 agent_field = "m_" + DomainNameFixes.get_fixed_data(json_command.get("redirect"))