Searched refs:usePort (Results 1 – 1 of 1) sorted by relevance
220 private boolean tryPort(AndroidProxy androidProxy, boolean usePublicIp, int usePort) { in tryPort() argument222 return (androidProxy.startPublic(usePort) != null); in tryPort()224 return (androidProxy.startLocal(usePort) != null); in tryPort()231 int usePort = intent.getIntExtra(Constants.EXTRA_USE_SERVICE_PORT, 0); in launchServer() local233 if (!tryPort(androidProxy, usePublicIp, usePort)) { in launchServer()234 if (usePort != 0) { in launchServer()