/base/time/time_service/services/dfx/src/ |
D | time_sysevent.cpp | 27 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/ |
D | time_client_test.cpp | 548 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/ |
D | time_sysevent.h | 23 void StatisticReporter(int32_t callerPid, int32_t callerUid, int32_t type, int64_t triggerTime, uin…
|
/base/time/time_service/test/unittest/js_test/permission/ |
D | SystemTimerException.test.js | 533 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/ |
D | napi_system_timer.cpp | 229 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/ |
D | thermal_timer.cpp | 77 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/ |
D | time_service_client.h | 296 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/ |
D | timer_manager_interface.h | 59 virtual int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) = 0;
|
D | timer_manager.h | 41 int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) override;
|
/base/time/time_service/services/ipc/base/ |
D | time_service_interface.h | 137 virtual int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) = 0;
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/ |
D | thermal_timer.h | 56 bool StartTimer(uint64_t timerId, uint64_t triggerTime);
|
/base/time/time_service/services/ipc/proxy/inner_api_include/ |
D | time_service_proxy.h | 43 int32_t StartTimer(uint64_t timerId, uint64_t triggerTime) override;
|
/base/time/time_service/interfaces/inner_api/src/ |
D | time_service_client.cpp | 217 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/ |
D | README_zh.md | 63 | startTimer(timer: number, triggerTime: number, callback: AsyncCallback<boolean>): void | 开启定时器,ca… 64 | startTimer(timer: number, triggerTime: number): Promise<boolean> | 开启定时器,promise方式。 |
|
D | README.md | 47 | 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/ |
D | reminder_data_manager.cpp | 710 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/ |
D | time_service_proxy.cpp | 99 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/ |
D | time_service_stub.cpp | 296 auto triggerTime = data.ReadUint64(); in OnStartTimer() local 297 if (StartTimer(timerId, triggerTime) != E_TIME_OK) { in OnStartTimer()
|
/base/time/time_service/services/ |
D | time_system_ability.cpp | 261 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/ |
D | timer_manager.cpp | 114 int32_t TimerManager::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() argument 123 triggerTime); in StartTimer() 127 triggerTime, in StartTimer()
|