Home
last modified time | relevance | path

Searched refs:ModemPowerState (Results 1 – 9 of 9) sorted by relevance

/base/telephony/core_service/services/network_search/src/
Dradio_info.cpp53 bool state = (object->state == ModemPowerState::CORE_SERVICE_POWER_ON) ? true : false; in ProcessGetRadioState()
54 nsm->SetRadioStateValue(slotId_, static_cast<ModemPowerState>(object->state)); in ProcessGetRadioState()
70 … if (nsm->GetRadioState(slotId_) != ModemPowerState::CORE_SERVICE_POWER_ON && !isAirplaneModeOn) { in ProcessGetRadioState()
71 … nsm->SetRadioState(slotId_, static_cast<bool>(ModemPowerState::CORE_SERVICE_POWER_ON), 0); in ProcessGetRadioState()
73 if (nsm->GetRadioState(slotId_) == ModemPowerState::CORE_SERVICE_POWER_ON) { in ProcessGetRadioState()
94 ModemPowerState radioState = ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE; in ProcessSetRadioState()
107 radioState = static_cast<ModemPowerState>(object->flag); in ProcessSetRadioState()
116 void RadioInfo::RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radio… in RadioFirstPowerOn()
120 if (radioState != ModemPowerState::CORE_SERVICE_POWER_ON) { in RadioFirstPowerOn()
131 void RadioInfo::UpdatePreferredNetwork(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState in UpdatePreferredNetwork()
[all …]
Dnetwork_search_handler.cpp312 networkSearchManager->SetRadioStateValue(slotId_, (ModemPowerState)radioState); in RadioStateChange()
346 …networkSearchManager->GetRadioState(slotId_) == static_cast<int>(ModemPowerState::CORE_SERVICE_POW… in RadioRilDataRegState()
369 …networkSearchManager->GetRadioState(slotId_) == static_cast<int>(ModemPowerState::CORE_SERVICE_POW… in RadioRilVoiceRegState()
439ModemPowerState radioState = static_cast<ModemPowerState>(networkSearchManager->GetRadioState(slot… in GetNetworkStateInfo()
488 …networkSearchManager->SetRadioState(slotId_, static_cast<bool>(ModemPowerState::CORE_SERVICE_POWER… in RadioOffOrUnavailableState()
Dnetwork_search_manager.cpp514 void NetworkSearchManager::SetRadioStateValue(int32_t slotId, ModemPowerState radioState) in SetRadioStateValue()
536 return ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE; in GetRadioState()
/base/telephony/core_service/services/network_search/include/
Dradio_info.h35 …void RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) con…
36 …void UpdatePreferredNetwork(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState…
55 …void UpdateInfoOfSetRadioState(ModemPowerState &radioState, bool result, MessageParcel &data, int6…
Dnetwork_search_manager.h66 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_OFF;
205 void SetRadioStateValue(int32_t slotId, ModemPowerState radioState);
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_modem.h52 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE;
/base/telephony/cellular_call/services/common/src/
Dmodule_service_utils.cpp32 if (ret != ModemPowerState::CORE_SERVICE_POWER_ON) { in GetRadioState()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_types.h79 enum ModemPowerState { enum
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp1671 …EXPECT_EQ(networkSearchManager->GetRadioState(INVALID_SLOTID), ModemPowerState::CORE_SERVICE_POWER…
1730 …networkSearchManager->SetRadioStateValue(INVALID_SLOTID, ModemPowerState::CORE_SERVICE_POWER_NOT_A…