Searched refs:timeResult (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_liveview.cpp | 296 napi_value timeResult = nullptr; in GetNotificationLocalLiveViewTime() local 300 napi_get_named_property(env, contentResult, "time", &timeResult); in GetNotificationLocalLiveViewTime() 301 NAPI_CALL(env, napi_typeof(env, timeResult, &valuetype)); in GetNotificationLocalLiveViewTime() 309 NAPI_CALL(env, napi_has_named_property(env, timeResult, "initialTime", &hasProperty)); in GetNotificationLocalLiveViewTime() 311 napi_get_named_property(env, timeResult, "initialTime", &result); in GetNotificationLocalLiveViewTime() 323 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isCountDown", &hasProperty)); in GetNotificationLocalLiveViewTime() 325 napi_get_named_property(env, timeResult, "isCountDown", &result); in GetNotificationLocalLiveViewTime() 336 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isPaused", &hasProperty)); in GetNotificationLocalLiveViewTime() 338 napi_get_named_property(env, timeResult, "isPaused", &result); in GetNotificationLocalLiveViewTime() 349 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isInTitle", &hasProperty)); in GetNotificationLocalLiveViewTime() [all …]
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | datetime_ex.cpp | 69 struct tm* timeResult = nullptr; in GetSystemCurrentTime() local 70 timeResult = localtime_r(&tt, curTime); in GetSystemCurrentTime() 71 return (timeResult != nullptr); in GetSystemCurrentTime()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_liveview.cpp | 745 napi_value timeResult = nullptr; in GetNotificationLocalLiveViewTime() local 749 napi_get_named_property(env, contentResult, "time", &timeResult); in GetNotificationLocalLiveViewTime() 750 NAPI_CALL(env, napi_typeof(env, timeResult, &valuetype)); in GetNotificationLocalLiveViewTime() 758 NAPI_CALL(env, napi_has_named_property(env, timeResult, "initialTime", &hasProperty)); in GetNotificationLocalLiveViewTime() 760 napi_get_named_property(env, timeResult, "initialTime", &result); in GetNotificationLocalLiveViewTime() 772 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isCountDown", &hasProperty)); in GetNotificationLocalLiveViewTime() 774 napi_get_named_property(env, timeResult, "isCountDown", &result); in GetNotificationLocalLiveViewTime() 785 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isPaused", &hasProperty)); in GetNotificationLocalLiveViewTime() 787 napi_get_named_property(env, timeResult, "isPaused", &result); in GetNotificationLocalLiveViewTime() 798 NAPI_CALL(env, napi_has_named_property(env, timeResult, "isInTitle", &hasProperty)); in GetNotificationLocalLiveViewTime() [all …]
|
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | media_library_adapter.cpp | 153 struct tm* timeResult = GetLocaltime(&clock, ¤tTime); in CreateDisplayName() local 158 if (timeResult != nullptr) { in CreateDisplayName()
|