/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | mk_agree.c | 49 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_MACHINE[i].nextStat… in SwitchState() 183 cmd->curState = STATE_MACHINE[i].nextState; in SwitchState() 184 … *returnState = (cmd->curState == cmd->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState() [all …]
|
D | auth_code_import.c | 91 int32_t curState; member 461 … if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState() 465 self->curState = self->failState; in SwitchState() 468 …LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextSta… in SwitchState() 469 self->curState = STATE_MACHINE[i].nextState; in SwitchState() 470 … *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState() 474 …("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState() 484 if (self->curState != self->beginState) { in StartAuthCodeImportCmd() 499 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in ProcessAuthCodeImportCmd() 552 instance->base.curState = instance->base.beginState; in InitAuthCodeImportCmd()
|
D | pub_key_exchange.c | 102 int32_t curState; member 593 … if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState() 597 self->curState = self->failState; in SwitchState() 600 …LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextSta… in SwitchState() 601 self->curState = STATE_MACHINE[i].nextState; in SwitchState() 602 … *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState() 606 …("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState() 616 if (self->curState != self->beginState) { in StartPubKeyExchangeCmd() 631 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in ProcessPubKeyExchangeCmd() 685 instance->base.curState = instance->base.beginState; in InitPubkeyExchangeCmd()
|
D | save_trusted_info.c | 90 int32_t curState; member 689 … if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in SwitchState() 693 self->curState = self->failState; in SwitchState() 696 …LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextSta… in SwitchState() 697 self->curState = STATE_MACHINE[i].nextState; in SwitchState() 698 … *returnState = (self->curState == self->finishState) ? CMD_STATE_FINISH : CMD_STATE_CONTINUE; in SwitchState() 702 …("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in SwitchState() 712 if (self->curState != self->beginState) { in StartSaveTrustedInfoCmd() 727 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in ProcessSaveTrustedInfoCmd() 794 instance->base.curState = instance->base.beginState; in InitSaveTrustedInfoCmd()
|
/base/telephony/cellular_call/services/control/src/ |
D | control_base.cpp | 103 bool ControlBase::IsConnectedOut(TelCallState preState, TelCallState curState) in IsConnectedOut() argument 106 …!(curState == TelCallState::CALL_STATUS_DIALING || curState == TelCallState::CALL_STATUS_ALERTING)… in IsConnectedOut()
|
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/ |
D | base_cmd.h | 37 int32_t curState; member
|
/base/security/device_auth/services/session_manager/inc/session/ |
D | dev_session_def.h | 41 int32_t curState; member
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
D | iso_protocol.c | 67 int32_t curState; member 718 … if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in IsoProtocolSwitchState() 722 self->curState = self->failState; in IsoProtocolSwitchState() 725 …LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextSta… in IsoProtocolSwitchState() 726 self->curState = STATE_MACHINE[i].nextState; in IsoProtocolSwitchState() 730 …("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in IsoProtocolSwitchState() 740 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in StartIsoProtocol() 753 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in ProcessIsoProtocol() 807 if (self->curState != self->finishState) { in GetIsoSessionKey() 856 instance->base.curState = instance->base.beginState; in CreateIsoProtocol()
|
D | ec_speke_protocol.c | 77 int32_t curState; member 963 … if ((STATE_MACHINE[i].curState == self->curState) && (STATE_MACHINE[i].eventType == eventType)) { in EcSpekeProtocolSwitchState() 967 self->curState = self->failState; in EcSpekeProtocolSwitchState() 970 …LOGI("event: %d, curState: %d, nextState: %d", eventType, self->curState, STATE_MACHINE[i].nextSta… in EcSpekeProtocolSwitchState() 971 self->curState = STATE_MACHINE[i].nextState; in EcSpekeProtocolSwitchState() 975 …("Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", eventType, self->curState); in EcSpekeProtocolSwitchState() 985 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in StartEcSpekeProtocol() 998 if ((self->curState == self->finishState) || (self->curState == self->failState)) { in ProcessEcSpekeProtocol() 1052 if (self->curState != self->finishState) { in GetEcSpekeSessionKey() 1092 instance->base.curState = instance->base.beginState; in BuildEcSpekeProtocolObj()
|
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/ |
D | base_protocol.h | 32 int32_t curState; member
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/ |
D | iso_protocol_test.cpp | 325 self->curState = self->finishState; 341 self->curState = self->failState; 400 self->curState = self->finishState; 417 self->curState = self->failState;
|
D | ec_speke_protocol_test.cpp | 386 self->curState = self->finishState; 402 self->curState = self->failState; 461 self->curState = self->finishState; 478 self->curState = self->failState;
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_v2.c | 70 int32_t curState; member 1863 …if ((STATE_MACHINE[i].curState == impl->curState) && (STATE_MACHINE[i].eventType == event->type)) { in SessionSwitchState() 1865 int32_t preState = impl->curState; in SessionSwitchState() 1869 impl->curState = SESSION_FAIL_STATE; in SessionSwitchState() 1873 impl->curState = STATE_MACHINE[i].nextState; in SessionSwitchState() 1875 impl->curState = impl->restartState; in SessionSwitchState() 1877 impl->curState = SESSION_FINISH_STATE; in SessionSwitchState() 1879 … LOGI("[Event]: %d, [CurState]: %d, [nextState]: %d", event->type, preState, impl->curState); in SessionSwitchState() 1883 …Unsupported event type. Ignore process. [Event]: %d, [CurState]: %d", event->type, impl->curState); in SessionSwitchState()
|
/base/security/device_auth/services/session_manager/src/session/ |
D | dev_session_fwk.c | 482 if (impl->curState == SESSION_FINISH_STATE) { in ProcV2Session() 557 session->curState = session->isClient ? INIT_CLIENT_STATE : INIT_SERVER_STATE; in BuildDevSession() 558 session->restartState = session->curState; in BuildDevSession()
|
/base/telephony/cellular_call/services/control/include/ |
D | control_base.h | 195 bool IsConnectedOut(TelCallState preState, TelCallState curState);
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/ |
D | auth_sub_session.c | 85 …impl->base.state = (protocol->curState == protocol->finishState) ? AUTH_STATE_FINISH : AUTH_STATE_… in ProcessAuthSubSession()
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
D | pub_key_exchange_test.cpp | 274 self->curState = self->finishState; 290 self->curState = self->failState;
|
D | auth_code_import_test.cpp | 274 self->curState = self->finishState; 290 self->curState = self->failState;
|
D | save_trusted_info_test.cpp | 464 self->curState = self->finishState; 480 self->curState = self->failState;
|
/base/telephony/core_service/services/sim/include/ |
D | sim_file.h | 146 std::string ParseSpn(const std::string &rawData, int curState);
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/ |
D | expand_sub_session.c | 312 if ((!cmd->isCaller) || (cmd->curState != cmd->beginState)) { in StartNewCmds()
|