Searched refs:totalInFrontTime_ (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/ |
H A D | bundle_active_package_stats.cpp | 27 totalInFrontTime_ = 0; // the total time of bundle in front. in BundleActivePackageStats() 45 totalInFrontTime_ = orig.totalInFrontTime_; in BundleActivePackageStats() 73 totalInFrontTime_ += timeStamp - lastTimeUsed_; in IncrementTimeUsed() 214 parcel.WriteInt64(totalInFrontTime_) && in Marshalling() 230 result->totalInFrontTime_ = parcel.ReadInt64(); in UnMarshalling() 243 ", total time in front is " + std::to_string(this->totalInFrontTime_) + in ToString()
|
H A D | bundle_active_proxy.cpp | 105 …(long long)PackageStats[i].totalInFrontTime_, (long long)PackageStats[i].totalContiniousTaskUsedTi… in QueryBundleStatsInfoByInterval() 194 (long long)bundleActivePackageStats[i].totalInFrontTime_, in QueryBundleStatsInfos()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/ |
H A D | app_usage_event_factory.cpp | 112 … uint64_t usage = stat.totalInFrontTime_ > 0 ? static_cast<uint64_t>(stat.totalInFrontTime_) : 0; in GetAppUsageInfosByUserId()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/ |
H A D | bundle_active_package_stats.h | 33 int64_t totalInFrontTime_; // the total time of using the bundle variable
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | package_usage_test.cpp | 540 packageStatsObject->totalInFrontTime_ = 1; 559 packageStatsObject->totalInFrontTime_ = 1; 1039 packageStats->totalInFrontTime_ = 0; 1044 EXPECT_EQ(packageStats->totalInFrontTime_, timeStamp); 1063 packageStats->totalInFrontTime_ = 0; 1068 EXPECT_EQ(packageStats->totalInFrontTime_, timeStamp);
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
H A D | bundle_state_common.cpp | 157 … NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, item.totalInFrontTime_, &abilityInFgTotalTime)); in GetBundleStateInfoByIntervalForResult() 243 …NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, item.second.totalInFrontTime_, &abilityInFgTotal… in GetBundleStateInfoForResult() 505 left.totalInFrontTime_ += right.totalInFrontTime_; in MergePackageStats()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/ |
H A D | bundle_active_user_service.cpp | 458 …bool isTimeLegal = (it.second->totalInFrontTime_ != 0 || it.second->totalContiniousTaskUsedTime_ !… in QueryBundleStatsInfos() 648 int64_t totalUsedTime = it.second->totalInFrontTime_; in PrintInMemPackageStats()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 967 if (iter->second == nullptr || (iter->second->totalInFrontTime_ == 0 && in FlushPackageInfo() 981 valuesBucket.PutLong(BUNDLE_ACTIVE_DB_TOTAL_TIME, iter->second->totalInFrontTime_); in FlushPackageInfo() 1036 bundleActiveResult->GetLong(TOTAL_TIME_COLUMN_INDEX, usageStats->totalInFrontTime_); in GetCurrentUsageData() 1479 bundleActiveResult->GetLong(TOTAL_TIME_COLUMN_INDEX, usageStats.totalInFrontTime_); in QueryDatabaseUsageStats()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 1328 return a.totalInFrontTime_ < b.totalInFrontTime_; in CleanBundleCacheFilesAutomatic()
|