Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 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 | |
Nicholas Sauer | e350b3b | 2014-02-14 17:48:12 -0800 | [diff] [blame] | 26 | public static final String OPEN_GL_EXTENSIONS = "openGlExtensions"; |
Keun young Park | 88e5d1f | 2011-12-14 14:01:01 -0800 | [diff] [blame] | 27 | public static final String OPEN_GL_COMPRESSED_TEXTURE_FORMATS = |
| 28 | "openGlCompressedTextureFormats"; |
Keun young Park | abed886 | 2011-12-09 10:57:33 -0800 | [diff] [blame] | 29 | public static final String SYS_LIBRARIES = "systemlibraries"; |
Brian Muramatsu | 39a416c | 2011-03-14 11:42:53 -0700 | [diff] [blame] | 30 | public static final String PARTITIONS = "partitions"; |
Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 31 | public static final String OPEN_GL_ES_VERSION = "openGlEsVersion"; |
Stuart Scott | 0845b98 | 2013-10-15 14:16:23 -0700 | [diff] [blame] | 32 | public static final String GRAPHICS_VENDOR = "graphicsVendor"; |
| 33 | public static final String GRAPHICS_RENDERER = "graphicsRenderer"; |
Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 34 | public static final String PROCESSES = "processes"; |
| 35 | public static final String FEATURES = "features"; |
Brian Muramatsu | c7a1bd3 | 2012-02-02 15:00:05 -0800 | [diff] [blame] | 36 | public static final String PHONE_NUMBER = "subscriberId"; |
Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 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"; |
Brett Chabot | 770358e | 2011-10-28 17:27:35 -0700 | [diff] [blame] | 49 | public static final String RESOLUTION = "resolution"; |
Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 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"; |
Brett Chabot | 770358e | 2011-10-28 17:27:35 -0700 | [diff] [blame] | 65 | public static final String SERIAL_NUMBER = "deviceID"; |
Jeff Sharkey | 4f24dc5 | 2013-10-11 13:33:13 -0700 | [diff] [blame] | 66 | public static final String STORAGE_DEVICES = "storage_devices"; |
| 67 | public static final String MULTI_USER = "multi_user"; |
Brett Chabot | 2f903ad | 2011-02-02 18:22:18 -0800 | [diff] [blame] | 68 | } |