Home
last modified time | relevance | path

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

/base/telephony/cellular_data/services/src/apn_manager/
Dapn_item.cpp85 sptr<ApnItem> ApnItem::MakeApn(const PdpProfile &apnData) in MakeApn() argument
92 apnItem->apnTypes_ = CellularDataUtils::Split(apnData.apnTypes, ","); in MakeApn()
93 apnItem->attr_.profileId_ = apnData.profileId; in MakeApn()
94 apnItem->attr_.authType_ = apnData.authType; in MakeApn()
95 … if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apnTypes.c_str()) != EOK) { in MakeApn()
99 std::string numeric = apnData.mcc + apnData.mnc; in MakeApn()
104 …if (strcpy_s(apnItem->attr_.protocol_, ALL_APN_ITEM_CHAR_LENGTH, apnData.pdpProtocol.c_str()) != E… in MakeApn()
109 apnData.roamPdpProtocol.c_str()) != EOK) { in MakeApn()
113 if (strcpy_s(apnItem->attr_.apn_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apn.c_str()) != EOK) { in MakeApn()
117 …if (strcpy_s(apnItem->attr_.apnName_, ALL_APN_ITEM_CHAR_LENGTH, apnData.profileName.c_str()) != EO… in MakeApn()
[all …]
Dapn_manager.cpp200 for (const PdpProfile &apnData : apnVec) { in CreateAllApnItemByDatabase() local
202 apnData.profileId, apnData.profileName.c_str()); in CreateAllApnItemByDatabase()
203 sptr<ApnItem> apnItem = ApnItem::MakeApn(apnData); in CreateAllApnItemByDatabase()
/base/telephony/cellular_data/services/include/apn_manager/
Dapn_item.h39 static sptr<ApnItem> MakeApn(const PdpProfile &apnData);