Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/core_service/services/network_search/src/
H A 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()
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()
120 if (radioState != ModemPowerState::CORE_SERVICE_POWER_ON) { in RadioFirstPowerOn()
229 if (static_cast<ModemPowerState>(radioState) != CORE_SERVICE_POWER_NOT_AVAILABLE) { in UpdatePhone()
239 if (static_cast<ModemPowerState>(radioState) == CORE_SERVICE_POWER_ON) { in UpdatePhone()
510 ModemPowerState &radioState, bool result, MessageParcel &data, int64_t index) const in UpdateInfoOfSetRadioState()
520 nsm->SetRadioStateValue(slotId_, static_cast<ModemPowerState>(callbackInfo->param_)); in UpdateInfoOfSetRadioState()
[all …]
H A Dnetwork_search_handler.cpp536 networkSearchManager->SetRadioStateValue(slotId_, (ModemPowerState)radioState); in RadioStateChange()
561 …networkSearchManager->SetRadioState(slotId_, static_cast<bool>(ModemPowerState::CORE_SERVICE_POWER… in SetRadioOffWhenAirplaneIsOn()
585 …networkSearchManager->GetRadioState(slotId_) == static_cast<int>(ModemPowerState::CORE_SERVICE_POW… in RadioRilDataRegState()
616 …networkSearchManager->GetRadioState(slotId_) == static_cast<int>(ModemPowerState::CORE_SERVICE_POW… in RadioRilVoiceRegState()
659 …networkSearchManager->GetRadioState(slotId_) == static_cast<int>(ModemPowerState::CORE_SERVICE_POW… in RadioRilOperator()
731ModemPowerState radioState = static_cast<ModemPowerState>(networkSearchManager->GetRadioState(slot… in GetNetworkStateInfo()
764 …networkSearchManager->SetRadioState(slotId_, static_cast<bool>(ModemPowerState::CORE_SERVICE_POWER… in RadioOnWhenHasSim()
1468 … satelliteStatus->slotId, static_cast<int32_t>(ModemPowerState::CORE_SERVICE_POWER_ON), 0); in SatelliteStatusChanged()
H A Dnetwork_search_manager.cpp556 void NetworkSearchManager::SetRadioStateValue(int32_t slotId, ModemPowerState radioState) in SetRadioStateValue()
578 return ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE; in GetRadioState()
/ohos5.0/base/telephony/core_service/services/network_search/include/
H A Dradio_info.h37 …void RadioFirstPowerOn(std::shared_ptr<NetworkSearchManager> &nsm, ModemPowerState radioState) con…
57 …void UpdateInfoOfSetRadioState(ModemPowerState &radioState, bool result, MessageParcel &data, int6…
H A Dnetwork_search_manager.h67 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_OFF;
230 void SetRadioStateValue(int32_t slotId, ModemPowerState radioState);
/ohos5.0/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_modem.h55 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE;
/ohos5.0/base/telephony/cellular_call/services/utils/src/
H A Dmodule_service_utils.cpp31 if (ret != ModemPowerState::CORE_SERVICE_POWER_ON) { in GetRadioState()
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtelephony_types.h106 enum ModemPowerState { enum
/ohos5.0/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_modem.cpp133 result = RadioStateUpdated(ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE); in OnRilAdapterHostDied()
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsatellite_service_test.cpp184 …int32_t ret = proxy.SetRadioState(slotId_, static_cast<int32_t>(ModemPowerState::CORE_SERVICE_POWE…
H A Dzero_branch_test.cpp1792 …auto radioState = std::make_shared<Int32Parcel>(ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE);
2068 …EXPECT_EQ(networkSearchManager->GetRadioState(INVALID_SLOTID), ModemPowerState::CORE_SERVICE_POWER…
2137 …networkSearchManager->SetRadioStateValue(INVALID_SLOTID, ModemPowerState::CORE_SERVICE_POWER_NOT_A…
2362 telRilModem->RadioStateUpdated(ModemPowerState::CORE_SERVICE_POWER_ON);
3295 radioInfo->RadioFirstPowerOn(nsm, ModemPowerState::CORE_SERVICE_POWER_OFF);
/ohos5.0/base/telephony/core_service/test/unittest/tel_ril_gtest/
H A Dzero_branch_test_tel_ril.cpp80 … telRilManager->GetTelRilModem(SLOT_ID)->RadioStateUpdated(ModemPowerState::CORE_SERVICE_POWER_ON);
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dsim_state_handle.cpp955 if (radioState == ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE) { in IsRadioStateUnavailable()