Lines Matching refs:base_port
223 int base_port = 5554; in android_emulation_setup() local
284 base_port = console_port; in android_emulation_setup()
290 (unsigned)((port - base_port) >> 1) >= (unsigned)tries ) { in android_emulation_setup()
292 base_port, base_port + (tries-1)*2 ); in android_emulation_setup()
300 base_port = port; in android_emulation_setup()
304 for ( ; tries > 0; tries--, base_port += 2 ) { in android_emulation_setup()
307 if ( slirp_redir( 0, base_port+1, guest_ip, 5555 ) < 0 ) in android_emulation_setup()
311 if ( control_console_start( base_port ) < 0 ) { in android_emulation_setup()
312 slirp_unredir( 0, base_port+1 ); in android_emulation_setup()
316 D( "control console listening on port %d, ADB on port %d", base_port, base_port+1 ); in android_emulation_setup()
328 report_console(android_op_report_console, base_port); in android_emulation_setup()
331 android_modem_init( base_port ); in android_emulation_setup()
334 android_base_port = base_port; in android_emulation_setup()
356 sprintf(tmp,"0012host:emulator:%d",base_port+1); in android_emulation_setup()