1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009-2012 Broadcom Corporation
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
7       http://www.apache.org/licenses/LICENSE-2.0
8
9   Unless required by applicable law or agreed to in writing, software
10   distributed under the License is distributed on an "AS IS" BASIS,
11   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   See the License for the specific language governing permissions and
13   limitations under the License.
14-->
15<resources>
16    <bool name="pbap_include_photos_in_vcard">true</bool>
17    <bool name="pbap_use_profile_for_owner_vcard">true</bool>
18
19    <!-- If true, we will require location to be enabled on the device to
20         fire Bluetooth LE scan result callbacks in addition to having one
21         of the location permissions. -->
22    <bool name="strict_location_check">true</bool>
23
24    <!-- Specifies the min/max connection interval parameters for high priority,
25         balanced and low power GATT configurations. These values are in
26         multiples of 1.25ms. -->
27    <integer name="gatt_high_priority_min_interval">9</integer>
28    <integer name="gatt_high_priority_max_interval">12</integer>
29    <!-- Default specs recommended interval is 30 (24 * 1.25) -> 50 (40 * 1.25)
30         ms. -->
31    <integer name="gatt_balanced_priority_min_interval">24</integer>
32    <integer name="gatt_balanced_priority_max_interval">40</integer>
33    <integer name="gatt_low_power_min_interval">80</integer>
34    <integer name="gatt_low_power_max_interval">100</integer>
35    <integer name="gatt_dck_priority_min_interval">24</integer>
36    <integer name="gatt_dck_priority_max_interval">24</integer>
37
38    <!-- min/max connection intervals/latencies for companion devices -->
39    <!-- Primary companion -->
40    <integer name="gatt_high_priority_min_interval_primary">6</integer>
41    <integer name="gatt_high_priority_max_interval_primary">8</integer>
42    <integer name="gatt_high_priority_latency_primary">45</integer>
43
44    <integer name="gatt_balanced_priority_min_interval_primary">6</integer>
45    <integer name="gatt_balanced_priority_max_interval_primary">10</integer>
46    <integer name="gatt_balanced_priority_latency_primary">120</integer>
47
48    <integer name="gatt_low_power_min_interval_primary">8</integer>
49    <integer name="gatt_low_power_max_interval_primary">10</integer>
50    <integer name="gatt_low_power_latency_primary">150</integer>
51
52    <!-- Secondary companion -->
53    <integer name="gatt_high_priority_min_interval_secondary">6</integer>
54    <integer name="gatt_high_priority_max_interval_secondary">6</integer>
55    <integer name="gatt_high_priority_latency_secondary">0</integer>
56
57    <integer name="gatt_balanced_priority_min_interval_secondary">12</integer>
58    <integer name="gatt_balanced_priority_max_interval_secondary">12</integer>
59    <integer name="gatt_balanced_priority_latency_secondary">30</integer>
60
61    <integer name="gatt_low_power_min_interval_secondary">80</integer>
62    <integer name="gatt_low_power_max_interval_secondary">100</integer>
63    <integer name="gatt_low_power_latency_secondary">15</integer>
64    <!-- ============================================================ -->
65
66    <!-- Specifies latency parameters for high priority, balanced, low power and
67         Digital Car Key-preferred GATT configurations. These values represent
68         the number of packets a peripheral device is allowed to skip. -->
69    <integer name="gatt_high_priority_latency">0</integer>
70    <integer name="gatt_balanced_priority_latency">0</integer>
71    <integer name="gatt_low_power_latency">2</integer>
72    <integer name="gatt_dck_priority_latency">0</integer>
73
74    <!-- Specifies the min/max subrate factor parameters for high priority,
75         balanced and low power subrate request configurations. -->
76    <integer name="subrate_mode_high_priority_min_subrate">2</integer>
77    <integer name="subrate_mode_high_priority_max_subrate">4</integer>
78    <integer name="subrate_mode_balanced_min_subrate">4</integer>
79    <integer name="subrate_mode_balanced_max_subrate">7</integer>
80    <integer name="subrate_mode_low_power_min_subrate">4</integer>
81    <integer name="subrate_mode_low_power_max_subrate">10</integer>
82
83    <!-- Specifies max latency parameters for high priority, balanced
84         and low power subrate request configurations. These values
85         represents the number of subrate events a peripheral device
86         is allowed to skip. -->
87    <integer name="subrate_mode_high_priority_latency">0</integer>
88    <integer name="subrate_mode_balanced_latency">1</integer>
89    <integer name="subrate_mode_low_power_latency">1</integer>
90
91    <!-- Specifies continuation number parameters for high priority,
92         balanced and low power subrate request configurations. -->
93    <integer name="subrate_mode_high_priority_cont_number">2</integer>
94    <integer name="subrate_mode_balanced_cont_number">2</integer>
95    <integer name="subrate_mode_low_power_cont_number">2</integer>
96
97    <bool name="headset_client_initial_audio_route_allowed">true</bool>
98
99    <!-- @deprecated: use a2dp_absolute_volume_initial_threshold_percent
100         instead. -->
101    <integer name="a2dp_absolute_volume_initial_threshold">8</integer>
102
103    <!-- AVRCP absolute volume initial value as percent of the maximum value.
104         Valid values are in the interval [0, 100].
105         Recommended value is 50. -->
106    <integer name="a2dp_absolute_volume_initial_threshold_percent">50</integer>
107
108    <!-- For A2DP sink ducking volume feature. -->
109    <integer name="a2dp_sink_duck_percent">25</integer>
110    <!-- If true, device requests audio focus and start avrcp updates on source start or play -->
111    <bool name="a2dp_sink_automatically_request_audio_focus">false</bool>
112
113    <!-- For enabling the AVRCP Controller Cover Artwork feature -->
114    <bool name="avrcp_controller_enable_cover_art">true</bool>
115
116    <!-- For enabling browsed cover art with the AVRCP Controller Cover Artwork feature -->
117    <bool name="avrcp_controller_cover_art_browsed_images">false</bool>
118
119    <!-- For supporting emergency call through the hfp client connection service  -->
120    <bool name="hfp_client_connection_service_support_emergency_call">true</bool>
121
122    <!-- Enabling autoconnect over pan -->
123    <bool name="config_bluetooth_pan_enable_autoconnect">false</bool>
124
125    <!-- Enabling the phone policy -->
126    <bool name="enable_phone_policy">true</bool>
127
128    <!-- Configuring priorities of A2DP source codecs. Larger value means
129         higher priority. Value -1 means the codec is disabled.
130         Value 0 is reserved and should not be used here. Enabled codecs
131         should have priorities in the interval [1, 999999], and each priority
132         value should be unique. -->
133    <integer name="a2dp_source_codec_priority_sbc">1001</integer>
134    <integer name="a2dp_source_codec_priority_aac">2001</integer>
135    <integer name="a2dp_source_codec_priority_aptx">3001</integer>
136    <integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>
137    <integer name="a2dp_source_codec_priority_ldac">5001</integer>
138    <integer name="a2dp_source_codec_priority_lc3">6001</integer>
139    <integer name="a2dp_source_codec_priority_opus">7001</integer>
140
141    <!-- For enabling the AVRCP Target Cover Artowrk feature-->
142    <bool name="avrcp_target_enable_cover_art">true</bool>
143
144    <!-- Enable support for URI based images. Off by default due to increased memory usage -->
145    <bool name="avrcp_target_cover_art_uri_images">false</bool>
146
147    <!-- Package that is responsible for user interaction on pairing request,
148         success or cancel.
149         Receives:
150          - BluetootDevice.ACTION_PAIRING_CANCEL on bond failure
151          - BluetoothDevice.ACTION_PAIRING_REUQEST on pin request
152          - BluetootDevice.ACTION_BOND_STATE_CHANGED on pairing request and success
153          - BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST on access requests
154          - BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL to cancel access requests -->
155    <string name="pairing_ui_package">com.android.settings</string>
156
157    <!-- Flag whether or not to keep polling AG with CLCC for call information every 2 seconds -->
158    <bool name="hfp_clcc_poll_during_call">true</bool>
159
160    <!-- Time delay in milliseconds between consecutive polling AG with CLCC for call info -->
161    <integer name="hfp_clcc_poll_interval_during_call">2000</integer>
162
163    <!-- Package that is providing the exposure notification service -->
164    <string name="exposure_notification_package">com.google.android.gms</string>
165
166    <!-- Package of fastpair service -->
167    <string name="peripheral_link_package">com.google.android.gms</string>
168    <!-- Service name of fastpair-->
169    <string name="peripheral_link_service">.nearby.discovery.service.DiscoveryService</string>
170
171    <!-- Max number of Bluetooth tethering connections allowed. If this is
172         updated config_tether_dhcp_range has to be updated appropriately. -->
173    <integer translatable="false" name="config_max_pan_devices">5</integer>
174
175    <!-- Whether supported profiles should be reloaded upon enabling bluetooth -->
176    <bool name="config_bluetooth_reload_supported_profiles_when_enabled">false</bool>
177
178    <!-- Max number of connected audio devices supported by Bluetooth stack -->
179    <integer name="config_bluetooth_max_connected_audio_devices">5</integer>
180
181    <!-- Boolean indicating if current platform supports HFP inband ringing -->
182    <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
183
184     <!-- Link used in airplane mode notification. -->
185    <string name="config_apmLearnMoreLink" translatable="false">
186            https://support.google.com/pixelphone/answer/12639358
187    </string>
188</resources>
189