Home
last modified time | relevance | path

Searched refs:timerCallback (Results 1 - 9 of 9) sorted by relevance

/base/time/time_service/services/ipc/proxy/
H A Dtimer_call_back_proxy.cpp29 int32_t TimerCallbackProxy::NotifyTimer(const uint64_t timerId, const sptr<IRemoteObject> &timerCallback) in NotifyTimer() argument
50 if (timerCallback != nullptr && !data.WriteRemoteObject(timerCallback)) { in NotifyTimer()
51 TIME_HILOGE(TIME_MODULE_CLIENT, "write timerCallback failed!"); in NotifyTimer()
H A Dtimer_call_back_proxy.h34 int32_t NotifyTimer(const uint64_t timerId, const sptr<IRemoteObject> &timerCallback) override;
H A Dtime_service_proxy.cpp57 sptr<IRemoteObject> &timerCallback, uint64_t &timerId) in CreateTimer()
91 if (!data.WriteRemoteObject(timerCallback)) { in CreateTimer()
92 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write timerCallback"); in CreateTimer()
56 CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &timerCallback, uint64_t &timerId) CreateTimer() argument
/base/time/time_service/services/time/src/
H A Dtimer_call_back.cpp77 int32_t TimerCallback::NotifyTimer(const uint64_t timerId, const sptr<IRemoteObject> &timerCallback) in NotifyTimer() argument
92 if (timerCallback == nullptr) { in NotifyTimer()
95 sptr<ITimerNotifyCallback> timerNotifyCallback = iface_cast<ITimerNotifyCallback>(timerCallback); in NotifyTimer()
/base/time/time_service/services/ipc/base/
H A Ditimer_call_back.h31 * @param timerCallback callback to notify finish.
34 virtual int32_t NotifyTimer(uint64_t timerId, const sptr<IRemoteObject> &timerCallback) = 0;
/base/time/time_service/services/time/include/inner_api_include/
H A Dtimer_call_back.h32 virtual int32_t NotifyTimer(uint64_t timerId, const sptr<IRemoteObject> &timerCallback) override;
/base/time/time_service/services/ipc/proxy/inner_api_include/
H A Dtime_service_proxy.h36 int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &timerCallback,
/base/time/time_service/interfaces/inner_api/include/
H A Dtime_service_interface.h77 * @param timerCallback remoteobject
80 virtual int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &timerCallback,
/base/time/time_service/services/
H A Dtime_system_ability.cpp354 sptr<ITimerCallback> timerCallback = iface_cast<ITimerCallback>(obj); in CreateTimer() local
355 if (timerCallback == nullptr) { in CreateTimer()
365 auto callbackFunc = [timerCallback, timerOptions, timerManager](uint64_t id) -> int32_t { in CreateTimer()
370 return timerCallback->NotifyTimer(id, notifyCallback->AsObject()); in CreateTimer()
372 return timerCallback->NotifyTimer(id, nullptr); in CreateTimer()
375 return timerCallback->NotifyTimer(id, nullptr); in CreateTimer()

Completed in 4 milliseconds