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
36 registry_ = new ModuleRegistry(); in SetUp()40 delete registry_; in TearDown()44 ModuleRegistry* registry_; member in bluetooth::__anonb3e8c82b0111::ModuleTest204 registry_->Start(&list, thread_); in TEST_F()206 EXPECT_TRUE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()207 EXPECT_FALSE(registry_->IsStarted<TestModuleOneDependency>()); in TEST_F()208 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependencyTwo>()); in TEST_F()209 EXPECT_FALSE(registry_->IsStarted<TestModuleTwoDependencies>()); in TEST_F()211 registry_->StopAll(); in TEST_F()213 EXPECT_FALSE(registry_->IsStarted<TestModuleNoDependency>()); in TEST_F()[all …]
32 return static_cast<T*>(registry_.Get(&T::Factory)); in GetInstance()38 ModuleRegistry registry_; variable
51 registry_.Start(modules, stack_thread); in handle_start_up()70 registry_.StopAll(); in handle_shut_down()
44 return registry_; in GetModuleRegistry()50 return registry_->Get(module); in GetDependency()74 instance->registry_ = this; in set_registry_and_handler()
121 const ModuleRegistry* registry_; variable