Home
last modified time | relevance | path

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

/base/telephony/core_service/services/sim/include/
Dsim_file.h134 std::string ParseSpn(const std::string &rawData, int curState);
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp432 EXPECT_EQ(simFile->ParseSpn(operatorNum, 0), "");
433 EXPECT_EQ(simFile->ParseSpn("CMCC", OBTAIN_SPN_NONE), "");
434 EXPECT_EQ(simFile->ParseSpn("CMCC", OBTAIN_SPN_START), "");
435 EXPECT_EQ(simFile->ParseSpn("CMCC", OBTAIN_SPN_GENERAL), "\xCC");
436 EXPECT_EQ(simFile->ParseSpn("CMCC", OBTAIN_OPERATOR_NAMESTRING), "\xC0\xCC");
437 EXPECT_EQ(simFile->ParseSpn("CMCC", OBTAIN_OPERATOR_NAME_SHORTFORM), "\xC0\xCC");
438 EXPECT_EQ(simFile->ParseSpn("", 0), "");
/base/telephony/core_service/services/sim/src/
Dsim_file.cpp293 std::string str = ParseSpn(iccData, spnStatus_); in ProcessSpnGeneral()
322 UpdateSPN(ParseSpn(iccData, spnStatus_)); in ProcessSpnCphs()
351 UpdateSPN(ParseSpn(iccData, spnStatus_)); in ProcessSpnShortCphs()
366 std::string SimFile::ParseSpn(const std::string &rawData, int spnStatus) in ParseSpn() function in OHOS::Telephony::SimFile