Searched refs:timerInfo (Results 1 – 10 of 10) sorted by relevance
/base/time/time_service/test/unittest/service_test/src/ |
D | time_client_test.cpp | 376 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 377 timerInfo->SetType(1); 378 timerInfo->SetRepeat(false); 379 timerInfo->SetInterval(0); 380 timerInfo->SetWantAgent(nullptr); 381 timerInfo->SetCallbackInfo(TimeOutCallback1); 383 auto errCode = TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); 403 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 404 timerInfo->SetType(1); 405 timerInfo->SetRepeat(false); [all …]
|
D | time_service_test.cpp | 161 auto timerInfo = std::make_shared<TimerInfoTest>(); in StartIdleTimer() local 162 timerInfo->SetType(timerInfo->TIMER_TYPE_IDLE); in StartIdleTimer() 163 timerInfo->SetRepeat(false); in StartIdleTimer() 164 TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, g_idleTimerId); in StartIdleTimer() 238 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 239 timerInfo->SetType(timerInfo->TIMER_TYPE_IDLE); 240 timerInfo->SetRepeat(false); 242 TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); 256 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 257 timerInfo->SetType(timerInfo->TIMER_TYPE_INEXACT_REMINDER); [all …]
|
D | time_dfx_test.cpp | 121 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 122 timerInfo->SetType(1); 123 timerInfo->SetRepeat(false); 124 timerInfo->SetInterval(0); 125 timerInfo->SetWantAgent(nullptr); 126 timerInfo->SetCallbackInfo(TimeOutCallback1); 127 auto timerId1 = TimeServiceClient::GetInstance()->CreateTimer(timerInfo); 147 auto timerInfo = std::make_shared<TimerInfoTest>(); variable 148 timerInfo->SetType(1); 149 timerInfo->SetRepeat(false); [all …]
|
/base/time/time_service/test/fuzztest/timetesttimer_fuzzer/ |
D | timetesttimer_fuzzer.cpp | 32 auto timerInfo = std::make_shared<TimerInfo>(); in FuzzTimeCreateTimer() local 33 timerInfo->SetType(static_cast<int>(data)); in FuzzTimeCreateTimer() 34 timerInfo->SetInterval(data); in FuzzTimeCreateTimer() 35 timerInfo->SetRepeat(data); in FuzzTimeCreateTimer() 36 uint64_t timerId = TimeServiceClient::GetInstance()->CreateTimer(timerInfo); in FuzzTimeCreateTimer() 61 auto timerInfo = std::make_shared<TimerInfo>(); in FuzzTimeCreateTimerV9() local 62 timerInfo->SetType(static_cast<int>(data)); in FuzzTimeCreateTimerV9() 63 timerInfo->SetInterval(data); in FuzzTimeCreateTimerV9() 64 timerInfo->SetRepeat(data); in FuzzTimeCreateTimerV9() 66 TimeServiceClient::GetInstance()->CreateTimerV9(timerInfo, timerId); in FuzzTimeCreateTimerV9()
|
/base/time/time_service/services/time/src/ |
D | timer_call_back.cpp | 48 …back::InsertTimerCallbackInfo(const uint64_t timerId, const std::shared_ptr<ITimerInfo> &timerInfo) in InsertTimerCallbackInfo() argument 51 if (timerInfo == nullptr) { in InsertTimerCallbackInfo() 61 timerInfoMap_[timerId] = timerInfo; in InsertTimerCallbackInfo() 84 std::shared_ptr<ITimerInfo> timerInfo; in NotifyTimer() local 90 timerInfo = it->second; in NotifyTimer() 93 if (timerInfo != nullptr) { in NotifyTimer() 94 timerInfo->OnTrigger(); in NotifyTimer()
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/ |
D | thermal_timer.cpp | 66 uint64_t ThermalTimer::CreateTimer(std::shared_ptr<ThermalTimerInfo>& timerInfo) in CreateTimer() argument 69 timerId = TimeServiceClient::GetInstance()->CreateTimer(timerInfo); in CreateTimer()
|
/base/time/time_service/services/time/include/inner_api_include/ |
D | timer_call_back.h | 40 …bool InsertTimerCallbackInfo(const uint64_t timerId, const std::shared_ptr<ITimerInfo> &timerInfo);
|
/base/time/time_service/services/timer/src/ |
D | timer_manager.cpp | 99 auto timerInfo = std::make_shared<TimerEntry>(TimerEntry { in CreateTimer() local 110 timerEntryMap_.insert(std::make_pair(timerId, timerInfo)); in CreateTimer() 124 auto timerInfo = it->second; in StartTimer() local 125 SetHandler(timerInfo->id, in StartTimer() 126 timerInfo->type, in StartTimer() 128 timerInfo->windowLength, in StartTimer() 129 timerInfo->interval, in StartTimer() 130 timerInfo->flag, in StartTimer() 131 timerInfo->callback, in StartTimer() 132 timerInfo->wantAgent, in StartTimer() [all …]
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/ |
D | thermal_timer.h | 55 uint64_t CreateTimer(std::shared_ptr<ThermalTimerInfo>& timerInfo);
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | reminder_data_manager.h | 242 void InitTimerInfo(std::shared_ptr<ReminderTimerInfo> &timerInfo,
|