Loading system/gd/hal/facade.cc +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class HciHalFacadeService : public HciHalFacade::Service, public ::bluetooth::ha hal->registerIncomingPacketCallback(this); } ~HciHalFacadeService() override { ~HciHalFacadeService() { hal_->unregisterIncomingPacketCallback(); } Loading system/gd/hci/acl_manager.h +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ class AclManager : public Module { // "struct impl" is forwarded declared in .cc and compiler needs a concrete definition of "struct impl" when // compiling AclManager's destructor. Hence we need to forward declare the destructor for AclManager to delay // compiling AclManager's destructor until it starts linking the .cc file. ~AclManager() override; ~AclManager(); // Should register only once when user module starts. // Generates OnConnectSuccess when an incoming connection is established. Loading system/gd/hci/acl_manager/classic_acl_connection.cc +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class AclConnectionTracker : public ConnectionManagementCallbacks { public: AclConnectionTracker(AclConnectionInterface* acl_connection_interface) : acl_connection_interface_(acl_connection_interface) {} ~AclConnectionTracker() override { ~AclConnectionTracker() { // If callbacks were registered, they should have been delivered. ASSERT(client_callbacks_ == nullptr || queued_callbacks_.empty()); } Loading system/gd/hci/acl_manager/classic_acl_connection.h +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ class ClassicAclConnection : public AclConnection { ClassicAclConnection(); ClassicAclConnection(std::shared_ptr<Queue> queue, AclConnectionInterface* acl_connection_interface, uint16_t handle, Address address); ~ClassicAclConnection() override; ~ClassicAclConnection(); virtual Address GetAddress() const { return address_; Loading system/gd/hci/acl_manager/classic_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ struct classic_impl : public security::ISecurityManagerListener { handler_->BindOn(this, &classic_impl::on_read_remote_version_information)); } ~classic_impl() override { ~classic_impl() { for (auto event_code : AclConnectionEvents) { hci_layer_->UnregisterEventHandler(event_code); } Loading Loading
system/gd/hal/facade.cc +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class HciHalFacadeService : public HciHalFacade::Service, public ::bluetooth::ha hal->registerIncomingPacketCallback(this); } ~HciHalFacadeService() override { ~HciHalFacadeService() { hal_->unregisterIncomingPacketCallback(); } Loading
system/gd/hci/acl_manager.h +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ class AclManager : public Module { // "struct impl" is forwarded declared in .cc and compiler needs a concrete definition of "struct impl" when // compiling AclManager's destructor. Hence we need to forward declare the destructor for AclManager to delay // compiling AclManager's destructor until it starts linking the .cc file. ~AclManager() override; ~AclManager(); // Should register only once when user module starts. // Generates OnConnectSuccess when an incoming connection is established. Loading
system/gd/hci/acl_manager/classic_acl_connection.cc +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class AclConnectionTracker : public ConnectionManagementCallbacks { public: AclConnectionTracker(AclConnectionInterface* acl_connection_interface) : acl_connection_interface_(acl_connection_interface) {} ~AclConnectionTracker() override { ~AclConnectionTracker() { // If callbacks were registered, they should have been delivered. ASSERT(client_callbacks_ == nullptr || queued_callbacks_.empty()); } Loading
system/gd/hci/acl_manager/classic_acl_connection.h +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ class ClassicAclConnection : public AclConnection { ClassicAclConnection(); ClassicAclConnection(std::shared_ptr<Queue> queue, AclConnectionInterface* acl_connection_interface, uint16_t handle, Address address); ~ClassicAclConnection() override; ~ClassicAclConnection(); virtual Address GetAddress() const { return address_; Loading
system/gd/hci/acl_manager/classic_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ struct classic_impl : public security::ISecurityManagerListener { handler_->BindOn(this, &classic_impl::on_read_remote_version_information)); } ~classic_impl() override { ~classic_impl() { for (auto event_code : AclConnectionEvents) { hci_layer_->UnregisterEventHandler(event_code); } Loading