blob: 7f87b7923d86d10788d4fa367a485a1b97c63631 [file] [log] [blame]
Dan Morrill50ab63f2010-03-05 16:16:19 -08001<?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
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<!-- 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>
26 <feature name="android.hardware.camera" />
27 <feature name="android.hardware.location" />
28 <feature name="android.hardware.location.network" />
29 <feature name="android.hardware.sensor.compass" />
30 <feature name="android.hardware.sensor.accelerometer" />
31 <feature name="android.hardware.bluetooth" />
32 <feature name="android.hardware.touchscreen" />
33 <feature name="android.hardware.microphone" />
34 <!-- devices with GPS must include android.hardware.location.gps.xml -->
35 <!-- devices with an autofocus camera and/or flash must include either
36 android.hardware.camera.autofocus.xml or
37 android.hardware.camera.autofocus-flash.xml -->
Chih-Chung Changde1057c2010-06-14 19:15:00 +080038 <!-- devices with a front facing camera must include
39 android.hardware.camera.front.xml -->
Dan Morrill50ab63f2010-03-05 16:16:19 -080040 <!-- devices with WiFi must also include android.hardware.wifi.xml -->
Dan Morrill6993d3d2010-09-03 14:30:14 -070041 <!-- devices that support multitouch must include the most appropriate one
42 of these files:
43
44 If only partial (non-independent) pointers are supported:
45 android.hardware.touchscreen.multitouch.xml
46
47 If up to 4 independently tracked pointers are supported:
48 include android.hardware.touchscreen.multitouch.distinct.xml
49
50 If 5 or more independently tracked pointers are supported:
51 include android.hardware.touchscreen.multitouch.jazzhand.xml
52
53 ONLY ONE of the above should be included. -->
Dan Morrill50ab63f2010-03-05 16:16:19 -080054 <!-- devices with an ambient light sensor must also include
55 android.hardware.sensor.light.xml -->
56 <!-- devices with a proximity sensor must also include
57 android.hardware.sensor.proximity.xml -->
58 <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
59 <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
Dan Morrill898e1e82010-09-26 17:28:30 -070060 <!-- Devices that have low-latency audio stacks suitable for apps like
61 VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
62 that meet the requirements specified in the CDD may include this. -->
Dan Morrill50ab63f2010-03-05 16:16:19 -080063</permissions>