TopHelper.TopReceiver
static
class
TopHelper.TopReceiver
extends MultiLineReceiver
java.lang.Object | ||
↳ | com.android.ddmlib.MultiLineReceiver | |
↳ | com.android.tradefed.device.TopHelper.TopReceiver |
Receiver which parses the output from top.
Summary
Public constructors | |
---|---|
TopHelper.TopReceiver()
|
Public methods | |
---|---|
void
|
cancel()
Cancels the top command. |
List<TopHelper.TopStats>
|
getTopStats()
Gets a list of |
boolean
|
isCancelled()
|
void
|
logToFile(File logFile)
Specify a file to log the top output to. |
void
|
processNewLines(String[] lines)
|
Public constructors
TopHelper.TopReceiver
public TopHelper.TopReceiver ()
Public methods
cancel
public void cancel ()
Cancels the top command.
getTopStats
public List<TopHelper.TopStats> getTopStats ()
Gets a list of TopHelper.TopStats
instances.
Returns | |
---|---|
List<TopHelper.TopStats> |
a list of TopHelper.TopStats instances ordered from oldest to newest.
|
isCancelled
public boolean isCancelled ()
Returns | |
---|---|
boolean |
logToFile
public void logToFile (File logFile)
Specify a file to log the top output to.
Parameters | |
---|---|
logFile |
File : the file to lot output to.
|
processNewLines
public void processNewLines (String[] lines)
Parameters | |
---|---|
lines |
String |
Interfaces
- IAndroidDebugBridge
- IBatteryTemperature
- IDeviceManager
- IDeviceManager.IFastbootListener
- IDeviceMonitor
- IDeviceRecovery
- IDeviceSelection
- IDeviceStateMonitor
- IFileEntry
- ILogcatReceiver
- IManagedTestDevice
- IManagedTestDeviceFactory
- IMultiDeviceRecovery
- INativeDevice
- ITestDevice
- ITestDeviceMutator
- IWifiHelper
- NativeDevice.DeviceAction
Classes
- AndroidDebugBridgeWrapper
- BackgroundDeviceAction
- BatteryTemperature
- BatteryTemperature.DumpsysBatteryTemperatureReceiver
- CollectingByteOutputReceiver
- CollectingOutputReceiver
- CpuStatsCollector
- CpuStatsCollector.CpuStats
- CpuStatsCollector.CpuStatsReceiver
- DeviceDiagTest
- DeviceManager
- DeviceManager.FastbootDevice
- DeviceMonitorMultiplexer
- DeviceProperties
- DeviceSelectionOptions
- DeviceStateMonitor
- DeviceUtilStatsMonitor
- DeviceUtilStatsMonitor.UtilizationDesc
- DumpsysPackageReceiver
- FastbootHelper
- FileEntryWrapper
- IDeviceMonitor.DeviceLister
- IManagedTestDevice.DeviceEventResponse
- ITestDevice.MountPointInfo
- LargeOutputReceiver
- LogcatReceiver
- ManagedDeviceList
- ManagedTestDeviceFactory
- NativeDevice
- NativeDevice.AdbAction
- NativeDevice.AdbShellAction
- NativeDeviceStateMonitor
- NullDevice
- PackageInfo
- ReconnectingRecovery
- RemoteAndroidDevice
- RetryingWaitDeviceRecovery
- StubDevice
- TcpDevice
- TestDevice
- TestDeviceMutator
- TestDeviceOptions
- TopHelper
- TopHelper.TopReceiver
- TopHelper.TopStats
- WaitDeviceRecovery
- WifiHelper
Enums
Exceptions