Home
last modified time | relevance | path

Searched refs:ABILITY_FOREGROUND (Results 1 - 8 of 8) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_package_stats.cpp58 if (ability.second == BundleActiveEvent::ABILITY_FOREGROUND) { in HasFrontAbility()
94 if (eventId != BundleActiveEvent::ABILITY_FOREGROUND && eventId != BundleActiveEvent::ABILITY_BACKGROUND && in UpdateAbility()
98 if (abilities_.empty() && eventId == BundleActiveEvent::ABILITY_FOREGROUND) { in UpdateAbility()
107 case BundleActiveEvent::ABILITY_FOREGROUND: in UpdateAbility()
111 if (eventId == BundleActiveEvent::ABILITY_FOREGROUND) { in UpdateAbility()
121 case BundleActiveEvent::ABILITY_FOREGROUND: in UpdateAbility()
177 case BundleActiveEvent::ABILITY_FOREGROUND: in Update()
H A Dbundle_active_event.cpp202 eventId == ABILITY_FOREGROUND || in IsBundleEvent()
214 if (eventId == ABILITY_BACKGROUND || eventId == ABILITY_FOREGROUND || eventId == ABILITY_STOP) { in IsAppStateEvent()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dpackage_usage_test.cpp85 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
127 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
153 eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
226 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
290 event.eventId_ = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1076 packageStats->abilities_["test"] = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1077 packageStats->longTimeTasks_["test"] = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1100 packageStats->abilities_["test"] = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1101 packageStats->longTimeTasks_["test"] = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1131 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
[all...]
H A Ddevice_usage_statistics_service_test.cpp341 userId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
1135 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_app_state_obsever.cpp59 tmpHandlerObject.event_.eventId_ = BundleActiveEvent::ABILITY_FOREGROUND; in OnAbilityStateChanged()
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_event.h29 static const int32_t ABILITY_FOREGROUND = 2; // onForeground() called, ability is in front. member in OHOS::DeviceUsageStats::BundleActiveEvent
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_controller.cpp46 {BundleActiveEvent::ABILITY_FOREGROUND, GROUP_EVENT_REASON_FOREGROUND}, in BundleActiveGroupController()
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_user_service.cpp190 if (event.eventId_ == BundleActiveEvent::ABILITY_FOREGROUND) { in ReportEvent()
722 if (event.eventId_ != BundleActiveEvent::ABILITY_FOREGROUND) { in ReportModuleEvent()

Completed in 10 milliseconds