Home
last modified time | relevance | path

Searched refs:deliveryTimeout (Results 1 - 3 of 3) sorted by relevance

/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
H A Dlib_event_handler_checker_test.cpp78 * @tc.setup: init handler and runner and deliveryTimeout and distributeTimeout. in HWTEST_F()
96 int64_t deliveryTimeout = 1; in HWTEST_F() local
104 runner->SetDeliveryTimeout(deliveryTimeout); in HWTEST_F()
130 * @tc.setup: init handler and runner and deliveryTimeout and distributeTimeout. in HWTEST_F()
148 int64_t deliveryTimeout = 1; in HWTEST_F() local
156 runner->SetDeliveryTimeout(deliveryTimeout); in HWTEST_F()
181 * @tc.setup: init handler and runner and deliveryTimeout and distributeTimeout. in HWTEST_F()
199 int64_t deliveryTimeout = 4; in HWTEST_F() local
207 runner->SetDeliveryTimeout(deliveryTimeout); in HWTEST_F()
/base/notification/eventhandler/interfaces/inner_api/
H A Devent_runner.h229 * @param deliveryTimeout the distribution standard expiration time.
231 void SetDeliveryTimeout(int64_t deliveryTimeout) in SetDeliveryTimeout() argument
233 deliveryTimeout_ = deliveryTimeout; in SetDeliveryTimeout()
/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_handler.cpp375 int64_t deliveryTimeout = eventRunner_->GetDeliveryTimeout(); in DeliveryTimeAction() local
376 if (deliveryTimeout > 0) { in DeliveryTimeAction()
383 std::string deliveryTimeoutCharacter = std::to_string(deliveryTimeout); in DeliveryTimeAction()
386 "deliveryTimeout: " + deliveryTimeoutCharacter; in DeliveryTimeAction()
387 if ((nowStart - std::chrono::milliseconds(deliveryTimeout)) > event->GetHandleTime()) { in DeliveryTimeAction()

Completed in 3 milliseconds