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/interfaces/inner_api/src/
Dtime_service_client.cpp168 uint64_t TimeServiceClient::CreateTimer(std::shared_ptr<ITimerInfo> timerOptions) in CreateTimer() argument
171 auto errCode = CreateTimerV9(timerOptions, timerId); in CreateTimer()
184 int32_t TimeServiceClient::CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerI… in CreateTimerV9() argument
186 if (timerOptions == nullptr) { in CreateTimerV9()
202 auto errCode = proxy->CreateTimer(timerOptions, timerCallbackInfoObject, timerId); in CreateTimerV9()
208 auto ret = TimerCallback::GetInstance()->InsertTimerCallbackInfo(timerId, timerOptions); in CreateTimerV9()
/base/time/time_service/services/
Dtime_system_ability.cpp242 void TimeSystemAbility::ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &… in ParseTimerPara() argument
244 auto uIntType = static_cast<uint32_t>(timerOptions->type); in ParseTimerPara()
264 paras.interval = timerOptions->repeat ? timerOptions->interval : 0; in ParseTimerPara()
267 int32_t TimeSystemAbility::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemot… in CreateTimer() argument
276 ParseTimerPara(timerOptions, paras); in CreateTimer()
287 …StatisticReporter(IPCSkeleton::GetCallingPid(), uid, timerOptions->type, triggerTime, timerOptions in CreateTimer()
301 …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,
95 void ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &paras);
/base/time/time_service/interfaces/inner_api/include/
Dtime_service_interface.h127 …virtual int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &…
Dtime_service_client.h286 TIME_API int32_t CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerId);
/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…