Searched refs:apnType (Results 1 – 12 of 12) sorted by relevance
/base/telephony/cellular_data/services/src/apn_manager/ |
D | apn_item.cpp | 47 for (std::string apnType : apnTypes_) { in CanDealWithType() local 48 transform(apnType.begin(), apnType.end(), apnType.begin(), ::tolower); in CanDealWithType() 49 if (type == apnType) { in CanDealWithType() 52 if ((type != DATA_CONTEXT_ROLE_IA) && (apnType == DATA_CONTEXT_ROLE_ALL)) { in CanDealWithType() 59 sptr<ApnItem> ApnItem::MakeDefaultApn(const std::string &apnType) in MakeDefaultApn() argument 68 apnItem->apnTypes_ = CellularDataUtils::Split(apnType, ","); in MakeDefaultApn() 70 if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnType.c_str()) != EOK) { in MakeDefaultApn() 74 if (apnType == "mms") { in MakeDefaultApn()
|
D | apn_manager.cpp | 96 void ApnManager::AddApnHolder(const std::string &apnType, const int32_t priority) in AddApnHolder() argument 98 int32_t apnId = FindApnIdByApnName(apnType); in AddApnHolder() 103 sptr<ApnHolder> apnHolder = std::make_unique<ApnHolder>(apnType, priority).release(); in AddApnHolder() 105 TELEPHONY_LOGE("apnHolder is null, type: %{public}s", apnType.c_str()); in AddApnHolder() 116 …TELEPHONY_LOGI("The Apn holder type:%{public}s, size:%{public}zu", apnType.c_str(), sortedApnHolde… in AddApnHolder() 119 sptr<ApnHolder> ApnManager::GetApnHolder(const std::string &apnType) const in GetApnHolder() 121 int32_t apnId = FindApnIdByApnName(apnType); in GetApnHolder() 130 TELEPHONY_LOGE("ApnManager::GetApnHolder:apnType %{public}s is not exist!", apnType.c_str()); in GetApnHolder()
|
D | apn_holder.cpp | 29 ApnHolder::ApnHolder(const std::string &apnType, const int32_t priority) : apnType_(apnType), prior… in ApnHolder() argument 108 int32_t ApnHolder::GetProfileId(const std::string &apnType) const in GetProfileId() 110 std::map<std::string, int32_t>::const_iterator it = apnTypeDataProfileMap_.find(apnType); in GetProfileId()
|
/base/telephony/cellular_data/services/include/ |
D | data_disconnect_params.h | 28 DataDisconnectParams(const std::string &apnType, DisConnectionReason reason) in DataDisconnectParams() argument 29 : apnType_(apnType), reason_(reason) in DataDisconnectParams() 39 void SetApnType(const std::string &apnType) in SetApnType() argument 41 apnType_ = apnType; in SetApnType()
|
D | cellular_data_controller.h | 39 ApnProfileState GetCellularDataState(const std::string &apnType) const;
|
D | cellular_data_handler.h | 53 ApnProfileState GetCellularDataState(const std::string &apnType) const;
|
/base/telephony/cellular_data/services/include/apn_manager/ |
D | apn_manager.h | 32 sptr<ApnHolder> GetApnHolder(const std::string &apnType) const; 49 void AddApnHolder(const std::string &apnType, const int32_t priority);
|
D | apn_holder.h | 31 ApnHolder(const std::string &apnType, const int32_t priority); 44 int32_t GetProfileId(const std::string &apnType) const;
|
D | apn_item.h | 38 static sptr<ApnItem> MakeDefaultApn(const std::string &apnType);
|
/base/telephony/cellular_data/services/src/state_machine/ |
D | inactive.cpp | 44 std::string apnType = ApnManager::FindApnNameByApnId(deActiveApnTypeId_); in StateBegin() local 45 …unique_ptr<DataDisconnectParams> object = std::make_unique<DataDisconnectParams>(apnType, reason_); in StateBegin()
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_controller.cpp | 104 ApnProfileState CellularDataController::GetCellularDataState(const std::string &apnType) const in GetCellularDataState() 110 return cellularDataHandler_->GetCellularDataState(apnType); in GetCellularDataState()
|
D | cellular_data_handler.cpp | 285 ApnProfileState CellularDataHandler::GetCellularDataState(const std::string &apnType) const in GetCellularDataState() 291 sptr<ApnHolder> apnHolder = apnManager_->GetApnHolder(apnType); in GetCellularDataState()
|