Home
last modified time | relevance | path

Searched refs:dateStr (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/
H A Dsys_event_store.cpp67 bool SysEventStore::IsNeedBackup(const std::string& dateStr) in IsNeedBackup() argument
69 if (lastBackupTime_ == dateStr) { in IsNeedBackup()
74 lastBackupTime_ = dateStr; in IsNeedBackup()
75 Parameter::SetProperty(PROP_LAST_BACKUP, dateStr); in IsNeedBackup()
76 HIVIEW_LOGI("first time boot, record backup time: %{public}s.", dateStr.c_str()); in IsNeedBackup()
118 std::string dateStr(TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d")); in OnEvent() local
119 if (IsNeedBackup(dateStr)) { in OnEvent()
121 lastBackupTime_ = dateStr; in OnEvent()
122 Parameter::SetProperty(PROP_LAST_BACKUP, dateStr); in OnEvent()
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A DNapiLog.js35 function saveLog(dateStr, levStr, detail) { argument
37 let logStr = dateStr + ' ' + levStr + ' ' + detail + '\n';
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dhiview_db_util.cpp51 std::string dateStr = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d"); in CreateFileNameByDate() local
52 dbFileName.append(prefix).append(dateStr).append(".db"); in CreateFileNameByDate()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
H A Dapp_usage_event_factory.cpp106 std::string dateStr = TimeUtil::TimestampFormatToDate(startTime / MILLISEC_TO_SEC, DATE_FORMAT); in GetAppUsageInfosByUserId() local
119 … appUsageInfos.push_back(AppUsageInfo(stat.bundleName_, version, usage, dateStr, startNum)); in GetAppUsageInfosByUserId()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Ddate_time_format_module.cpp289 const char *dateStr = result.c_str(); in FormatDate() local
291 uint8_t numInDate = GetNumInDate(dateStr); in FormatDate()
311 formatIndex = FormatDigit(dateStr, res, resSize, start, digitArray_[firstFormatIndex]); in FormatDate()
317 …FormatDigit(dateStr + formatIndex, res, resSize, start, digitArray_[secondFormatIndex]) + formatIn… in FormatDate()
320 formatIndex = FormatDigit(dateStr, res, resSize, start, digitArray_[dayStyleIndex]); in FormatDate()
327 … if (FormatDigit(dateStr + formatIndex, res, resSize, start, digitArray_[firstFormatIndex]) < 0) { in FormatDate()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_event_factory.cpp56 …std::string dateStr = TimeUtil::TimestampFormatToDate(startTime_ / TimeUtil::SEC_TO_MILLISEC, DATE… in Create() local
68 event->Update(KEY_OF_DATE, dateStr); in Create()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/include/
H A Dsys_event_store.h36 bool IsNeedBackup(const std::string& dateStr);
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_flow_controller.cpp173 std::string dateStr = TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetDate() local
174 return dateStr; in GetDate()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp297 bool NetworkSecurityConfig::ValidateDate(const std::string &dateStr) in ValidateDate() argument
299 if (dateStr.empty()) { in ValidateDate()
303 std::istringstream ss(dateStr); in ValidateDate()
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnetwork_security_config.h85 bool ValidateDate(const std::string &dateStr);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dcalendar_picker_modifier.cpp374 auto onEvent = [node, extraParam](const std::string& dateStr) { in SetCalendarPickerOnChange() argument
382 ParseDateByStr(dateStr, selectedDate); in SetCalendarPickerOnChange()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp626 auto dateStr = GetCurrentDate(); in ShowTitle() local
630 textLayoutProperty->UpdateContent(dateStr.ToString(false)); in ShowTitle()