Home
last modified time | relevance | path

Searched refs:PendingEvent (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/security/device_security_level/baselib/utils/src/
H A Dutils_state_machine.c26 } PendingEvent; typedef
53 PendingEvent *pending = MALLOC(sizeof(PendingEvent)); in PushPendingEvent()
68 PendingEvent *pending = LIST_ENTRY(head->next, PendingEvent, link); in PopPendingEvent()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/schedule/
H A Dsystem_ability_state_context.h46 enum class PendingEvent { enum
91 PendingEvent pendingEvent = PendingEvent::NO_EVENT;
/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()
/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;