RootcanalUtils

public class RootcanalUtils
extends TestWatcher

java.lang.Object
   ↳ org.junit.rules.TestWatcher
     ↳ com.android.sts.common.RootcanalUtils


用于设置虚拟蓝牙 HAL 并在完成后重启设备的 TestWatcher。

摘要

嵌套类

class RootcanalUtils.HciDevice

封装可通过 HCI 命令控制的虚拟 HCI 设备的类。 

class RootcanalUtils.RootcanalController

 

公共构造函数

RootcanalUtils(BaseHostJUnit4Test test)

公共方法

RootcanalUtils.RootcanalController enableRootcanal()

在当前设备上将现有 HAL 替换为 RootCanal HAL。

void finished(Description d)

公共构造函数

RootcanalUtils

public RootcanalUtils (BaseHostJUnit4Test test)

参数
test BaseHostJUnit4Test

公共方法

enableRootcanal

public RootcanalUtils.RootcanalController enableRootcanal ()

在当前设备上将现有 HAL 替换为 RootCanal HAL。

返回
RootcanalUtils.RootcanalController RootcanalController 的实例

抛出
DeviceNotAvailableException
IOException
InterruptedException

已收市

public void finished (Description d)

参数
d Description