• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
36    <!-- min/max connection intervals/latencies for companion devices -->
37    <!-- Primary companion -->
38    <integer name="gatt_high_priority_min_interval_primary">6</integer>
39    <integer name="gatt_high_priority_max_interval_primary">8</integer>
40    <integer name="gatt_high_priority_latency_primary">45</integer>
41
42    <integer name="gatt_balanced_priority_min_interval_primary">6</integer>
43    <integer name="gatt_balanced_priority_max_interval_primary">10</integer>
44    <integer name="gatt_balanced_priority_latency_primary">120</integer>
45
46    <integer name="gatt_low_power_min_interval_primary">8</integer>
47    <integer name="gatt_low_power_max_interval_primary">10</integer>
48    <integer name="gatt_low_power_latency_primary">150</integer>
49
50    <!-- Secondary companion -->
51    <integer name="gatt_high_priority_min_interval_secondary">6</integer>
52    <integer name="gatt_high_priority_max_interval_secondary">6</integer>
53    <integer name="gatt_high_priority_latency_secondary">0</integer>
54
55    <integer name="gatt_balanced_priority_min_interval_secondary">12</integer>
56    <integer name="gatt_balanced_priority_max_interval_secondary">12</integer>
57    <integer name="gatt_balanced_priority_latency_secondary">30</integer>
58
59    <integer name="gatt_low_power_min_interval_secondary">80</integer>
60    <integer name="gatt_low_power_max_interval_secondary">100</integer>
61    <integer name="gatt_low_power_latency_secondary">15</integer>
62    <!-- ============================================================ -->
63
64    <!-- Specifies latency parameters for high priority, balanced and low power
65         GATT configurations. These values represents the number of packets a
66         peripheral device is allowed to skip. -->
67    <integer name="gatt_high_priority_latency">0</integer>
68    <integer name="gatt_balanced_priority_latency">0</integer>
69    <integer name="gatt_low_power_latency">2</integer>
70
71    <bool name="headset_client_initial_audio_route_allowed">true</bool>
72
73    <!-- @deprecated: use a2dp_absolute_volume_initial_threshold_percent
74         instead. -->
75    <integer name="a2dp_absolute_volume_initial_threshold">8</integer>
76
77    <!-- AVRCP absolute volume initial value as percent of the maximum value.
78         Valid values are in the interval [0, 100].
79         Recommended value is 50. -->
80    <integer name="a2dp_absolute_volume_initial_threshold_percent">50</integer>
81
82    <!-- For A2DP sink ducking volume feature. -->
83    <integer name="a2dp_sink_duck_percent">25</integer>
84    <!-- If true, device requests audio focus and start avrcp updates on source start or play -->
85    <bool name="a2dp_sink_automatically_request_audio_focus">false</bool>
86
87    <!-- For enabling the AVRCP Controller Cover Artwork feature -->
88    <bool name="avrcp_controller_enable_cover_art">true</bool>
89
90    <!-- For enabling browsed cover art with the AVRCP Controller Cover Artwork feature -->
91    <bool name="avrcp_controller_cover_art_browsed_images">false</bool>
92
93    <!-- For supporting emergency call through the hfp client connection service  -->
94    <bool name="hfp_client_connection_service_support_emergency_call">true</bool>
95
96    <!-- Enabling autoconnect over pan -->
97    <bool name="config_bluetooth_pan_enable_autoconnect">false</bool>
98
99    <!-- Enabling the phone policy -->
100    <bool name="enable_phone_policy">true</bool>
101
102    <!-- Configuring priorities of A2DP source codecs. Larger value means
103         higher priority. Value -1 means the codec is disabled.
104         Value 0 is reserved and should not be used here. Enabled codecs
105         should have priorities in the interval [1, 999999], and each priority
106         value should be unique. -->
107    <integer name="a2dp_source_codec_priority_sbc">1001</integer>
108    <integer name="a2dp_source_codec_priority_aac">2001</integer>
109    <integer name="a2dp_source_codec_priority_aptx">3001</integer>
110    <integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>
111    <integer name="a2dp_source_codec_priority_ldac">5001</integer>
112    <integer name="a2dp_source_codec_priority_lc3">6001</integer>
113    <integer name="a2dp_source_codec_priority_opus">7001</integer>
114
115    <!-- For enabling the AVRCP Target Cover Artowrk feature-->
116    <bool name="avrcp_target_enable_cover_art">true</bool>
117
118    <!-- Enable support for URI based images. Off by default due to increased memory usage -->
119    <bool name="avrcp_target_cover_art_uri_images">false</bool>
120
121    <!-- Package that is responsible for user interaction on pairing request,
122         success or cancel.
123         Receives:
124          - BluetootDevice.ACTION_PAIRING_CANCEL on bond failure
125          - BluetoothDevice.ACTION_PAIRING_REUQEST on pin request
126          - BluetootDevice.ACTION_BOND_STATE_CHANGED on pairing request and success
127          - BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST on access requests
128          - BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL to cancel access requests -->
129    <string name="pairing_ui_package">com.android.settings</string>
130
131    <!-- Flag whether or not to keep polling AG with CLCC for call information every 2 seconds -->
132    <bool name="hfp_clcc_poll_during_call">true</bool>
133
134    <!-- Time delay in milliseconds between consecutive polling AG with CLCC for call info -->
135    <integer name="hfp_clcc_poll_interval_during_call">2000</integer>
136
137    <!-- Package that is providing the exposure notification service -->
138    <string name="exposure_notification_package">com.google.android.gms</string>
139
140    <!-- Enabling Gabeldorsche up to the scanning layer, including
141            - BLE scanning
142            - BLE advertising
143            - ACL connection management
144            - Controller information management
145            - HCI layer
146            - HAL interface layer
147            - Other required GD components like config storage
148     -->
149    <bool name="enable_gd_up_to_scanning_layer">true</bool>
150
151    <!-- Package of fastpair service -->
152    <string name="peripheral_link_package">com.google.android.gms</string>
153    <!-- Service name of fastpair-->
154    <string name="peripheral_link_service">.nearby.discovery.service.DiscoveryService</string>
155
156    <!-- Max number of Bluetooth tethering connections allowed. If this is
157         updated config_tether_dhcp_range has to be updated appropriately. -->
158    <integer translatable="false" name="config_max_pan_devices">5</integer>
159
160    <!-- Whether supported profiles should be reloaded upon enabling bluetooth -->
161    <bool name="config_bluetooth_reload_supported_profiles_when_enabled">false</bool>
162
163    <!-- Max number of connected audio devices supported by Bluetooth stack -->
164    <integer name="config_bluetooth_max_connected_audio_devices">5</integer>
165
166    <!-- Boolean indicating if current platform supports HFP inband ringing -->
167    <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
168</resources>
169