handheld_core_hardware.xml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2009 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!-- These are the hardware components that all handheld devices
  14. must include. Devices with optional hardware must also include extra
  15. hardware files, per the comments below.
  16. Handheld devices include phones, mobile Internet devices (MIDs),
  17. Personal Media Players (PMPs), small tablets (7" or less), and similar
  18. devices.
  19. -->
  20. <permissions>
  21. <feature name="android.hardware.audio.output" />
  22. <feature name="android.hardware.camera" />
  23. <feature name="android.hardware.location" />
  24. <feature name="android.hardware.location.network" />
  25. <feature name="android.hardware.sensor.compass" />
  26. <feature name="android.hardware.sensor.accelerometer" />
  27. <feature name="android.hardware.bluetooth" />
  28. <feature name="android.hardware.touchscreen" />
  29. <feature name="android.hardware.microphone" />
  30. <feature name="android.hardware.screen.portrait" />
  31. <feature name="android.hardware.screen.landscape" />
  32. <!-- basic system services -->
  33. <feature name="android.software.app_widgets" />
  34. <feature name="android.software.connectionservice" />
  35. <feature name="android.software.voice_recognizers" notLowRam="true" />
  36. <feature name="android.software.backup" />
  37. <feature name="android.software.home_screen" />
  38. <feature name="android.software.input_methods" />
  39. <feature name="android.software.print" />
  40. <!-- Feature to specify if the device supports adding device admins. -->
  41. <feature name="android.software.device_admin" />
  42. <!-- Feature to specify if the device support managed users. -->
  43. <feature name="android.software.managed_users" />
  44. <!-- devices with GPS must include android.hardware.location.gps.xml -->
  45. <!-- devices with an autofocus camera and/or flash must include either
  46. android.hardware.camera.autofocus.xml or
  47. android.hardware.camera.autofocus-flash.xml -->
  48. <!-- devices with a front facing camera must include
  49. android.hardware.camera.front.xml -->
  50. <!-- devices with WiFi must also include android.hardware.wifi.xml -->
  51. <!-- devices that support multitouch must include the most appropriate one
  52. of these files:
  53. If only partial (non-independent) pointers are supported:
  54. android.hardware.touchscreen.multitouch.xml
  55. If up to 4 independently tracked pointers are supported:
  56. include android.hardware.touchscreen.multitouch.distinct.xml
  57. If 5 or more independently tracked pointers are supported:
  58. include android.hardware.touchscreen.multitouch.jazzhand.xml
  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. <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
  65. <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
  66. <!-- Devices that have low-latency audio stacks suitable for apps like
  67. VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
  68. that meet the requirements specified in the CDD may include this. -->
  69. </permissions>