Home
last modified time | relevance | path

Searched refs:strTime (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_utils/
H A Db_time.cpp48 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 Dthermal_dfx.cpp85 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 Dsvc_backup_connection.cpp55 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 Dservice_incremental.cpp649 std::stringstream strTime; in NotifyCallerCurAppIncrementDone() local
650strTime << (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 Dservice.cpp1942 std::stringstream strTime; in NotifyCallerCurAppDone() local
1943strTime << (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 Dnitz_update.cpp72 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 Dringtone_file_utils.cpp493 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 Ddms_continue_time_dumper_test.cpp304 std::string strTime = DmsContinueTime::GetInstance().GetCurrentTime(); variable
305 EXPECT_EQ(strTime.empty(), false);