NestedRemoteDevice

public class NestedRemoteDevice
extends TestDevice

java.lang.Object
   ↳ com.android.tradefed.device.NativeDevice
     ↳ com.android.tradefed.device.TestDevice
       ↳ com.android.tradefed.device.cloud.NestedRemoteDevice


ייצוג של המכשיר שפועל בתוך מכונה וירטואלית מרוחקת של Cuttlefish. במקרים מסוימים, ההגדרה תשנה את ההתנהגות של מכשיר TestDevice מקומי כדי לנצל את היתרונות של ההגדרה.

סיכום

Constructors ציבוריים

NestedRemoteDevice(IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

יצירת NestedRemoteDevice.

‫methods ציבוריים

final boolean resetVirtualDevice()

צריך לפרק את המכשיר הווירטואלי ולשחזר אותו כדי להמשיך בבדיקה.

Constructors ציבוריים

NestedRemoteDevice

public NestedRemoteDevice (IDevice device, 
                IDeviceStateMonitor stateMonitor, 
                IDeviceMonitor allocationMonitor)

יצירת NestedRemoteDevice.

פרמטרים
device IDevice: IDevice המשויך

stateMonitor IDeviceStateMonitor: מנגנון IDeviceStateMonitor לשימוש

allocationMonitor IDeviceMonitor: IDeviceMonitor כדי לעדכן על שינויים במצב ההקצאה.

‫methods ציבוריים

resetVirtualDevice

public final boolean resetVirtualDevice ()

צריך לפרק את המכשיר הווירטואלי ולשחזר אותו כדי להמשיך בבדיקה.

החזרות
boolean

זריקות
DeviceNotAvailableException