/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
H A 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_MACHIN in SwitchState() [all...] |
H A D | auth_code_import.c | 75 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 D | pub_key_exchange.c | 75 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 D | save_trusted_info.c | 91 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 D | cooperate_hisysevent.cpp | 150 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 D | base_cmd.h | 37 int32_t curState; member
|
/base/telephony/cellular_call/services/control/src/ |
H A D | control_base.cpp | 100 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 D | dev_session_def.h | 41 int32_t curState; member
|
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/ |
H A D | base_protocol.h | 32 int32_t curState; member
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | dl_speke_protocol.c | 99 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 D | ec_speke_protocol.c | 78 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 D | iso_protocol.c | 68 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 D | cooperate_hisysevent.h | 68 static int32_t WriteCooperateState(CooperateState curState);
|
/base/security/device_auth/test/fuzztest/protocol/ecspeke_fuzzer/ |
H A D | ecspeke_fuzzer.cpp | 288 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 D | dlspeke_fuzzer.cpp | 282 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 D | iso_fuzzer.cpp | 230 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 D | pubkeyexchange_fuzzer.cpp | 201 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 D | auth_sub_session.c | 89 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 D | dev_session_fwk.c | 583 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 D | ec_speke_protocol_test.cpp | 387 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 D | dl_speke_protocol_test.cpp | 379 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 D | iso_protocol_test.cpp | 326 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 D | dev_session_v2.c | 74 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 D | control_base.h | 195 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 D | authcodeimport_fuzzer.cpp | 275 self->curState = self->finishState; in AuthCodeImportTest114() 293 self->curState = self->failState; in AuthCodeImportTest115()
|