Home
last modified time | relevance | path

Searched refs:radioTech (Results 1 - 22 of 22) sorted by relevance

/base/web/webview/ohos_adapter/net_connect_adapter/src/
H A Dnet_connect_adapter_impl.cpp93 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in GetDefaultNetConnect() local
104 radioTech = networkState->GetPsRadioTech(); in GetDefaultNetConnect()
105 WVLOG_I("net radio tech = %{public}d.", static_cast<int32_t>(radioTech)); in GetDefaultNetConnect()
106 subtype = NetConnectUtils::ConvertToConnectsubtype(radioTech); in GetDefaultNetConnect()
109 type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in GetDefaultNetConnect()
H A Dnet_connect_callback_impl.cpp54 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in NetCapabilitiesChange() local
65 radioTech = networkState->GetPsRadioTech(); in NetCapabilitiesChange()
66 WVLOG_I("net radio tech = %{public}d.", static_cast<int32_t>(radioTech)); in NetCapabilitiesChange()
70 NetConnectType type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in NetCapabilitiesChange()
/base/telephony/cellular_data/services/src/state_machine/
H A Ddefault.cpp111 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in ProcessDataConnectionDrsOrRatChanged() local
112 CoreManagerInner::GetInstance().GetPsRadioTech(stateMachine->GetSlotId(), radioTech); in ProcessDataConnectionDrsOrRatChanged()
113 netAgent.RegisterSlotType(supplierId, radioTech); in ProcessDataConnectionDrsOrRatChanged()
114 TELEPHONY_LOGI("RegisterSlotType: supplierId[%{public}d] slotId[%{public}d] radioTech[%{public}d]", in ProcessDataConnectionDrsOrRatChanged()
115 supplierId, stateMachine->GetSlotId(), radioTech); in ProcessDataConnectionDrsOrRatChanged()
H A Dactive.cpp320 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshTcpBufferSizes() local
321 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in RefreshTcpBufferSizes()
326 std::string tcpBuffer = shareStateMachine->cdConnectionManager_->GetTcpBufferByRadioTech(radioTech); in RefreshTcpBufferSizes()
339 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshConnectionBandwidths() local
340 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in RefreshConnectionBandwidths()
345 LinkBandwidthInfo linkBandwidthInfo = shareStateMachine->cdConnectionManager_->GetBandwidthsByRadioTech(radioTech); in RefreshConnectionBandwidths()
H A Dincall_data_state_machine.cpp102 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in CanActiveDataByRadioTech() local
103 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, radioTech); in CanActiveDataByRadioTech()
104 switch (static_cast<RadioTech>(radioTech)) { in CanActiveDataByRadioTech()
H A Dcellular_data_state_machine.cpp111 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in DoConnect() local
112 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in DoConnect()
115 activeDataParam.radioTechnology = radioTech; in DoConnect()
/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_net_agent.cpp76 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RegisterNetSupplier() local
77 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in RegisterNetSupplier()
78 RegisterSlotType(supplierId, radioTech); in RegisterNetSupplier()
79 TELEPHONY_LOGI("RegisterSlotType: supplierId[%{public}d] slotId[%{public}d] radioTech[%{public}d]", in RegisterNetSupplier()
80 supplierId, slotId, radioTech); in RegisterNetSupplier()
196 void CellularDataNetAgent::RegisterSlotType(int32_t supplierId, int32_t radioTech) in RegisterSlotType() argument
198 int32_t result = NetConnClient::GetInstance().RegisterSlotType(supplierId, radioTech); in RegisterSlotType()
H A Dcellular_data_utils.cpp159 std::string CellularDataUtils::ConvertRadioTechToRadioName(const int32_t radioTech) in ConvertRadioTechToRadioName() argument
162 switch (radioTech) { in ConvertRadioTechToRadioName()
/base/telephony/cellular_data/services/src/
H A Ddata_connection_manager.cpp404 LinkBandwidthInfo DataConnectionManager::GetBandwidthsByRadioTech(const int32_t radioTech) in GetBandwidthsByRadioTech() argument
410 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetBandwidthsByRadioTech()
411 if (radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE && in GetBandwidthsByRadioTech()
433 std::string DataConnectionManager::GetTcpBufferByRadioTech(const int32_t radioTech) in GetTcpBufferByRadioTech() argument
438 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetTcpBufferByRadioTech()
439 if ((radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE || in GetTcpBufferByRadioTech()
440 radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE_CA) && in GetTcpBufferByRadioTech()
H A Dcellular_data_handler.cpp677 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in AttemptEstablishDataConnection() local
678 coreInner.GetPsRadioTech(slotId_, radioTech); in AttemptEstablishDataConnection()
679 if (!EstablishDataConnection(apnHolder, radioTech)) { in AttemptEstablishDataConnection()
716 bool CellularDataHandler::EstablishDataConnection(sptr<ApnHolder> &apnHolder, int32_t radioTech) in EstablishDataConnection() argument
734 if (IsSingleConnectionEnabled(radioTech)) { in EstablishDataConnection()
771 apnHolder, apnItem->attr_.profileId_, radioTech, roamingState, userDataRoaming, true); in EstablishDataConnection()
773 slotId_, apnItem->attr_.profileId_, apnHolder->GetApnType().c_str(), radioTech); in EstablishDataConnection()
1042 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in MsgEstablishDataConnection() local
1043 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, radioTech); in MsgEstablishDataConnection()
1044 if (!IsSingleConnectionEnabled(radioTech)) { in MsgEstablishDataConnection()
1674 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); PsDataRatChanged() local
1926 IsSingleConnectionEnabled(int32_t radioTech) IsSingleConnectionEnabled() argument
[all...]
/base/telephony/cellular_data/services/include/
H A Ddata_connection_manager.h54 LinkBandwidthInfo GetBandwidthsByRadioTech(const int32_t radioTech);
55 std::string GetTcpBufferByRadioTech(const int32_t radioTech);
H A Dcellular_data_handler.h93 bool EstablishDataConnection(sptr<ApnHolder> &apnHolder, int32_t radioTech);
142 bool IsSingleConnectionEnabled(int32_t radioTech);
/base/telephony/cellular_data/services/include/utils/
H A Dcellular_data_net_agent.h105 void RegisterSlotType(int32_t supplierId, int32_t radioTech);
H A Dcellular_data_utils.h40 static std::string ConvertRadioTechToRadioName(const int32_t radioTech);
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_core_service_test.cpp135 int32_t radioTech = TELEPHONY_ERROR; in HWTEST_F() local
136 EXPECT_NE(mCoreService->GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
137 EXPECT_NE(mCoreService->GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
293 int32_t radioTech = TELEPHONY_ERROR; in HWTEST_F() local
294 EXPECT_NE(mCoreService->GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
295 EXPECT_NE(mCoreService->GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
H A Dnetwork_search_test.cpp484 int32_t radioTech = -1; in HWTEST_F() local
485 int32_t result = CoreServiceClient::GetInstance().GetPsRadioTech(SLOT_ID, radioTech); in HWTEST_F()
538 int32_t radioTech = -1; in HWTEST_F() local
539 int32_t result = CoreServiceClient::GetInstance().GetCsRadioTech(SLOT_ID, radioTech); in HWTEST_F()
H A Dzero_branch_test.cpp1022 int32_t radioTech; in HWTEST_F() local
1023 EXPECT_NE(mInner.GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1024 EXPECT_NE(mInner.GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
2147 int32_t radioTech; in HWTEST_F() local
2150 EXPECT_NE(networkSearchManager->GetPsRadioTech(INVALID_SLOTID, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
2151 EXPECT_NE(networkSearchManager->GetCsRadioTech(INVALID_SLOTID, radioTech), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
/base/telephony/core_service/services/network_search/test/
H A Dtest.cpp147 int32_t radioTech = INVALID_VALUE; in TestGetPsRadioTech() local
148 g_telephonyService->GetPsRadioTech(InputSlotId(), radioTech); in TestGetPsRadioTech() local
149 TELEPHONY_LOGI("TelephonyTestService Remote GetPsRadioTech radioTech:%{public}d", radioTech); in TestGetPsRadioTech()
155 int32_t radioTech = INVALID_VALUE; in TestGetCsRadioTech() local
156 g_telephonyService->GetCsRadioTech(InputSlotId(), radioTech); in TestGetCsRadioTech() local
157 TELEPHONY_LOGI("TelephonyTestService Remote GetCsRadioTech radioTech:%{public}d", radioTech); in TestGetCsRadioTech()
/base/telephony/core_service/frameworks/js/network_search/include/
H A Dnapi_radio.h175 std::string radioTech = ""; member
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_sim.cpp855 for (uint32_t radioTech = RADIO_TECHNOLOGY_GSM; radioTech <= RADIO_TECHNOLOGY_NR; radioTech++) { in ConvertRadioProtocolTech()
856 uint32_t protocolTech = 1 << radioTech; in ConvertRadioProtocolTech()
/base/telephony/core_service/services/core/src/
H A Dcore_service_stub.cpp401 int32_t radioTech = 0; in OnGetPsRadioTech() local
402 int32_t result = GetPsRadioTech(slotId, radioTech); in OnGetPsRadioTech()
405 ret = (ret && reply.WriteInt32(radioTech)); in OnGetPsRadioTech()
417 int32_t radioTech = 0; in OnGetCsRadioTech() local
418 int32_t result = GetCsRadioTech(slotId, radioTech); in OnGetCsRadioTech()
421 ret = (ret && reply.WriteInt32(radioTech)); in OnGetCsRadioTech()
/base/telephony/core_service/frameworks/js/network_search/src/
H A Dnapi_radio.cpp673 static std::string GetRadioTechName(int32_t radioTech) in GetRadioTechName() argument
675 NetworkRat tech = static_cast<NetworkRat>(radioTech); in GetRadioTechName()
716 NapiUtil::SetPropertyStringUtf8(env, info, "radioTech", GetRadioTechName(resultList[i].GetRadioTech())); in GetNetworkSearchInformationCallback()
835 bool hasRadioTech = HasNamedPropertyType(env, networkInfoValue, napi_string, "radioTech"); in MatchSetNetworkSelectionModeParameters()
900 WrapPlmnState(asyncContext->state), GetRatTechValue(asyncContext->radioTech)); in NativeSetNetworkSelectionMode()
964 context.radioTech = GetStringProperty(env, networkInfoValue, "radioTech"); in ParseNetworkSelectionParameter()

Completed in 47 milliseconds