Home
last modified time | relevance | path

Searched refs:dayStartTime (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_calendar.cpp37 …int64_t dayStartTime = BundleActiveUtil::GetIntervalTypeStartTime(time_, BundleActiveUtil::PERIOD_… in TruncateToDay() local
38 if (dayStartTime == 0) { in TruncateToDay()
41 time_ = dayStartTime; in TruncateToDay()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_event_cacher.cpp273 int64_t dayStartTime = TimeUtil::Get0ClockStampMs(); in CountLifeCycleDuration() local
275 dbHelper_->QueryAppEventRecords(startIndex, dayStartTime, bundleName, records); in CountLifeCycleDuration()
277 CalCulateDuration(dayStartTime, records, durations); in CountLifeCycleDuration()
281 void FoldEventCacher::CalCulateDuration(uint64_t dayStartTime, std::vector<AppEventRecord>& records, in CalCulateDuration() argument
291 Accumulative(foldStatus, (it->happenTime - dayStartTime), durations); in CalCulateDuration()
H A Dfold_app_usage_db_helper.cpp242 void FoldAppUsageDbHelper::QueryAppEventRecords(int startIndex, int64_t dayStartTime, const std::st… in QueryAppEventRecords() argument
253 predicates.GreaterThanOrEqualTo(FoldEventTable::FIELD_HAPPEN_TIME, dayStartTime); in QueryAppEventRecords()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_event_cacher.h44 void CalCulateDuration(uint64_t dayStartTime, std::vector<AppEventRecord>& events,
H A Dfold_app_usage_db_helper.h76 void QueryAppEventRecords(int startIndex, int64_t dayStartTime, const std::string& bundleName,