OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8ab63
)
Re-log stack/acl/btm_acl::btm_acl_created
author
Chris Manton
<cmanton@google.com>
Mon, 11 Jan 2021 06:30:02 +0000
(22:30 -0800)
committer
Chris Manton
<cmanton@google.com>
Tue, 19 Jan 2021 21:37:00 +0000
(13:37 -0800)
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I1e6ffe540d913839577c6a7969ddf2d073b83332
stack/acl/btm_acl.cc
patch
|
blob
|
history
diff --git
a/stack/acl/btm_acl.cc
b/stack/acl/btm_acl.cc
index
a769719
..
801f6fb
100644
(file)
--- a/
stack/acl/btm_acl.cc
+++ b/
stack/acl/btm_acl.cc
@@
-412,7
+412,10
@@
void btm_acl_created(const RawAddress& bda, uint16_t hci_handle,
p_acl->reset_switch_role();
acl_initialize_power_mode(*p_acl);
- LOG_DEBUG("Created new ACL connection");
+ LOG_DEBUG(
+ "Created new ACL connection peer:%s role:%s handle:0x%04x transport:%s",
+ PRIVATE_ADDRESS(bda), RoleText(p_acl->link_role).c_str(), hci_handle,
+ BtTransportText(transport).c_str());
btm_set_link_policy(p_acl, btm_cb.acl_cb_.DefaultLinkPolicy());
if (transport == BT_TRANSPORT_LE) {