gfps: 添加认证测试和FAQ 20260505
All checks were successful
Sync To /home/ubuntu/gfps / sync (push) Successful in 2s

Change-Id: I71e676b997159a141ca07d16f82a73b45f4b2410
This commit is contained in:
danni_dong
2026-05-05 19:24:08 +08:00
parent 2ed168dcf8
commit bdbb2527e6
1943 changed files with 10585 additions and 434 deletions

View File

@@ -0,0 +1,228 @@
# 1 GFPS legacy pair 搭配支援LEA手机不连 legacy profile(A2DP/HFP)
耳机端走的是GFPS legacy pair 和支援LEA的手机做initial pair 支援LEA的手机不连legacy profile,
**测试发现:**
**<span style="color: rgb(255,0,0);">打开legacy CTKD LE </span>的功能之后  <span style="color: rgb(255,0,0);">支援LEA的手机就会来连legacy profile</span>**
**<span style="color: rgb(255,0,0);">关闭 legacy CTKD LE </span>功能之后, <span style="color: rgb(255,0,0);">支援LEA的手机就不会来连legacy profile</span>**
<a href="https://jira.realtek.com/browse/BBPRO3BUG-24407" class="external-link" rel="nofollow">[BBPRO3BUG-24407] [BBPRO3][EVB][E Cut][3.15.0.5+TestBin][Single]配置Finder耳机开机进配对无法连接到Find Device - Jira</a>
<a href="https://partnerissuetracker.corp.google.com/u/0/issues/441653921" class="external-link" rel="nofollow">https://partnerissuetracker.corp.google.com/u/0/issues/441653921</a>
\
\
<a href="https://partnerissuetracker.corp.google.com/u/0/issues/411582869" class="external-link" rel="nofollow">https://partnerissuetracker.corp.google.com/u/0/issues/411582869</a>
<table class="wrapped confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" scope="col"><p><span style="color: rgb(255,0,0);">// Device bonded</span><br />
04-18 14:30:36.473  1002  2508  2994 I <span style="color: rgb(255,0,0);">BluetoothBondStateMachine</span>: XX:XX:XX:XX:22:88 is bonded, wait for SDP complete to broadcast bonded intent</p>
<p><strong><span style="color: rgb(255,0,0);">// SDP</span></strong><br />
04-18 14:30:36.606  1002  2508  2910 I bt_bta_dm: bta_dm_sdp_result: <span style="color: rgb(255,0,0);">GATT services discovered using SDP</span><br />
04-18 14:30:36.606  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1798 - btif_dm_search_services_evt:<span style="color: rgb(255,0,0);"> SDP finished</span> for xx:xx:xx:xx:22:88:<br />
04-18 14:30:36.606  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1807 - btif_dm_search_services_evt: New UUIDs for xx:xx:xx:xx:22:88:<br />
04-18 14:30:36.606  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:0 uuid:00001101-0000-1000-8000-00805f9b34fb</p>
<p><span style="color: rgb(255,0,0);">// 1108   UUID_HEADSET</span><br />
04-18 14:30:36.606  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:1 uuid:0000<span style="color: rgb(255,0,0);">1108</span>-0000-1000-8000-00805f9b34fb</p>
<p><span style="color: rgb(255,0,0);">// 111E  UUID_HANDSFREE</span><br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:2 uuid:0000<span style="color: rgb(255,0,0);">111e</span>-0000-1000-8000-00805f9b34fb</p>
<p><span style="color: rgb(255,0,0);">//110B UUID_AUDIO_SINK</span><br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:3 uuid:0000<span style="color: rgb(255,0,0);">110b</span>-0000-1000-8000-00805f9b34fb<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:4 uuid:0000110e-0000-1000-8000-00805f9b34fb<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:7 uuid:6a24eeab-4b65-4693-986b-3c26c352264f<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:8 uuid:df21fe2c-2515-4fdb-8886-f12c4d67927c<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:498 - get_cod: remote_cod=0x00244404<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1863 - btif_dm_search_services_evt: SDP search done for xx:xx:xx:xx:22:88</p>
<p><span style="color: rgb(255,0,0);">// Not sure if waiting for LE service discovery here</span><br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1917 - btif_dm_search_services_evt: Bonding LE Audio sink - must wait for le services discovery to pass all services to java xx:xx:xx:xx:22:88<br />
04-18 14:30:36.607  1002  2508  2910 I bt_bta_dm: bta_dm_search_cmpl: No BLE connection, processing classic results</p>
<p><span style="color: rgb(255,0,0);">// Phone disconnected from provider.</span><br />
04-18 14:30:40.615  1002  2508  2910 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:22:88 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed<br />
32183    06:30:40.616070    host    controller    HCI_CMD    7    Sent Disconnect</p></th>
</tr>
&#10;</tbody>
</table>
<table class="wrapped confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" scope="col"><p><span style="color: rgb(255,0,0);">// ACL LE connected</span></p>
<p>04-18 14:30:32.132  1002  1048  2043 I bthal.activity: handle_ble_meta_event:<span style="color: rgb(255,0,0);"> LE Enhanced Connection Complete</span>, conn_handle:041, conn_bda: XX:XX:44:44:22:88<br />
04-18 14:30:32.223  1002  2508  2910 I bt_bta_dm: bta_dm_acl_up:<span style="color: rgb(255,0,0);"> Acl connected</span> peer:xx:xx:xx:xx:22:88 <span style="color: rgb(255,0,0);">transport:BT_TRANSPORT_LE</span> handle:65<br />
04-18 14:30:34.934  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:586 - bond_state_changed: Bond state changed to state=1[0:none, 1:bonding, 2:bonded],prev_state=0, sdp_attempts=0<br />
04-18 14:30:34.934  1002  2508  2954 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: XX:XX:XX:XX:22:88 newState: 1 hciReason: 0<br />
04-18 14:30:34.944  1002  2508  2994 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 <span style="color: rgb(255,0,0);">BOND_NONE =&gt; BOND_BONDING</span></p>
<p><span style="color: rgb(255,0,0);">// ACL BR/EDR connected</span></p>
<p>04-18 14:30:36.075  1002  2508  2910 I bt_bta_dm: bta_dm_acl_up: <span style="color: rgb(255,0,0);">Acl connected</span> peer:xx:xx:xx:xx:22:88 <span style="color: rgb(255,0,0);">transport:BT_TRANSPORT_BR_EDR </span>handle:11<br />
04-18 14:30:36.467  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:586 - bond_state_changed: Bond state changed to state=2[0:none, 1:bonding, 2:bonded],prev_state=1, sdp_attempts=1<br />
04-18 14:30:36.467  1002  2508  2954 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: XX:XX:XX:XX:22:88 newState: 2 hciReason: 0<br />
04-18 14:30:36.473  1002  2508  2994 I BluetoothBondStateMachine: XX:XX:XX:XX:22:88 is bonded, <span style="color: rgb(255,0,0);">wait for SDP complete to broadcast bonded intent</span><br />
04-18 14:30:36.473  1002  2508  2994 I BluetoothBondStateMachine: StableState(): Entering Off State<br />
04-18 14:30:36.607  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1917 - btif_dm_search_services_evt: Bonding LE Audio sink - must wait for le services discovery to pass all services to java xx:xx:xx:xx:22:88<br />
04-18 14:30:39.492  1002  2508  2994 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 BOND_BONDING =&gt; BOND_BONDED<br />
<span style="color: rgb(255,0,0);">// BT_ACL_STATE_DISCONNECTED</span></p>
<p>04-18 14:30:40.768  1002  2508  2910 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x0b, reason: 0x13<br />
04-18 14:30:40.769  1002  2508  2910 D bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:2552 - btif_dm_acl_evt: Sent BT_ACL_STATE_DISCONNECTED upward as ACL link down event device:xx:xx:xx:xx:22:88 reason:HCI_ERR_PEER_USER<br />
04-18 14:30:51.134  1002  2508  2910 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x41, reason: 0x16<br />
04-18 14:30:51.137  1002  2508  2910 D bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:2552 - btif_dm_acl_evt: Sent BT_ACL_STATE_DISCONNECTED upward as ACL link down event device:xx:xx:xx:xx:22:88 reason:<span style="color: rgb(255,0,0);">HCI_ERR_CONN_CAUSE_LOCAL_HOST</span><br />
<span style="color: rgb(255,0,0);">// Bonding Removed</span></p>
<p>04-18 14:31:50.137  1002  2508  2910 I bt_btif_storage: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_storage.cc" class="external-link" rel="nofollow">btif_storage.cc</a>:889 - btif_storage_remove_bonded_device: Removing bonded device addr=xx:xx:xx:xx:22:88<br />
04-18 14:31:50.137  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:586 - bond_state_changed: Bond state changed to state=0[0:none, 1:bonding, 2:bonded],prev_state=2, sdp_attempts=0<br />
04-18 14:31:50.137  1002  2508  2910 I bt_btif_storage: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_storage.cc" class="external-link" rel="nofollow">btif_storage.cc</a>:889 - <span style="color: rgb(255,0,0);">btif_storage_remove_bonded_device</span>: Removing bonded device addr=xx:xx:xx:xx:22:88<br />
04-18 14:31:50.137  1002  2508  2910 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:586 - bond_state_changed: Bond state changed to state=0[0:none, 1:bonding, 2:bonded],prev_state=0, sdp_attempts=0<br />
04-18 14:31:50.137  1002  2508  2910 E BluetoothMetricIdManager: packages/modules/Bluetooth/system/gd/common/<a href="http://metric_id_manager.cc" class="external-link" rel="nofollow">metric_id_manager.cc</a>:190 - ForgetDevice: Failed to remove device from paired_device_cache_<br />
04-18 14:31:50.140  1002  2508  2994 D AdapterProperties: Removing bonded device:XX:XX:XX:XX:22:88<br />
04-18 14:31:50.146  1002  2508  2994 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 <span style="color: rgb(255,0,0);">BOND_BONDED =&gt; BOND_NONE</span><br />
04-18 14:31:50.147  1002  2508  2994 I BluetoothBondStateMachine: StableState(): Entering Off State</p></th>
</tr>
&#10;</tbody>
</table>
<table class="wrapped confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" scope="col"><p><span style="color: rgb(255,0,0);">//Pairing starts</span></p>
<p>04-18 14:30:32.100 I NearbyDiscovery: FastPairController: Validator: onValidatorConnectionRequested [CONTEXT service_id=265 ]                            <br />
04-18 14:30:32.100 I<span style="color: rgb(255,0,0);"> FastPair: FPDC: Starting to pair</span> XX:XX:XX:XX:22:88: key[64], Preferences{gattOperationTimeoutSeconds=10, gattConnectionTimeoutSeconds=15, bluetoothToggleTimeoutSeconds=10, bluetoothToggleSleepSeconds=2,                            <br />
04-18 14:30:32.107 D FastPairUtils: FastPair: Pairing finished with intent action: com.google.android.gms.nearby.discovery.ACTION_VALIDATOR_PAIR_PROGRESS                            <br />
04-18 14:30:32.132 I bthal.activity: handle_ble_meta_event: LE Enhanced Connection Complete, conn_handle:041, conn_bda: XX:XX:44:44:22:88                            <br />
04-18 14:30:32.223 I bt_bta_dm: bta_dm_acl_up:<span style="color: rgb(255,0,0);"> Acl connected peer:xx:xx:xx:xx:22:88 transport:BT_TRANSPORT_LE</span> handle:65                            <br />
04-18 14:30:32.224 D BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 is not in cache                            <br />
04-18 14:30:33.870 D FastPairUtils: FastPair: Pairing finished with intent action: com.google.android.gms.nearby.discovery.ACTION_VALIDATOR_PAIR_PROGRESS                            <br />
04-18 14:30:34.922 D FastPairUtils: FastPair: Pairing finished with intent action: com.google.android.gms.nearby.discovery.ACTION_VALIDATOR_PAIR_PROGRESS                            <br />
04-18 14:30:34.944 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 <span style="color: rgb(255,0,0);">BOND_NONE =&gt; BOND_BONDING      </span>                      <br />
04-18 14:30:36.075 I bt_bta_dm: bta_dm_acl_up: <span style="color: rgb(255,0,0);">Acl connected peer:xx:xx:xx:xx:22:88 transport:BT_TRANSPORT_BR_EDR</span> handle:11                            <br />
04-18 14:30:36.201 D CachedBluetoothDevice: Device name: JBL Tune 530BT                            <br />
04-18 14:30:36.467 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_SEARCH_IDLE, event:BTA_DM_API_DISCOVER_EVT[0x202]</p>
<p><span style="color: rgb(255,0,0);">//UUIDs discovered and device bonded</span></p>
<p>04-18 14:30:36.606 D bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1985 - btif_dm_search_services_evt: New GATT over SDP UUIDs for xx:xx:xx:xx:22:88:                            <br />
04-18 14:30:36.606 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:2002 - btif_dm_search_services_evt: No well known GATT services discovered                            <br />
04-18 14:30:36.606 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_DISCOVER_ACTIVE, event:BTA_DM_DISCOVERY_RESULT_EVT[0x207]                            <br />
04-18 14:30:36.606 V bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1777 - btif_dm_search_services_evt: result=0x0, services 0xc00c0062                            <br />
04-18 14:30:36.606 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1798 - btif_dm_search_services_evt: <span style="color: rgb(255,0,0);">SDP finished</span> for xx:xx:xx:xx:22:88:                            <br />
04-18 14:30:36.606 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1807 - btif_dm_search_services_evt: New UUIDs for xx:xx:xx:xx:22:88:                            <br />
04-18 14:30:36.606 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:0 uuid:00001101-0000-1000-8000-00805f9b34fb                            <br />
04-18 14:30:36.606 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:1 uuid:00001108-0000-1000-8000-00805f9b34fb                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:2 uuid:0000111e-0000-1000-8000-00805f9b34fb                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:3 uuid:0000110b-0000-1000-8000-00805f9b34fb                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:4 uuid:0000110e-0000-1000-8000-00805f9b34fb                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:7 uuid:6a24eeab-4b65-4693-986b-3c26c352264f                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1813 - btif_dm_search_services_evt: index:8 uuid:df21fe2c-2515-4fdb-8886-f12c4d67927c                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1863 - btif_dm_search_services_evt: SDP search done for xx:xx:xx:xx:22:88                            <br />
04-18 14:30:36.607 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1917 - btif_dm_search_services_evt: Bonding LE Audio sink - must wait for le services discovery to pass all services to java xx:xx:xx:xx:22:88                            <br />
04-18 14:30:36.607 I bt_bta_dm: bta_dm_search_cmpl: No BLE connection, processing classic results                            <br />
04-18 14:30:39.492 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 BOND_BONDING =&gt; BOND_BONDED                            <br />
04-18 14:30:39.993 I FastPair: BluetoothAudioPairer: BondedReceiver: handleBondStateChanged: device=XX:XX:XX:XX:22:88, state=12, reason=-2147483648<br />
Connectionpolicy is -1 for all profiles</p>
<p>04-18 14:30:40.018 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:22:88                            <br />
04-18 14:30:40.615 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:22:88 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::<span style="color: rgb(255,0,0);">l2c_link_timeout </span>All channels closed                            <br />
04-18 14:30:40.768 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x0b, reason: 0x13    </p>
<p><span style="color: rgb(255,0,0);">// connectionPolicy=-1  -1是指失败</span><br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=A2DP, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=HEADSET, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=HID_HOST, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=PAN, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=HEARING_AID, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=HAP_CLIENT, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=VOLUME_CONTROL, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=CSIP_SET_COORDINATOR, connectionPolicy=-1<br />
04-18 14:30:40.777 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:22:88 profile=LE_AUDIO, connectionPolicy=-1                        </p>
<p><span style="color: rgb(255,0,0);">//created bond but never received UUIDs</span></p>
<p>04-18 14:30:49.941 W FastPair: BluetoothAudioPairer: pair: created bond but never received UUIDs, attempting to continue.                            <br />
Device disconnected</p>
<p>04-18 14:30:50.083 I bluetooth: disconnect: Device: xx:xx:xx:xx:22:88, cid: 0xffff                            <br />
04-18 14:30:50.086 I FastPair: Gatt connection with XX:XX:XX:XX:22:88 closed.                            <br />
04-18 14:30:50.097 D FastPairUtils: FastPair: Pairing finished with intent action: com.google.android.gms.nearby.discovery.ACTION_VALIDATOR_PAIR_PROGRESS                            <br />
04-18 14:30:51.083 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:22:88 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed                            <br />
04-18 14:30:51.134 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x41, reason: 0x16                            <br />
04-18 14:30:51.135 I bluetooth: disconnect: Device: xx:xx:xx:xx:22:88, cid: 0xffff                            <br />
04-18 14:31:50.101 I BaseModuleTask: event=ModuleEvent{message=Pairing process error. Reason: Is connected: false                            <br />
04-18 14:31:50.102 D FeatureTestActivity: ModuleEvent{message=Pairing process error. Reason: Is connected: false                            <br />
04-18 14:31:50.133 I FastPair: BluetoothAudioPairer: unpair: device=XX:XX:XX:XX:22:88, methodName=removeBond                            <br />
04-18 14:31:50.134 I BluetoothDevice: removeBond() for device XX:XX:XX:XX:22:88 called by pid: 19745 tid: 26174                            <br />
04-18 14:31:50.146 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:22:88 <span style="color: rgb(255,0,0);">BOND_BONDED =&gt; BOND_NONE    </span></p>
<p><br />
</p>
<p><br />
</p>
<p>正常的流程</p>
<p><span style="color: rgb(255,0,0);">//Pairing starts</span></p>
<p>04-18 10:50:49.219 I NearbyDiscovery: FastPairController: Validator: onValidatorConnectionRequested [CONTEXT service_id=265 ]                            <br />
04-18 10:50:49.221 I FastPair: FPDC: Starting to pair XX:XX:XX:XX:94:09: key[16], Preferences{gattOperationTimeoutSeconds=10, gattConnectionTimeoutSeconds=15, bluetoothToggleTimeoutSeconds=10, bluetoothToggleSleepSeconds=2,                          <br />
04-18 10:50:49.288 I bthal.activity: handle_ble_meta_event: <span style="color: rgb(255,0,0);">LE Enhanced Connection Complete</span>, conn_handle:041, conn_bda: XX:XX:55:0b:94:09                            <br />
04-18 10:50:49.412 I bt_bta_dm: bta_dm_acl_up: Acl connected peer:xx:xx:xx:xx:94:09 transport:<span style="color: rgb(255,0,0);">BT_TRANSPORT_LE handle:65   </span>                         <br />
04-18 10:50:49.416 D BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09 is not in cache                            <br />
04-18 10:50:51.779 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:94:09 <span style="color: rgb(255,0,0);">BOND_NONE =&gt; BOND_BONDING     </span>                       <br />
04-18 10:50:53.322 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_SEARCH_IDLE, event:BTA_DM_API_DISCOVER_EVT[0x202]                            <br />
04-18 10:50:53.826 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_DISCOVER_ACTIVE, event:BTA_DM_API_DISCOVER_EVT[0x202]            </p>
<p>               <br />
<span style="color: rgb(255,0,0);">//UUIDs discovered</span></p>
<p>04-18 10:50:54.679 I bt_bta_dm: bta_dm_execute_queued_request: Start pending discovery                            <br />
04-18 10:50:54.679 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_SEARCH_IDLE, event:BTA_DM_API_DISCOVER_EVT[0x202]                            <br />
04-18 10:50:54.680 I bt_bta_dm: bta_dm_discover_device: bta_dm_discovery: starting GATT discovery on xx:xx:xx:xx:94:09                            <br />
04-18 10:50:54.680 I bt_bta_dm: bta_dm_search_sm_execute: state:BTA_DM_DISCOVER_ACTIVE, event:BTA_DM_DISCOVERY_RESULT_EVT[0x207]                            <br />
04-18 10:50:54.680 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1952 - btif_dm_search_services_evt: New GATT over LE UUIDs for xx:xx:xx:xx:94:09:                            <br />
04-18 10:50:54.680 D bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1963 - btif_dm_search_services_evt: clearing pairing_cb                            <br />
04-18 10:50:54.680 D bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1971 - btif_dm_search_services_evt: Scheduling conn params unlock for xx:xx:xx:xx:94:09                            <br />
04-18 10:50:54.680 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1996 - btif_dm_search_services_evt: index:0 uuid:0000180f-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.680 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1996 - btif_dm_search_services_evt: index:1 uuid:00001844-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.680 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/<a href="http://btif_dm.cc" class="external-link" rel="nofollow">btif_dm.cc</a>:1996 - btif_dm_search_services_evt: index:2 uuid:0000184e-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 I BluetoothAdapterService: sendUuidsInternal: <span style="color: rgb(255,0,0);">Received service discovery UUIDs</span> for device XX:XX:XX:XX:94:09                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=0 uuid=00001101-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=1 uuid=00001108-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=2 uuid=0000110b-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=3 uuid=0000110e-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=4 uuid=0000111e-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=5 uuid=0000180f-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=6 uuid=00001844-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=7 uuid=0000184e-0000-1000-8000-00805f9b34fb                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=8 uuid=6a24eeab-4b65-4693-986b-3c26c352264f                            <br />
04-18 10:50:54.681 D BluetoothAdapterService: sendUuidsInternal: index=9 uuid=df21fe2c-2515-4fdb-8886-f12c4d67927c                            </p>
<p><span style="color: rgb(255,0,0);">//Bonded</span></p>
<p>04-18 10:50:54.701 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:94:09<span style="color: rgb(255,0,0);"> BOND_BONDING =&gt; BOND_BONDED    </span></p>
<p>// <span style="color: rgb(255,0,0);">profile=A2DP, connectionPolicy=0</span>    <span style="color: rgb(255,0,0);">0 是指连线成功   </span>             <br />
04-18 10:50:54.737 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09<span style="color: rgb(255,0,0);"> profile=A2DP, connectionPolicy=0</span>                            <br />
04-18 10:50:54.737 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09 profile=A2DP, connectionPolicy=0                            <br />
04-18 10:50:54.738 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09 profile=<span style="color: rgb(255,0,0);">HEADSET, connectionPolicy=0  </span>                          <br />
04-18 10:50:54.738 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09 profile=VOLUME_CONTROL, connectionPolicy=100                            <br />
04-18 10:50:54.738 V BluetoothDatabase: getProfileConnectionPolicy: device XX:XX:XX:XX:94:09 profile=LE_AUDIO, connectionPolicy=100                            </p>
<p><span style="color: rgb(255,0,0);">//action.UUID is received and profiles connected</span></p>
<p>04-18 10:50:54.751 I FastPair: BluetoothAudioPairer: BondedReceiver: handleUuids: device=XX:XX:XX:XX:94:09, uuids=[00001101-0000-1000-8000-00805f9b34fb, 00001108-0000-1000-8000-00805f9b34fb, 0000110b-0000-1000-8000-00805f9b34fb, 0000110e-0000-1000-8000-00805f9b34fb, 0000111e-0000-1000-8000-00805f9b34fb, 0000180f-0000-1000-8000-00805f9b34fb, 00001844-0000-1000-8000-00805f9b34fb, 0000184e-0000-1000-8000-00805f9b34fb, 6a24eeab-4b65-4693-986b-3c26c352264f, df21fe2c-2515-4fdb-8886-f12c4d67927c]                            <br />
04-18 10:50:54.785 I FastPair: BluetoothAudioPairer: AdditionalBondedReceiver: onReceive: action=android.bluetooth.device.action.UUID, device=XX:XX:XX:XX:94:09                            <br />
04-18 10:50:56.829 I BluetoothPhonePolicy: processProfileStateChanged, device=XX:XX:XX:XX:94:09, profile=LE_AUDIO, 1 -&gt; 2                            <br />
04-18 10:50:56.849 I BluetoothPhonePolicy: processProfileStateChanged, device=XX:XX:XX:XX:94:09, profile=VOLUME_CONTROL, 1 -&gt; 2    </p>
<p><span style="color: rgb(255,0,0);">//Classic ACL disconnected due no available profiles</span></p>
<p>04-18 10:50:58.705 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:19:19 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed                            <br />
04-18 10:50:58.847 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x0b, reason: 0x13                            </p>
<p><span style="color: rgb(255,0,0);">// Bond removed</span></p>
<p>04-18 10:51:06.883 I FastPair: BluetoothAudioPairer: unpair: device=XX:XX:XX:XX:94:09, methodName=removeBond                            <br />
04-18 10:51:06.883 I BluetoothDevice: removeBond() for device XX:XX:XX:XX:94:09 called by pid: 5098 tid: 17729                            <br />
04-18 10:51:06.888 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:94:09 reason:HCI_ERR_PEER_USER comment:stack::acl::btm_acl::btm_remove_acl                            <br />
04-18 10:51:06.896 I btm_acl : disconnect_acl: Disconnecting peer:xx:xx:xx:xx:94:09 reason:HCI_ERR_PEER_USER comment:bta::le_audio::client disconnect                            <br />
04-18 10:51:06.896 I BluetoothPhonePolicy: processProfileStateChanged, device=XX:XX:XX:XX:94:09, profile=VOLUME_CONTROL, 2 -&gt; 3                            <br />
04-18 10:51:06.897 I BluetoothPhonePolicy: processProfileStateChanged, device=XX:XX:XX:XX:94:09, profile=LE_AUDIO, 2 -&gt; 3                            <br />
04-18 10:51:06.901 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:94:09 BOND_BONDED =&gt; BOND_NONE                            <br />
04-18 10:51:06.912 I bt_shim_hci: packages/modules/Bluetooth/system/main/shim/<a href="http://hci_layer.cc" class="external-link" rel="nofollow">hci_layer.cc</a>:304 - operator(): ISO disconnection from GD, handle: 0x41, reason: 0x16</p>
<p><br />
</p>
<p><strong><span style="color: rgb(255,0,0);">//Conclusion:</span></strong></p>
<p>The uuids are not passed to upper layer.</p>
<p>The build seems to be old and there have been changes in this module, please check if it is repro in the latest build.</p>
<p>If reproducible, please provide bug report along with issue timestamp/video.</p>
<p>Steps to enable full bt_snoop logs:</p>
<p>1.Enable Developer options on the device.</p>
<p>2.In the Developer options menu, change the Enable Bluetooth HCI snoop log setting to Enabled.</p>
<p>3.In the "Logger buffer sizes", change the buffer size to "16M"(or highest possible).</p>
<p>4.Enable Verbose Logging from Developer Options (Developer Options -&gt; Enable Bluetooth Stack log -&gt; Select Verbose)</p>
<p>5.In the "Store logger data persistently on device" to  "All log buffers"</p>
<p>6.Restart your phone for logging to take effect</p>
<p>7.Try reproducing your issue again and take a new bugreport</p></th>
</tr>
&#10;</tbody>
</table>