Searched refs:groupReason (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_user_history.cpp | 180 const string& bundleName, const int32_t newGroup, const uint32_t groupReason, const int64_t bootBasedTimeStamp, in ReportUsage() 207 oneBundleUsageHistory->reasonInGroup_ = GROUP_CONTROL_REASON_USAGE | groupReason; in ReportUsage() 223 const int64_t bootBasedTimeStamp, int32_t newGroup, uint32_t groupReason, const bool isFlush) in SetAppGroup() 227 bundleName.c_str(), newGroup, groupReason, userId); in SetAppGroup() 237 if (oneBundleHistory->currentGroup_ == newGroup && oneBundleHistory->reasonInGroup_ == groupReason) { in SetAppGroup() 243 oneBundleHistory->reasonInGroup_ = groupReason; in SetAppGroup() 179 ReportUsage(shared_ptr<BundleActivePackageHistory> oneBundleUsageHistory, const string& bundleName, const int32_t newGroup, const uint32_t groupReason, const int64_t bootBasedTimeStamp, const int64_t timeUntilNextCheck, const int32_t userId, const int32_t uid) ReportUsage() argument 222 SetAppGroup(const string& bundleName, const int32_t userId, const int32_t uid, const int64_t bootBasedTimeStamp, int32_t newGroup, uint32_t groupReason, const bool isFlush) SetAppGroup() argument
|
H A D | bundle_active_group_controller.cpp | 310 uint32_t groupReason = oneBundleHistory->reasonInGroup_; in CheckAndUpdateGroup() local 311 uint32_t oldGroupControlReason = groupReason & GROUP_CONTROL_REASON_MASK; in CheckAndUpdateGroup() 325 groupReason = GROUP_CONTROL_REASON_TIMEOUT; in CheckAndUpdateGroup() 332 groupReason = GROUP_CONTROL_REASON_USAGE | GROUP_EVENT_REASON_ALIVE_NOT_TIMEOUT; in CheckAndUpdateGroup() 337 groupReason = GROUP_CONTROL_REASON_USAGE | GROUP_EVENT_REASON_ALIVE_TIMEOUT; in CheckAndUpdateGroup() 343 groupReason, false, uid); in CheckAndUpdateGroup()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/ |
H A D | bundle_active_user_history.h | 53 const int32_t newGroup, const uint32_t groupReason, const int64_t bootBasedTimeStamp, 56 int64_t bootBasedTimeStamp, int32_t newGroup, uint32_t groupReason, const bool isFlush);
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_service_test.cpp | 986 uint32_t groupReason = 0; in HWTEST_F() local 989 bundleUserHistory_->SetAppGroup("test", userId, uid, bootBasedTimeStamp, newgroup, groupReason, true); in HWTEST_F() 991 bundleUserHistory_->SetAppGroup("test", userId, uid, bootBasedTimeStamp, newgroup, groupReason, false); in HWTEST_F()
|
Completed in 5 milliseconds