Loading system/gd/security/internal/security_manager_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include "security/pairing/classic_pairing_handler.h" #include "security/pairing_handler_le.h" #include "security/record/security_record.h" #include "security/security_record_database.h" #include "security/record/security_record_database.h" namespace bluetooth { namespace security { Loading Loading @@ -180,7 +180,7 @@ class SecurityManagerImpl : public channel::ISecurityManagerChannelListener, pub std::unique_ptr<l2cap::le::FixedChannelManager> l2cap_manager_le_; hci::LeSecurityInterface* hci_security_interface_le_ __attribute__((unused)); channel::SecurityManagerChannel* security_manager_channel_; SecurityRecordDatabase security_database_; record::SecurityRecordDatabase security_database_; std::unordered_map<hci::Address, std::shared_ptr<pairing::PairingHandler>> pairing_handler_map_; hci::IoCapability local_io_capability_ = kDefaultIoCapability; hci::AuthenticationRequirements local_authentication_requirements_ = kDefaultAuthenticationRequirements; Loading system/gd/security/security_record_database.h→system/gd/security/record/security_record_database.h +3 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ namespace bluetooth { namespace security { namespace record { class SecurityRecordDatabase { public: Loading Loading @@ -59,5 +60,6 @@ class SecurityRecordDatabase { std::vector<record::SecurityRecord> records_; }; } // namespace record } // namespace security } // namespace bluetooth Loading
system/gd/security/internal/security_manager_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include "security/pairing/classic_pairing_handler.h" #include "security/pairing_handler_le.h" #include "security/record/security_record.h" #include "security/security_record_database.h" #include "security/record/security_record_database.h" namespace bluetooth { namespace security { Loading Loading @@ -180,7 +180,7 @@ class SecurityManagerImpl : public channel::ISecurityManagerChannelListener, pub std::unique_ptr<l2cap::le::FixedChannelManager> l2cap_manager_le_; hci::LeSecurityInterface* hci_security_interface_le_ __attribute__((unused)); channel::SecurityManagerChannel* security_manager_channel_; SecurityRecordDatabase security_database_; record::SecurityRecordDatabase security_database_; std::unordered_map<hci::Address, std::shared_ptr<pairing::PairingHandler>> pairing_handler_map_; hci::IoCapability local_io_capability_ = kDefaultIoCapability; hci::AuthenticationRequirements local_authentication_requirements_ = kDefaultAuthenticationRequirements; Loading
system/gd/security/security_record_database.h→system/gd/security/record/security_record_database.h +3 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ namespace bluetooth { namespace security { namespace record { class SecurityRecordDatabase { public: Loading Loading @@ -59,5 +60,6 @@ class SecurityRecordDatabase { std::vector<record::SecurityRecord> records_; }; } // namespace record } // namespace security } // namespace bluetooth