blob: 0d5d206438472f4db289751294bfae31de460438 [file] [log] [blame]
Colin Cross97da9052012-03-26 16:29:20 -07001<?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 Connorsacc235a2014-04-01 12:14:08 +01007
Colin Cross97da9052012-03-26 16:29:20 -07008 http://www.apache.org/licenses/LICENSE-2.0
Adam Connorsacc235a2014-04-01 12:14:08 +01009
Colin Cross97da9052012-03-26 16:29:20 -070010 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<!-- These are the hardware components that all handheld devices
18 must include. Devices with optional hardware must also include extra
19 hardware files, per the comments below.
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 Hackborn6254e642017-03-18 22:15:44 -070026 <!-- This is Android and fully CTS compatible. Basically this is for CTS tests to use. -->
27 <feature name="android.software.cts" />
28
Ihab Awad5430cea2014-09-12 11:11:16 -070029 <feature name="android.hardware.audio.output" />
Colin Cross97da9052012-03-26 16:29:20 -070030 <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" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080040
41 <!-- basic system services -->
Dianne Hackborn0046d962013-03-22 17:24:57 -070042 <feature name="android.software.app_widgets" />
Ihab Awad5430cea2014-09-12 11:11:16 -070043 <feature name="android.software.connectionservice" />
Dianne Hackborn71f6dd72014-11-14 15:45:13 -080044 <feature name="android.software.voice_recognizers" notLowRam="true" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080045 <feature name="android.software.backup" />
Dianne Hackborn0046d962013-03-22 17:24:57 -070046 <feature name="android.software.home_screen" />
47 <feature name="android.software.input_methods" />
Winsond351cda2016-10-10 11:37:05 -070048 <feature name="android.software.picture_in_picture" />
Andrii Kulian93b1b7f2017-04-07 16:12:44 -070049 <feature name="android.software.activities_on_secondary_displays" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080050 <feature name="android.software.print" />
Eugene Susla6ab663a2017-03-10 16:50:50 -080051 <feature name="android.software.companion_device_setup" />
Svet Ganovbd74d422017-04-13 11:51:44 -070052 <feature name="android.software.autofill" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080053
Amith Yamasani7562c0e2013-09-16 10:48:35 -070054 <!-- Feature to specify if the device supports adding device admins. -->
55 <feature name="android.software.device_admin" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080056
Amith Yamasani2ab32d62014-09-12 14:21:03 -070057 <!-- Feature to specify if the device support managed users. -->
58 <feature name="android.software.managed_users" />
Adam Connorsacc235a2014-04-01 12:14:08 +010059
Ruben Brunk5ce292f2016-10-24 18:28:46 -070060 <!-- Feature to specify if the device supports a VR mode.
61 feature name="android.software.vr.mode" -->
Ruben Brunk294eea22016-01-25 19:22:49 -080062 <!-- Devices with all optimizations required to be a "VR Ready" device that
63 pass all CTS tests for this feature must include feature
64 android.hardware.vr.high_performance -->
Craig Donner3cd058f2017-03-15 17:10:00 -070065 <!-- Devices that support VR headtracking features and pass all CDD
66 requirements may include
67 android.hardware.vr.headtracking -->
Ruben Brunk67d2fde2015-12-04 16:24:31 -080068
Colin Cross97da9052012-03-26 16:29:20 -070069 <!-- devices with GPS must include android.hardware.location.gps.xml -->
70 <!-- devices with an autofocus camera and/or flash must include either
Adam Connorsacc235a2014-04-01 12:14:08 +010071 android.hardware.camera.autofocus.xml or
Colin Cross97da9052012-03-26 16:29:20 -070072 android.hardware.camera.autofocus-flash.xml -->
73 <!-- devices with a front facing camera must include
74 android.hardware.camera.front.xml -->
75 <!-- devices with WiFi must also include android.hardware.wifi.xml -->
76 <!-- devices that support multitouch must include the most appropriate one
77 of these files:
78
79 If only partial (non-independent) pointers are supported:
80 android.hardware.touchscreen.multitouch.xml
81
82 If up to 4 independently tracked pointers are supported:
83 include android.hardware.touchscreen.multitouch.distinct.xml
84
85 If 5 or more independently tracked pointers are supported:
86 include android.hardware.touchscreen.multitouch.jazzhand.xml
87
88 ONLY ONE of the above should be included. -->
89 <!-- devices with an ambient light sensor must also include
90 android.hardware.sensor.light.xml -->
91 <!-- devices with a proximity sensor must also include
92 android.hardware.sensor.proximity.xml -->
93 <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
94 <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
95 <!-- Devices that have low-latency audio stacks suitable for apps like
96 VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
97 that meet the requirements specified in the CDD may include this. -->
98</permissions>