Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 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 |
Adam Connors | acc235a | 2014-04-01 12:14:08 +0100 | [diff] [blame] | 7 | |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Adam Connors | acc235a | 2014-04-01 12:14:08 +0100 | [diff] [blame] | 9 | |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 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 | |
Rajeev Kumar | 20215e9 | 2018-03-16 14:57:58 -0700 | [diff] [blame] | 17 | <!-- These are the hardware components that all handheld devices except Android Go |
| 18 | must include, for Android Go devices include go_handheld_core_hardware.xml. |
| 19 | Devices with optional hardware must also include extra hardware files, per the comments below. |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 20 | |
| 21 | Handheld devices include phones, mobile Internet devices (MIDs), |
| 22 | Personal Media Players (PMPs), small tablets (7" or less), and similar |
| 23 | devices. |
| 24 | --> |
| 25 | <permissions> |
Dianne Hackborn | 6254e64 | 2017-03-18 22:15:44 -0700 | [diff] [blame] | 26 | <!-- This is Android and fully CTS compatible. Basically this is for CTS tests to use. --> |
| 27 | <feature name="android.software.cts" /> |
| 28 | |
Ihab Awad | 5430cea | 2014-09-12 11:11:16 -0700 | [diff] [blame] | 29 | <feature name="android.hardware.audio.output" /> |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 30 | <feature name="android.hardware.camera" /> |
| 31 | <feature name="android.hardware.location" /> |
| 32 | <feature name="android.hardware.location.network" /> |
| 33 | <feature name="android.hardware.sensor.compass" /> |
| 34 | <feature name="android.hardware.sensor.accelerometer" /> |
| 35 | <feature name="android.hardware.bluetooth" /> |
| 36 | <feature name="android.hardware.touchscreen" /> |
| 37 | <feature name="android.hardware.microphone" /> |
| 38 | <feature name="android.hardware.screen.portrait" /> |
| 39 | <feature name="android.hardware.screen.landscape" /> |
Jeremy Joslin | 6237cbc | 2021-01-27 16:29:34 -0800 | [diff] [blame] | 40 | <!-- Indicate support for the Android security model per the CDD. --> |
| 41 | <feature name="android.hardware.security.model.compatible" /> |
Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 42 | |
| 43 | <!-- basic system services --> |
Dianne Hackborn | 0046d96 | 2013-03-22 17:24:57 -0700 | [diff] [blame] | 44 | <feature name="android.software.app_widgets" /> |
Ihab Awad | 5430cea | 2014-09-12 11:11:16 -0700 | [diff] [blame] | 45 | <feature name="android.software.connectionservice" /> |
Dianne Hackborn | 71f6dd7 | 2014-11-14 15:45:13 -0800 | [diff] [blame] | 46 | <feature name="android.software.voice_recognizers" notLowRam="true" /> |
Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 47 | <feature name="android.software.backup" /> |
Dianne Hackborn | 0046d96 | 2013-03-22 17:24:57 -0700 | [diff] [blame] | 48 | <feature name="android.software.home_screen" /> |
| 49 | <feature name="android.software.input_methods" /> |
Ng Zhi An | 7e70ec2 | 2017-09-26 11:29:19 -0700 | [diff] [blame] | 50 | <feature name="android.software.picture_in_picture" notLowRam="true" /> |
Ng Zhi An | e1e8521 | 2017-12-19 13:20:01 -0800 | [diff] [blame] | 51 | <feature name="android.software.activities_on_secondary_displays" notLowRam="true" /> |
Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 52 | <feature name="android.software.print" /> |
Eugene Susla | 6ab663a | 2017-03-10 16:50:50 -0800 | [diff] [blame] | 53 | <feature name="android.software.companion_device_setup" /> |
Svet Ganov | bd74d42 | 2017-04-13 11:51:44 -0700 | [diff] [blame] | 54 | <feature name="android.software.autofill" /> |
Dianne Hackborn | 91bda3a | 2018-05-04 11:33:36 -0700 | [diff] [blame] | 55 | <feature name="android.software.cant_save_state" /> |
Lenka Trochtova | 872ff76 | 2018-12-17 11:25:52 +0100 | [diff] [blame] | 56 | <feature name="android.software.secure_lock_screen" /> |
Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 57 | |
Amith Yamasani | 7562c0e | 2013-09-16 10:48:35 -0700 | [diff] [blame] | 58 | <!-- Feature to specify if the device supports adding device admins. --> |
| 59 | <feature name="android.software.device_admin" /> |
Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 60 | |
Amith Yamasani | 2ab32d6 | 2014-09-12 14:21:03 -0700 | [diff] [blame] | 61 | <!-- Feature to specify if the device support managed users. --> |
Ng Zhi An | f5a3033 | 2017-10-31 13:13:45 -0700 | [diff] [blame] | 62 | <feature name="android.software.managed_users" notLowRam="true"/> |
Adam Connors | acc235a | 2014-04-01 12:14:08 +0100 | [diff] [blame] | 63 | |
Matt Pietal | a9708b1 | 2020-05-08 14:15:08 -0400 | [diff] [blame] | 64 | <!-- Feature to specify if the device supports controls. --> |
| 65 | <feature name="android.software.controls" /> |
| 66 | |
Craig Donner | fb003b0 | 2017-12-27 17:13:02 -0800 | [diff] [blame] | 67 | <!-- Devices with all optimizations required to support VR Mode and |
| 68 | pass all CDD requirements for this feature may include |
Ruben Brunk | 294eea2 | 2016-01-25 19:22:49 -0800 | [diff] [blame] | 69 | android.hardware.vr.high_performance --> |
Craig Donner | 3cd058f | 2017-03-15 17:10:00 -0700 | [diff] [blame] | 70 | <!-- Devices that support VR headtracking features and pass all CDD |
| 71 | requirements may include |
| 72 | android.hardware.vr.headtracking --> |
Ruben Brunk | 67d2fde | 2015-12-04 16:24:31 -0800 | [diff] [blame] | 73 | |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 74 | <!-- devices with GPS must include android.hardware.location.gps.xml --> |
| 75 | <!-- devices with an autofocus camera and/or flash must include either |
Adam Connors | acc235a | 2014-04-01 12:14:08 +0100 | [diff] [blame] | 76 | android.hardware.camera.autofocus.xml or |
Colin Cross | 97da905 | 2012-03-26 16:29:20 -0700 | [diff] [blame] | 77 | android.hardware.camera.autofocus-flash.xml --> |
| 78 | <!-- devices with a front facing camera must include |
| 79 | android.hardware.camera.front.xml --> |
| 80 | <!-- devices with WiFi must also include android.hardware.wifi.xml --> |
| 81 | <!-- devices that support multitouch must include the most appropriate one |
| 82 | of these files: |
| 83 | |
| 84 | If only partial (non-independent) pointers are supported: |
| 85 | android.hardware.touchscreen.multitouch.xml |
| 86 | |
| 87 | If up to 4 independently tracked pointers are supported: |
| 88 | include android.hardware.touchscreen.multitouch.distinct.xml |
| 89 | |
| 90 | If 5 or more independently tracked pointers are supported: |
| 91 | include android.hardware.touchscreen.multitouch.jazzhand.xml |
| 92 | |
| 93 | ONLY ONE of the above should be included. --> |
| 94 | <!-- devices with an ambient light sensor must also include |
| 95 | android.hardware.sensor.light.xml --> |
| 96 | <!-- devices with a proximity sensor must also include |
| 97 | android.hardware.sensor.proximity.xml --> |
| 98 | <!-- GSM phones must also include android.hardware.telephony.gsm.xml --> |
| 99 | <!-- CDMA phones must also include android.hardware.telephony.cdma.xml --> |
| 100 | <!-- Devices that have low-latency audio stacks suitable for apps like |
| 101 | VoIP may include android.hardware.audio.low_latency.xml. ONLY apps |
| 102 | that meet the requirements specified in the CDD may include this. --> |
| 103 | </permissions> |