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_hdp">true</bool> 19 <bool name="profile_supported_hs_hfp">true</bool> 20 <bool name="profile_supported_hfpclient">false</bool> 21 <bool name="profile_supported_hid">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_controller">false</bool> 30 <bool name="profile_supported_sap">false</bool> 31 <bool name="profile_supported_pbapclient">false</bool> 32 <bool name="profile_supported_mapmce">false</bool> 33 <bool name="profile_supported_hidd">false</bool> 34 35 <!-- If true, we will require location to be enabled on the device to 36 fire Bluetooth LE scan result callbacks in addition to having one 37 of the location permissions. --> 38 <bool name="strict_location_check">true</bool> 39 40 <!-- Specifies the min/max connection interval parameters for high priority, 41 balanced and low power GATT configurations. These values are in 42 multiples of 1.25ms. --> 43 <integer name="gatt_high_priority_min_interval">9</integer> 44 <integer name="gatt_high_priority_max_interval">12</integer> 45 <!-- Default specs recommended interval is 30 (24 * 1.25) -> 50 (40 * 1.25) 46 ms. --> 47 <integer name="gatt_balanced_priority_min_interval">24</integer> 48 <integer name="gatt_balanced_priority_max_interval">40</integer> 49 <integer name="gatt_low_power_min_interval">80</integer> 50 <integer name="gatt_low_power_max_interval">100</integer> 51 52 <!-- Specifies latency parameters for high priority, balanced and low power 53 GATT configurations. These values represents the number of packets a 54 slave device is allowed to skip. --> 55 <integer name="gatt_high_priority_latency">0</integer> 56 <integer name="gatt_balanced_priority_latency">0</integer> 57 <integer name="gatt_low_power_latency">2</integer> 58 59 <bool name="headset_client_initial_audio_route_allowed">true</bool> 60 61 <!-- For AVRCP absolute volume feature. If the threshold is non-zero, 62 restrict the initial volume to the threshold. 63 Valid value is 1-14, and recommended value is 8 --> 64 <integer name="a2dp_absolute_volume_initial_threshold">8</integer> 65 66 <!-- For A2DP sink ducking volume feature. --> 67 <integer name="a2dp_sink_duck_percent">25</integer> 68 69 <!-- For enabling the hfp client connection service --> 70 <bool name="hfp_client_connection_service_enabled">false</bool> 71 72 <!-- Enabling autoconnect over pan --> 73 <bool name="config_bluetooth_pan_enable_autoconnect">true</bool> 74 75 <!-- Enabling the phone policy --> 76 <bool name="enable_phone_policy">true</bool> 77 78 <!-- Configuring priorities of A2DP source codecs. Larger value means 79 higher priority. Value -1 means the codec is disabled. 80 Value 0 is reserved and should not be used here. Enabled codecs 81 should have priorities in the interval [1, 999999], and each priority 82 value should be unique. --> 83 <integer name="a2dp_source_codec_priority_sbc">1001</integer> 84 <integer name="a2dp_source_codec_priority_aac">2001</integer> 85 <integer name="a2dp_source_codec_priority_aptx">3001</integer> 86 <integer name="a2dp_source_codec_priority_aptx_hd">4001</integer> 87 <integer name="a2dp_source_codec_priority_ldac">5001</integer> 88 89 <!-- Package that is responsible for user interaction on pairing request, 90 success or cancel. 91 Receives: 92 - BluetootDevice.ACTION_PAIRING_CANCEL on bond failure 93 - BluetoothDevice.ACTION_PAIRING_REUQEST on pin request 94 - BluetootDevice.ACTION_BOND_STATE_CHANGED on pairing request and success 95 - BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST on access requests 96 - BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL to cancel access requests --> 97 <string name="pairing_ui_package">com.android.settings</string> 98 99 </resources> 100