REST Resource: compatibility.device_names

Resource: Device

This represents an Android device and its information. next id: 18

JSON representation
{
  "name": string,
  "deviceName": string,
  "companyId": string,
  "companyName": string,
  "manufacturer": [
    string
  ],
  "formFactor": enum (FormFactor),
  "orientation": enum (Orientation),
  "display": {
    object (Display)
  },
  "memory": {
    object (Memory)
  },
  "storage": {
    object (Storage)
  },
  "camera": {
    object (Camera)
  },
  "cpu": {
    object (Cpu)
  },
  "battery": {
    object (Battery)
  },
  "drmFeatures": {
    object (DrmFeatures)
  },
  "drmLevel": enum (DrmLevel),
  "trustedOs": enum (TrustedOs),
  "trustedOutput": boolean
}
Fields
name

string

The unique resource name.

deviceName

string

The device name, for example, angler.

companyId

string (Int64Value format)

The unique company identifier.

companyName

string

Company name, for example: Google.

manufacturer[]

string

Manufacturer name, for example: Huawei.

formFactor

enum (FormFactor)

Form factor.

orientation

enum (Orientation)

Orientation.

display

object (Display)

Display.

memory

object (Memory)

Memory.

storage

object (Storage)

Storage.

camera

object (Camera)

Camera.

cpu

object (Cpu)

CPU.

battery

object (Battery)

Battery.

drmFeatures

object (DrmFeatures)

DRM

drmLevel

enum (DrmLevel)

DRM level

trustedOs

enum (TrustedOs)

The trust OS on this device

trustedOutput
(deprecated)

boolean

True if device supports content protection via a trusted output mechanism; False otherwise.

FormFactor

The form factor of a device.

Enums
FORM_FACTOR_UNSPECIFIED Unknown form factor.
PHONE Phone.
TABLET Tablet.
SET_TOP_BOX Set-top box.
TV TV.
AUTO_PROJECTED Automotive Projected.
AUTO_EMBEDDED Automotive Embedded.
OTHER_FORM_FACTOR Other form factor.
WEARABLE Wearable.
OVER_THE_TOP_TV Over The Top (OTT).
PC PC.
GOOGLE_CAST Google Cast Devices.
GOOGLE_C4A Google Cast 4 Audio.

Orientation

The orientation of the device.

Enums
ORIENTATION_UNSPECIFIED Unspecified orientation.
PORTRAIT Portrait.
LANDSCAPE Landscape.

Display

Display information.

JSON representation
{
  "size": number,
  "maxHorizontalResolution": number,
  "maxVerticalResolution": number
}
Fields
size

number

The diagonal size of the screen in inches.

maxHorizontalResolution

number

Max horizontal resolution

maxVerticalResolution

number

Max vertical resolution

Memory

Memory information.

JSON representation
{
  "ramSize": number
}
Fields
ramSize

number

RAM size in Mega bytes.

Storage

Storage information.

JSON representation
{
  "flashStorageSizes": [
    number
  ]
}
Fields
flashStorageSizes[]

number

A list of flash storage sizes in Giga bytes.

Camera

Camera information.

JSON representation
{
  "rearCameraResolution": number,
  "frontCameraResolution": number
}
Fields
rearCameraResolution

number

Rear camera resolution, in Mega pixels.

frontCameraResolution

number

Front camera resolution, in Mega pixels.

Cpu

CPU information.

JSON representation
{
  "make": string,
  "model": string,
  "clockSpeed": number,
  "supportsTrustZone": boolean
}
Fields
make

string

Make name. Please query cpus.list to retrieve the supported make list.

model

string

Model name. Please query cpus.list to retrieve the supported model list.

clockSpeed

number

The maximum clock speed, in Giga Hertz.

supportsTrustZone

boolean

True if device supports ARM trust zone; false otherwise.

Battery

Battery information.

JSON representation
{
  "type": enum (BatteryType),
  "capacity": number,
  "talkTime": number,
  "standbyTime": number
}
Fields
type

enum (BatteryType)

Type.

capacity

number

Capacity, in milliamp hour.

talkTime

number

Talk time, in hours.

standbyTime

number

Standby time, in hours.

BatteryType

Battery type.

Enums
BATTERY_TYPE_UNSPECIFIED Battery type unspecified.
NO_BATTERY No battery.
LITHIUM_POLYMER Lithium polymer.
LITHIUM_ION Lithium ion.
NICKEL_CADMIUM Nickel cadium.
NICKEL_METAL_HYDRIDE Nick metal hydride.

DrmFeatures

Device DRM features

JSON representation
{
  "secureBoot": boolean,
  "keyProtection": boolean,
  "frameProtection": boolean,
  "outputProtection": boolean,
  "securePlayback": boolean
}
Fields
secureBoot

boolean

True if device supports secure boot and chain of trust

keyProtection

boolean

True if device supports protection of cryptographic keys e.g. hardware supported AES

frameProtection

boolean

True if device supports protection of decrypted frames e.g secure video path

outputProtection

boolean

True if device has trusted output protection mechanism - HDMI/HDCP

securePlayback

boolean

True if device supports secure play back

DrmLevel

DRM levels of a device

Enums
DRM_NO_LEVEL No DRM Level
DRM_LEVEL_1 DRM Level 1
DRM_LEVEL_2 DRM Level 2
DRM_LEVEL_3 DRM Level 3

TrustedOs

Trusted on-device Operation Systems

Enums
UNKNOWN_OS Unknown OS
BEANPOD Beanpod TEE
BROADCOM Broadcom
DISCRETIX Discretix Technologies
GOOGLE_TRUSTY Google Trusty
GD G&D
INTEL Intel
MICROTRUST Microtrust
OBERTHUR Oberthur Technologies
OPTEE OP-TEE
QUALCOMM Qualcomm
TRUSTCORE TrustCore
TRUSTED_LOGIC Trusted Logic
TRUSTONIC Trustonic
TRUSTKERNEL TrustKernel

Methods

get

Gets a device.