Home
last modified time | relevance | path

Searched refs:neighbor (Results 1 – 25 of 48) sorted by relevance

12

/system/bt/gd/neighbor/
Dconnectability.cc30 namespace neighbor { namespace
45 neighbor::ScanModule* scan_module_;
48 const ModuleFactory neighbor::ConnectabilityModule::Factory =
51 neighbor::ConnectabilityModule::impl::impl(neighbor::ConnectabilityModule& module) : module_(module… in impl()
53 void neighbor::ConnectabilityModule::impl::StartConnectability() { in StartConnectability()
57 void neighbor::ConnectabilityModule::impl::StopConnectability() { in StopConnectability()
61 bool neighbor::ConnectabilityModule::impl::IsConnectable() const { in IsConnectable()
65 void neighbor::ConnectabilityModule::impl::Start() { in Start()
66 scan_module_ = module_.GetDependency<neighbor::ScanModule>(); in Start()
69 void neighbor::ConnectabilityModule::impl::Stop() {} in Stop()
[all …]
Ddiscoverability.cc31 namespace neighbor { namespace
54 neighbor::ScanModule* scan_module_;
61 const ModuleFactory neighbor::DiscoverabilityModule::Factory =
62 ModuleFactory([]() { return new neighbor::DiscoverabilityModule(); }); in __anon784c79370102()
64 neighbor::DiscoverabilityModule::impl::impl(neighbor::DiscoverabilityModule& module) : module_(modu… in impl()
66 void neighbor::DiscoverabilityModule::impl::OnCommandComplete(hci::CommandCompleteView status) { in OnCommandComplete()
93 void neighbor::DiscoverabilityModule::impl::StartDiscoverability(std::vector<hci::Lap>& laps) { in StartDiscoverability()
102 void neighbor::DiscoverabilityModule::impl::StopDiscoverability() { in StopDiscoverability()
106 bool neighbor::DiscoverabilityModule::impl::IsGeneralDiscoverabilityEnabled() const { in IsGeneralDiscoverabilityEnabled()
110 bool neighbor::DiscoverabilityModule::impl::IsLimitedDiscoverabilityEnabled() const { in IsLimitedDiscoverabilityEnabled()
[all …]
Dscan.cc29 namespace neighbor { namespace
58 const ModuleFactory neighbor::ScanModule::Factory = ModuleFactory([]() { return new neighbor::ScanM… in __anonc1a7790f0102()
60 neighbor::ScanModule::impl::impl(neighbor::ScanModule& module) in impl()
63 void neighbor::ScanModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
84 void neighbor::ScanModule::impl::WriteScanEnable() { in WriteScanEnable()
108 void neighbor::ScanModule::impl::ReadScanEnable(hci::ScanEnable scan_enable) { in ReadScanEnable()
132 void neighbor::ScanModule::impl::SetInquiryScan(bool enabled) { in SetInquiryScan()
137 void neighbor::ScanModule::impl::SetPageScan(bool enabled) { in SetPageScan()
142 bool neighbor::ScanModule::impl::IsInquiryEnabled() const { in IsInquiryEnabled()
146 bool neighbor::ScanModule::impl::IsPageEnabled() const { in IsPageEnabled()
[all …]
Dname_db.cc31 namespace neighbor { namespace
57 neighbor::NameModule* name_module_;
63 const ModuleFactory neighbor::NameDbModule::Factory = ModuleFactory([]() { return new neighbor::Nam… in __anonca2456900202()
65 neighbor::NameDbModule::impl::impl(const neighbor::NameDbModule& module) : module_(module) {} in impl()
67 void neighbor::NameDbModule::impl::ReadRemoteNameRequest( in ReadRemoteNameRequest()
92 void neighbor::NameDbModule::impl::OnRemoteNameResponse(hci::ErrorCode status, hci::Address address… in OnRemoteNameResponse()
104 bool neighbor::NameDbModule::impl::IsNameCached(hci::Address address) const { in IsNameCached()
108 RemoteName neighbor::NameDbModule::impl::ReadCachedRemoteName(hci::Address address) const { in ReadCachedRemoteName()
116 neighbor::NameDbModule::NameDbModule() : pimpl_(std::make_unique<impl>(*this)) {} in NameDbModule()
118 neighbor::NameDbModule::~NameDbModule() { in ~NameDbModule()
[all …]
Dinquiry.cc30 namespace neighbor { namespace
96 const ModuleFactory neighbor::InquiryModule::Factory = ModuleFactory([]() { return new neighbor::In… in __anon3949e79b0102()
98 neighbor::InquiryModule::impl::impl(neighbor::InquiryModule& module) : module_(module) {} in impl()
100 void neighbor::InquiryModule::impl::OnCommandCompleteSync(hci::CommandCompleteView view) { in OnCommandCompleteSync()
106 void neighbor::InquiryModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
179 void neighbor::InquiryModule::impl::OnCommandStatus(hci::CommandStatusView status) { in OnCommandStatus()
197 void neighbor::InquiryModule::impl::OnEvent(hci::EventView view) { in OnEvent()
244 void neighbor::InquiryModule::impl::RegisterCallbacks(InquiryCallbacks callbacks) { in RegisterCallbacks()
257 void neighbor::InquiryModule::impl::UnregisterCallbacks() { in UnregisterCallbacks()
266 void neighbor::InquiryModule::impl::EnqueueCommandComplete(std::unique_ptr<hci::CommandBuilder> com… in EnqueueCommandComplete()
[all …]
Dpage.cc31 namespace neighbor { namespace
59 const ModuleFactory neighbor::PageModule::Factory = ModuleFactory([]() { return new neighbor::PageM… in __anond67615270102()
61 neighbor::PageModule::impl::impl(neighbor::PageModule& module) : module_(module) {} in impl()
63 void neighbor::PageModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
111 void neighbor::PageModule::impl::Start() { in Start()
125 void neighbor::PageModule::impl::Stop() { in Stop()
130 void neighbor::PageModule::impl::SetScanActivity(ScanParameters params) { in SetScanActivity()
145 ScanParameters neighbor::PageModule::impl::GetScanActivity() const { in GetScanActivity()
149 void neighbor::PageModule::impl::SetScanType(hci::PageScanType scan_type) { in SetScanType()
158 void neighbor::PageModule::impl::SetTimeout(PageTimeout timeout) { in SetTimeout()
[all …]
Dname.cc32 namespace neighbor { namespace
78 const ModuleFactory neighbor::NameModule::Factory = ModuleFactory([]() { return new neighbor::NameM… in __anon3cee2eab0102()
80 neighbor::NameModule::impl::impl(const neighbor::NameModule& module) : module_(module) {} in impl()
82 void neighbor::NameModule::impl::EnqueueCommandComplete(std::unique_ptr<hci::CommandBuilder> comman… in EnqueueCommandComplete()
86 void neighbor::NameModule::impl::EnqueueCommandStatus(std::unique_ptr<hci::CommandBuilder> command)… in EnqueueCommandStatus()
90 void neighbor::NameModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
106 void neighbor::NameModule::impl::OnCommandStatus(hci::CommandStatusView status) { in OnCommandStatus()
121 void neighbor::NameModule::impl::OnEvent(hci::EventView view) { in OnEvent()
139 void neighbor::NameModule::impl::Start() { in Start()
147 void neighbor::NameModule::impl::Stop() { in Stop()
[all …]
Dscan_parameters.h21 namespace neighbor {
Dconnectability.h23 namespace neighbor {
Ddiscoverability.h24 namespace neighbor {
Dscan.h23 namespace neighbor {
Dpage.h25 namespace neighbor {
Dname_db.h29 namespace neighbor {
/system/bt/main/shim/
Dentry.cc55 neighbor::ConnectabilityModule* GetConnectability() { in GetConnectability()
58 ->GetInstance<neighbor::ConnectabilityModule>(); in GetConnectability()
61 neighbor::DiscoverabilityModule* GetDiscoverability() { in GetDiscoverability()
64 ->GetInstance<neighbor::DiscoverabilityModule>(); in GetDiscoverability()
71 neighbor::InquiryModule* GetInquiry() { in GetInquiry()
74 ->GetInstance<neighbor::InquiryModule>(); in GetInquiry()
93 neighbor::NameModule* GetName() { in GetName()
96 ->GetInstance<neighbor::NameModule>(); in GetName()
99 neighbor::PageModule* GetPage() { in GetPage()
102 ->GetInstance<neighbor::PageModule>(); in GetPage()
Dentry.h41 namespace neighbor {
81 neighbor::DiscoverabilityModule* GetDiscoverability();
82 neighbor::ConnectabilityModule* GetConnectability();
84 neighbor::InquiryModule* GetInquiry();
88 neighbor::NameModule* GetName();
89 neighbor::PageModule* GetPage();
Dstack.cc129 modules.add<neighbor::ConnectabilityModule>(); in StartEverything()
130 modules.add<neighbor::DiscoverabilityModule>(); in StartEverything()
131 modules.add<neighbor::InquiryModule>(); in StartEverything()
132 modules.add<neighbor::NameModule>(); in StartEverything()
133 modules.add<neighbor::NameDbModule>(); in StartEverything()
134 modules.add<neighbor::PageModule>(); in StartEverything()
135 modules.add<neighbor::ScanModule>(); in StartEverything()
145 stack_manager_.GetInstance<neighbor::InquiryModule>()); in StartEverything()
/system/bt/test/mock/
Dmock_main_shim_entry.cc65 neighbor::ConnectabilityModule* GetConnectability() { return nullptr; } in GetConnectability()
66 neighbor::DiscoverabilityModule* GetDiscoverability() { return nullptr; } in GetDiscoverability()
67 neighbor::InquiryModule* GetInquiry() { return nullptr; } in GetInquiry()
68 neighbor::NameModule* GetName() { return nullptr; } in GetName()
69 neighbor::PageModule* GetPage() { return nullptr; } in GetPage()
/system/bt/gd/security/test/
Dfake_name_db.h24 class FakeNameDbModule : public neighbor::NameDbModule {
36 …hci::Address address, neighbor::ReadRemoteNameDbCallback callback, os::Handler* handler) override { in ReadRemoteNameRequest()
44 neighbor::RemoteName ReadCachedRemoteName(hci::Address address) const { in ReadCachedRemoteName()
45 neighbor::RemoteName name = {'t', 'e', 's', 't'}; in ReadCachedRemoteName()
/system/bt/gd/neighbor/cert/
Dpy_neighbor.py27 from neighbor.facade import facade_pb2 as neighbor_facade
33 self.inquiry_event_stream = EventStream(device.neighbor.SetInquiryMode(inquiry_msg))
45 … self.remote_name_stream = EventStream(device.neighbor.GetRemoteNameEvents(empty_proto.Empty()))
81 self.device.neighbor.ReadRemoteName(
/system/bt/gd/security/
Dsecurity_module.cc49 neighbor::NameDbModule* name_db_module) in impl()
75 neighbor::NameDbModule* name_db_module_;
100 list->add<neighbor::NameDbModule>(); in ListDependencies()
112 GetDependency<neighbor::NameDbModule>()); in Start()
/system/bt/gd/neighbor/facade/
Dfacade.cc31 namespace neighbor { namespace
53 const ::bluetooth::neighbor::EnableMsg* request, in SetConnectability()
65 const ::bluetooth::neighbor::DiscoverabilitiyMsg* request, in SetDiscoverability()
85 const ::bluetooth::neighbor::InquiryMsg* request, in SetInquiryMode()
119 const ::bluetooth::neighbor::RemoteNameRequestMsg* request, in ReadRemoteName()
156 const ::bluetooth::neighbor::EnableMsg* request, in EnableInquiryScan()
168 const ::bluetooth::neighbor::EnableMsg* request, in EnablePageScan()
Dfacade.h30 namespace neighbor {
/system/bt/gd/hci/cert/
Dacl_manager_test.py19 from neighbor.facade import facade_pb2 as neighbor_facade
55 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
71 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
90 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
/system/bt/gd/security/pairing/
Dpairing_handler.h46 neighbor::NameDbModule* name_db_module) in PairingHandler()
89 neighbor::NameDbModule* GetNameDbModule() { in GetNameDbModule()
96 neighbor::NameDbModule* name_db_module_;
/system/bt/gd/facade/
Dgrpc_root_server.cc93 modules.add<::bluetooth::neighbor::facade::NeighborFacadeModule>(); in StartStack()
100 modules.add<::bluetooth::neighbor::facade::NeighborFacadeModule>(); in StartStack()
111 modules.add<::bluetooth::neighbor::facade::NeighborFacadeModule>(); in StartStack()

12