HomeSort by relevance Sort by last modified time
    Searched refs:hook_table_ (Results 1 - 3 of 3) sorted by null

  /system/connectivity/shill/
hook_table_unittest.cc 57 : hook_table_(&event_dispatcher_) {}
59 ResultCallback* GetDoneCallback() { return &hook_table_.done_callback_; }
62 HookTable hook_table_; member in class:shill::HookTableTest
71 hook_table_.Add(kName, start_callback);
72 hook_table_.Run(0, done_callback);
73 hook_table_.ActionComplete(kName);
91 .WillOnce(CompleteActionAndRemoveAction(&hook_table_, kName));
93 .WillOnce(CompleteAction(&hook_table_, kName2));
100 hook_table_.Add(kName, start_callback);
101 hook_table_.Add(kName2, start2_callback)
    [all...]
hook_table.cc 49 hook_table_.emplace(name, HookAction(start_callback));
58 hook_table_.erase(name);
63 HookTableMap::iterator it = hook_table_.find(name);
64 if (it != hook_table_.end()) {
79 if (hook_table_.empty()) {
93 // modifies |hook_table_|. It is thus not safe to iterate through
94 // |hook_table_| to execute the actions. Instead, we keep a list of start
97 for (auto& hook_entry : hook_table_) {
111 for (const auto& hook_entry : hook_table_) {
hook_table.h 31 // HookTable hook_table_(&event_dispatcher);
33 // hook_table_.Add("MyService", start_callback);
38 // hook_table_.Run(kTimeout, done_callback);
81 bool IsEmpty() const { return hook_table_.empty(); }
111 HookTableMap hook_table_; member in class:shill::HookTable

Completed in 1503 milliseconds