/system/bt/main/shim/ |
D | acl_legacy_interface.cc | 34 .connection.classic.on_connected = on_acl_br_edr_connected, in GetAclInterface() 35 .connection.classic.on_failed = on_acl_br_edr_failed, in GetAclInterface() 36 .connection.classic.on_disconnected = btm_acl_disconnected, in GetAclInterface() 47 .link.classic.on_authentication_complete = btm_sec_auth_complete, in GetAclInterface() 48 .link.classic.on_central_link_key_complete = nullptr, in GetAclInterface() 49 .link.classic.on_change_connection_link_key_complete = nullptr, in GetAclInterface() 50 .link.classic.on_encryption_change = nullptr, in GetAclInterface() 51 .link.classic.on_flow_specification_complete = nullptr, in GetAclInterface() 52 .link.classic.on_flush_occurred = nullptr, in GetAclInterface() 53 .link.classic.on_mode_change = btm_pm_on_mode_change, in GetAclInterface() [all …]
|
/system/bt/gd/l2cap/ |
D | Android.bp | 14 "classic/dynamic_channel_manager.cc", 15 "classic/dynamic_channel_service.cc", 16 "classic/fixed_channel.cc", 17 "classic/fixed_channel_manager.cc", 18 "classic/fixed_channel_service.cc", 19 "classic/internal/dynamic_channel_service_manager_impl.cc", 20 "classic/internal/fixed_channel_impl.cc", 21 "classic/internal/fixed_channel_service_manager_impl.cc", 22 "classic/internal/link.cc", 23 "classic/internal/link_manager.cc", [all …]
|
D | BUILD.gn | 18 "classic/dynamic_channel_manager.cc", 19 "classic/dynamic_channel_service.cc", 20 "classic/fixed_channel.cc", 21 "classic/fixed_channel_manager.cc", 22 "classic/fixed_channel_service.cc", 23 "classic/internal/dumpsys_helper.cc", 24 "classic/internal/dynamic_channel_service_manager_impl.cc", 25 "classic/internal/fixed_channel_impl.cc", 26 "classic/internal/fixed_channel_service_manager_impl.cc", 27 "classic/internal/link.cc", [all …]
|
/system/bt/gd/l2cap/fuzz/ |
D | fuzz_dynamic_channel_manager_impl.h | 39 l2cap::classic::DynamicChannelConfigurationOption configuration_option, in ConnectChannel() 41 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback, in ConnectChannel() 42 l2cap::classic::DynamicChannelManager::OnConnectionFailureCallback on_fail_callback) { in ConnectChannel() 53 l2cap::classic::DynamicChannelConfigurationOption, in RegisterService() 54 const l2cap::classic::SecurityPolicy&, in RegisterService() 55 … l2cap::classic::DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete, in RegisterService() 56 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback) { in RegisterService() 83 …void SetConnectionOnFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::prom… in SetConnectionOnFail() 93 l2cap::classic::DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete_{}; 94 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback_{}; [all …]
|
D | fuzz_dynamic_channel_manager.h | 38 class FuzzDynamicChannelManager : public l2cap::classic::DynamicChannelManager { 42 l2cap::classic::DynamicChannelConfigurationOption configuration_option, in ConnectChannel() 44 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback, in ConnectChannel() 45 … l2cap::classic::DynamicChannelManager::OnConnectionFailureCallback on_fail_callback) override { in ConnectChannel() 51 l2cap::classic::DynamicChannelConfigurationOption configuration_option, in RegisterService() 52 const l2cap::classic::SecurityPolicy& security_policy, in RegisterService() 53 … l2cap::classic::DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete, in RegisterService() 54 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback) override { in RegisterService()
|
D | shim_l2cap.h | 55 void OnConnectionComplete(std::unique_ptr<l2cap::classic::DynamicChannel> channel) {} in OnConnectionComplete() 57 void OnConnectionFail(l2cap::classic::DynamicChannelManager::ConnectionResult result) {} in OnConnectionFail() 62 …fake_registry_.InjectTestModule(&l2cap::classic::L2capClassicModule::Factory, fuzz_l2cap_classic_m… in ShimL2capFuzz() 63 fake_registry_.Start<l2cap::classic::L2capClassicModule>(); in ShimL2capFuzz() 72 …dynamic_channel_impl = std::unique_ptr<l2cap::classic::internal::DynamicChannelServiceManagerImpl>( in ShimL2capFuzz() 73 new l2cap::classic::internal::DynamicChannelServiceManagerImpl(handler_.get())); in ShimL2capFuzz() 74 fixed_channel_impl = std::unique_ptr<l2cap::classic::internal::FixedChannelServiceManagerImpl>( in ShimL2capFuzz() 75 new l2cap::classic::internal::FixedChannelServiceManagerImpl(handler_.get())); in ShimL2capFuzz() 77 …link_manager = std::unique_ptr<l2cap::classic::internal::LinkManager>(new l2cap::classic::internal… in ShimL2capFuzz() 95 std::unique_ptr<l2cap::classic::internal::FixedChannelServiceManagerImpl> fixed_channel_impl; [all …]
|
D | fuzz_l2cap_classic_module.h | 32 class FuzzL2capClassicModule : public l2cap::classic::L2capClassicModule { 34 std::unique_ptr<l2cap::classic::DynamicChannelManager> GetDynamicChannelManager() override { in GetDynamicChannelManager()
|
/system/bt/gd/l2cap/classic/internal/ |
D | dumpsys_helper.cc | 27 bluetooth::l2cap::classic::internal::DumpsysHelper::DumpsysHelper(const LinkManager& link_manager) in DumpsysHelper() 30 std::vector<flatbuffers::Offset<bluetooth::l2cap::classic::ChannelData>> 31 bluetooth::l2cap::classic::internal::DumpsysHelper::DumpActiveDynamicChannels( in DumpActiveDynamicChannels() 34 std::vector<flatbuffers::Offset<bluetooth::l2cap::classic::ChannelData>> channel_offsets; in DumpActiveDynamicChannels() 44 std::vector<flatbuffers::Offset<::bluetooth::l2cap::classic::ChannelData>> 45 bluetooth::l2cap::classic::internal::DumpsysHelper::DumpActiveFixedChannels( in DumpActiveFixedChannels() 48 bluetooth::l2cap::classic::internal::FixedChannelImpl, in DumpActiveFixedChannels() 49 bluetooth::l2cap::classic::internal::Link>& channel_allocator) const { in DumpActiveFixedChannels() 50 std::vector<flatbuffers::Offset<bluetooth::l2cap::classic::ChannelData>> channel_offsets; in DumpActiveFixedChannels() 60 std::vector<flatbuffers::Offset<bluetooth::l2cap::classic::LinkData>> [all …]
|
D | dynamic_channel_service_impl.h | 29 namespace classic { 37 classic::SecurityPolicy security_policy_; 60 classic::SecurityPolicy security_policy, in DynamicChannelServiceImpl() 68 classic::SecurityPolicy security_policy_;
|
D | signalling_manager.h | 40 namespace classic { 59 … classic::internal::DynamicChannelServiceManagerImpl* dynamic_service_manager, 61 … classic::internal::FixedChannelServiceManagerImpl* fixed_service_manager); 125 std::shared_ptr<classic::internal::FixedChannelImpl> signalling_channel_;
|
/system/bt/main/test/ |
D | main_shim_test.cc | 126 .connection.classic.on_connected = mock_connection_classic_on_connected, in GetMockAclInterface() 127 .connection.classic.on_failed = mock_connection_classic_on_failed, in GetMockAclInterface() 128 .connection.classic.on_disconnected = in GetMockAclInterface() 139 .link.classic.on_authentication_complete = nullptr, in GetMockAclInterface() 140 .link.classic.on_central_link_key_complete = nullptr, in GetMockAclInterface() 141 .link.classic.on_change_connection_link_key_complete = nullptr, in GetMockAclInterface() 142 .link.classic.on_encryption_change = nullptr, in GetMockAclInterface() 143 .link.classic.on_flow_specification_complete = nullptr, in GetMockAclInterface() 144 .link.classic.on_flush_occurred = nullptr, in GetMockAclInterface() 145 .link.classic.on_mode_change = nullptr, in GetMockAclInterface() [all …]
|
/system/bt/gd/security/test/ |
D | fake_security_interface.h | 24 class FakeLinkSecurityInterface : public l2cap::classic::LinkSecurityInterface { 26 …FakeLinkSecurityInterface(l2cap::classic::LinkSecurityInterfaceListener* listener, hci::Address ad… in FakeLinkSecurityInterface() 49 l2cap::classic::LinkSecurityInterfaceListener* listener_ = nullptr; 53 class FakeSecurityInterface : public l2cap::classic::SecurityInterface { 55 …FakeSecurityInterface(os::Handler* handler, l2cap::classic::LinkSecurityInterfaceListener* listene… in FakeSecurityInterface() 65 l2cap::classic::LinkSecurityInterfaceListener* listener_ __attribute__((unused));
|
/system/bt/gd/security/channel/ |
D | security_manager_channel.h | 51 class SecurityManagerChannel : public l2cap::classic::LinkSecurityInterfaceListener { 106 void SetSecurityInterface(l2cap::classic::SecurityInterface* security_interface) { in SetSecurityInterface() 125 void OnLinkConnected(std::unique_ptr<l2cap::classic::LinkSecurityInterface> link) override; 134 l2cap::classic::SecurityInterface* l2cap_security_interface_{nullptr}; 135 …std::unordered_map<hci::Address, std::unique_ptr<l2cap::classic::LinkSecurityInterface>> link_map_;
|
/system/bt/gd/security/ |
D | l2cap_security_module_interface.cc | 27 hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, in Enforce() 28 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) { in Enforce() 31 … std::forward<hci::AddressWithType>(remote), std::forward<l2cap::classic::SecurityPolicy>(policy), in Enforce() 32 std::forward<l2cap::classic::SecurityEnforcementInterface::ResultCallback>(result_callback))); in Enforce()
|
D | l2cap_security_module_interface.h | 25 class L2capSecurityModuleInterface : public l2cap::classic::SecurityEnforcementInterface, 29 void Enforce(hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, 30 … l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) override;
|
D | security_module.cc | 44 l2cap::classic::L2capClassicModule* l2cap_classic_module, in impl() 67 l2cap::classic::L2capClassicModule* l2cap_classic_module_; 95 list->add<l2cap::classic::L2capClassicModule>(); in ListDependencies() 107 GetDependency<l2cap::classic::L2capClassicModule>(), in Start()
|
D | facade_configuration_api.h | 46 l2cap::classic::SecurityPolicy policy, 47 l2cap::classic::SecurityEnforcementInterface::ResultCallback callback);
|
/system/bt/gd/att/ |
D | att_module.cc | 50 l2cap::classic::L2capClassicModule* l2cap_classic_module) in impl() 67 l2cap::classic::L2capClassicModule* l2cap_classic_module_; 72 list->add<l2cap::classic::L2capClassicModule>(); in ListDependencies() 77 …GetHandler(), GetDependency<l2cap::le::L2capLeModule>(), GetDependency<l2cap::classic::L2capClassi… in Start()
|
/system/bt/gd/rust/link/src/acl/ |
D | mod.rs | 4 pub mod classic; module 13 classic::classic_acl_module,
|
/system/bt/gd/docs/testing/ |
D | gtest.md | 126 * [l2cap/classic/internal/fixed_channel_impl.h](https://android.googlesource.com/platform/system/… 133 #include "l2cap/classic/fixed_channel.h" 141 namespace classic { 166 } // namespace classic 171 …ystem/bt/gd/l2cap/classic/internal/fixed_channel_impl.cc](https://android.googlesource.com/platfor… 175 * [l2cap/classic/internal/fixed_channel_impl_mock.h](https://android.googlesource.com/platform/sy… 180 #include "l2cap/classic/internal/fixed_channel_impl.h" 187 namespace classic { 204 } // namespace classic 211 * [l2cap/classic/internal/fixed_channel_impl_test.cc](https://android.googlesource.com/platform/s… [all …]
|
/system/bt/gd/l2cap/classic/ |
D | facade.cc | 40 namespace classic { namespace 51 … ::grpc::ServerWriter<classic::ConnectionCompleteEvent>* writer) override { in FetchConnectionComplete() 56 … ::grpc::ServerWriter<classic::ConnectionCloseEvent>* writer) override { in FetchConnectionClose() 74 const ::bluetooth::l2cap::classic::OpenChannelRequest* request, in OpenChannel() 87 const ::bluetooth::l2cap::classic::CloseChannelRequest* request, in CloseChannel() 98 ::grpc::ServerWriter<classic::L2capPacket>* writer) override { in FetchL2capData() 286 …DynamicChannelConfigurationOption configuration_option = l2cap::classic::DynamicChannelConfigurati… in Connect() 341 classic::ConnectionCloseEvent event; in on_close_callback() 405 ::bluetooth::grpc::GrpcEventQueue<classic::ConnectionCompleteEvent> pending_connection_complete_{ 407 …::bluetooth::grpc::GrpcEventQueue<classic::ConnectionCloseEvent> pending_connection_close_{"FetchC… [all …]
|
D | dynamic_channel_manager.cc | 25 namespace classic { namespace 45 const classic::SecurityPolicy& security_policy, in RegisterService()
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.h | 202 void EnforceSecurityPolicy(hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, 203 … l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback); 240 l2cap::classic::SecurityPolicy policy, 241 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback); 243 …bool IsSecurityRequirementSatisfied(hci::AddressWithType remote, l2cap::classic::SecurityPolicy po… 274 l2cap::classic::SecurityPolicy policy_; 275 l2cap::classic::SecurityEnforcementInterface::ResultCallback callback_;
|
/system/bt/gd/ |
D | dumpsys_data.fbs | 4 include "l2cap/classic/l2cap_classic_module.fbs"; 19 l2cap_classic_dumpsys_data:bluetooth.l2cap.classic.L2capClassicModuleData (privacy:"Any");
|
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_allocator.h | 33 namespace classic { 77 friend class bluetooth::l2cap::classic::internal::DumpsysHelper;
|