Lines Matching refs:config
31 config = {
44 launch_hap(config)
45 return config
51 config = {
64 launch_hap(config)
65 return config
71 config = {
79 launch_hap(config)
80 return config
86 config = {
94 launch_hap(config)
95 return config
101 config = {
113 launch_hap(config)
114 return config
120 config = {
132 launch_hap(config)
133 return config
136 def launch_hap(config):
137 pid = Application.launch_application(config['bundle_name'], config['hap_path'], start_mode=config['start_mode'])
138 assert pid != 0, logging.error(f'Pid of {config["hap_name"]} is 0!')
139 config['pid'] = pid
142 connect_server_port = Fport.fport_connect_server(config['connect_server_port'],
143 config['pid'],
144 config['bundle_name'])
147 config['connect_server_port'] = connect_server_port
149 config['websocket'] = WebSocket(config['connect_server_port'], config['debugger_server_port'])
150 config['taskpool'] = TaskPool(