Searched refs:strTime (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_utils/ |
H A D | b_time.cpp | 48 std::stringstream strTime; in GetCurrentTime() local 49 strTime << (std::put_time(std::localtime(&time), "%Y-%m-%d %H:%M:%S:")) << (std::setfill('0')) in GetCurrentTime() 51 return strTime.str(); in GetCurrentTime()
|
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_dfx.cpp | 85 char strTime[MAX_TIME_LEN] = {0}; in GetCurrentTime() local 98 if (strftime(strTime, sizeof(strTime), "%Y%m%d-%H%M%S", pTime) == 0U) { in GetCurrentTime() 103 if (strftime(strTime, sizeof(strTime), "%Y-%m-%d %H:%M:%S", pTime) == 0U) { in GetCurrentTime() 111 return strTime; in GetCurrentTime()
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_backup_connection.cpp | 55 std::stringstream strTime; in OnAbilityConnectDone() local 56 strTime << (std::put_time(std::localtime(&time), "%Y-%m-%d %H:%M:%S:")) << (std::setfill('0')) in OnAbilityConnectDone() 65 "TIME", strTime.str() in OnAbilityConnectDone()
|
H A D | service_incremental.cpp | 649 std::stringstream strTime; in NotifyCallerCurAppIncrementDone() local 650 … strTime << (std::put_time(std::localtime(&time), "%Y-%m-%d %H:%M:%S:")) << (std::setfill('0')) in NotifyCallerCurAppIncrementDone() 657 "PID", getpid(), "TIME", strTime.str() in NotifyCallerCurAppIncrementDone()
|
H A D | service.cpp | 1942 std::stringstream strTime; in NotifyCallerCurAppDone() local 1943 … strTime << (std::put_time(std::localtime(&time), "%Y-%m-%d %H:%M:%S:")) << (std::setfill('0')) in NotifyCallerCurAppDone() 1952 "TIME", strTime.str() in NotifyCallerCurAppDone()
|
/ohos5.0/base/telephony/core_service/services/network_search/src/ |
H A D | nitz_update.cpp | 72 std::shared_ptr<std::string> strTime = event->GetSharedObject<std::string>(); in ProcessNitzUpdate() local 73 if (strTime == nullptr || strTime->empty()) { in ProcessNitzUpdate() 85 …"NitzUpdate::ProcessNitzUpdate get time:%{public}s slotId:%{public}d", strTime.get()->c_str(), slo… in ProcessNitzUpdate() 87 if (NitzParse(*strTime, networkTime)) { in ProcessNitzUpdate()
|
/ohos5.0/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_file_utils.cpp | 493 char strTime[DEFAULT_TIME_SIZE] = ""; in StrCreateTimeByMilliseconds() local 499 (void)strftime(strTime, sizeof(strTime), format.c_str(), tm); in StrCreateTimeByMilliseconds() 500 return strTime; in StrCreateTimeByMilliseconds()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/dfx/ |
H A D | dms_continue_time_dumper_test.cpp | 304 std::string strTime = DmsContinueTime::GetInstance().GetCurrentTime(); variable 305 EXPECT_EQ(strTime.empty(), false);
|