TestDeviceState

public final enum TestDeviceState
extends Enum<TestDeviceState>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.device.TestDeviceState>
     ↳ com.android.tradefed.device.TestDeviceState


تمثيل أكثر شمولاً لحالة الجهاز من DeviceState

من المنطقي أن يؤدي ذلك إلى توسيع نطاق DeviceState لإضافة حالتَي FASTBOOT وNOT_AVAILABLE فقط، ولكن لا يُسمح بتوسيع النطاقات المحدَّدة.

ملخّص

قيم التعداد

TestDeviceState  FASTBOOT

 

TestDeviceState  FASTBOOTD

وضع Fastbootd مع is-userspace = true من خلال "adb reboot fastboot" 

TestDeviceState  NOT_AVAILABLE

 

TestDeviceState  ONLINE

 

TestDeviceState  RECOVERY

 

TestDeviceState  SIDELOAD

 

الطرق العامة

static TestDeviceState valueOf(String name)
static final TestDeviceState[] values()

قيم التعداد

FASTBOOT

public static final TestDeviceState FASTBOOT

FASTBOOTD

public static final TestDeviceState FASTBOOTD

وضع Fastbootd مع is-userspace = true من خلال "adb reboot fastboot"

NOT_AVAILABLE

public static final TestDeviceState NOT_AVAILABLE

على الإنترنت

public static final TestDeviceState ONLINE

الاسترداد

public static final TestDeviceState RECOVERY

التثبيت من مصدر غير معروف

public static final TestDeviceState SIDELOAD

الطرق العامة

valueOf

public static TestDeviceState valueOf (String name)

المعلمات
name String

المرتجعات
TestDeviceState

values

public static final TestDeviceState[] values ()

المرتجعات
TestDeviceState[]