Searched refs:getTimeFunc (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/time/time_service/framework/js/napi/common/src/ |
H A D | napi_utils.cpp | 194 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 D | medical_js_test.cpp | 154 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 D | napi_system_date_time.cpp | 121 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()
|