1 /* 2 * Copyright (C) 2011 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.tests.getinfo; 18 19 /** 20 * Constants for device info attributes to be sent as instrumentation keys. 21 * <p/> 22 * These values should correspond to attributes defined in cts_result.xsd. 23 */ 24 public interface DeviceInfoConstants { 25 26 public static final String OPEN_GL_EXTENSIONS = "openGlExtensions"; 27 public static final String OPEN_GL_COMPRESSED_TEXTURE_FORMATS = 28 "openGlCompressedTextureFormats"; 29 public static final String SYS_LIBRARIES = "systemlibraries"; 30 public static final String PARTITIONS = "partitions"; 31 public static final String OPEN_GL_ES_VERSION = "openGlEsVersion"; 32 public static final String GRAPHICS_VENDOR = "graphicsVendor"; 33 public static final String GRAPHICS_RENDERER = "graphicsRenderer"; 34 public static final String PROCESSES = "processes"; 35 public static final String FEATURES = "features"; 36 public static final String PHONE_NUMBER = "subscriberId"; 37 public static final String LOCALES = "locales"; 38 public static final String IMSI = "imsi"; 39 public static final String IMEI = "imei"; 40 public static final String NETWORK = "network"; 41 public static final String KEYPAD = "keypad"; 42 public static final String NAVIGATION = "navigation"; 43 public static final String TOUCH_SCREEN = "touch"; 44 public static final String SCREEN_Y_DENSITY = "Ydpi"; 45 public static final String SCREEN_X_DENSITY = "Xdpi"; 46 public static final String SCREEN_SIZE = "screen_size"; 47 public static final String SCREEN_DENSITY_BUCKET = "screen_density_bucket"; 48 public static final String SCREEN_DENSITY = "screen_density"; 49 public static final String RESOLUTION = "resolution"; 50 public static final String VERSION_SDK = "androidPlatformVersion"; 51 public static final String VERSION_RELEASE = "buildVersion"; 52 public static final String BUILD_ABI = "build_abi"; 53 public static final String BUILD_ABI2 = "build_abi2"; 54 public static final String BUILD_FINGERPRINT = "build_fingerprint"; 55 public static final String BUILD_TYPE = "build_type"; 56 public static final String BUILD_MODEL = "build_model"; 57 public static final String BUILD_BRAND = "build_brand"; 58 public static final String BUILD_MANUFACTURER = "build_manufacturer"; 59 public static final String BUILD_BOARD = "build_board"; 60 public static final String BUILD_DEVICE = "build_device"; 61 public static final String PRODUCT_NAME = "buildName"; 62 public static final String BUILD_ID = "buildID"; 63 public static final String BUILD_VERSION = "buildVersion"; 64 public static final String BUILD_TAGS = "build_tags"; 65 public static final String SERIAL_NUMBER = "deviceID"; 66 public static final String STORAGE_DEVICES = "storage_devices"; 67 public static final String MULTI_USER = "multi_user"; 68 } 69