Home
last modified time | relevance | path

Searched refs:epoch (Results 1 - 7 of 7) sorted by relevance

/base/notification/common_event_service/services/src/
H A Dsystem_time.cpp30 auto epoch = nowSys.time_since_epoch(); in GetNowSysTime() local
31 auto value = std::chrono::duration_cast<std::chrono::milliseconds>(epoch); in GetNowSysTime()
/base/notification/eventhandler/frameworks/eventhandler/include/
H A Devent_handler_utils.h110 auto epoch = now.time_since_epoch(); in GetTimeStamp() local
111 return std::chrono::duration_cast<std::chrono::nanoseconds>(epoch).count(); in GetTimeStamp()
/base/notification/eventhandler/frameworks/test/moduletest/
H A Devent_handler_send_timing_event_module_test.cpp31 auto epoch = nowSys.time_since_epoch(); in GetNowSysTime() local
32 auto value = std::chrono::duration_cast<std::chrono::milliseconds>(epoch); in GetNowSysTime()
/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_handler.cpp159 auto epoch = nowSys.time_since_epoch(); in SendTimingEvent() local
160 long nowSysTime = std::chrono::duration_cast<std::chrono::milliseconds>(epoch).count(); in SendTimingEvent()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp224 auto epoch = std::chrono::system_clock::now().time_since_epoch(); in IsLiveViewCanRecover() local
225 auto curTime = std::chrono::duration_cast<std::chrono::milliseconds>(epoch).count(); in IsLiveViewCanRecover()
H A Dadvanced_notification_utils.cpp516 auto epoch = nowSys.time_since_epoch(); in GetNowSysTime() local
517 auto value = std::chrono::duration_cast<std::chrono::milliseconds>(epoch); in GetNowSysTime()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp1808 auto epoch = nowSys.time_since_epoch(); in GetNowSysTime() local
1809 auto value = std::chrono::duration_cast<std::chrono::milliseconds>(epoch); in GetNowSysTime()

Completed in 12 milliseconds