Adam Lesinski | 0f0ccf0 | 2014-02-04 18:03:52 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2014 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 and software components that all wearable devices |
| 18 | must include. Devices with optional hardware/software must also include |
| 19 | extra hardware/software files, per the comments below. |
| 20 | |
| 21 | Wearable devices include watches, glasses, backpacks, and sweaters. |
| 22 | --> |
| 23 | <permissions> |
| 24 | <feature name="android.hardware.camera" /> |
| 25 | <feature name="android.hardware.location" /> |
| 26 | <feature name="android.hardware.location.network" /> |
| 27 | <feature name="android.hardware.sensor.compass" /> |
| 28 | <feature name="android.hardware.sensor.accelerometer" /> |
| 29 | <feature name="android.hardware.bluetooth" /> |
| 30 | <feature name="android.hardware.touchscreen" /> |
| 31 | <feature name="android.hardware.microphone" /> |
| 32 | <feature name="android.hardware.screen.portrait" /> |
| 33 | <feature name="android.hardware.screen.landscape" /> |
| 34 | |
| 35 | <!-- basic system services --> |
| 36 | <feature name="android.software.accessibility" /> |
| 37 | <feature name="android.software.home_screen" /> |
| 38 | <feature name="android.software.input_methods" /> |
| 39 | |
| 40 | <!-- devices with GPS must include android.hardware.location.gps.xml --> |
| 41 | <!-- devices with an autofocus camera and/or flash must include either |
| 42 | android.hardware.camera.autofocus.xml or |
| 43 | android.hardware.camera.autofocus-flash.xml --> |
| 44 | <!-- devices with a front facing camera must include |
| 45 | android.hardware.camera.front.xml --> |
| 46 | <!-- devices with WiFi must also include android.hardware.wifi.xml --> |
| 47 | <!-- devices that support multitouch must include the most appropriate one |
| 48 | of these files: |
| 49 | |
| 50 | If only partial (non-independent) pointers are supported: |
| 51 | android.hardware.touchscreen.multitouch.xml |
| 52 | |
| 53 | If up to 4 independently tracked pointers are supported: |
| 54 | include android.hardware.touchscreen.multitouch.distinct.xml |
| 55 | |
| 56 | If 5 or more independently tracked pointers are supported: |
| 57 | include android.hardware.touchscreen.multitouch.jazzhand.xml |
| 58 | |
| 59 | ONLY ONE of the above should be included. --> |
| 60 | <!-- devices with an ambient light sensor must also include |
| 61 | android.hardware.sensor.light.xml --> |
| 62 | <!-- devices with a proximity sensor must also include |
| 63 | android.hardware.sensor.proximity.xml --> |
| 64 | <!-- Devices that have low-latency audio stacks suitable for apps like |
| 65 | VoIP may include android.hardware.audio.low_latency.xml. ONLY apps |
| 66 | that meet the requirements specified in the CDD may include this. --> |
| 67 | </permissions> |