Searched refs:SpnStatus (Results 1 – 3 of 3) sorted by relevance
/base/telephony/core_service/services/sim/include/ |
D | sim_file.h | 41 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/ |
D | sim_file.cpp | 249 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/ |
D | zero_branch_test.cpp | 423 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…
|