Home
last modified time | relevance | path

Searched refs:SpnStatus (Results 1 – 3 of 3) sorted by relevance

/base/telephony/core_service/services/sim/include/
Dsim_file.h41 enum SpnStatus { enum
64 SpnStatus spnStatus_ = OBTAIN_SPN_NONE;
121 bool IsContinueGetSpn(bool start, SpnStatus curStatus, SpnStatus &newStatus);
/base/telephony/core_service/services/sim/src/
Dsim_file.cpp249 SpnStatus curStatus = spnStatus_; in ObtainSpnPhase()
264 spnStatus_ = SpnStatus::OBTAIN_SPN_NONE; in ObtainSpnPhase()
274 spnStatus_ = SpnStatus::OBTAIN_SPN_GENERAL; in StartObtainSpn()
297 spnStatus_ = SpnStatus::OBTAIN_OPERATOR_NAMESTRING; in ProcessSpnGeneral()
300 spnStatus_ = SpnStatus::OBTAIN_SPN_NONE; in ProcessSpnGeneral()
303 spnStatus_ = SpnStatus::OBTAIN_OPERATOR_NAMESTRING; in ProcessSpnGeneral()
306 if (spnStatus_ == SpnStatus::OBTAIN_OPERATOR_NAMESTRING) { in ProcessSpnGeneral()
325 spnStatus_ = SpnStatus::OBTAIN_OPERATOR_NAME_SHORTFORM; in ProcessSpnCphs()
329 spnStatus_ = SpnStatus::OBTAIN_SPN_NONE; in ProcessSpnCphs()
332 spnStatus_ = SpnStatus::OBTAIN_OPERATOR_NAME_SHORTFORM; in ProcessSpnCphs()
[all …]
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp423 SimFile::SpnStatus newStatus;
424 EXPECT_TRUE(simFile->IsContinueGetSpn(false, SimFile::SpnStatus::OBTAIN_SPN_NONE, newStatus));
425 EXPECT_TRUE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_NONE, newStatus));
426 EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_START, newStatus));
427 … EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_GENERAL, newStatus));
428 …EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_OPERATOR_NAMESTRING, newSt…
429 …EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_OPERATOR_NAME_SHORTFORM, n…