Home
last modified time | relevance | path

Searched refs:Update (Results 1 - 12 of 12) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Devent_handler.cpp31 Update(); in EnableRead()
37 Update(); in DisableAll()
49 void EventHandler::Update() in Update() function in OHOS::Utils::EventHandler
H A Devent_demultiplexer.cpp77 return Update(EPOLL_CTL_ADD, handler); in UpdateEventHandler()
82 return Update(EPOLL_CTL_DEL, handler); in UpdateEventHandler()
88 return Update(EPOLL_CTL_MOD, handler); in UpdateEventHandler()
91 uint32_t EventDemultiplexer::Update(int operation, EventHandler* handler) in Update() function in OHOS::Utils::EventDemultiplexer
H A Devent_demultiplexer.h44 uint32_t Update(int operation, EventHandler* handler);
H A Devent_handler.h55 void Update();
H A Dobserver.cpp78 o->Update(this, arg); in NotifyObservers()
H A Dio_event_handler.cpp71 bool IOEventHandler::Update(IOEventReactor* reactor) in Update() function in OHOS::Utils::IOEventHandler
/commonlibrary/c_utils/base/include/
H A Dobserver.h74 * If `changed_` is true, call the `Update()` function to notify all
78 * <b>Observer::Update()</b>.
124 virtual void Update(const Observable* o, const ObserverArg* arg) = 0;
H A Dio_event_handler.h38 bool Update(IOEventReactor* reactor);
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_observer_test.cpp57 virtual void Update(const Observable* o, const ObserverArg* /* arg */) in Update() function in OHOS::__anon36::BookObserver
H A Dutils_event_test.cpp154 EXPECT_TRUE(handler->Update(reactor.get())); in HWTEST_F()
205 // 7. Update handler in HWTEST_F()
211 // 8. Update handler from the handler side. in HWTEST_F()
212 EXPECT_NE(handler2->Update(reactor.get()), EVENT_SYS_ERR_OK); // Not found. in HWTEST_F()
213 EXPECT_NE(handler3->Update(reactor.get()), EVENT_SYS_ERR_OK); // Bad fd. in HWTEST_F()
/commonlibrary/c_utils/base/test/benchmarktest/observer_benchmark_test/
H A Dobserver_benchmark_test.cpp90 virtual void Update(const Observable* o, const ObserverArg* /* arg */) in Update() function in OHOS::__anon15::BookObserver
/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp192 AssertTrue((handler->Update(reactor.get())), in BENCHMARK_F()
193 "handler->Update(reactor.get()) did not equal true as expected.", state); in BENCHMARK_F()
240 // Update handler in UpdateHandler()
291 // 7. Update handler in BENCHMARK_F()
294 // Update handler from the handler side. in BENCHMARK_F()
295 AssertEqual(handler2->Update(reactor.get()), true, in BENCHMARK_F()
296 "handler2->Update(reactor.get()) was not different from false as expected.", state); in BENCHMARK_F()
297 AssertUnequal(handler3->Update(reactor.get()), true, in BENCHMARK_F()
298 "handler3->Update(reactor.get()) was not different from true as expected.", state); in BENCHMARK_F()

Completed in 7 milliseconds