Home
last modified time | relevance | path

Searched refs:currentGroup_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_user_history.cpp32 currentGroup_ = DeviceUsageStatsGroupConst::ACTIVE_GROUP_NEVER; in BundleActivePackageHistory()
154 usageHistoryInserted->currentGroup_ = ACTIVE_GROUP_NEVER; in GetUsageHistoryInUserHistory()
203 int32_t oldGroup = oneBundleUsageHistory->currentGroup_; in ReportUsage()
204 if (oneBundleUsageHistory->currentGroup_ > newGroup) { in ReportUsage()
205 oneBundleUsageHistory->currentGroup_ = newGroup; in ReportUsage()
210 bool isGroupChanged = (oldGroup == oneBundleUsageHistory->currentGroup_) ? false : true; in ReportUsage()
237 …if (oneBundleHistory->currentGroup_ == newGroup && oneBundleHistory->reasonInGroup_ == groupReason… in SetAppGroup()
241 int32_t oldGroup = oneBundleHistory->currentGroup_; in SetAppGroup()
242 oneBundleHistory->currentGroup_ = newGroup; in SetAppGroup()
291 oneBundleUsage.second->currentGroup_, oneBundleUsage.second->reasonInGroup_, in PrintData()
H A Dbundle_active_group_controller.cpp315 int32_t oldGroup = oneBundleHistory->currentGroup_; in CheckAndUpdateGroup()
401 if (oneBundleHistory->currentGroup_ <= ACTIVE_GROUP_RARE) { in IsBundleIdle()
437 BUNDLE_ACTIVE_LOGI("QueryAppGroup group is %{public}d", oneBundleHistory->currentGroup_); in QueryAppGroup()
438 appGroup = std::min(oneBundleHistory->currentGroup_, appGroup); in QueryAppGroup()
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/
H A Dbundle_active_package_history.h30 int32_t currentGroup_; variable
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_usage_database.cpp831 valuesBucket.PutInt(BUNDLE_ACTIVE_DB_CURRENT_GROUP, iter->second->currentGroup_); in PutBundleHistoryData()
892 bundleActiveResult->GetInt(CURRENT_GROUP_COLUMN_INDEX, usageHistory->currentGroup_); in GetBundleHistoryData()