Lines Matching refs:dataCallInfo
144 int32_t HRilData::ActivatePdpContext(int32_t serialId, const OHOS::HDI::Ril::V1_1::DataCallInfo &dataCallInfo)
147 dataInfo.apn = StringToCString(dataCallInfo.dataProfileInfo.apn);
148 dataInfo.type = StringToCString(dataCallInfo.dataProfileInfo.protocol);
149 dataInfo.roamingType = StringToCString(dataCallInfo.dataProfileInfo.roamingProtocol);
150 dataInfo.userName = StringToCString(dataCallInfo.dataProfileInfo.userName);
151 dataInfo.password = StringToCString(dataCallInfo.dataProfileInfo.password);
152 dataInfo.verType = dataCallInfo.dataProfileInfo.authenticationType;
153 dataInfo.rat = dataCallInfo.radioTechnology;
154 dataInfo.roamingEnable = dataCallInfo.roamingAllowed ? 1 : 0;
164 OHOS::HDI::Ril::V1_1::DataCallInfo dataCallInfo;
165 dataCallInfo.dataProfileInfo.apn = dataCallInfoWithApnTypes.dataProfileInfo.apn;
166 dataCallInfo.dataProfileInfo.protocol = dataCallInfoWithApnTypes.dataProfileInfo.protocol;
167 dataCallInfo.dataProfileInfo.roamingProtocol = dataCallInfoWithApnTypes.dataProfileInfo.roamingProtocol;
168 dataCallInfo.dataProfileInfo.userName = dataCallInfoWithApnTypes.dataProfileInfo.userName;
169 dataCallInfo.dataProfileInfo.password = dataCallInfoWithApnTypes.dataProfileInfo.password;
170 dataCallInfo.dataProfileInfo.authenticationType = dataCallInfoWithApnTypes.dataProfileInfo.authenticationType;
171 dataCallInfo.isRoaming = dataCallInfoWithApnTypes.isRoaming;
172 dataCallInfo.roamingAllowed = dataCallInfoWithApnTypes.roamingAllowed;
173 dataCallInfo.radioTechnology = dataCallInfoWithApnTypes.radioTechnology;
174 return ActivatePdpContext(serialId, dataCallInfo);