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="profile_supported_a2dp">true</bool>
17    <bool name="profile_supported_a2dp_sink">false</bool>
18    <bool name="profile_supported_hs_hfp">true</bool>
19    <bool name="profile_supported_hfpclient">false</bool>
20    <bool name="profile_supported_hfp_incallservice">true</bool>
21    <bool name="profile_supported_hid_host">true</bool>
22    <bool name="profile_supported_opp">true</bool>
23    <bool name="profile_supported_pan">true</bool>
24    <bool name="profile_supported_pbap">true</bool>
25    <bool name="profile_supported_gatt">true</bool>
26    <bool name="pbap_include_photos_in_vcard">true</bool>
27    <bool name="pbap_use_profile_for_owner_vcard">true</bool>
28    <bool name="profile_supported_map">true</bool>
29    <bool name="profile_supported_avrcp_target">true</bool>
30    <bool name="profile_supported_avrcp_controller">false</bool>
31    <bool name="profile_supported_sap">false</bool>
32    <bool name="profile_supported_pbapclient">false</bool>
33    <bool name="profile_supported_mapmce">false</bool>
34    <bool name="profile_supported_hid_device">true</bool>
35
36    <!-- If true, we will require location to be enabled on the device to
37         fire Bluetooth LE scan result callbacks in addition to having one
38         of the location permissions. -->
39    <bool name="strict_location_check">true</bool>
40
41    <!-- Specifies the min/max connection interval parameters for high priority,
42         balanced and low power GATT configurations. These values are in
43         multiples of 1.25ms. -->
44    <integer name="gatt_high_priority_min_interval">9</integer>
45    <integer name="gatt_high_priority_max_interval">12</integer>
46    <!-- Default specs recommended interval is 30 (24 * 1.25) -> 50 (40 * 1.25)
47         ms. -->
48    <integer name="gatt_balanced_priority_min_interval">24</integer>
49    <integer name="gatt_balanced_priority_max_interval">40</integer>
50    <integer name="gatt_low_power_min_interval">80</integer>
51    <integer name="gatt_low_power_max_interval">100</integer>
52
53    <!-- Specifies latency parameters for high priority, balanced and low power
54         GATT configurations. These values represents the number of packets a
55         peripheral device is allowed to skip. -->
56    <integer name="gatt_high_priority_latency">0</integer>
57    <integer name="gatt_balanced_priority_latency">0</integer>
58    <integer name="gatt_low_power_latency">2</integer>
59
60    <bool name="headset_client_initial_audio_route_allowed">true</bool>
61
62    <!-- @deprecated: use a2dp_absolute_volume_initial_threshold_percent
63         instead. -->
64    <integer name="a2dp_absolute_volume_initial_threshold">8</integer>
65
66    <!-- AVRCP absolute volume initial value as percent of the maximum value.
67         Valid values are in the interval [0, 100].
68         Recommended value is 50. -->
69    <integer name="a2dp_absolute_volume_initial_threshold_percent">50</integer>
70
71    <!-- For A2DP sink ducking volume feature. -->
72    <integer name="a2dp_sink_duck_percent">25</integer>
73    <!-- If true, device requests audio focus and start avrcp updates on source start or play -->
74    <bool name="a2dp_sink_automatically_request_audio_focus">false</bool>
75
76    <!-- For enabling the AVRCP Controller Cover Artwork feature -->
77    <bool name="avrcp_controller_enable_cover_art">true</bool>
78
79    <!-- For enabling browsed cover art with the AVRCP Controller Cover Artwork feature -->
80    <bool name="avrcp_controller_cover_art_browsed_images">false</bool>
81
82    <!-- For enabling the hfp client connection service -->
83    <bool name="hfp_client_connection_service_enabled">false</bool>
84
85    <!-- For supporting emergency call through the hfp client connection service  -->
86    <bool name="hfp_client_connection_service_support_emergency_call">false</bool>
87
88    <!-- Enabling autoconnect over pan -->
89    <bool name="config_bluetooth_pan_enable_autoconnect">true</bool>
90
91    <!-- Enabling the phone policy -->
92    <bool name="enable_phone_policy">true</bool>
93
94    <!-- Configuring priorities of A2DP source codecs. Larger value means
95         higher priority. Value -1 means the codec is disabled.
96         Value 0 is reserved and should not be used here. Enabled codecs
97         should have priorities in the interval [1, 999999], and each priority
98         value should be unique. -->
99    <integer name="a2dp_source_codec_priority_sbc">1001</integer>
100    <integer name="a2dp_source_codec_priority_aac">2001</integer>
101    <integer name="a2dp_source_codec_priority_aptx">3001</integer>
102    <integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>
103    <integer name="a2dp_source_codec_priority_ldac">5001</integer>
104
105    <!-- For enabling the AVRCP Target Cover Artowrk feature-->
106    <bool name="avrcp_target_enable_cover_art">true</bool>
107
108    <!-- Enable support for URI based images. Off by default due to increased memory usage -->
109    <bool name="avrcp_target_cover_art_uri_images">false</bool>
110
111    <!-- Package that is responsible for user interaction on pairing request,
112         success or cancel.
113         Receives:
114          - BluetootDevice.ACTION_PAIRING_CANCEL on bond failure
115          - BluetoothDevice.ACTION_PAIRING_REUQEST on pin request
116          - BluetootDevice.ACTION_BOND_STATE_CHANGED on pairing request and success
117          - BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST on access requests
118          - BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL to cancel access requests -->
119    <string name="pairing_ui_package">com.android.settings</string>
120
121    <!-- Flag whether or not to keep polling AG with CLCC for call information every 2 seconds -->
122    <bool name="hfp_clcc_poll_during_call">true</bool>
123
124    <!-- Package that is providing the exposure notification service -->
125    <string name="exposure_notification_package">com.google.android.gms</string>
126
127    <!-- Enabling Gabeldorsche up to the scanning layer, including
128            - BLE scanning
129            - BLE advertising
130            - ACL connection management
131            - Controller information management
132            - HCI layer
133            - HAL interface layer
134            - Other required GD components like config storage
135     -->
136    <bool name="enable_gd_up_to_scanning_layer">false</bool>
137
138</resources>
139