/base/telephony/core_service/services/network_search/src/ |
D | radio_info.cpp | 57 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 …]
|
D | network_search_handler.cpp | 281 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 …]
|
D | network_search_manager.cpp | 503 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/ |
D | tel_ril_modem.cpp | 35 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/ |
D | radio_info.h | 32 …void RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) con… 33 …datePreferredNetwork(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) const;
|
D | network_search_handler.h | 94 void RadioOffOrUnavailableState(int32_t radioState) const;
|
D | network_search_manager.h | 190 void SetRadioStateValue(int32_t slotId, ModemPowerState radioState);
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | vendor_report.c | 316 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()
|
D | at_modem.c | 102 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()
|
D | at_sim.c | 179 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/ |
D | data_connection_monitor.h | 80 void SetRadioState(const int32_t &radioState, const int32_t &eventCode);
|
/base/telephony/cellular_data/services/src/ |
D | data_connection_monitor.cpp | 170 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/ |
D | tel_ril_test.cpp | 1468 int32_t radioState = -1; in OnRequestSetRadioStateTest() local 1471 std::cin >> radioState; in OnRequestSetRadioStateTest() 1473 telRilManager_->SetRadioState(slotId, radioState, 0, event); in OnRequestSetRadioStateTest()
|