public static interface DebugPortManager.IDebugPortProvider
Client
.Modifier and Type | Field and Description |
---|---|
static int |
NO_STATIC_PORT |
Modifier and Type | Method and Description |
---|---|
int |
getPort(IDevice device,
java.lang.String appName)
Returns a non-random debugger port for the specified application running on the
specified
Device . |
static final int NO_STATIC_PORT
int getPort(IDevice device, java.lang.String appName)
Device
.device
- The device the application is running on.appName
- The application name, as defined in the AndroidManifest.xml
package attribute of the manifest node.NO_STATIC_PORT
if the Client
should use the automatic debugger port provider.