Home
last modified time | relevance | path

Searched refs:timeStr (Results 1 – 19 of 19) sorted by relevance

/base/hiviewdfx/faultloggerd/test/unittest/common/
Dcommon_test.cpp50 std::string timeStr = GetCurrentTimeStr(static_cast<uint64_t>(now)); variable
51 GTEST_LOG_(INFO) << timeStr;
52 ASSERT_NE(timeStr, "invalid timestamp\n");
54 timeStr = GetCurrentTimeStr(static_cast<uint64_t>(now));
55 GTEST_LOG_(INFO) << timeStr;
56 ASSERT_NE(timeStr, "invalid timestamp\n");
/base/useriam/user_auth_framework/common/utils/
Diam_time.cpp38 char timeStr[buffSize + 1] = {0}; in GetNowTimeString() local
40 int32_t len = snprintf_s(timeStr, sizeof(timeStr), dataLen, "%04u-%02d-%02d %02d:%02d:%02d", in GetNowTimeString()
45 return std::string(timeStr); in GetNowTimeString()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
Dbbox_detector_plugin.cpp70 std::string timeStr = sysEvent->GetEventValue("SUB_LOG_PATH"); in HandleBBoxEvent() local
73 LOG_PATH : LOG_PATH + '/') + timeStr; in HandleBBoxEvent()
74 …auto times = static_cast<int64_t>(TimeUtil::StrToTimeStamp(StringUtil::GetRleftSubstr(timeStr, "-"… in HandleBBoxEvent()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_publisher.cpp145 std::string timeStr = std::to_string(timestamp); in OnSysEvent() local
148 auto task = std::bind(&DataPublisher::HandleSubscribeTask, this, event, srcPath, timeStr); in OnSysEvent()
152 HandleSubscribeTask(event, srcPath, timeStr); in OnSysEvent()
157 std::string srcPath, std::string timeStr) in HandleSubscribeTask() argument
171 .append(timeStr) in HandleSubscribeTask()
239 std::string timeStr = std::to_string(timestamp); in AddExportTask() local
246 desPath.append(timeStr); in AddExportTask()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Ddata_publisher.h54 std::string srcPath, std::string timeStr);
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_cpu_service.cpp369 const std::string &endTime, std::string &timeStr) in CreateDumpTimeString() argument
372 timeStr = "CPU usage from"; in CreateDumpTimeString()
373 timeStr.append(startTime); in CreateDumpTimeString()
374 timeStr.append(" to"); in CreateDumpTimeString()
375 timeStr.append(endTime); in CreateDumpTimeString()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_unittest.cpp164 std::string timeStr = GetFormatedTime(info.time); variable
165 …string fileName = "/data/log/faultlog/faultlogger/cppcrash-com.example.myapplication-0-" + timeStr;
584 std::string timeStr = GetFormatedTime(now); variable
591 std::string fileName = "/data/log/faultlog/faultlogger/cppcrash-BootScanUnittest-0-" + timeStr;
612 std::string timeStr = GetFormatedTime(now); variable
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp217 std::string timeStr = GetFormatedTime(timeTmp); in SetHappenTime() local
218 curr_.happenTime = std::stoll(timeStr); in SetHappenTime()
/base/hiviewdfx/hidumper/services/native/include/
Ddump_manager_cpu_service.h59 std::string& timeStr);
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_network.h57 int32_t NetworkTimeUpdated(const std::string &timeStr);
Dtel_ril_callback.h189 … const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const std::string &timeStr) override;
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp818 char timeStr[bufferSize] = {0}; in GenerateName() local
823 strftime(timeStr, bufferSize, "%Y%m%d%H%M%S", &timeInfo); in GenerateName()
824 name += std::string(timeStr); in GenerateName()
/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c1925 char timeStr[TIME_VALUE_LEN] = { 0 }; in NotifyNetWorkTime() local
1954 timeStr[i - TIME_VALUE_OFFSET] = *(line + i); in NotifyNetWorkTime()
1956 TELEPHONY_LOGI("netTime:%{public}s", timeStr); in NotifyNetWorkTime()
1960 OnNetworkReport(GetSlotId(NULL), reportInfo, (const uint8_t *)timeStr, TIME_VALUE_LEN); in NotifyNetWorkTime()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_callback.cpp583 const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const std::string &timeStr) in NetworkTimeUpdated() argument
585 …otify(responseInfo, &TelRilManager::GetTelRilNetwork, &TelRilNetwork::NetworkTimeUpdated, timeStr); in NetworkTimeUpdated()
Dtel_ril_network.cpp175 int32_t TelRilNetwork::NetworkTimeUpdated(const std::string &timeStr) in NetworkTimeUpdated() argument
178 …TELEPHONY_LOG_FUNC_NAME, std::make_shared<std::string>(timeStr), RadioEvent::RADIO_NETWORK_TIME_UP… in NetworkTimeUpdated()
/base/telephony/ril_adapter/test/unittest/
Dril_callback_test.cpp323 …lbackTest::NetworkTimeUpdated(const RilRadioResponseInfo &responseInfo, const std::string &timeStr) in NetworkTimeUpdated() argument
326 cout << "NetworkTimeUpdated timeStr : " << timeStr << endl; in NetworkTimeUpdated()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_callback_test.cpp387 …lbackTest::NetworkTimeUpdated(const RilRadioResponseInfo &responseInfo, const std::string &timeStr) in NetworkTimeUpdated() argument
389 TELEPHONY_LOGI("RilCallbackTest::NetworkTimeZoneUpdated time:%{public}s", timeStr.c_str()); in NetworkTimeUpdated()
/base/telephony/ril_adapter/test/unittest/include/
Dril_callback_test.h196 … const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const std::string &timeStr) override;
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/include/
Dril_callback_test.h409 … const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const std::string &timeStr) override;