blob: f9464e8c55b0cac1a902ff21381fd745ecc06b88 [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>
Ihab Awad5430cea2014-09-12 11:11:16 -070026 <feature name="android.hardware.audio.output" />
Colin Cross97da9052012-03-26 16:29:20 -070027 <feature name="android.hardware.camera" />
28 <feature name="android.hardware.location" />
29 <feature name="android.hardware.location.network" />
30 <feature name="android.hardware.sensor.compass" />
31 <feature name="android.hardware.sensor.accelerometer" />
32 <feature name="android.hardware.bluetooth" />
33 <feature name="android.hardware.touchscreen" />
34 <feature name="android.hardware.microphone" />
35 <feature name="android.hardware.screen.portrait" />
36 <feature name="android.hardware.screen.landscape" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080037
38 <!-- basic system services -->
Dianne Hackborn0046d962013-03-22 17:24:57 -070039 <feature name="android.software.app_widgets" />
Ihab Awad5430cea2014-09-12 11:11:16 -070040 <feature name="android.software.connectionservice" />
Dianne Hackborn71f6dd72014-11-14 15:45:13 -080041 <feature name="android.software.voice_recognizers" notLowRam="true" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080042 <feature name="android.software.backup" />
Dianne Hackborn0046d962013-03-22 17:24:57 -070043 <feature name="android.software.home_screen" />
44 <feature name="android.software.input_methods" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080045 <feature name="android.software.print" />
46
Amith Yamasani7562c0e2013-09-16 10:48:35 -070047 <!-- Feature to specify if the device supports adding device admins. -->
48 <feature name="android.software.device_admin" />
Adam Lesinski0f0ccf02014-02-04 18:03:52 -080049
Amith Yamasani2ab32d62014-09-12 14:21:03 -070050 <!-- Feature to specify if the device support managed users. -->
51 <feature name="android.software.managed_users" />
Adam Connorsacc235a2014-04-01 12:14:08 +010052
Ruben Brunk5ce292f2016-10-24 18:28:46 -070053 <!-- Feature to specify if the device supports a VR mode.
54 feature name="android.software.vr.mode" -->
Ruben Brunk294eea22016-01-25 19:22:49 -080055 <!-- Devices with all optimizations required to be a "VR Ready" device that
56 pass all CTS tests for this feature must include feature
57 android.hardware.vr.high_performance -->
Ruben Brunk67d2fde2015-12-04 16:24:31 -080058
Colin Cross97da9052012-03-26 16:29:20 -070059 <!-- devices with GPS must include android.hardware.location.gps.xml -->
60 <!-- devices with an autofocus camera and/or flash must include either
Adam Connorsacc235a2014-04-01 12:14:08 +010061 android.hardware.camera.autofocus.xml or
Colin Cross97da9052012-03-26 16:29:20 -070062 android.hardware.camera.autofocus-flash.xml -->
63 <!-- devices with a front facing camera must include
64 android.hardware.camera.front.xml -->
65 <!-- devices with WiFi must also include android.hardware.wifi.xml -->
66 <!-- devices that support multitouch must include the most appropriate one
67 of these files:
68
69 If only partial (non-independent) pointers are supported:
70 android.hardware.touchscreen.multitouch.xml
71
72 If up to 4 independently tracked pointers are supported:
73 include android.hardware.touchscreen.multitouch.distinct.xml
74
75 If 5 or more independently tracked pointers are supported:
76 include android.hardware.touchscreen.multitouch.jazzhand.xml
77
78 ONLY ONE of the above should be included. -->
79 <!-- devices with an ambient light sensor must also include
80 android.hardware.sensor.light.xml -->
81 <!-- devices with a proximity sensor must also include
82 android.hardware.sensor.proximity.xml -->
83 <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
84 <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
85 <!-- Devices that have low-latency audio stacks suitable for apps like
86 VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
87 that meet the requirements specified in the CDD may include this. -->
88</permissions>