Home
last modified time | relevance | path

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

/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptingLayerService.java220 private boolean tryPort(AndroidProxy androidProxy, boolean usePublicIp, int usePort) { in tryPort() argument
222 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() local
233 if (!tryPort(androidProxy, usePublicIp, usePort)) { in launchServer()
234 if (usePort != 0) { in launchServer()