Searched refs:ModemPowerState (Results 1 – 9 of 9) sorted by relevance
/base/telephony/core_service/services/network_search/src/ |
D | radio_info.cpp | 53 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 …]
|
D | network_search_handler.cpp | 312 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() 439 …ModemPowerState radioState = static_cast<ModemPowerState>(networkSearchManager->GetRadioState(slot… in GetNetworkStateInfo() 488 …networkSearchManager->SetRadioState(slotId_, static_cast<bool>(ModemPowerState::CORE_SERVICE_POWER… in RadioOffOrUnavailableState()
|
D | network_search_manager.cpp | 514 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/ |
D | radio_info.h | 35 …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…
|
D | network_search_manager.h | 66 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_OFF; 205 void SetRadioStateValue(int32_t slotId, ModemPowerState radioState);
|
/base/telephony/core_service/services/tel_ril/include/ |
D | tel_ril_modem.h | 52 ModemPowerState radioState_ = ModemPowerState::CORE_SERVICE_POWER_NOT_AVAILABLE;
|
/base/telephony/cellular_call/services/common/src/ |
D | module_service_utils.cpp | 32 if (ret != ModemPowerState::CORE_SERVICE_POWER_ON) { in GetRadioState()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | telephony_types.h | 79 enum ModemPowerState { enum
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | zero_branch_test.cpp | 1671 …EXPECT_EQ(networkSearchManager->GetRadioState(INVALID_SLOTID), ModemPowerState::CORE_SERVICE_POWER… 1730 …networkSearchManager->SetRadioStateValue(INVALID_SLOTID, ModemPowerState::CORE_SERVICE_POWER_NOT_A…
|