xref: /aosp_15_r20/frameworks/native/data/etc/go_handheld_core_hardware.xml (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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 Android Go handheld devices
18     must include. Devices with optional hardware must also include extra
19     hardware files, per the comments below.
20-->
21<permissions>
22    <!-- This is Android and fully CTS compatible.  Basically this is for CTS tests to use. -->
23    <feature name="android.software.cts" />
24
25    <feature name="android.hardware.audio.output" />
26    <feature name="android.hardware.camera" />
27    <feature name="android.hardware.location" />
28    <feature name="android.hardware.location.network" />
29    <feature name="android.hardware.sensor.compass" />
30    <feature name="android.hardware.sensor.accelerometer" />
31    <feature name="android.hardware.bluetooth" />
32    <feature name="android.hardware.touchscreen" />
33    <feature name="android.hardware.microphone" />
34    <feature name="android.hardware.screen.portrait" />
35    <feature name="android.hardware.screen.landscape" />
36    <!-- Indicate support for the Android security model per the CDD. -->
37    <feature name="android.hardware.security.model.compatible" />
38
39    <!-- basic system services -->
40    <feature name="android.software.telecom" />
41    <feature name="android.software.backup" />
42    <feature name="android.software.home_screen" />
43    <feature name="android.software.input_methods" />
44    <feature name="android.software.print" />
45    <feature name="android.software.companion_device_setup" />
46    <feature name="android.software.autofill" />
47    <feature name="android.software.cant_save_state" />
48    <feature name="android.software.secure_lock_screen" />
49    <feature name="android.software.window_magnification" />
50
51    <!-- Feature to specify if the device supports adding device admins. -->
52    <feature name="android.software.device_admin" />
53
54    <!-- Feature to specify if the device support managed users. -->
55    <feature name="android.software.managed_users" />
56
57    <!-- Devices with all optimizations required to support VR Mode and
58         pass all CDD requirements for this feature may include
59         android.hardware.vr.high_performance -->
60    <!-- Devices that support VR headtracking features and pass all CDD
61         requirements may include
62         android.hardware.vr.headtracking -->
63
64    <!-- devices with GPS must include android.hardware.location.gps.xml -->
65    <!-- devices with an autofocus camera and/or flash must include either
66         android.hardware.camera.autofocus.xml or
67         android.hardware.camera.autofocus-flash.xml -->
68    <!-- devices with a front facing camera must include
69         android.hardware.camera.front.xml -->
70    <!-- devices with WiFi must also include android.hardware.wifi.xml -->
71    <!-- devices that support multitouch must include the most appropriate one
72         of these files:
73
74         If only partial (non-independent) pointers are supported:
75         android.hardware.touchscreen.multitouch.xml
76
77         If up to 4 independently tracked pointers are supported:
78         include android.hardware.touchscreen.multitouch.distinct.xml
79
80         If 5 or more independently tracked pointers are supported:
81         include android.hardware.touchscreen.multitouch.jazzhand.xml
82
83         ONLY ONE of the above should be included. -->
84    <!-- devices with an ambient light sensor must also include
85         android.hardware.sensor.light.xml -->
86    <!-- devices with a proximity sensor must also include
87         android.hardware.sensor.proximity.xml -->
88    <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
89    <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
90    <!-- Devices that have low-latency audio stacks suitable for apps like
91         VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
92         that meet the requirements specified in the CDD may include this. -->
93</permissions>
94