Home
last modified time | relevance | path

Searched refs:curState (Results 1 - 25 of 34) sorted by relevance

12

/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dmk_agree.c49 int32_t curState; member
94 if (cmd->curState == CLIENT_INIT_STATE) { in AddEventByState()
96 } else if (cmd->curState == SERVER_WAIT_REQUEST_STATE) { in AddEventByState()
106 LOGI("process mk agree task, current state is: %d", cmd->curState); in ProcessMkAgreeTask()
119 if (cmd->curState == CLIENT_WAIT_RESPONSE_STATE) { in ProcessMkAgreeTask()
175 if ((STATE_MACHINE[i].curState == cmd->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState()
179 cmd->curState = cmd->failState; in SwitchState()
182 LOGI("event: %d, curState: %d, nextState: %d", eventType, cmd->curState, STATE_MACHIN in SwitchState()
[all...]
H A Dauth_code_import.c75 int32_t curState; member
465 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState()
469 self->curState = self->failState; in SwitchState()
472 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in SwitchState()
473 self->curState = STATE_MACHINE[i].nextState; in SwitchState()
474 *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState()
478 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState()
488 if (self->curState ! in StartAuthCodeImportCmd()
[all...]
H A Dpub_key_exchange.c75 int32_t curState; member
630 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState()
634 self->curState = self->failState; in SwitchState()
637 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in SwitchState()
638 self->curState = STATE_MACHINE[i].nextState; in SwitchState()
639 *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState()
643 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState()
653 if (self->curState ! in StartPubKeyExchangeCmd()
[all...]
H A Dsave_trusted_info.c91 int32_t curState; member
734 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState()
738 self->curState = self->failState; in SwitchState()
741 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in SwitchState()
742 self->curState = STATE_MACHINE[i].nextState; in SwitchState()
743 *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState()
747 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState()
757 if (self->curState ! in StartSaveTrustedInfoCmd()
[all...]
/base/msdp/device_status/intention/dfx/src/
H A Dcooperate_hisysevent.cpp150 int32_t CooperateDFX::WriteCooperateState(CooperateState curState) in WriteCooperateState() argument
152 if (curState == CooperateState::N_COOPERATE_STATES) { in WriteCooperateState()
155 if (CooperateState_.find(curState) == CooperateState_.end()) { in WriteCooperateState()
160 std::string currentState = CooperateState_[curState]; in WriteCooperateState()
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/
H A Dbase_cmd.h37 int32_t curState; member
/base/telephony/cellular_call/services/control/src/
H A Dcontrol_base.cpp100 bool ControlBase::IsConnectedOut(TelCallState preState, TelCallState curState) in IsConnectedOut() argument
103 !(curState == TelCallState::CALL_STATUS_DIALING || curState == TelCallState::CALL_STATUS_ALERTING)) { in IsConnectedOut()
/base/security/device_auth/services/session_manager/inc/session/
H A Ddev_session_def.h41 int32_t curState; member
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/
H A Dbase_protocol.h32 int32_t curState; member
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Ddl_speke_protocol.c99 int32_t curState; member
987 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in DlSpekeProtocolSwitchState()
991 self->curState = self->failState; in DlSpekeProtocolSwitchState()
994 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in DlSpekeProtocolSwitchState()
995 self->curState = STATE_MACHINE[i].nextState; in DlSpekeProtocolSwitchState()
999 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in DlSpekeProtocolSwitchState()
1009 if ((self->curState == self->finishState) || (self->curState in StartDlSpekeProtocol()
[all...]
H A Dec_speke_protocol.c78 int32_t curState; member
982 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in EcSpekeProtocolSwitchState()
986 self->curState = self->failState; in EcSpekeProtocolSwitchState()
989 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in EcSpekeProtocolSwitchState()
990 self->curState = STATE_MACHINE[i].nextState; in EcSpekeProtocolSwitchState()
994 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in EcSpekeProtocolSwitchState()
1004 if ((self->curState == self->finishState) || (self->curState in StartEcSpekeProtocol()
[all...]
H A Diso_protocol.c68 int32_t curState; member
726 if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in IsoProtocolSwitchState()
730 self->curState = self->failState; in IsoProtocolSwitchState()
733 LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextState); in IsoProtocolSwitchState()
734 self->curState = STATE_MACHINE[i].nextState; in IsoProtocolSwitchState()
738 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in IsoProtocolSwitchState()
748 if ((self->curState == self->finishState) || (self->curState in StartIsoProtocol()
[all...]
/base/msdp/device_status/intention/dfx/include/
H A Dcooperate_hisysevent.h68 static int32_t WriteCooperateState(CooperateState curState);
/base/security/device_auth/test/fuzztest/protocol/ecspeke_fuzzer/
H A Decspeke_fuzzer.cpp288 self->curState = self->finishState; in ECSpekeTest15()
302 self->curState = self->failState; in ECSpekeTest16()
353 self->curState = self->finishState; in ECSpekeTest20()
368 self->curState = self->failState; in ECSpekeTest21()
/base/security/device_auth/test/fuzztest/protocol/dlspeke_fuzzer/
H A Ddlspeke_fuzzer.cpp282 self->curState = self->finishState; in DlSpekeTest14()
296 self->curState = self->failState; in DlSpekeTest15()
347 self->curState = self->finishState; in DlSpekeTest19()
362 self->curState = self->failState; in DlSpekeTest20()
/base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/
H A Diso_fuzzer.cpp230 self->curState = self->finishState; in IsoTest14()
241 self->curState = self->failState; in IsoTest15()
283 self->curState = self->finishState; in IsoTest19()
295 self->curState = self->failState; in IsoTest20()
/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/pubkeyexchange_fuzzer/
H A Dpubkeyexchange_fuzzer.cpp201 self->curState = self->finishState; in PubkeyExchangeTest16()
215 self->curState = self->failState; in PubkeyExchangeTest17()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/
H A Dauth_sub_session.c89 impl->base.state = (protocol->curState == protocol->finishState) ? AUTH_STATE_FINISH : AUTH_STATE_RUNNING; in ProcessAuthSubSession()
/base/security/device_auth/services/session_manager/src/session/
H A Ddev_session_fwk.c583 if (impl->curState == SESSION_FINISH_STATE) { in ProcV2Session()
658 session->curState = session->isClient ? INIT_CLIENT_STATE : INIT_SERVER_STATE; in BuildDevSession()
659 session->restartState = session->curState; in BuildDevSession()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/
H A Dec_speke_protocol_test.cpp387 self->curState = self->finishState; in HWTEST_F()
403 self->curState = self->failState; in HWTEST_F()
462 self->curState = self->finishState; in HWTEST_F()
479 self->curState = self->failState; in HWTEST_F()
H A Ddl_speke_protocol_test.cpp379 self->curState = self->finishState; in HWTEST_F()
395 self->curState = self->failState; in HWTEST_F()
454 self->curState = self->finishState; in HWTEST_F()
471 self->curState = self->failState; in HWTEST_F()
H A Diso_protocol_test.cpp326 self->curState = self->finishState; in HWTEST_F()
342 self->curState = self->failState; in HWTEST_F()
401 self->curState = self->finishState; in HWTEST_F()
418 self->curState = self->failState; in HWTEST_F()
/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c74 int32_t curState; member
2095 if ((STATE_MACHINE[i].curState == impl->curState) && (STATE_MACHINE[i].eventType == event->type)) { in SessionSwitchState()
2097 int32_t preState = impl->curState; in SessionSwitchState()
2101 impl->curState = SESSION_FAIL_STATE; in SessionSwitchState()
2105 impl->curState = STATE_MACHINE[i].nextState; in SessionSwitchState()
2107 impl->curState = impl->restartState; in SessionSwitchState()
2109 impl->curState = SESSION_FINISH_STATE; in SessionSwitchState()
2111 LOGI("[Event]: %d, [CurState]: %d, [nextState]: %d", event->type, preState, impl->curState); in SessionSwitchState()
2115 LOGI("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", event->type, impl->curState); in SessionSwitchState()
[all...]
/base/telephony/cellular_call/services/control/include/
H A Dcontrol_base.h195 bool IsConnectedOut(TelCallState preState, TelCallState curState);
/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/authcodeimport_fuzzer/
H A Dauthcodeimport_fuzzer.cpp275 self->curState = self->finishState; in AuthCodeImportTest114()
293 self->curState = self->failState; in AuthCodeImportTest115()

Completed in 26 milliseconds

12