Home
last modified time | relevance | path

Searched refs:registry_ (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/gd/
Dmodule_unittest.cc41 registry_ = new ModuleRegistry(); in SetUp()
45 delete registry_; in TearDown()
49 ModuleRegistry* registry_; member in bluetooth::__anon2d4c33810111::ModuleTest
227 registry_->Start(&list, thread_); in TEST_F()
229 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
230 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()
231 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()
232 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()
234 registry_->StopAll(); in TEST_F()
236 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()
[all …]
Dstack_manager.cc60 registry_.last_instance_); in StartUp()
66 registry_.Start(modules, stack_thread); in handle_start_up()
86 registry_.last_instance_); in ShutDown()
95 registry_.StopAll(); in handle_shut_down()
Dstack_manager.h32 return static_cast<T*>(registry_.Get(&T::Factory)); in GetInstance()
37 return registry_.IsStarted(&T::Factory); in IsStarted()
43 ModuleRegistry registry_; variable
Dmodule.cc40 return registry_; in GetModuleRegistry()
46 return registry_->Get(module); in GetDependency()
79 instance->registry_ = this; in set_registry_and_handler()
Dmodule.h133 const ModuleRegistry* registry_; variable