Home
last modified time | relevance | path

Searched refs:lastLogTimeStamp (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Devent_manager_test_ng_new.cpp569 eventManager->lastReceivedEvent_.lastLogTimeStamp = 0;
574 auto lastLogTimeStamp = currentTime - 1000 * 1000000 - 1000; variable
575 eventManager->lastReceivedEvent_.lastLogTimeStamp = lastLogTimeStamp;
578 eventManager->lastReceivedEvent_.lastLogTimeStamp = lastLogTimeStamp + 20000;
580 ASSERT_TRUE(eventManager->lastReceivedEvent_.lastLogTimeStamp == lastLogTimeStamp + 20000);
602 eventManager->lastConsumedEvent_.lastLogTimeStamp = 0;
607 auto lastLogTimeStamp = currentTime - 1000 * 1000000 - 1000; variable
608 eventManager->lastConsumedEvent_.lastLogTimeStamp = lastLogTimeStamp;
611 eventManager->lastReceivedEvent_.lastLogTimeStamp = lastLogTimeStamp + 20000;
612 eventManager->lastConsumedEvent_.lastLogTimeStamp = lastLogTimeStamp + 20000;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Devent_manager.cpp2193 auto lastLogTimeStamp = lastReceivedEvent_.lastLogTimeStamp; in CheckAndLogLastReceivedEventInfo() local
2194 if (lastReceivedEvent_.lastLogTimeStamp != 0 && in CheckAndLogLastReceivedEventInfo()
2195 … (currentTime - lastReceivedEvent_.lastLogTimeStamp) > EVENT_CLEAR_DURATION * TRANSLATE_NS_TO_MS) { in CheckAndLogLastReceivedEventInfo()
2203 lastLogTimeStamp = currentTime; in CheckAndLogLastReceivedEventInfo()
2205 lastReceivedEvent_ = { eventId, lastLogTimeStamp }; in CheckAndLogLastReceivedEventInfo()
2217 auto lastLogTimeStamp = lastConsumedEvent_.lastLogTimeStamp; in CheckAndLogLastConsumedEventInfo() local
2218 if (lastConsumedEvent_.lastLogTimeStamp != 0 && in CheckAndLogLastConsumedEventInfo()
2219 … (currentTime - lastConsumedEvent_.lastLogTimeStamp) > EVENT_CLEAR_DURATION * TRANSLATE_NS_TO_MS) { in CheckAndLogLastConsumedEventInfo()
2225 lastLogTimeStamp = currentTime; in CheckAndLogLastConsumedEventInfo()
2227 lastConsumedEvent_ = { eventId, lastLogTimeStamp }; in CheckAndLogLastConsumedEventInfo()
H A Devent_manager.h64 int64_t lastLogTimeStamp = 0; member