1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 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
14<!-- These values can be used to control uwb stack behavior/features on individual devices.
15     These can be overridden by OEM's by using an RRO overlay app.
16     See device/google/coral/rro_overlays/UwbOverlay/ for a sample overlay app. -->
17<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
18    <overlayable name="UwbCustomization">
19        <!-- START VENDOR CUSTOMIZATION -->
20        <policy type="product|system|vendor">
21
22          <!-- Params from config.xml that can be overlaid -->
23            <item name="config_isMultichip" type="bool" />
24            <item name="config_multichipConfigPath" type="string" />
25            <item name="enable_filters" type="bool" />
26            <item name="filter_distance_inliers_percent" type="integer" />
27            <item name="filter_distance_window" type="integer" />
28            <item name="filter_angle_inliers_percent" type="integer" />
29            <item name="filter_angle_window" type="integer" />
30            <item name="pose_source_type" type="string" />
31            <item name="enable_primer_est_elevation" type="bool" />
32            <item name="enable_primer_aoa" type="bool" />
33            <item name="primer_fov_degrees" type="integer" />
34            <item name="enable_azimuth_mirroring" type="bool" />
35            <item name="predict_rear_azimuths" type="bool" />
36            <item name="mirror_detection_window" type="integer" />
37            <item name="front_mirror_dps" type="integer" />
38            <item name="back_mirror_dps" type="integer" />
39            <item name="prediction_timeout_seconds" type="integer" />
40            <item name="advertise_aoa_criteria_angle" type="integer" />
41            <item name="advertise_time_threshold_millis" type="integer" />
42            <item name="advertise_array_size_to_check" type="integer" />
43            <item name="advertise_array_start_index_to_cal_variance" type="integer" />
44            <item name="advertise_array_end_index_to_cal_variance" type="integer" />
45            <item name="advertise_trusted_variance_value" type="integer" />
46            <item name="rx_data_max_packets_to_store" type="integer" />
47            <item name="background_ranging_enabled" type="bool" />
48            <item name="ranging_error_streak_timer_enabled" type="bool" />
49            <item name="ccc_ranging_stopped_params_send_enabled" type="bool" />
50            <item name="location_use_for_country_code_enabled" type="bool" />
51            <item name="uwb_disabled_until_first_toggle" type="bool" />
52            <item name="ccc_supported_sync_codes_little_endian" type="bool" />
53            <item name="ccc_supported_range_data_ntf_config" type="bool" />
54            <item name="persistent_cache_use_for_country_code_enabled" type="bool" />
55            <item name="hw_idle_turn_off_enabled" type="bool" />
56            <item name="is_multicast_list_update_ntf_v2_supported" type="bool" />
57            <item name="is_multicast_list_update_rsp_v2_supported" type="bool" />
58            <item name="is_antenna_mode_config_supported" type="bool" />
59          <!-- Params from config.xml that can be overlaid -->
60
61          <!-- Params from strings.xml that can be overlaid -->
62          <!-- Params from strings.xml that can be overlaid -->
63
64          <!-- Params from styles.xml that can be overlaid -->
65          <!-- Params from styles.xml that can be overlaid -->
66
67          <!-- Params from drawable/ that can be overlaid -->
68          <!-- Params from drawable/ that can be overlaid -->
69
70          <!-- Params from layout/ that can be overlaid -->
71          <!-- Params from layout/ that can be overlaid -->
72
73        </policy>
74        <!-- END VENDOR CUSTOMIZATION -->
75    </overlayable>
76</resources>
77