Home
last modified time | relevance | path

Searched refs:radioTech (Results 1 – 19 of 19) sorted by relevance

/base/web/webview/ohos_adapter/net_connect_adapter/src/
Dnet_connect_adapter_impl.cpp91 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in GetDefaultNetConnect() local
102 radioTech = networkState->GetPsRadioTech(); in GetDefaultNetConnect()
103 WVLOG_I("net radio tech = %{public}d.", static_cast<int32_t>(radioTech)); in GetDefaultNetConnect()
104 subtype = NetConnectUtils::ConvertToConnectsubtype(radioTech); in GetDefaultNetConnect()
107 type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in GetDefaultNetConnect()
Dnet_connect_callback_impl.cpp52 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in NetCapabilitiesChange() local
63 radioTech = networkState->GetPsRadioTech(); in NetCapabilitiesChange()
64 WVLOG_I("net radio tech = %{public}d.", static_cast<int32_t>(radioTech)); in NetCapabilitiesChange()
68 NetConnectType type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in NetCapabilitiesChange()
/base/telephony/cellular_data/services/src/state_machine/
Dactive.cpp265 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshTcpBufferSizes() local
266 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in RefreshTcpBufferSizes()
271 …td::string tcpBuffer = shareStateMachine->cdConnectionManager_->GetTcpBufferByRadioTech(radioTech); in RefreshTcpBufferSizes()
284 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshConnectionBandwidths() local
285 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in RefreshConnectionBandwidths()
290 …o linkBandwidthInfo = shareStateMachine->cdConnectionManager_->GetBandwidthsByRadioTech(radioTech); in RefreshConnectionBandwidths()
Dcellular_data_state_machine.cpp87 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in DoConnect() local
88 CoreManagerInner::GetInstance().GetPsRadioTech(slotId, radioTech); in DoConnect()
91 activeDataParam.radioTechnology = radioTech; in DoConnect()
/base/telephony/cellular_data/services/include/
Ddata_connection_manager.h53 LinkBandwidthInfo GetBandwidthsByRadioTech(const int32_t radioTech);
54 std::string GetTcpBufferByRadioTech(const int32_t radioTech);
Dcellular_data_handler.h74 bool EstablishDataConnection(sptr<ApnHolder> &apnHolder, int32_t radioTech);
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp387 LinkBandwidthInfo DataConnectionManager::GetBandwidthsByRadioTech(const int32_t radioTech) in GetBandwidthsByRadioTech() argument
393 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetBandwidthsByRadioTech()
394 if (radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE && in GetBandwidthsByRadioTech()
415 std::string DataConnectionManager::GetTcpBufferByRadioTech(const int32_t radioTech) in GetTcpBufferByRadioTech() argument
420 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetTcpBufferByRadioTech()
421 if ((radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE || in GetTcpBufferByRadioTech()
422 radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE_CA) && in GetTcpBufferByRadioTech()
Dcellular_data_handler.cpp491 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in AttemptEstablishDataConnection() local
492 coreInner.GetPsRadioTech(slotId_, radioTech); in AttemptEstablishDataConnection()
493 if (!EstablishDataConnection(apnHolder, radioTech)) { in AttemptEstablishDataConnection()
537 bool CellularDataHandler::EstablishDataConnection(sptr<ApnHolder> &apnHolder, int32_t radioTech) in EstablishDataConnection() argument
577 …cation::GetInstance().UpdateCellularDataConnectState(slotId_, PROFILE_STATE_CONNECTING, radioTech); in EstablishDataConnection()
579 apnHolder, apnItem->attr_.profileId_, radioTech, roamingState, userDataRoaming, true); in EstablishDataConnection()
581 slotId_, apnItem->attr_.profileId_, apnHolder->GetApnType().c_str(), radioTech); in EstablishDataConnection()
1061 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in PsDataRatChanged() local
1062 coreInner.GetPsRadioTech(slotId_, radioTech); in PsDataRatChanged()
1063 TELEPHONY_LOGI("Slot%{public}d: radioTech is %{public}d", slotId_, radioTech); in PsDataRatChanged()
/base/telephony/cellular_data/services/include/utils/
Dcellular_data_utils.h42 static std::string ConvertRadioTechToRadioName(const int32_t radioTech);
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_core_service_test.cpp131 int32_t radioTech = TELEPHONY_ERROR; variable
132 EXPECT_NE(mCoreService->GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
133 EXPECT_NE(mCoreService->GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
288 int32_t radioTech = TELEPHONY_ERROR; variable
289 EXPECT_NE(mCoreService->GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
290 EXPECT_NE(mCoreService->GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
Dnetwork_search_test.cpp452 int32_t radioTech = -1; variable
453 int32_t result = CoreServiceClient::GetInstance().GetPsRadioTech(SLOT_ID, radioTech);
506 int32_t radioTech = -1; variable
507 int32_t result = CoreServiceClient::GetInstance().GetCsRadioTech(SLOT_ID, radioTech);
Dzero_branch_test.cpp775 int32_t radioTech; variable
776 EXPECT_NE(mInner.GetPsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
777 EXPECT_NE(mInner.GetCsRadioTech(0, radioTech), TELEPHONY_ERR_SUCCESS);
1768 int32_t radioTech; variable
1771 … EXPECT_NE(networkSearchManager->GetPsRadioTech(INVALID_SLOTID, radioTech), TELEPHONY_ERR_SUCCESS);
1772 … EXPECT_NE(networkSearchManager->GetCsRadioTech(INVALID_SLOTID, radioTech), TELEPHONY_ERR_SUCCESS);
/base/telephony/core_service/services/network_search/test/
Dtest.cpp143 int32_t radioTech = INVALID_VALUE; in TestGetPsRadioTech() local
144 g_telephonyService->GetPsRadioTech(InputSlotId(), radioTech); in TestGetPsRadioTech()
145 TELEPHONY_LOGI("TelephonyTestService Remote GetPsRadioTech radioTech:%{public}d", radioTech); in TestGetPsRadioTech()
151 int32_t radioTech = INVALID_VALUE; in TestGetCsRadioTech() local
152 g_telephonyService->GetCsRadioTech(InputSlotId(), radioTech); in TestGetCsRadioTech()
153 TELEPHONY_LOGI("TelephonyTestService Remote GetCsRadioTech radioTech:%{public}d", radioTech); in TestGetCsRadioTech()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_utils.cpp217 std::string CellularDataUtils::ConvertRadioTechToRadioName(const int32_t radioTech) in ConvertRadioTechToRadioName() argument
220 switch (radioTech) { in ConvertRadioTechToRadioName()
/base/telephony/core_service/frameworks/js/network_search/include/
Dnapi_radio.h173 std::string radioTech = ""; member
/base/telephony/ril_adapter/services/hril/src/
Dhril_sim.cpp749 for (uint32_t radioTech = RADIO_TECHNOLOGY_GSM; radioTech <= RADIO_TECHNOLOGY_NR; radioTech++) { in ConvertRadioProtocolTech() local
750 uint32_t protocolTech = 1 << radioTech; in ConvertRadioProtocolTech()
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts2899 radioTech: string; property
/base/telephony/core_service/services/core/src/
Dcore_service_stub.cpp181 int32_t radioTech = 0; in OnGetPsRadioTech() local
182 int32_t result = GetPsRadioTech(slotId, radioTech); in OnGetPsRadioTech()
185 reply.WriteInt32(radioTech); in OnGetPsRadioTech()
193 int32_t radioTech = 0; in OnGetCsRadioTech() local
194 int32_t result = GetCsRadioTech(slotId, radioTech); in OnGetCsRadioTech()
197 reply.WriteInt32(radioTech); in OnGetCsRadioTech()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp644 static std::string GetRadioTechName(int32_t radioTech) in GetRadioTechName() argument
646 NetworkRat tech = static_cast<NetworkRat>(radioTech); in GetRadioTechName()
865 WrapPlmnState(asyncContext->state), GetRatTechValue(asyncContext->radioTech)); in NativeSetNetworkSelectionMode()
929 context.radioTech = GetStringProperty(env, networkInfoValue, "radioTech"); in ParseNetworkSelectionParameter()