DeviceProperties

public class DeviceProperties
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.DeviceProperties


Common constant definitions for device side property names

Summary

Constants

String BOARD

property name for device board

String BOOT_REASON_HISTORY

property name for device boot reason history

String BRAND

property name for device brand

String BUILD_ALIAS

property name for the alias of the build name

String BUILD_CODENAME

property name for the build codename of the device.

String BUILD_FLAVOR

property name for the flavor of the device build

String BUILD_HEADLESS

property name for whether or not the device is headless

String BUILD_ID

property name for the build id of the device

String BUILD_TAGS

property name for the build tags of the device

String BUILD_TYPE

property name for the type of build

String FIRST_API_LEVEL

property name for the SDK version that initially shipped on the device.

String HARDWARE

property name for device hardware

String HARDWARE_REVISION

property name for the hardware revision.

String PRODUCT

property name for device product name

String RELEASE_VERSION

property name for device release version, e.g. version 9 for Android Pie

String SDK_VERSION

proprty name to indicate SDK version

String VARIANT

proprty name to indicate device variant (e.g. flo vs dev)

String VARIANT_LEGACY_LESS_EQUAL_O

Legacy property name to indicate device variant (e.g. flo vs dev)

String VARIANT_LEGACY_O_MR1

Legacy O-MR1 property name to indicate device variant (e.g. flo vs dev)

Public constructors

DeviceProperties()

Constants

BOARD

public static final String BOARD

property name for device board

Constant Value: "ro.product.board"

BOOT_REASON_HISTORY

public static final String BOOT_REASON_HISTORY

property name for device boot reason history

Constant Value: "persist.sys.boot.reason.history"

BRAND

public static final String BRAND

property name for device brand

Constant Value: "ro.product.brand"

BUILD_ALIAS

public static final String BUILD_ALIAS

property name for the alias of the build name

Constant Value: "ro.build.id"

BUILD_CODENAME

public static final String BUILD_CODENAME

property name for the build codename of the device. Example: Q

Constant Value: "ro.build.version.codename"

BUILD_FLAVOR

public static final String BUILD_FLAVOR

property name for the flavor of the device build

Constant Value: "ro.build.flavor"

BUILD_HEADLESS

public static final String BUILD_HEADLESS

property name for whether or not the device is headless

Constant Value: "ro.build.headless"

BUILD_ID

public static final String BUILD_ID

property name for the build id of the device

Constant Value: "ro.build.version.incremental"

BUILD_TAGS

public static final String BUILD_TAGS

property name for the build tags of the device

Constant Value: "ro.build.tags"

BUILD_TYPE

public static final String BUILD_TYPE

property name for the type of build

Constant Value: "ro.build.type"

FIRST_API_LEVEL

public static final String FIRST_API_LEVEL

property name for the SDK version that initially shipped on the device.

Constant Value: "ro.product.first_api_level"

HARDWARE

public static final String HARDWARE

property name for device hardware

Constant Value: "ro.hardware"

HARDWARE_REVISION

public static final String HARDWARE_REVISION

property name for the hardware revision.

Constant Value: "ro.revision"

PRODUCT

public static final String PRODUCT

property name for device product name

Constant Value: "ro.product.name"

RELEASE_VERSION

public static final String RELEASE_VERSION

property name for device release version, e.g. version 9 for Android Pie

Constant Value: "ro.build.version.release"

SDK_VERSION

public static final String SDK_VERSION

proprty name to indicate SDK version

Constant Value: "ro.build.version.sdk"

VARIANT

public static final String VARIANT

proprty name to indicate device variant (e.g. flo vs dev)

Constant Value: "ro.product.vendor.device"

VARIANT_LEGACY_LESS_EQUAL_O

public static final String VARIANT_LEGACY_LESS_EQUAL_O

Legacy property name to indicate device variant (e.g. flo vs dev)

Constant Value: "ro.product.device"

VARIANT_LEGACY_O_MR1

public static final String VARIANT_LEGACY_O_MR1

Legacy O-MR1 property name to indicate device variant (e.g. flo vs dev)

Constant Value: "ro.vendor.product.device"

Public constructors

DeviceProperties

public DeviceProperties ()