Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 9 of 9) sorted by relevance

/base/useriam/face_auth/services_ex/src/
Dfinite_state_machine_impl.cpp71 uint32_t oldState = currentState_; in ScheduleInner() local
81 DealWithStateLeaveAndEnter(machine, oldState, currentState_); in ScheduleInner()
84 name_.c_str(), oldState, event, currentState_); in ScheduleInner()
94 … FiniteStateMachineImpl::DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, in DealWithStateLeaveAndEnter() argument
97 if (oldState == newState) { in DealWithStateLeaveAndEnter()
100 if (auto iter = leaveMap_.find(oldState); iter != leaveMap_.end()) { in DealWithStateLeaveAndEnter()
102 invoker(machine, oldState); in DealWithStateLeaveAndEnter()
/base/useriam/user_auth_framework/services/base/src/
Dfinite_state_machine_impl.cpp71 uint32_t oldState = currentState_; in ScheduleInner() local
81 DealWithStateLeaveAndEnter(machine, oldState, currentState_); in ScheduleInner()
84 name_.c_str(), oldState, event, currentState_); in ScheduleInner()
92 … FiniteStateMachineImpl::DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, in DealWithStateLeaveAndEnter() argument
95 if (oldState == newState) { in DealWithStateLeaveAndEnter()
98 if (auto iter = leaveMap_.find(oldState); iter != leaveMap_.end()) { in DealWithStateLeaveAndEnter()
100 invoker(machine, oldState); in DealWithStateLeaveAndEnter()
Dfinite_state_machine_impl.h63 …void DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, uint32_t newState);
/base/telephony/ril_adapter/services/vendor/src/
Dvendor_adapter.c197 HRilRadioState oldState; in SetRadioState() local
199 (void)memset_s(&oldState, sizeof(HRilRadioState), 0, sizeof(HRilRadioState)); in SetRadioState()
208 oldState = g_radioState; in SetRadioState()
209 if (oldState == newState) { in SetRadioState()
218 if (oldState != g_radioState) { in SetRadioState()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_sm.cpp1043 void CoordinationSM::StateChangedNotify(CoordinationState oldState, CoordinationState newState) in StateChangedNotify() argument
1046 if (oldState == CoordinationState::STATE_FREE && newState == CoordinationState::STATE_IN) { in StateChangedNotify()
1047 ChangeNotify(CooStateChangeType::STATE_FREE_TO_IN, oldState, newState); in StateChangedNotify()
1050 if (oldState == CoordinationState::STATE_FREE && newState == CoordinationState::STATE_OUT) { in StateChangedNotify()
1051 ChangeNotify(CooStateChangeType::STATE_FREE_TO_OUT, oldState, newState); in StateChangedNotify()
1054 if (oldState == CoordinationState::STATE_IN && newState == CoordinationState::STATE_FREE) { in StateChangedNotify()
1055 ChangeNotify(CooStateChangeType::STATE_IN_TO_FREE, oldState, newState); in StateChangedNotify()
1058 if (oldState == CoordinationState::STATE_OUT && newState == CoordinationState::STATE_FREE) { in StateChangedNotify()
1059 ChangeNotify(CooStateChangeType::STATE_OUT_TO_FREE, oldState, newState); in StateChangedNotify()
1063 void CoordinationSM::ChangeNotify(CooStateChangeType type, CoordinationState oldState, Coordination… in ChangeNotify() argument
[all …]
/base/telephony/core_service/services/sim/src/
Dstk_controller.cpp150 int32_t oldState = iccCardState_; in OnIccStateChanged() local
153 slotId_, oldState, newState); in OnIccStateChanged()
154 if (oldState == ICC_CARD_STATE_PRESENT && newState == ICC_CARD_STATE_ABSENT) { in OnIccStateChanged()
162 } else if (oldState == ICC_CARD_STATE_ABSENT && newState == ICC_CARD_STATE_PRESENT) { in OnIccStateChanged()
/base/useriam/face_auth/services_ex/inc/
Dfinite_state_machine_impl.h63 …void DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, uint32_t newState);
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_sm.h171 void StateChangedNotify(CoordinationState oldState, CoordinationState newState);
172 …void ChangeNotify(CooStateChangeType type, CoordinationState oldState, CoordinationState newState);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp1527 uint8_t oldState = state_; in SetState() local
1534 reminderId_, GetState(oldState).c_str(), GetState(state_).c_str(), function.c_str()); in SetState()