Deprecated API


Contents
Deprecated Interfaces
com.android.ddmlib.ClientData.IHprofDumpHandler
           
 

Deprecated Fields
com.android.ddmlib.IDevice.PROP_BUILD_VERSION_NUMBER
          Use IDevice.PROP_BUILD_API_LEVEL. 
 

Deprecated Methods
com.android.ddmlib.IDevice.executeShellCommand(String, IShellOutputReceiver, int)
          Use IShellEnabledDevice.executeShellCommand(String, IShellOutputReceiver, long, java.util.concurrent.TimeUnit). 
com.android.ddmlib.IDevice.getBatteryLevel()
          use IDevice.getBattery() 
com.android.ddmlib.IDevice.getBatteryLevel(long)
          use #getBattery(long, TimeUnit)) 
com.android.ddmlib.IDevice.getProperties()
          use IShellEnabledDevice.getSystemProperty(String) instead 
com.android.ddmlib.IDevice.getPropertyCacheOrSync(String)
          use IShellEnabledDevice.getSystemProperty(String) instead 
com.android.ddmlib.IDevice.getPropertyCount()
          implementation detail 
com.android.ddmlib.IDevice.getPropertySync(String)
          use IShellEnabledDevice.getSystemProperty(String) 
com.android.ddmlib.ClientData.hasPendingHprofDump()
           
com.android.ddmlib.ClientData.setAllocationTrackingHandler(ClientData.IAllocationTrackingHandler)
           
com.android.ddmlib.ClientData.setHprofDumpHandler(ClientData.IHprofDumpHandler)
           
com.android.ddmlib.Log.setLogOutput(Log.ILogOutput)
          Use Log.addLogger(ILogOutput) instead.

Sets the Log.ILogOutput to use to print the logs. If not set, System.out will be used. 

com.android.ddmlib.testrunner.IRemoteAndroidTestRunner.setMaxtimeToOutputResponse(int)
          Use IRemoteAndroidTestRunner.setMaxTimeToOutputResponse(long, java.util.concurrent.TimeUnit). 
com.android.ddmlib.Client.toggleMethodProfiling()
          Use Client.startMethodTracer(), Client.stopMethodTracer(), Client.startSamplingProfiler(int, java.util.concurrent.TimeUnit) or Client.stopSamplingProfiler() instead. 
 

Deprecated Constructors
com.android.ddmlib.logcat.LogCatMessage(Log.LogLevel, int, int, String, String, LogCatTimestamp, String)
          Create a LogCatHeader separately and call LogCatMessage.LogCatMessage(LogCatHeader, String) instead. This approach shares the same header data across multiple messages.