Home
last modified time | relevance | path

Searched refs:triggerTime (Results 1 – 20 of 20) sorted by relevance

/base/time/time_service/services/dfx/src/
Dtime_sysevent.cpp27 void StatisticReporter(int32_t callerPid, int32_t callerUid, int32_t type, int64_t triggerTime, uin… in StatisticReporter() argument
31 type, "TRIGGER_TIME", triggerTime, "INTERVAL", interval); in StatisticReporter()
/base/time/time_service/test/unittest/service_test/src/
Dtime_client_test.cpp548 auto triggerTime = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
549 TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 1000);
573 auto triggerTime = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
574 auto result = TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 1000);
598 auto triggerTime = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
599 TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 1000);
623 auto triggerTime = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
624 TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 1000);
647 auto triggerTime = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
648 TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 2000);
[all …]
/base/time/time_service/services/dfx/include/
Dtime_sysevent.h23 void StatisticReporter(int32_t callerPid, int32_t callerUid, int32_t type, int64_t triggerTime, uin…
/base/time/time_service/test/unittest/js_test/permission/
DSystemTimerException.test.js533 let triggerTime = new Date().getTime();
534 triggerTime += 3000;
535 systemTimer.startTimer(123456, triggerTime, function (err) {
555 let triggerTime = new Date().getTime();
556 triggerTime += 300
557 systemTimer.startTimer(123456, triggerTime).then(() => {
/base/time/time_service/framework/js/napi/system_timer/src/
Dnapi_system_timer.cpp229 uint64_t triggerTime = 0; in StartTimer() member
240 int64_t triggerTime = 0; in StartTimer() local
241 startTimerContext->status = napi_get_value_int64(env, argv[ARGV_SECOND], &triggerTime); in StartTimer()
244 startTimerContext->triggerTime = static_cast<uint64_t>(triggerTime); in StartTimer()
250 …iceClient::GetInstance()->StartTimerV9(startTimerContext->timerId, startTimerContext->triggerTime); in StartTimer()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_timer.cpp77 bool ThermalTimer::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() argument
80 auto ret = TimeServiceClient::GetInstance()->StartTimer(timerId, triggerTime); in StartTimer()
/base/time/time_service/interfaces/inner_api/include/
Dtime_service_client.h296 TIME_API bool StartTimer(uint64_t timerId, uint64_t triggerTime);
307 TIME_API int32_t StartTimerV9(uint64_t timerId, uint64_t triggerTime);
/base/time/time_service/services/timer/include/
Dtimer_manager_interface.h59 virtual int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) = 0;
Dtimer_manager.h41 int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) override;
/base/time/time_service/services/ipc/base/
Dtime_service_interface.h137 virtual int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) = 0;
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_timer.h56 bool StartTimer(uint64_t timerId, uint64_t triggerTime);
/base/time/time_service/services/ipc/proxy/inner_api_include/
Dtime_service_proxy.h43 int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) override;
/base/time/time_service/interfaces/inner_api/src/
Dtime_service_client.cpp217 bool TimeServiceClient::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() argument
219 int32_t errCode = StartTimerV9(timerId, triggerTime); in StartTimer()
226 int32_t TimeServiceClient::StartTimerV9(uint64_t timerId, uint64_t triggerTime) in StartTimerV9() argument
235 return proxy->StartTimer(timerId, triggerTime); in StartTimerV9()
/base/time/time_service/
DREADME_zh.md63 | startTimer(timer: number, triggerTime: number, callback: AsyncCallback<boolean>): void | 开启定时器,ca…
64 | startTimer(timer: number, triggerTime: number): Promise<boolean> | 开启定时器,promise方式。 |
DREADME.md47 | startTimer(timer: number, triggerTime: number, callback: AsyncCallback<boolean>): void | Start th…
48 | startTimer(timer: number, triggerTime: number): Promise<boolean> | Start the timer, promise mode …
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp710 uint64_t triggerTime = reminder->GetTriggerTimeInMilli(); in ShowActiveReminderExtendLocked() local
717 …if ((*it)->GetTriggerTimeInMilli() - triggerTime > ReminderRequest::SAME_TIME_DISTINGUISH_MILLISEC… in ShowActiveReminderExtendLocked()
1305 uint64_t triggerTime = 0; in StartTimer() local
1314 triggerTime = reminderRequest->GetTriggerTimeInMilli(); in StartTimer()
1315 timer->StartTimer(timerId_, triggerTime); in StartTimer()
1324 triggerTime = ReminderRequest::GetDurationSinceEpochInMilli(now) in StartTimer()
1327 timer->StartTimer(timerIdAlerting_, triggerTime); in StartTimer()
1337 if (triggerTime == 0) { in StartTimer()
1341 ReminderRequest::GetDurationSinceEpochInMilli(now), triggerTime); in StartTimer()
/base/time/time_service/services/ipc/proxy/
Dtime_service_proxy.cpp99 int32_t TimeServiceProxy::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() argument
111 if (!data.WriteUint64(triggerTime)) { in StartTimer()
/base/time/time_service/services/ipc/stub/
Dtime_service_stub.cpp296 auto triggerTime = data.ReadUint64(); in OnStartTimer() local
297 if (StartTimer(timerId, triggerTime) != E_TIME_OK) { in OnStartTimer()
/base/time/time_service/services/
Dtime_system_ability.cpp261 int64_t triggerTime = 0; in CreateTimer() local
262 GetWallTimeMs(triggerTime); in CreateTimer()
263 …StatisticReporter(IPCSkeleton::GetCallingPid(), uid, timerOptions->type, triggerTime, timerOptions… in CreateTimer()
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp114 int32_t TimerManager::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() argument
123 triggerTime); in StartTimer()
127 triggerTime, in StartTimer()