Home
last modified time | relevance | path

Searched refs:getTimeFunc (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_utils.cpp194 napi_value getTimeFunc = nullptr; in ParseParametersBySetTime() local
195 napi_get_named_property(env, argv[0], "getTime", &getTimeFunc); in ParseParametersBySetTime()
197 napi_call_function(env, argv[0], getTimeFunc, 0, nullptr, &getTimeResult); in ParseParametersBySetTime()
/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/test/unittest/
H A Dmedical_js_test.cpp154 napi_value getTimeFunc = nullptr; variable
155 napi_get_named_property(env, date, "getTime", &getTimeFunc);
158 bool ret = IsMatchType(getTimeFunc, napi_function, env);
/ohos5.0/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp121 napi_value getTimeFunc = nullptr; in SetDate() local
122 napi_get_named_property(env, argv[0], "getTime", &getTimeFunc); in SetDate()
124 napi_call_function(env, argv[0], getTimeFunc, 0, nullptr, &getTimeResult); in SetDate()