Lines Matching refs:registry_
28 registry_ = new SingleObserverRegistry; in SetUp()
32 delete registry_; in TearDown()
35 SingleObserverRegistry* registry_; member in bluetooth::common::SingleObserverRegistryTest
48 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()
80 registry_ = new MultipleObserverRegistry<2>; in SetUp()
84 delete registry_; in TearDown()
87 MultipleObserverRegistry<2>* registry_; member in bluetooth::common::MultipleObserverRegistryTest
92 auto wrapped_callback = registry_->Register(0, Bind(&Increment, Unretained(&count))); in TEST_F()
99 registry_->Unregister(0); in TEST_F()
104 auto wrapped_callback0 = registry_->Register(0, Bind(&Increment, Unretained(&count))); in TEST_F()
105 auto wrapped_callback1 = registry_->Register(1, Bind(&IncrementBy, Unretained(&count), 10)); in TEST_F()
110 registry_->Unregister(0); in TEST_F()
115 registry_->Unregister(1); in TEST_F()