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