Home
last modified time | relevance | path

Searched refs:lastReportTime_ (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/
H A Dusage_event_report.cpp42 uint64_t UsageEventReport::lastReportTime_ = 0; member in OHOS::HiviewDFX::UsageEventReport
111 lastReportTime_ = event->GetValue(KEY_OF_START).GetUint64(); in Init()
113 lastReportTime_ = nowTime; in Init()
129 if (nowTime >= (lastReportTime_ + TimeUtil::MILLISECS_PER_DAY)) { in Init()
130 …HIVIEW_LOGI("lastReportTime=%{public}" PRIu64 ", need to report daily event now", lastReportTime_); in Init()
136 …LOGI("lastSysReportTime=%{public}" PRIu64 ", need to report sys usage event now", lastReportTime_); in Init()
223 lastReportTime_ = TimeUtil::GetMilliseconds(); in ReportDailyEvent()
296 if (sprintf_s(lastRTBuf, len, "%" PRIu64, lastReportTime_) < 0) { in StartServiceByOption()
297 … HIVIEW_LOGE("failed to convert lastReportTime_=%{public}" PRIu64 " to string", lastReportTime_); in StartServiceByOption()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_dfx/src/
H A Ddfx_worker.cpp65 lastReportTime_ = prefs->GetLong(LAST_REPORT_TIME, 0); in InitCycleThread()
66 if (RingtoneFileUtils::UTCTimeSeconds() - lastReportTime_ > longTimeSec_) { in InitCycleThread()
68 lastReportTime_ = DfxManager::GetInstance()->HandleReportXml(); in InitCycleThread()
69 prefs->PutLong(LAST_REPORT_TIME, lastReportTime_); in InitCycleThread()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/dfx/
H A Dmultistages_capture_dfx_trigger_ratio.cpp31 : thirdPartCount_(0), autoCount_(0), lastReportTime_(0), isReporting_(false) {} in MultiStagesCaptureDfxTriggerRatio()
62 if ((currentTime - lastReportTime_) < REPORT_TIME_INTERVAL) { in ShouldReport()
82 lastReportTime_ = MediaFileUtils::UTCTimeMilliSeconds(); in Report()
H A Dmultistages_capture_dfx_request_policy.cpp82 if ((currentTime - lastReportTime_) < REPORT_TIME_INTERVAL) { in ShouldReport()
109 lastReportTime_ = MediaFileUtils::UTCTimeMilliSeconds(); in Report()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/ressched/src/
H A Dressched_event_listener.cpp56 lastReportTime_ == 0 || currTime - lastReportTime_ >= SAMPLE_TIME) { in ReportFrameToRSS()
63 lastReportTime_ = static_cast<uint64_t>( in ReportFrameToRSS()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/
H A Dusage_event_report_service.cpp38 UsageEventReportService::UsageEventReportService() : workPath_(DEFAULT_WORK_PATH), lastReportTime_(… in UsageEventReportService()
109 nowUsage->Update(KEY_OF_START, lastReportTime_); // save the last report time for app_usage in UpdateLastSysUsage()
151 lastReportTime_ = strtoull(optarg, nullptr, 0); in ProcessArgsRequest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_node_stats.cpp80 if (lastReportTime_ != TIMESTAMP_INITIAL && lastReportTimeSteady_ != TIMESTAMP_INITIAL && in ReportRSNodeLimitExceeded()
81 (curSysTime - lastReportTime_ <= REPORT_INTERVAL_LIMIT || in ReportRSNodeLimitExceeded()
111 lastReportTime_ = curSysTime; in ReportRSNodeLimitExceeded()
H A Drs_jank_stats.cpp73 lastReportTime_ = rtStartTime_; in SetStartTime()
315 if (lastReportTime_ == TIMESTAMP_INITIAL || lastReportTimeSteady_ == TIMESTAMP_INITIAL) { in ReportJankStats()
323 lastReportTime_ = reportTime; in ReportJankStats()
332 int64_t lastReportTime = lastReportTime_; in ReportJankStats()
344 lastReportTime_ = reportTime; in ReportJankStats()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_dfx/include/
H A Ddfx_worker.h36 int64_t lastReportTime_ = 0;
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/include/
H A Dusage_event_report_service.h42 uint64_t lastReportTime_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/ressched/include/
H A Dressched_event_listener.h40 uint64_t lastReportTime_ = 0; variable
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/include/dfx/
H A Dmultistages_capture_dfx_trigger_ratio.h49 int64_t lastReportTime_; variable
H A Dmultistages_capture_dfx_request_policy.h50 int64_t lastReportTime_ {0};
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/include/
H A Dusage_event_report.h64 static uint64_t lastReportTime_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/
H A Drs_node_stats.h73 int64_t lastReportTime_ = TIMESTAMP_INITIAL; variable
H A Drs_jank_stats.h204 int64_t lastReportTime_ = TIMESTAMP_INITIAL; variable
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_multistages_capture_test/src/
H A Dmedialibrary_multistages_photo_capture_test.cpp464 requestPolicyInstance.lastReportTime_ -= (24 * 60 * 60 * 1000L + 1);
529 instance.lastReportTime_ -= (24 * 60 * 60 * 1000L + 1);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_jank_stats_test.cpp307 rsJankStats->lastReportTime_ = 1;