NativeDevice.DeviceAction
static interface NativeDevice.DeviceAction
com.android.tradefed.device.NativeDevice.DeviceAction |
通用设备通信尝试的接口。
概要
公开方法 | |
---|---|
abstract boolean | run () 执行设备操作。 |
公开方法
跑
public abstract boolean run ()
执行设备操作。
退货 | |
---|---|
boolean | true 如果执行操作成功, false 以其他方式 |
投掷 | |
---|---|
| 如果操作异常终止,则为TimeoutException,AdbCommandRejectedException,ShellCommandUnsensitiveException,InstallException,SyncException |
IOException | |
TimeoutException | |
AdbCommandRejectedException | |
ShellCommandUnresponsiveException | |
InstallException | |
SyncException |
介面
- IAndroidDebugBridge
- 电池温度
- IDeviceManager
- IDeviceManager.IFastbootListener
- IDeviceMonitor
- IDeviceRecovery
- IDeviceSelection
- IDeviceStateMonitor
- IFileEntry
- ILogcat接收器
- IManagedTestDevice
- IManagedTestDeviceFactory
- IMultiDeviceRecovery
- INativeDevice
- ITestDevice
- ITestDeviceMutator
- IWifi助手
- NativeDevice.DeviceAction
班级
- AndroidDebugBridgeWrapper
- BackgroundDeviceAction
- 电池温度
- BatteryTemperature.DumpsysBatteryTemperatureReceiver
- CollectingByteOutputReceiver
- 收集输出接收器
- CpuStatsCollector
- CpuStatsCollector.CpuStats
- CpuStatsCollector.CpuStatsReceiver
- DeviceDiagTest
- 装置经理
- DeviceManager.FastbootDevice
- DeviceMonitorMultiplexer
- 设备属性
- DeviceSelectionOptions
- DeviceStateMonitor
- DeviceUtilStatsMonitor
- DeviceUtilStatsMonitor.UtilizationDesc
- DumpsysPackageReceiver
- FastbootHelper
- FileEntryWrapper
- IDeviceMonitor.DeviceLister
- IManagedTestDevice.DeviceEventResponse
- ITestDevice.MountPointInfo
- 大型输出接收器
- Logcat接收器
- ManagedDeviceList
- ManagedTestDeviceFactory
- 本机设备
- NativeDevice.AdbAction
- NativeDevice.AdbShellAction
- NativeDeviceStateMonitor
- 空设备
- 包装信息
- 重新连接恢复
- 远程Android设备
- 重试等待设备恢复
- 存根设备
- TcpDevice
- 测试设备
- TestDeviceMutator
- TestDeviceOptions
- 顶级助手
- TopHelper.TopReceiver
- TopHelper.TopStats
- WaitDeviceRecovery
- Wifi助手
枚举
例外情况