Home
last modified time | relevance | path

Searched refs:ModuleFactory (Results 1 – 25 of 99) sorted by relevance

1234

/packages/modules/Bluetooth/system/gd/
Dmodule.h44 class ModuleFactory {
49 ModuleFactory(std::function<Module*()> ctor);
71 std::vector<const ModuleFactory*> list_;
129 Module* GetDependency(const ModuleFactory* module) const;
146 bool IsStarted(const ModuleFactory* factory) const;
157 Module* Start(const ModuleFactory* id, ::bluetooth::os::Thread* thread);
163 Module* Get(const ModuleFactory* module) const;
167 os::Handler* GetModuleHandler(const ModuleFactory* module) const;
169 std::map<const ModuleFactory*, Module*> started_modules_;
170 std::vector<const ModuleFactory*> start_order_;
[all …]
Dmodule_unittest.cc57 static const ModuleFactory Factory;
78 const ModuleFactory TestModuleNoDependency::Factory = ModuleFactory([]() { in __anon2d4c33810202()
86 static const ModuleFactory Factory;
113 const ModuleFactory TestModuleOneDependency::Factory = ModuleFactory([]() { in __anon2d4c33810302()
120 static const ModuleFactory Factory;
140 const ModuleFactory TestModuleNoDependencyTwo::Factory = ModuleFactory([]() { in __anon2d4c33810402()
146 static const ModuleFactory Factory;
175 const ModuleFactory TestModuleTwoDependencies::Factory = ModuleFactory([]() { in __anon2d4c33810502()
183 static const ModuleFactory Factory;
222 const ModuleFactory TestModuleDumpState::Factory = ModuleFactory([]() { return new TestModuleDumpSt… in __anon2d4c33810702()
Dmodule.cc31 ModuleFactory::ModuleFactory(std::function<Module*()> ctor) : ctor_(ctor) { in ModuleFactory() function in bluetooth::ModuleFactory
43 Module* Module::GetDependency(const ModuleFactory* module) const { in GetDependency()
60 Module* ModuleRegistry::Get(const ModuleFactory* module) const { in Get()
68 bool ModuleRegistry::IsStarted(const ModuleFactory* module) const { in IsStarted()
83 Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) { in Start()
135 os::Handler* ModuleRegistry::GetModuleHandler(const ModuleFactory* module) const { in GetModuleHandler()
Dstack_manager_unittest.cc35 static const ModuleFactory Factory;
46 const ModuleFactory TestModuleNoDependency::Factory = ModuleFactory([]() { return new TestModuleNoD… in __anon656eef4b0202()
Dmodule_state_dumper_unittest.cc65 const bluetooth::ModuleFactory StateDumperTestModule::Factory =
66 bluetooth::ModuleFactory([]() { return new StateDumperTestModule(); }); in __anonb0d1928d0202()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_stack_dumpsys_test.cc171 static const ModuleFactory Factory;
196 static const ModuleFactory Factory;
246 static const ModuleFactory Factory;
283 static const ModuleFactory Factory;
320 static const ModuleFactory Factory;
334 const ModuleFactory TestStackDumpsysBase::Factory =
335 ModuleFactory([]() { return new TestStackDumpsysBase(); }); in __anonc942baa20802()
337 const ModuleFactory TestStackDumpsys1::Factory =
338 ModuleFactory([]() { return new TestStackDumpsys1(); }); in __anonc942baa20902()
339 const ModuleFactory TestStackDumpsys2::Factory =
[all …]
Dmain_shim_stack_lifecycle_test.cc152 static const ModuleFactory Factory;
173 static const ModuleFactory Factory;
210 static const ModuleFactory Factory;
247 static const ModuleFactory Factory;
284 static const ModuleFactory Factory;
300 const ModuleFactory TestStackModuleBase::Factory =
301 ModuleFactory([]() { return new TestStackModuleBase(); }); in __anone15484dd0602()
303 const ModuleFactory TestStackModule1::Factory =
304 ModuleFactory([]() { return new TestStackModule1(); }); in __anone15484dd0702()
305 const ModuleFactory TestStackModule2::Factory =
[all …]
/packages/modules/Bluetooth/system/gd/hal/
Dranging_hal_host.cc61 const ModuleFactory RangingHal::Factory = ModuleFactory([]() { return new RangingHalHost(); }); in __anond20b0b370102()
Dlink_clocker.cc97 const ModuleFactory LinkClocker::Factory = ModuleFactory([]() { return new LinkClocker(); }); in __anon704ccef00202()
Dhci_hal_fake.cc93 const ModuleFactory TestHciHal::Factory = ModuleFactory([]() { return new TestHciHal(); }); in __anon5b7aaf1e0102()
/packages/modules/Bluetooth/system/gd/facade/
Dread_only_property_server.cc56 const ModuleFactory ReadOnlyPropertyServerModule::Factory =
57 ::bluetooth::ModuleFactory([]() { return new ReadOnlyPropertyServerModule(); }); in __anon422a40560102()
/packages/modules/Bluetooth/system/gd/neighbor/facade/
Dfacade.cc76 const ModuleFactory NeighborFacadeModule::Factory =
77 ::bluetooth::ModuleFactory([]() { return new NeighborFacadeModule(); }); in __anonb508f1300102()
/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module.cc39 const ModuleFactory SyspropsModule::Factory = ModuleFactory([]() { return new SyspropsModule(); }); in __anon412fd4560102()
/packages/modules/Bluetooth/system/gd/metrics/
Dcounter_metrics.cc31 const ModuleFactory CounterMetrics::Factory = ModuleFactory([]() { return new CounterMetrics(); }); in __anonc8ac9cb80102()
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dl2cap_le_module.cc34 const ModuleFactory L2capLeModule::Factory = ModuleFactory([]() { return new L2capLeModule(); }); in __anon0e5c2f240102()
/packages/modules/Bluetooth/system/gd/grpc/
Dgrpc_module.cc108 const ::bluetooth::ModuleFactory GrpcModule::Factory = ::bluetooth::ModuleFactory([]() { return new… in __anon075fa4680102()
/packages/modules/Bluetooth/system/gd/hal/fuzz/
Dfuzz_hci_hal.cc116 const ModuleFactory FuzzHciHal::Factory = ModuleFactory([]() { return new FuzzHciHal(); }); in __anon4a0803340102()
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc39 const ModuleFactory SecurityModule::Factory = ModuleFactory([]() { return new SecurityModule(); }); in __anon3465d3400102()
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc28 const ModuleFactory HciLayerFuzzClient::Factory = ModuleFactory([]() { return new HciLayerFuzzClien… in __anon4aabe7f90102()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_initiator_address_facade.cc127 const ModuleFactory LeInitiatorAddressFacadeModule::Factory =
128 ::bluetooth::ModuleFactory([]() { return new LeInitiatorAddressFacadeModule(); }); in __anon72e2c09d0102()
Dcontroller_facade.cc189 const ModuleFactory ControllerFacadeModule::Factory =
190 ::bluetooth::ModuleFactory([]() { return new ControllerFacadeModule(); }); in __anon2e5c8ef90102()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dl2cap_classic_module.cc40 const ModuleFactory L2capClassicModule::Factory = ModuleFactory([]() { return new L2capClassicModul… in __anon8538e0e60102()
/packages/modules/Bluetooth/system/gd/neighbor/
Dscan.cc60 const ModuleFactory neighbor::ScanModule::Factory = ModuleFactory([]() { return new neighbor::ScanM… in __anond829b49e0102()
Dname_db.cc67 const ModuleFactory neighbor::NameDbModule::Factory =
68 ModuleFactory([]() { return new neighbor::NameDbModule(); }); in __anon8a0f1bbf0202()
/packages/modules/Bluetooth/system/gd/shim/
Ddumpsys.cc69 const ModuleFactory Dumpsys::Factory =
70 ModuleFactory([]() { return new Dumpsys(bluetooth::dumpsys::GetBundledSchemaData()); }); in __anon36633cb10202()

1234