RootcanalUtils

public class RootcanalUtils
extends TestWatcher

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


TestWatcher ที่ตั้งค่า HAL บลูทูธเสมือนและรีบูตอุปกรณ์เมื่อดำเนินการเสร็จสิ้น

สรุป

ชั้นเรียนที่ซ้อนกัน

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