/packages/modules/Bluetooth/system/gd/ |
D | module.h | 44 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 …]
|
D | module_unittest.cc | 57 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()
|
D | module.cc | 31 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()
|
D | stack_manager_unittest.cc | 35 static const ModuleFactory Factory; 46 const ModuleFactory TestModuleNoDependency::Factory = ModuleFactory([]() { return new TestModuleNoD… in __anon656eef4b0202()
|
D | module_state_dumper_unittest.cc | 65 const bluetooth::ModuleFactory StateDumperTestModule::Factory = 66 bluetooth::ModuleFactory([]() { return new StateDumperTestModule(); }); in __anonb0d1928d0202()
|
/packages/modules/Bluetooth/system/main/test/ |
D | main_shim_stack_dumpsys_test.cc | 171 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 …]
|
D | main_shim_stack_lifecycle_test.cc | 152 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/ |
D | ranging_hal_host.cc | 61 const ModuleFactory RangingHal::Factory = ModuleFactory([]() { return new RangingHalHost(); }); in __anond20b0b370102()
|
D | link_clocker.cc | 97 const ModuleFactory LinkClocker::Factory = ModuleFactory([]() { return new LinkClocker(); }); in __anon704ccef00202()
|
D | hci_hal_fake.cc | 93 const ModuleFactory TestHciHal::Factory = ModuleFactory([]() { return new TestHciHal(); }); in __anon5b7aaf1e0102()
|
/packages/modules/Bluetooth/system/gd/facade/ |
D | read_only_property_server.cc | 56 const ModuleFactory ReadOnlyPropertyServerModule::Factory = 57 ::bluetooth::ModuleFactory([]() { return new ReadOnlyPropertyServerModule(); }); in __anon422a40560102()
|
/packages/modules/Bluetooth/system/gd/neighbor/facade/ |
D | facade.cc | 76 const ModuleFactory NeighborFacadeModule::Factory = 77 ::bluetooth::ModuleFactory([]() { return new NeighborFacadeModule(); }); in __anonb508f1300102()
|
/packages/modules/Bluetooth/system/gd/sysprops/ |
D | sysprops_module.cc | 39 const ModuleFactory SyspropsModule::Factory = ModuleFactory([]() { return new SyspropsModule(); }); in __anon412fd4560102()
|
/packages/modules/Bluetooth/system/gd/metrics/ |
D | counter_metrics.cc | 31 const ModuleFactory CounterMetrics::Factory = ModuleFactory([]() { return new CounterMetrics(); }); in __anonc8ac9cb80102()
|
/packages/modules/Bluetooth/system/gd/l2cap/le/ |
D | l2cap_le_module.cc | 34 const ModuleFactory L2capLeModule::Factory = ModuleFactory([]() { return new L2capLeModule(); }); in __anon0e5c2f240102()
|
/packages/modules/Bluetooth/system/gd/grpc/ |
D | grpc_module.cc | 108 const ::bluetooth::ModuleFactory GrpcModule::Factory = ::bluetooth::ModuleFactory([]() { return new… in __anon075fa4680102()
|
/packages/modules/Bluetooth/system/gd/hal/fuzz/ |
D | fuzz_hci_hal.cc | 116 const ModuleFactory FuzzHciHal::Factory = ModuleFactory([]() { return new FuzzHciHal(); }); in __anon4a0803340102()
|
/packages/modules/Bluetooth/system/gd/security/ |
D | security_module.cc | 39 const ModuleFactory SecurityModule::Factory = ModuleFactory([]() { return new SecurityModule(); }); in __anon3465d3400102()
|
/packages/modules/Bluetooth/system/gd/hci/fuzz/ |
D | hci_layer_fuzz_client.cc | 28 const ModuleFactory HciLayerFuzzClient::Factory = ModuleFactory([]() { return new HciLayerFuzzClien… in __anon4aabe7f90102()
|
/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | le_initiator_address_facade.cc | 127 const ModuleFactory LeInitiatorAddressFacadeModule::Factory = 128 ::bluetooth::ModuleFactory([]() { return new LeInitiatorAddressFacadeModule(); }); in __anon72e2c09d0102()
|
D | controller_facade.cc | 189 const ModuleFactory ControllerFacadeModule::Factory = 190 ::bluetooth::ModuleFactory([]() { return new ControllerFacadeModule(); }); in __anon2e5c8ef90102()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/ |
D | l2cap_classic_module.cc | 40 const ModuleFactory L2capClassicModule::Factory = ModuleFactory([]() { return new L2capClassicModul… in __anon8538e0e60102()
|
/packages/modules/Bluetooth/system/gd/neighbor/ |
D | scan.cc | 60 const ModuleFactory neighbor::ScanModule::Factory = ModuleFactory([]() { return new neighbor::ScanM… in __anond829b49e0102()
|
D | name_db.cc | 67 const ModuleFactory neighbor::NameDbModule::Factory = 68 ModuleFactory([]() { return new neighbor::NameDbModule(); }); in __anon8a0f1bbf0202()
|
/packages/modules/Bluetooth/system/gd/shim/ |
D | dumpsys.cc | 69 const ModuleFactory Dumpsys::Factory = 70 ModuleFactory([]() { return new Dumpsys(bluetooth::dumpsys::GetBundledSchemaData()); }); in __anon36633cb10202()
|