Home
last modified time | relevance | path

Searched refs:AsyncEnqueue (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp97 return NapiWork::AsyncEnqueue(env, setTimeContext, "SetTime", executor, complete); in SetTime()
143 return NapiWork::AsyncEnqueue(env, setDateContext, "SetDate", executor, complete); in SetDate()
184 …return NapiWork::AsyncEnqueue(env, getRealActiveTimeContext, "GetRealActiveTime", executor, comple… in GetRealActiveTime()
225 return NapiWork::AsyncEnqueue(env, getCurrentTimeContext, "GetCurrentTime", executor, complete); in GetCurrentTime()
300 return NapiWork::AsyncEnqueue(env, getRealTimeContext, "GetRealTime", executor, complete); in GetRealTime()
374 return NapiWork::AsyncEnqueue(env, getDateContext, "GetDate", executor, complete); in GetDate()
400 return NapiWork::AsyncEnqueue(env, setTimezoneContext, "SetTimezone", executor, complete); in SetTimezone()
428 return NapiWork::AsyncEnqueue(env, getTimezoneContext, "GetTimezone", executor, complete); in GetTimezone()
477 return NapiWork::AsyncEnqueue(env, updateNtpTimeContext, "UpdateNtpTime", executor, complete); in UpdateNtpTime()
/ohos5.0/base/time/time_service/framework/js/napi/system_timer/src/
H A Dnapi_system_timer.cpp250 return NapiWork::AsyncEnqueue(env, createTimerContext, "SetTime", executor, complete); in CreateTimer()
285 return NapiWork::AsyncEnqueue(env, startTimerContext, "StartTimer", executor, complete); in StartTimer()
313 return NapiWork::AsyncEnqueue(env, stopTimerContext, "StopTimer", executor, complete); in StopTimer()
342 return NapiWork::AsyncEnqueue(env, destroyTimerContext, "DestroyTimer", executor, complete); in DestroyTimer()
/ohos5.0/base/time/time_service/framework/js/napi/common/include/
H A Dnapi_work.h63 static napi_value AsyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name,
/ohos5.0/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_work.cpp74 napi_value NapiWork::AsyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name, in AsyncEnqueue() function in OHOS::MiscServices::Time::NapiWork