Home
last modified time | relevance | path

Searched refs:radioState (Results 1 – 13 of 13) sorted by relevance

/base/telephony/core_service/services/network_search/src/
Dradio_info.cpp57 int32_t radioState = object->state; in ProcessGetRadioState() local
58 …PHONY_LOGI("ProcessGetRadioState RadioState is:%{public}d slotId:%{public}d", radioState, slotId_); in ProcessGetRadioState()
59 state = (radioState == ModemPowerState::CORE_SERVICE_POWER_ON) ? true : false; in ProcessGetRadioState()
60 nsm->SetRadioStateValue(slotId_, (ModemPowerState)radioState); in ProcessGetRadioState()
99 ModemPowerState radioState = ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE; in ProcessSetRadioState() local
116 radioState = (ModemPowerState)object->flag; in ProcessSetRadioState()
129 radioState = (ModemPowerState)callbackInfo->param_; in ProcessSetRadioState()
141 RadioFirstPowerOn(nsm, radioState); in ProcessSetRadioState()
145 …fo::RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) const in RadioFirstPowerOn()
148 …adioFirstPowerOn radioState:%{public}d, slotId:%{public}d", static_cast<int>(radioState), slotId_); in RadioFirstPowerOn()
[all …]
Dnetwork_search_handler.cpp281 int32_t radioState = object->data; in RadioStateChange() local
282 TELEPHONY_LOGI("NetworkSearchHandler::RadioState change: %{public}d", radioState); in RadioStateChange()
283 switch (radioState) { in RadioStateChange()
286 RadioOffOrUnavailableState(radioState); in RadioStateChange()
296 TELEPHONY_LOGI("Unhandled message with number: %{public}d", radioState); in RadioStateChange()
299 if (radioState == CORE_SERVICE_POWER_ON || radioState == CORE_SERVICE_POWER_OFF) { in RadioStateChange()
300 networkSearchManager->SetRadioStateValue(slotId_, (ModemPowerState)radioState); in RadioStateChange()
416 …ModemPowerState radioState = static_cast<ModemPowerState>(networkSearchManager->GetRadioState(slot… in GetNetworkStateInfo() local
417 …TELEPHONY_LOGI("NetworkSearchHandler GetRadioState : %{public}d slotId:%{public}d", radioState, sl… in GetNetworkStateInfo()
418 switch (radioState) { in GetNetworkStateInfo()
[all …]
Dnetwork_search_manager.cpp503 void NetworkSearchManager::SetRadioStateValue(int32_t slotId, ModemPowerState radioState) in SetRadioStateValue() argument
507 inner->radioState_ = radioState; in SetRadioStateValue()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_modem.cpp35 std::unique_ptr<HRilRadioStateInfo> radioState = std::make_unique<HRilRadioStateInfo>(); in SetRadioStateResponse() local
36 radioState->flag = telRilRequest->pointer_->GetParam(); in SetRadioStateResponse()
37 radioState->state = static_cast<int32_t>(responseInfo.error); in SetRadioStateResponse()
38 return radioState; in SetRadioStateResponse()
46 std::unique_ptr<HRilRadioStateInfo> radioState = std::make_unique<HRilRadioStateInfo>(); in GetRadioStateResponse() local
47 radioState->flag = telRilRequest->pointer_->GetParam(); in GetRadioStateResponse()
48 radioState->state = state; in GetRadioStateResponse()
49 return radioState; in GetRadioStateResponse()
/base/telephony/core_service/services/network_search/include/
Dradio_info.h32 …void RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) con…
33 …datePreferredNetwork(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) const;
Dnetwork_search_handler.h94 void RadioOffOrUnavailableState(int32_t radioState) const;
Dnetwork_search_manager.h190 void SetRadioStateValue(int32_t slotId, ModemPowerState radioState);
/base/telephony/ril_adapter/services/vendor/src/
Dvendor_report.c316 HRilRadioState radioState = HRIL_RADIO_POWER_STATE_UNAVAILABLE; in RadioTurnNotify() local
318 radioState = HRIL_RADIO_POWER_STATE_ON; in RadioTurnNotify()
320 radioState = HRIL_RADIO_POWER_STATE_OFF; in RadioTurnNotify()
324 if (radioState != HRIL_RADIO_POWER_STATE_UNAVAILABLE) { in RadioTurnNotify()
328 … OnModemReport(GetSlotId(NULL), reportInfo, (const uint8_t *)&radioState, sizeof(HRilRadioState)); in RadioTurnNotify()
Dat_modem.c102 int32_t radioState = -1; in ReqGetRadioState() local
119 ret = NextInt(&pLine, &radioState); in ReqGetRadioState()
125 OnModemReport(requestInfo->slotId, reportInfo, (const uint8_t *)&radioState, sizeof(int32_t)); in ReqGetRadioState()
Dat_sim.c179 HRilRadioState radioState = GetRadioState(); in ReqGetSimStatus() local
180 …if (radioState == HRIL_RADIO_POWER_STATE_UNAVAILABLE || radioState == HRIL_RADIO_POWER_STATE_OFF) { in ReqGetSimStatus()
/base/telephony/cellular_data/services/include/
Ddata_connection_monitor.h80 void SetRadioState(const int32_t &radioState, const int32_t &eventCode);
/base/telephony/cellular_data/services/src/
Ddata_connection_monitor.cpp170 void DataConnectionMonitor::SetRadioState(const int32_t &radioState, const int32_t &eventCode) in SetRadioState() argument
172 …CoreManagerInner::GetInstance().SetRadioState(slotId_, eventCode, radioState, 0, shared_from_this(… in SetRadioState()
/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp1468 int32_t radioState = -1; in OnRequestSetRadioStateTest() local
1471 std::cin >> radioState; in OnRequestSetRadioStateTest()
1473 telRilManager_->SetRadioState(slotId, radioState, 0, event); in OnRequestSetRadioStateTest()