Home
last modified time | relevance | path

Searched refs:spn (Results 1 – 24 of 24) sorted by relevance

/base/telephony/core_service/services/network_search/test/
Dtest_broadcast.cpp33 std::string spn = data.GetWant().GetStringParam(CUR_SPN); in OnReceiveEvent() local
39 std::cout << "CUR_SPN: " << spn.c_str() << std::endl; in OnReceiveEvent()
43 slotId, showPlmn, plmn.c_str(), showSpn, spn.c_str()); in OnReceiveEvent()
/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp218 …RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bo… in UpdateSpn() argument
222 spn = spnCust_; in UpdateSpn()
224 if (spn.empty()) { in UpdateSpn()
229 spn = Str16ToStr8(result); in UpdateSpn()
232 spn = NetworkUtils::FormatString(csSpnFormat_, spn.c_str()); in UpdateSpn()
234 …showSpn = !spn.empty() && ((static_cast<uint32_t>(spnRule) & SpnShowType::SPN_CONDITION_DISPLAY_SP… in UpdateSpn()
237 spn = ""; in UpdateSpn()
250 std::string spn = ""; in NotifyGsmSpnChanged() local
263 UpdateSpn(regStatus, networkState, spnRule, spn, showSpn); in NotifyGsmSpnChanged()
267 showSpn, curSpn_.c_str(), spn.c_str(), showPlmn, curPlmn_.c_str(), plmn.c_str(), slotId_); in NotifyGsmSpnChanged()
[all …]
/base/telephony/core_service/services/core/src/
Dcore_service_dump_helper.cpp97 std::u16string spn; in ShowCoreServiceInfo() local
98 DelayedSingleton<CoreService>::GetInstance()->GetSimSpn(i, spn); in ShowCoreServiceInfo()
99 result.append(to_utf8(spn)); in ShowCoreServiceInfo()
Dcore_service.cpp385 int32_t CoreService::GetSimSpn(int32_t slotId, std::u16string &spn) in GetSimSpn() argument
392 return simManager_->GetSimSpn(slotId, spn); in GetSimSpn()
Dcore_service_stub.cpp494 std::u16string spn; in OnGetSimSpn() local
495 int32_t result = GetSimSpn(slotId, spn); in OnGetSimSpn()
498 ret = (ret && reply.WriteString16(spn)); in OnGetSimSpn()
/base/telephony/core_service/services/network_search/include/
Doperator_name.h45 const std::string &spn);
53 …ate regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bool &showSpn);
/base/telephony/telephony_data/interfaces/innerkits/include/
Dopkey_data.h75 std::string spn = ""; member
/base/telephony/telephony_data/common/src/
Dparser_util.cpp222 bean.spn = ruleRoot[ITEM_SPN].asString(); in ParserOpKeyInfos()
237 if (!bean.spn.empty()) { in ParserOpKeyInfos()
257 value.PutString(OpKeyData::SPN, bean.spn); in ParserOpKeyToValuesBucket()
/base/telephony/core_service/services/sim/src/
Dicc_file.cpp372 void IccFile::UpdateSPN(const std::string spn) in UpdateSPN() argument
374 if (spn_ != spn) { in UpdateSPN()
376 spn_ = spn; in UpdateSPN()
Dsim_file.cpp312 std::string spn = ObtainSPN(); in ProcessSpnGeneral() local
313 if (spn.empty() || !spn.size()) { in ProcessSpnGeneral()
340 std::string spn = ObtainSPN(); in ProcessSpnCphs() local
341 if (spn.empty() || !spn.size()) { in ProcessSpnCphs()
345 TELEPHONY_LOGI("SimFile Load ELEMENTARY_FILE_SPN_CPHS done: %{public}s", spn.c_str()); in ProcessSpnCphs()
369 std::string spn = ObtainSPN(); in ProcessSpnShortCphs() local
370 if (spn.empty() || !spn.size()) { in ProcessSpnShortCphs()
Dsim_manager.cpp687 int32_t SimManager::GetSimSpn(int32_t slotId, std::u16string &spn) in GetSimSpn() argument
697 spn = simFileManager_[slotId]->GetSimSpn(); in GetSimSpn()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_elementary_file_test.cpp47 std::u16string spn; variable
48 CoreServiceClient::GetInstance().GetSimSpn(SimTest::slotId_, spn);
49 result = Str16ToStr8(spn);
65 std::u16string spn; variable
66 CoreServiceClient::GetInstance().GetSimSpn(SimTest::slotId1_, spn);
67 result = Str16ToStr8(spn);
/base/telephony/core_service/services/sim/include/
Dicc_file.h98 void UpdateSPN(const std::string spn);
Dsim_manager.h96 int32_t GetSimSpn(int32_t slotId, std::u16string &spn) override;
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h89 virtual int32_t GetSimSpn(int32_t slotId, std::u16string &spn) = 0;
Di_core_service.h68 virtual int32_t GetSimSpn(int32_t slotId, std::u16string &spn) = 0;
Dcore_service_client.h204 int32_t GetSimSpn(int32_t slotId, std::u16string &spn);
Dcore_service_proxy.h48 int32_t GetSimSpn(int32_t slotId, std::u16string &spn) override;
Dcore_manager_inner.h231 int32_t GetSimSpn(int32_t slotId, std::u16string &spn);
/base/telephony/core_service/services/core/include/
Dcore_service.h79 int32_t GetSimSpn(int32_t slotId, std::u16string &spn) override;
/base/telephony/core_service/frameworks/native/src/
Dcore_service_client.cpp280 int32_t CoreServiceClient::GetSimSpn(int32_t slotId, std::u16string &spn) in GetSimSpn() argument
287 return proxy->GetSimSpn(slotId, spn); in GetSimSpn()
Dcore_manager_inner.cpp1612 int32_t CoreManagerInner::GetSimSpn(int32_t slotId, std::u16string &spn) in GetSimSpn() argument
1618 return simManager_->GetSimSpn(slotId, spn); in GetSimSpn()
Dcore_service_proxy.cpp668 int32_t CoreServiceProxy::GetSimSpn(int32_t slotId, std::u16string &spn) in GetSimSpn() argument
693 spn = reply.ReadString16(); in GetSimSpn()
/base/telephony/core_service/frameworks/js/sim/src/
Dnapi_sim.cpp691 std::u16string spn; in NativeGetSimSpn() local
692 …rCode = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetSimSpn(asyncContext->slotId, spn); in NativeGetSimSpn()
694 asyncContext->callbackVal = NapiUtil::ToUtf8(spn); in NativeGetSimSpn()
720 std::u16string spn; in GetSimSpnSync() local
724 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()
731 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()
736 DelayedRefSingleton<CoreServiceClient>::GetInstance().GetSimSpn(slotId, spn); in GetSimSpnSync()
738 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()