/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/ |
H A D | sys_event_store.cpp | 67 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 D | NapiLog.js | 35 function saveLog(dateStr, levStr, detail) { argument 37 let logStr = dateStr + ' ' + levStr + ' ' + detail + '\n';
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | hiview_db_util.cpp | 51 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 D | app_usage_event_factory.cpp | 106 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 D | date_time_format_module.cpp | 289 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 D | fold_app_usage_event_factory.cpp | 56 …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 D | sys_event_store.h | 36 bool IsNeedBackup(const std::string& dateStr);
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_flow_controller.cpp | 173 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 D | network_security_config.cpp | 297 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 D | network_security_config.h | 85 bool ValidateDate(const std::string &dateStr);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | calendar_picker_modifier.cpp | 374 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 D | datepicker_pattern.cpp | 626 auto dateStr = GetCurrentDate(); in ShowTitle() local 630 textLayoutProperty->UpdateContent(dateStr.ToString(false)); in ShowTitle()
|