Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 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> |
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 | |
Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 29 | <feature name="android.hardware.audio.output" /> |
Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 30 | <feature name="android.hardware.location" /> |
| 31 | <feature name="android.hardware.location.network" /> |
Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 32 | <feature name="android.hardware.bluetooth" /> |
| 33 | <feature name="android.hardware.touchscreen" /> |
| 34 | <feature name="android.hardware.microphone" /> |
Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 35 | <!-- Feature to specify if the device is a car --> |
| 36 | <feature name="android.hardware.type.automotive" /> |
| 37 | |
| 38 | <!-- basic system services --> |
| 39 | <feature name="android.software.app_widgets" /> |
| 40 | <feature name="android.software.connectionservice" /> |
| 41 | <feature name="android.software.voice_recognizers" notLowRam="true" /> |
| 42 | <feature name="android.software.backup" /> |
| 43 | <feature name="android.software.home_screen" /> |
Sanket Agarwal | 9925cce | 2015-08-13 17:05:09 -0700 | [diff] [blame] | 44 | <feature name="android.software.print" /> |
| 45 | |
| 46 | <!-- Feature to specify if the device supports adding device admins. --> |
| 47 | <feature name="android.software.device_admin" /> |
| 48 | |
| 49 | <!-- Feature to specify if the device support managed users. --> |
| 50 | <feature name="android.software.managed_users" /> |
| 51 | |
| 52 | <!-- devices with GPS must include android.hardware.location.gps.xml --> |
| 53 | <!-- devices with an autofocus camera and/or flash must include either |
| 54 | android.hardware.camera.autofocus.xml or |
| 55 | android.hardware.camera.autofocus-flash.xml --> |
| 56 | <!-- devices with a front facing camera must include |
| 57 | android.hardware.camera.front.xml --> |
| 58 | <!-- devices with WiFi must also include android.hardware.wifi.xml --> |
| 59 | <!-- devices that support multitouch must include the most appropriate one |
| 60 | of these files: |
| 61 | |
| 62 | If only partial (non-independent) pointers are supported: |
| 63 | android.hardware.touchscreen.multitouch.xml |
| 64 | |
| 65 | If up to 4 independently tracked pointers are supported: |
| 66 | include android.hardware.touchscreen.multitouch.distinct.xml |
| 67 | |
| 68 | If 5 or more independently tracked pointers are supported: |
| 69 | include android.hardware.touchscreen.multitouch.jazzhand.xml |
| 70 | |
| 71 | ONLY ONE of the above should be included. --> |
| 72 | <!-- devices with an ambient light sensor must also include |
| 73 | android.hardware.sensor.light.xml --> |
| 74 | <!-- devices with a proximity sensor must also include |
| 75 | android.hardware.sensor.proximity.xml --> |
| 76 | <!-- GSM phones must also include android.hardware.telephony.gsm.xml --> |
| 77 | <!-- CDMA phones must also include android.hardware.telephony.cdma.xml --> |
| 78 | <!-- Devices that have low-latency audio stacks suitable for apps like |
| 79 | VoIP may include android.hardware.audio.low_latency.xml. ONLY apps |
| 80 | that meet the requirements specified in the CDD may include this. --> |
| 81 | </permissions> |