Searched refs:registry_ (Results 1 – 7 of 7) sorted by relevance
28 registry_ = new SingleObserverRegistry; in SetUp()32 delete registry_; in TearDown()35 SingleObserverRegistry* registry_; member in bluetooth::common::SingleObserverRegistryTest48 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F()55 registry_->Unregister(); in TEST_F()60 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F()61 registry_->Unregister(); in TEST_F()68 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F()69 registry_->Unregister(); in TEST_F()70 auto wrapped_callback2 = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F()[all …]
63 return registry_[event_type].Register(callback); in decltype()68 registry_[event_type].Unregister(); in Unregister()71 std::array<SingleObserverRegistry, Capacity> registry_; variable
37 registry_ = new ModuleRegistry(); in SetUp()41 delete registry_; in TearDown()45 ModuleRegistry* registry_; member in bluetooth::__anon6d4cd8320111::ModuleTest225 registry_->Start(&list, thread_); in TEST_F()227 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()228 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()229 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()230 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()232 registry_->StopAll(); in TEST_F()234 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()[all …]
32 return static_cast<T*>(registry_.Get(&T::Factory)); in GetInstance()37 return registry_.IsStarted(&T::Factory); in IsStarted()43 ModuleRegistry registry_; variable
58 registry_.last_instance_.c_str()); in StartUp()68 registry_.Start(modules, stack_thread); in handle_start_up()87 registry_.last_instance_.c_str()); in ShutDown()99 registry_.StopAll(); in handle_shut_down()
45 return registry_; in GetModuleRegistry()51 return registry_->Get(module); in GetDependency()75 instance->registry_ = this; in set_registry_and_handler()
121 const ModuleRegistry* registry_; variable