Home
last modified time | relevance | path

Searched refs:TimeServiceNotify (Results 1 – 4 of 4) sorted by relevance

/base/time/time_service/services/time/src/
Dtime_service_notify.cpp27 TimeServiceNotify::TimeServiceNotify(){}; in TimeServiceNotify() function in OHOS::MiscServices::TimeServiceNotify
28 TimeServiceNotify::~TimeServiceNotify(){}; in ~TimeServiceNotify()
30 bool TimeServiceNotify::RepublishEvents() in RepublishEvents()
38 bool TimeServiceNotify::PublishEvents(int64_t eventTime, const IntentWant &want, const PublishInfo … in PublishEvents()
51 bool TimeServiceNotify::PublishTimeChangeEvents(int64_t eventTime) in PublishTimeChangeEvents()
58 bool TimeServiceNotify::PublishTimeZoneChangeEvents(int64_t eventTime) in PublishTimeZoneChangeEvents()
65 bool TimeServiceNotify::PublishTimeTickEvents(int64_t eventTime) in PublishTimeTickEvents()
Dtime_tick_notify.cpp77 DelayedSingleton<TimeServiceNotify>::GetInstance()->PublishTimeTickEvents(currentTime); in Callback()
/base/time/time_service/services/time/include/
Dtime_service_notify.h26 class TimeServiceNotify : public DelayedSingleton<TimeServiceNotify> {
27 DECLARE_DELAYED_SINGLETON(TimeServiceNotify);
30 DISALLOW_COPY_AND_MOVE(TimeServiceNotify);
/base/time/time_service/services/
Dtime_system_ability.cpp162 bool subRes = DelayedSingleton<TimeServiceNotify>::GetInstance()->RepublishEvents(); in RegisterSubscriber()
165 …auto callback = [this]() { DelayedSingleton<TimeServiceNotify>::GetInstance()->RepublishEvents(); … in RegisterSubscriber()
372 DelayedSingleton<TimeServiceNotify>::GetInstance()->PublishTimeChangeEvents(currentTime); in SetRealTime()
586 DelayedSingleton<TimeServiceNotify>::GetInstance()->PublishTimeZoneChangeEvents(currentTime); in SetTimeZone()