com.android.ddmlib
Class DdmConstants

java.lang.Object
  extended by com.android.ddmlib.DdmConstants

public final class DdmConstants
extends Object


Field Summary
static int CURRENT_PLATFORM
          Returns current platform, one of PLATFORM_WINDOWS, PLATFORM_DARWIN, PLATFORM_LINUX or PLATFORM_UNKNOWN.
static String DOT_TRACE
          Extension for Traceview files.
static String FN_HPROF_CONVERTER
          hprof-conv executable (with extension for the current OS)
static String FN_TRACEVIEW
          traceview executable (with extension for the current OS)
static int PLATFORM_DARWIN
           
static int PLATFORM_LINUX
           
static int PLATFORM_UNKNOWN
           
static int PLATFORM_WINDOWS
           
 
Constructor Summary
DdmConstants()
           
 
Method Summary
static int currentPlatform()
          Returns current platform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLATFORM_UNKNOWN

public static final int PLATFORM_UNKNOWN
See Also:
Constant Field Values

PLATFORM_LINUX

public static final int PLATFORM_LINUX
See Also:
Constant Field Values

PLATFORM_WINDOWS

public static final int PLATFORM_WINDOWS
See Also:
Constant Field Values

PLATFORM_DARWIN

public static final int PLATFORM_DARWIN
See Also:
Constant Field Values

CURRENT_PLATFORM

public static final int CURRENT_PLATFORM
Returns current platform, one of PLATFORM_WINDOWS, PLATFORM_DARWIN, PLATFORM_LINUX or PLATFORM_UNKNOWN.


DOT_TRACE

public static final String DOT_TRACE
Extension for Traceview files.

See Also:
Constant Field Values

FN_HPROF_CONVERTER

public static final String FN_HPROF_CONVERTER
hprof-conv executable (with extension for the current OS)


FN_TRACEVIEW

public static final String FN_TRACEVIEW
traceview executable (with extension for the current OS)

Constructor Detail

DdmConstants

public DdmConstants()
Method Detail

currentPlatform

public static int currentPlatform()
Returns current platform

Returns:
one of PLATFORM_WINDOWS, PLATFORM_DARWIN, PLATFORM_LINUX or PLATFORM_UNKNOWN.


Copyright © 2008-2012. All Rights Reserved.