Searched refs:hook_table_ (Results 1 – 3 of 3) sorted by relevance
57 : hook_table_(&event_dispatcher_) {} in HookTableTest()59 ResultCallback* GetDoneCallback() { return &hook_table_.done_callback_; } in GetDoneCallback()62 HookTable hook_table_; member in shill::HookTableTest71 hook_table_.Add(kName, start_callback); in TEST_F()72 hook_table_.Run(0, done_callback); in TEST_F()73 hook_table_.ActionComplete(kName); in TEST_F()91 .WillOnce(CompleteActionAndRemoveAction(&hook_table_, kName)); in TEST_F()93 .WillOnce(CompleteAction(&hook_table_, kName2)); in TEST_F()100 hook_table_.Add(kName, start_callback); in TEST_F()101 hook_table_.Add(kName2, start2_callback); in TEST_F()[all …]
49 hook_table_.emplace(name, HookAction(start_callback)); in Add()58 hook_table_.erase(name); in Remove()63 HookTableMap::iterator it = hook_table_.find(name); in ActionComplete()64 if (it != hook_table_.end()) { in ActionComplete()79 if (hook_table_.empty()) { in Run()97 for (auto& hook_entry : hook_table_) { in Run()111 for (const auto& hook_entry : hook_table_) { in AllActionsComplete()
81 bool IsEmpty() const { return hook_table_.empty(); } in IsEmpty()111 HookTableMap hook_table_; variable