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 SMALLEST_SCREEN_WIDTH_DP = "smallest_screen_width_dp";
50     public static final String RESOLUTION = "resolution";
51     public static final String VERSION_SDK = "androidPlatformVersion";
52     public static final String VERSION_RELEASE = "buildVersion";
53     public static final String VERSION_BASE_OS = "base_os";
54     public static final String VERSION_SECURITY_PATCH = "security_patch";
55     public static final String BUILD_ABI = "build_abi";
56     public static final String BUILD_ABI2 = "build_abi2";
57     public static final String BUILD_ABIS = "build_abis";
58     public static final String BUILD_ABIS_32 = "build_abis_32";
59     public static final String BUILD_ABIS_64 = "build_abis_64";
60     public static final String BUILD_FINGERPRINT = "build_fingerprint";
61     public static final String BUILD_TYPE = "build_type";
62     public static final String BUILD_MODEL = "build_model";
63     public static final String BUILD_BRAND = "build_brand";
64     public static final String BUILD_MANUFACTURER = "build_manufacturer";
65     public static final String BUILD_BOARD = "build_board";
66     public static final String BUILD_DEVICE = "build_device";
67     public static final String PRODUCT_NAME = "buildName";
68     public static final String BUILD_ID = "buildID";
69     public static final String BUILD_VERSION = "buildVersion";
70     public static final String BUILD_TAGS = "build_tags";
71     public static final String SERIAL_NUMBER = "deviceID";
72     public static final String STORAGE_DEVICES = "storage_devices";
73     public static final String MULTI_USER = "multi_user";
74     public static final String ENCRYPTED = "encrypted";
75     public static final String IS_LOW_RAM_DEVICE = "is_low_ram_device";
76     public static final String MEMORY_CLASS = "memory_class";
77     public static final String LARGE_MEMORY_CLASS = "large_memory_class";
78     public static final String TOTAL_MEMORY = "total_memory";
79     public static final String REFERENCE_BUILD_FINGERPRINT = "reference_build_fingerprint";
80     public static final String AVAILABLE_PROCESSORS = "available_processors";
81 }
82