Home | History | Annotate | Download | only in etc
      1 <?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      This file is similar to frameworks/native/data/etc/handheld_core_hardware.xml.
     26      The differences are:
     27          'Normal' features that are not available in goldfish:
     28              android.hardware.bluetooth
     29          Extra features available in goldfish:
     30              android.hardware.location.gps
     31              android.hardware.sensor.barometer
     32              android.hardware.sensor.light
     33              android.hardware.sensor.proximity
     34              android.hardware.sensor.relative_humidity
     35              android.hardware.telephony
     36              android.hardware.telephony.gsm
     37              android.software.midi
     38 -->
     39 <permissions>
     40     <feature name="android.hardware.audio.output" />
     41     <feature name="android.hardware.camera" />
     42     <feature name="android.hardware.location" />
     43     <feature name="android.hardware.location.gps" />
     44     <feature name="android.hardware.location.network" />
     45     <feature name="android.hardware.sensor.accelerometer" />
     46     <feature name="android.hardware.sensor.ambient_temperature" />
     47     <feature name="android.hardware.sensor.compass" />
     48     <feature name="android.hardware.sensor.barometer" />
     49     <feature name="android.hardware.sensor.light" />
     50     <feature name="android.hardware.sensor.proximity" />
     51     <feature name="android.hardware.sensor.relative_humidity" />
     52     <feature name="android.hardware.telephony" />
     53     <feature name="android.hardware.telephony.gsm" />
     54     <feature name="android.hardware.touchscreen" />
     55     <feature name="android.hardware.microphone" />
     56     <feature name="android.hardware.screen.portrait" />
     57     <feature name="android.hardware.screen.landscape" />
     58 
     59     <!-- basic system services -->
     60     <feature name="android.software.app_widgets" />
     61     <feature name="android.software.connectionservice" />
     62     <feature name="android.software.voice_recognizers" notLowRam="true" />
     63     <feature name="android.software.backup" />
     64     <feature name="android.software.home_screen" />
     65     <feature name="android.software.input_methods" />
     66     <feature name="android.software.midi" />
     67     <feature name="android.software.print" />
     68 
     69     <!-- Feature to specify if the device supports adding device admins. -->
     70     <feature name="android.software.device_admin" />
     71 
     72     <!-- Feature to specify if the device support managed users. -->
     73     <feature name="android.software.managed_users" />
     74 
     75     <feature name="android.software.picture_in_picture" />
     76 
     77     <feature name="android.software.cts" />
     78     <!-- devices with GPS must include android.hardware.location.gps.xml -->
     79     <!-- devices with an autofocus camera and/or flash must include either
     80          android.hardware.camera.autofocus.xml or
     81          android.hardware.camera.autofocus-flash.xml -->
     82     <!-- devices with a front facing camera must include
     83          android.hardware.camera.front.xml -->
     84     <!-- devices with WiFi must also include android.hardware.wifi.xml -->
     85     <!-- devices that support multitouch must include the most appropriate one
     86          of these files:
     87 
     88          If only partial (non-independent) pointers are supported:
     89          android.hardware.touchscreen.multitouch.xml
     90 
     91          If up to 4 independently tracked pointers are supported:
     92          include android.hardware.touchscreen.multitouch.distinct.xml
     93 
     94          If 5 or more independently tracked pointers are supported:
     95          include android.hardware.touchscreen.multitouch.jazzhand.xml
     96 
     97          ONLY ONE of the above should be included. -->
     98     <!-- devices with an ambient light sensor must also include
     99          android.hardware.sensor.light.xml -->
    100     <!-- devices with a proximity sensor must also include
    101          android.hardware.sensor.proximity.xml -->
    102     <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
    103     <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
    104     <!-- Devices that have low-latency audio stacks suitable for apps like
    105          VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
    106          that meet the requirements specified in the CDD may include this. -->
    107 </permissions>
    108