Home | History | Annotate | Download | only in etc
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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     <!-- This is Android and fully CTS compatible.  Basically this is for CTS tests to use. -->
     27     <feature name="android.software.cts" />
     28 
     29     <feature name="android.hardware.audio.output" />
     30     <feature name="android.hardware.location" />
     31     <feature name="android.hardware.location.network" />
     32     <feature name="android.hardware.sensor.compass" />
     33     <feature name="android.hardware.sensor.accelerometer" />
     34     <feature name="android.hardware.bluetooth" />
     35     <feature name="android.hardware.touchscreen" />
     36     <feature name="android.hardware.touchscreen.multitouch" />
     37     <feature name="android.hardware.touchscreen.multitouch.distinct" />
     38     <feature name="android.hardware.microphone" />
     39     <feature name="android.hardware.screen.portrait" />
     40     <feature name="android.hardware.screen.landscape" />
     41 
     42     <!-- basic system services -->
     43     <feature name="android.software.app_widgets" />
     44     <feature name="android.software.voice_recognizers" />
     45     <feature name="android.software.backup" />
     46     <feature name="android.software.home_screen" />
     47     <feature name="android.software.input_methods" />
     48     <feature name="android.software.picture_in_picture" />
     49     <feature name="android.software.activities_on_secondary_displays" />
     50     <feature name="android.software.print" />
     51     <feature name="android.software.companion_device_setup" />
     52     <feature name="android.software.autofill" />
     53     <feature name="android.software.cant_save_state" />
     54 
     55     <!-- Feature to specify if the device supports adding device admins. -->
     56     <feature name="android.software.device_admin" />
     57 
     58     <!-- Feature to specify if the device support managed users. -->
     59     <feature name="android.software.managed_users" />
     60 
     61     <!-- devices with GPS must include android.hardware.location.gps.xml -->
     62     <!-- devices with a rear-facing camera must include one of these as appropriate:
     63          android.hardware.camera.xml or
     64          android.hardware.camera.autofocus.xml or
     65          android.hardware.camera.autofocus-flash.xml -->
     66     <!-- devices with a front facing camera must include
     67          android.hardware.camera.front.xml -->
     68     <!-- devices with WiFi must also include android.hardware.wifi.xml -->
     69     <!-- devices with an ambient light sensor must also include
     70          android.hardware.sensor.light.xml -->
     71     <!-- devices with a proximity sensor must also include
     72          android.hardware.sensor.proximity.xml -->
     73     <!-- devices with a barometer must also include
     74          android.hardware.sensor.barometer.xml -->
     75     <!-- devices with a gyroscope must also include
     76          android.hardware.sensor.gyroscope.xml -->
     77     <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
     78     <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
     79 </permissions>
     80