1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 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 25This file should be almost identical to device/generic/goldfish/data/etc/handheld_core_hardware.xml. 26 The differences are: 27 Remove features available in goldfish: 28 android.software.secure_lock_screen 29 android.software.picture_in_picture 30--> 31<permissions> 32 <feature name="android.hardware.audio.output" /> 33 <feature name="android.hardware.bluetooth" /> 34 <feature name="android.hardware.camera" /> 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.sensor.accelerometer" /> 39 <feature name="android.hardware.sensor.ambient_temperature" /> 40 <feature name="android.hardware.sensor.compass" /> 41 <feature name="android.hardware.sensor.barometer" /> 42 <feature name="android.hardware.sensor.light" /> 43 <feature name="android.hardware.sensor.proximity" /> 44 <feature name="android.hardware.sensor.relative_humidity" /> 45 <feature name="android.hardware.sensor.gyroscope" /> 46 <feature name="android.hardware.sensor.hinge_angle" /> 47 <feature name="android.hardware.telephony" /> 48 <feature name="android.hardware.telephony.calling" /> 49 <feature name="android.hardware.telephony.data" /> 50 <feature name="android.hardware.telephony.gsm" /> 51 <feature name="android.hardware.telephony.messaging" /> 52 <feature name="android.hardware.telephony.ims" /> 53 <feature name="android.hardware.telephony.radio.access" /> 54 <feature name="android.hardware.telephony.subscription" /> 55 <feature name="android.hardware.touchscreen" /> 56 <feature name="android.hardware.microphone" /> 57 <feature name="android.hardware.screen.portrait" /> 58 <feature name="android.hardware.screen.landscape" /> 59 60 <!-- basic system services --> 61 <feature name="android.software.app_widgets" /> 62 <feature name="android.software.telecom" /> 63 <feature name="android.software.voice_recognizers" notLowRam="true" /> 64 <feature name="android.software.backup" /> 65 <feature name="android.software.home_screen" /> 66 <feature name="android.software.input_methods" /> 67 <feature name="android.software.midi" /> 68 <feature name="android.software.print" /> 69 <feature name="android.software.cant_save_state" /> 70 <feature name="android.software.companion_device_setup" /> 71 <feature name="android.software.credentials" /> 72 73 <!-- Feature to specify if the device supports adding device admins. --> 74 <feature name="android.software.device_admin" /> 75 76 <!-- Feature to specify if the device support managed users. --> 77 <feature name="android.software.managed_users" /> 78 79 <feature name="android.software.activities_on_secondary_displays" /> 80 81 <feature name="android.software.cts" /> 82 83 <feature name="android.hardware.security.model.compatible" /> 84 85 <!-- Feature to specify if the device supports controls. --> 86 <feature name="android.software.controls" /> 87 88 <!-- devices with GPS must include android.hardware.location.gps.xml --> 89 <!-- devices with an autofocus camera and/or flash must include either 90 android.hardware.camera.autofocus.xml or 91 android.hardware.camera.autofocus-flash.xml --> 92 <!-- devices with a front facing camera must include 93 android.hardware.camera.front.xml --> 94 <!-- devices with WiFi must also include android.hardware.wifi.xml --> 95 <!-- devices that support multitouch must include the most appropriate one 96 of these files: 97 98 If only partial (non-independent) pointers are supported: 99 android.hardware.touchscreen.multitouch.xml 100 101 If up to 4 independently tracked pointers are supported: 102 include android.hardware.touchscreen.multitouch.distinct.xml 103 104 If 5 or more independently tracked pointers are supported: 105 include android.hardware.touchscreen.multitouch.jazzhand.xml 106 107 ONLY ONE of the above should be included. --> 108 <!-- devices with an ambient light sensor must also include 109 android.hardware.sensor.light.xml --> 110 <!-- devices with a proximity sensor must also include 111 android.hardware.sensor.proximity.xml --> 112 <!-- GSM phones must also include android.hardware.telephony.gsm.xml --> 113 <!-- CDMA phones must also include android.hardware.telephony.cdma.xml --> 114 <!-- Devices that have low-latency audio stacks suitable for apps like 115 VoIP may include android.hardware.audio.low_latency.xml. ONLY apps 116 that meet the requirements specified in the CDD may include this. --> 117</permissions> 118