Home
last modified time | relevance | path

Searched refs:timeType (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp39 napi_value timeType = nullptr; in SystemDateTimeInit() local
44 NAPI_CALL(env, napi_create_object(env, &timeType)); in SystemDateTimeInit()
45 NAPI_CALL(env, napi_set_named_property(env, timeType, "STARTUP", startup)); in SystemDateTimeInit()
46 NAPI_CALL(env, napi_set_named_property(env, timeType, "ACTIVE", active)); in SystemDateTimeInit()
62 DECLARE_NAPI_STATIC_PROPERTY("TimeType", timeType), in SystemDateTimeInit()
307 int32_t timeType = STARTUP; in GetUptime() member
314 …etUpTimeContext->status = napi_get_value_int32(env, argv[ARGV_FIRST], &getUpTimeContext->timeType); in GetUptime()
318 (getUpTimeContext->timeType >= STARTUP && getUpTimeContext->timeType <= ACTIVE), in GetUptime()
335 if (getUpTimeContext->timeType == STARTUP) { in GetUptime()
/ohos5.0/base/time/time_service/framework/cj/src/
H A Dsystem_date_time_ffi.cpp91 RetDataI64 FfiOHOSSysDateTimeGetUptime(int32_t timeType, bool isNano) in FfiOHOSSysDateTimeGetUptime() argument
94 auto [state, time] = SystemDateTimeImpl::getUpTime(timeType, isNano); in FfiOHOSSysDateTimeGetUptime()
H A Dsystem_date_time.cpp117 std::tuple<int32_t, int64_t> SystemDateTimeImpl::getUpTime(int32_t timeType, bool isNano) in getUpTime() argument
121 if (timeType == STARTUP) { in getUpTime()
/ohos5.0/base/time/time_service/framework/cj/include/
H A Dsystem_date_time_ffi.h30 FFI_EXPORT RetDataI64 FfiOHOSSysDateTimeGetUptime(int32_t timeType, bool isNano);
H A Dsystem_date_time.h38 static std::tuple<int32_t, int64_t> getUpTime(int32_t timeType, bool isNano);
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_event_report.cpp22 const std::string& sessionID, const std::string& timeType, uint64_t timeDelay) in SendJsCardRenderTimeEvent() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/
H A Devent_report.h171 const std::string& timeType,
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Devent_report.cpp138 const std::string& timeType, in SendJsCardRenderTimeEvent() argument
141 HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::ACE, timeType, in SendJsCardRenderTimeEvent()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-date-time.md481 getUptime(timeType: TimeType, isNanoseconds?: boolean): number
491 | timeType | [TimeType](#timetype10) | 是 | 获取时间的类型,仅能为`STARTUP`或者`ACTIVE`。 …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-misc.md14 |新增|NA|类名:systemDateTime;<br>方法or属性:function getUptime(timeType: TimeType, isNanoseconds?: boolean)…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/
H A Djs-apidiff-misc.md14 |Added|NA|Class name: systemDateTime;<br>Method or attribute name: function getUptime(timeType: Tim…
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-date-time.md481 getUptime(timeType: TimeType, isNanoseconds?: boolean): number
491 | timeType | [TimeType](#timetype10) | Yes | Type of the time to be obtained. The value can o…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-misc.md157 |新增|NA|类名:systemDateTime;<br>方法or属性:function getUptime(timeType: TimeType, isNanoseconds?: boolean)…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-misc.md157 |Added|NA|Class name: systemDateTime;<br>Method or attribute name: function getUptime(timeType: Tim…