Loading system/main/shim/acl.cc +3 −0 Original line number Diff line number Diff line Loading @@ -523,9 +523,12 @@ bluetooth::shim::legacy::Acl::Acl(os::Handler* handler, GetAclManager()->RegisterLeCallbacks(this, handler_); GetController()->RegisterCompletedMonitorAclPacketsCallback( handler->BindOn(this, &Acl::on_incoming_acl_credits)); bluetooth::shim::RegisterDumpsysFunction(static_cast<void*>(this), [this](int fd) { Dump(fd); }); } bluetooth::shim::legacy::Acl::~Acl() { bluetooth::shim::UnregisterDumpsysFunction(static_cast<void*>(this)); GetController()->UnregisterCompletedMonitorAclPacketsCallback(); } Loading Loading
system/main/shim/acl.cc +3 −0 Original line number Diff line number Diff line Loading @@ -523,9 +523,12 @@ bluetooth::shim::legacy::Acl::Acl(os::Handler* handler, GetAclManager()->RegisterLeCallbacks(this, handler_); GetController()->RegisterCompletedMonitorAclPacketsCallback( handler->BindOn(this, &Acl::on_incoming_acl_credits)); bluetooth::shim::RegisterDumpsysFunction(static_cast<void*>(this), [this](int fd) { Dump(fd); }); } bluetooth::shim::legacy::Acl::~Acl() { bluetooth::shim::UnregisterDumpsysFunction(static_cast<void*>(this)); GetController()->UnregisterCompletedMonitorAclPacketsCallback(); } Loading