Searched refs:timerOptions (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/time/time_service/services/ipc/proxy/ |
H A D | time_service_proxy.cpp | 56 int32_t TimeServiceProxy::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, in CreateTimer() argument 65 if (!data.WriteInt32(timerOptions->type)) { in CreateTimer() 69 if (!data.WriteBool(timerOptions->repeat)) { in CreateTimer() 73 if (!data.WriteBool(timerOptions->disposable)) { in CreateTimer() 77 if (!data.WriteUint64(timerOptions->interval)) { in CreateTimer() 81 if (!data.WriteBool(timerOptions->wantAgent != nullptr)) { in CreateTimer() 85 if (timerOptions->wantAgent != nullptr) { in CreateTimer() 86 if (!data.WriteParcelable(&(*timerOptions->wantAgent))) { in CreateTimer()
|
/ohos5.0/base/time/time_service/services/ipc/stub/ |
H A D | time_service_stub.cpp | 218 auto timerOptions = std::make_shared<SimpleTimerInfo>(); in OnCreateTimer() local 219 timerOptions->type = type; in OnCreateTimer() 220 timerOptions->repeat = repeat; in OnCreateTimer() 221 timerOptions->interval = interval; in OnCreateTimer() 222 timerOptions->disposable = disposable; in OnCreateTimer() 223 timerOptions->wantAgent = wantAgent; in OnCreateTimer() 225 auto errCode = CreateTimer(timerOptions, obj, timerId); in OnCreateTimer()
|
/ohos5.0/base/time/time_service/interfaces/inner_api/src/ |
H A D | time_service_client.cpp | 251 uint64_t TimeServiceClient::CreateTimer(std::shared_ptr<ITimerInfo> timerOptions) in CreateTimer() argument 254 auto errCode = CreateTimerV9(timerOptions, timerId); in CreateTimer() 266 int32_t TimeServiceClient::CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerI… in CreateTimerV9() argument 268 if (timerOptions == nullptr) { in CreateTimerV9() 284 auto errCode = proxy->CreateTimer(timerOptions, timerCallbackInfoObject, timerId); in CreateTimerV9() 290 if (timerOptions->wantAgent == nullptr) { in CreateTimerV9() 298 recoverTimerInfo->timerInfo = timerOptions; in CreateTimerV9() 306 auto ret = TimerCallback::GetInstance()->InsertTimerCallbackInfo(timerId, timerOptions); in CreateTimerV9()
|
/ohos5.0/base/time/time_service/services/ |
H A D | time_system_ability.cpp | 291 void TimeSystemAbility::ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &… in ParseTimerPara() argument 293 auto uIntType = static_cast<uint32_t>(timerOptions->type); in ParseTimerPara() 294 auto disposable = timerOptions->disposable; in ParseTimerPara() 317 paras.interval = timerOptions->repeat ? timerOptions->interval : 0; in ParseTimerPara() 320 int32_t TimeSystemAbility::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemot… in CreateTimer() argument 333 ParseTimerPara(timerOptions, paras); in CreateTimer() 338 auto callbackFunc = [timerCallback, timerOptions, timerManager](uint64_t id) -> int32_t { in CreateTimer() 340 if (timerOptions->type == ITimerManager::TimerType::RTC_WAKEUP || in CreateTimer() 341 timerOptions->type == ITimerManager::TimerType::ELAPSED_REALTIME_WAKEUP) { in CreateTimer() 357 if (timerOptions->wantAgent != nullptr) { in CreateTimer() [all …]
|
H A D | time_system_ability.h | 62 int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &obj, 104 void ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara ¶s);
|
/ohos5.0/base/time/time_service/interfaces/inner_api/include/ |
H A D | time_service_interface.h | 80 …virtual int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &…
|
H A D | time_service_client.h | 290 TIME_API int32_t CreateTimerV9(std::shared_ptr<ITimerInfo> timerOptions, uint64_t &timerId);
|
/ohos5.0/base/time/time_service/services/ipc/proxy/inner_api_include/ |
H A D | time_service_proxy.h | 36 …int32_t CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemoteObject> &timerCal…
|