Home | History | Annotate | Download | only in common
      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 <!-- This is a copy of frameworks/native/data/etc/car_core_hardware.xml that is somewhat
     18      combined with device/generic/goldfish/data/etc/handheld_core_hardware.xml.
     19      Notably bluetooth is removed since it does not work in the emulator.
     20 -->
     21 
     22 <!-- These are the hardware components that all handheld devices
     23      must include. Devices with optional hardware must also include extra
     24      hardware files, per the comments below.
     25 
     26      Handheld devices include phones, mobile Internet devices (MIDs),
     27      Personal Media Players (PMPs), small tablets (7" or less), and similar
     28      devices.
     29 -->
     30 <permissions>
     31     <!-- This is Android and fully CTS compatible.  Basically this is for CTS tests to use. -->
     32     <feature name="android.software.cts" />
     33 
     34     <feature name="android.hardware.audio.output" />
     35     <feature name="android.hardware.location" />
     36     <feature name="android.hardware.location.gps" />
     37     <feature name="android.hardware.location.network" />
     38     <feature name="android.hardware.touchscreen" />
     39     <feature name="android.hardware.microphone" />
     40 
     41     <!-- basic system services -->
     42     <feature name="android.software.connectionservice" />
     43     <feature name="android.software.voice_recognizers" notLowRam="true" />
     44     <feature name="android.software.backup" />
     45     <feature name="android.software.home_screen" />
     46     <!-- No support of third-party IMEs by default <feature name="android.software.input_methods" /> -->
     47     <feature name="android.software.midi" />
     48     <feature name="android.software.print" />
     49     <feature name="android.software.secure_lock_screen" />
     50 
     51     <feature name="android.software.picture_in_picture" />
     52 
     53     <!-- devices with GPS must include android.hardware.location.gps.xml -->
     54     <!-- devices with an autofocus camera and/or flash must include either
     55          android.hardware.camera.autofocus.xml or
     56          android.hardware.camera.autofocus-flash.xml -->
     57     <!-- devices with a front facing camera must include
     58          android.hardware.camera.front.xml -->
     59     <!-- devices with WiFi must also include android.hardware.wifi.xml -->
     60     <!-- devices that support multitouch must include the most appropriate one
     61          of these files:
     62 
     63          If only partial (non-independent) pointers are supported:
     64          android.hardware.touchscreen.multitouch.xml
     65 
     66          If up to 4 independently tracked pointers are supported:
     67          include android.hardware.touchscreen.multitouch.distinct.xml
     68 
     69          If 5 or more independently tracked pointers are supported:
     70          include android.hardware.touchscreen.multitouch.jazzhand.xml
     71 
     72          ONLY ONE of the above should be included. -->
     73     <!-- devices with an ambient light sensor must also include
     74          android.hardware.sensor.light.xml -->
     75     <!-- devices with a proximity sensor must also include
     76          android.hardware.sensor.proximity.xml -->
     77     <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
     78     <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
     79     <!-- Devices that have low-latency audio stacks suitable for apps like
     80          VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
     81          that meet the requirements specified in the CDD may include this. -->
     82 </permissions>
     83