Home
last modified time | relevance | path

Searched refs:timerOptions (Results 1 – 8 of 8) sorted by relevance

/base/time/time_service/services/ipc/proxy/
Dtime_service_proxy.cpp55 int32_t TimeServiceProxy::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, in CreateTimer() argument
64 if (!data.WriteInt32(timerOptions->type)) { in CreateTimer()
68 if (!data.WriteBool(timerOptions->repeat)) { in CreateTimer()
72 if (!data.WriteUint64(timerOptions->interval)) { in CreateTimer()
76 if (!data.WriteBool(timerOptions->wantAgent != nullptr)) { in CreateTimer()
80 if (timerOptions->wantAgent != nullptr) { in CreateTimer()
81 if (!data.WriteParcelable(&(*timerOptions->wantAgent))) { in CreateTimer()
/base/time/time_service/services/ipc/stub/
Dtime_service_stub.cpp269 auto timerOptions = std::make_shared<SimpleTimerInfo>(); in OnCreateTimer() local
270 timerOptions->type = type; in OnCreateTimer()
271 timerOptions->repeat = repeat; in OnCreateTimer()
272 timerOptions->interval = interval; in OnCreateTimer()
273 timerOptions->wantAgent = wantAgent; in OnCreateTimer()
275 auto errCode = CreateTimer(timerOptions, obj, timerId); in OnCreateTimer()
/base/time/time_service/services/
Dtime_system_ability.cpp218 void TimeSystemAbility::ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &… in ParseTimerPara() argument
220 auto uIntType = static_cast<uint32_t>(timerOptions->type); in ParseTimerPara()
240 paras.interval = timerOptions->repeat ? timerOptions->interval : 0; in ParseTimerPara()
243 int32_t TimeSystemAbility::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemot… in CreateTimer() argument
252 ParseTimerPara(timerOptions, paras); in CreateTimer()
263 …StatisticReporter(IPCSkeleton::GetCallingPid(), uid, timerOptions->type, triggerTime, timerOptions in CreateTimer()
277 …return timerManagerHandler_->CreateTimer(paras, callbackFunc, timerOptions->wantAgent, uid, timerI… in CreateTimer()
Dtime_system_ability.h59 int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &obj,
91 void ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &paras);
/base/time/time_service/services/ipc/base/
Dtime_service_interface.h127 …virtual int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &…
/base/time/time_service/services/ipc/proxy/inner_api_include/
Dtime_service_proxy.h41 …int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &timerCal…
/base/time/time_service/interfaces/inner_api/src/
Dtime_service_client.cpp186 int32_t TimeServiceClient::CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerI… in CreateTimerV9() argument
188 if (timerOptions == nullptr) { in CreateTimerV9()
204 auto errCode = proxy->CreateTimer(timerOptions, timerCallbackInfoObject, timerId); in CreateTimerV9()
210 auto ret = TimerCallback::GetInstance()->InsertTimerCallbackInfo(timerId, timerOptions); in CreateTimerV9()
/base/time/time_service/interfaces/inner_api/include/
Dtime_service_client.h285 TIME_API int32_t CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerId);