/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_group_handler.cpp | 194 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); in ProcessEvent() local
|
H A D | bundle_active_user_history.cpp | 63 BundleActiveUserHistory::BundleActiveUserHistory(const int64_t bootBasedTimeStamp, in BundleActiveUserHistory() argument 103 int64_t BundleActiveUserHistory::GetBootBasedTimeStamp(int64_t bootBasedTimeStamp) in GetBootBasedTimeStamp() argument 108 int64_t BundleActiveUserHistory::GetScreenOnTimeStamp(int64_t bootBasedTimeStamp) in GetScreenOnTimeStamp() argument 78 GetLevelIndex(const string& bundleName, const int32_t userId, const int64_t bootBasedTimeStamp, const std::vector<int64_t> screenTimeLevel, const std::vector<int64_t> bootFromTimeLevel, const int32_t uid) GetLevelIndex() argument 139 GetUsageHistoryInUserHistory( shared_ptr<map<string, shared_ptr<BundleActivePackageHistory>>> oneUserHistory, string bundleName, int64_t bootBasedTimeStamp, const bool create, const int32_t uid) GetUsageHistoryInUserHistory() argument 164 GetUsageHistoryForBundle( const string& bundleName, const int32_t userId, const int64_t bootBasedTimeStamp, const bool create, const int32_t uid) GetUsageHistoryForBundle() argument 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 261 UpdateBootBasedAndScreenTime(const bool& isScreenOn, const int64_t bootBasedTimeStamp, const bool& isShutdown) UpdateBootBasedAndScreenTime() argument [all...] |
H A D | bundle_active_group_controller.cpp | 199 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); in CheckEachBundleState() local 242 void BundleActiveGroupController::ReportEvent(const BundleActiveEvent& event, const int64_t bootBasedTimeStamp, in ReportEvent() argument 220 GetNewGroup(const std::string& bundleName, const int32_t userId, const int64_t bootBasedTimeStamp, const int32_t uid) GetNewGroup() argument 231 calculationTimeOut( const std::shared_ptr<BundleActivePackageHistory>& oneBundleHistory, const int64_t bootBasedTimeStamp) calculationTimeOut() argument 301 CheckAndUpdateGroup(const std::string& bundleName, const int32_t userId, const int32_t uid, const int64_t bootBasedTimeStamp) CheckAndUpdateGroup() argument 347 SetAppGroup(const std::string& bundleName, const int32_t userId, int32_t newGroup, uint32_t reason, const int64_t bootBasedTimeStamp, const bool isFlush) SetAppGroup() argument 386 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); IsBundleIdle() local 422 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); QueryAppGroup() local 459 ShutDown(const int64_t bootBasedTimeStamp, const int32_t userId) ShutDown() argument [all...] |
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_service_test.cpp | 927 int64_t bootBasedTimeStamp = 2000; in HWTEST_F() local 943 int64_t bootBasedTimeStamp = 2000; in HWTEST_F() local 959 int64_t bootBasedTimeStamp = 2000; in HWTEST_F() local 984 int64_t bootBasedTimeStamp = 2000; in HWTEST_F() local 1004 int64_t bootBasedTimeStamp = 2000; HWTEST_F() local 1075 int64_t bootBasedTimeStamp = 20000000000000; HWTEST_F() local 1106 int64_t bootBasedTimeStamp = 20000000000000; HWTEST_F() local [all...] |
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_core.cpp | 592 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); in ReportEvent() local 763 int64_t bootBasedTimeStamp = timer->GetBootTimeMs(); in SetAppGroup() local
|