Home
last modified time | relevance | path

Searched refs:pendingEvent (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_event_handler.cpp89 if (context->pendingEvent == PendingEvent::UNLOAD_ABILITY_EVENT) { in HandleAbilityLoadFailedEventLocked()
91 context->pendingEvent = PendingEvent::NO_EVENT; in HandleAbilityLoadFailedEventLocked()
130 if (context->pendingEvent == PendingEvent::UNLOAD_ABILITY_EVENT) { in HandleAbilityUnLoadSuccessEventLocked()
132 context->pendingEvent = PendingEvent::NO_EVENT; in HandleAbilityUnLoadSuccessEventLocked()
H A Dsystem_ability_state_scheduler.cpp497 abilityContext->pendingEvent = PendingEvent::LOAD_ABILITY_EVENT; in PendLoadEventLocked()
506 abilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT; in PendUnloadEventLocked()
514 if (abilityContext->pendingEvent == PendingEvent::UNLOAD_ABILITY_EVENT) { in RemovePendingUnloadEventLocked()
516 abilityContext->pendingEvent = PendingEvent::NO_EVENT; in RemovePendingUnloadEventLocked()
524 if (abilityContext->pendingEvent != PendingEvent::LOAD_ABILITY_EVENT) { in HandlePendingLoadEventLocked()
529 abilityContext->pendingEvent = PendingEvent::NO_EVENT; in HandlePendingLoadEventLocked()
545 if (abilityContext->pendingEvent != PendingEvent::UNLOAD_ABILITY_EVENT) { in HandlePendingUnloadEventLocked()
550 abilityContext->pendingEvent = PendingEvent::NO_EVENT; in HandlePendingUnloadEventLocked()
1068 result += PENDINGEVENT_ENUM_STR[static_cast<int32_t>(it.second->pendingEvent)]; in GetAllSystemAbilityInfo()
1100 result += PENDINGEVENT_ENUM_STR[static_cast<int32_t>(abilityContext->pendingEvent)]; in GetSystemAbilityInfo()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/schedule/
H A Dsystem_ability_state_context.h91 PendingEvent pendingEvent = PendingEvent::NO_EVENT; member
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_event_handler_test.cpp278 systemAbilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT;
346 systemAbilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT;
H A Dsystem_ability_state_scheduler_test.cpp1084 systemAbilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT;
1103 systemAbilityContext->pendingEvent = PendingEvent::NO_EVENT;
1122 systemAbilityContext->pendingEvent = PendingEvent::LOAD_ABILITY_EVENT;
1141 systemAbilityContext->pendingEvent = PendingEvent::LOAD_ABILITY_EVENT;
1163 systemAbilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT;
1185 systemAbilityContext->pendingEvent = PendingEvent::UNLOAD_ABILITY_EVENT;