Home
last modified time | relevance | path

Searched refs:RegServiceState (Results 1 – 19 of 19) sorted by relevance

/base/telephony/core_service/interfaces/innerkits/include/
Dnetwork_state.h38 void SetNetworkState(RegServiceState state, DomainType domainType);
41 RegServiceState GetPsRegStatus() const;
42 RegServiceState GetCsRegStatus() const;
74 RegServiceState GetRegStatus() const;
103 RegServiceState psRegStatus_;
104 RegServiceState csRegStatus_;
Dnetwork_search_types.h34 enum class RegServiceState { enum
/base/telephony/core_service/services/network_search/include/
Doperator_name.h44 …void PublishEvent(int32_t rule, RegServiceState state, bool showPlmn, const std::string &plmn, boo…
47 void NotifyGsmSpnChanged(RegServiceState regStatus, sptr<NetworkState> &networkState);
48 void NotifyCdmaSpnChanged(RegServiceState regStatus, sptr<NetworkState> &networkState);
50 …void UpdatePlmn(RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std:…
53RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bo…
71 RegServiceState curRegState_ = RegServiceState::REG_STATE_UNKNOWN;
Dnetwork_search_state.h39 void SetNetworkState(RegServiceState state, DomainType domainType);
Dnetwork_register.h59 RegServiceState ConvertRegFromRil(RilRegister code) const;
/base/telephony/core_service/frameworks/native/src/
Dnetwork_state.cpp34 psRegStatus_ = RegServiceState::REG_STATE_UNKNOWN; in Init()
35 csRegStatus_ = RegServiceState::REG_STATE_UNKNOWN; in Init()
73 psRegStatus_ = static_cast<RegServiceState>(parcel.ReadInt32()); in ReadFromParcel()
74 csRegStatus_ = static_cast<RegServiceState>(parcel.ReadInt32()); in ReadFromParcel()
186 RegServiceState NetworkState::GetRegStatus() const in GetRegStatus()
188 if (psRegStatus_ == RegServiceState::REG_STATE_IN_SERVICE) { in GetRegStatus()
221 RegServiceState NetworkState::GetPsRegStatus() const in GetPsRegStatus()
226 RegServiceState NetworkState::GetCsRegStatus() const in GetCsRegStatus()
259 void NetworkState::SetNetworkState(RegServiceState state, DomainType domainType) in SetNetworkState()
/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp64 …if (networkState != nullptr && networkState->GetRegStatus() == RegServiceState::REG_STATE_IN_SERVI… in OnReceiveEvent()
174 RegServiceState regStatus = RegServiceState::REG_STATE_UNKNOWN; in NotifySpnChanged()
189RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &plmn, b… in UpdatePlmn()
193 case RegServiceState::REG_STATE_IN_SERVICE: in UpdatePlmn()
199 case RegServiceState::REG_STATE_NO_SERVICE: in UpdatePlmn()
200 case RegServiceState::REG_STATE_EMERGENCY_ONLY: in UpdatePlmn()
201 case RegServiceState::REG_STATE_SEARCH: in UpdatePlmn()
209 case RegServiceState::REG_STATE_UNKNOWN: in UpdatePlmn()
210 case RegServiceState::REG_STATE_POWER_OFF: in UpdatePlmn()
220RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bo… in UpdateSpn()
[all …]
Dnetwork_register.cpp108 RegServiceState regStatus = ConvertRegFromRil(registrationStatus); in ProcessCsRegister()
114 …networkSearchState_->SetEmergency((regStatus == RegServiceState::REG_STATE_EMERGENCY_ONLY) && isCs… in ProcessCsRegister()
153 RegServiceState regStatus = ConvertRegFromRil(registrationStatus); in ProcessPsRegister()
159 …networkSearchState_->SetEmergency((regStatus == RegServiceState::REG_STATE_EMERGENCY_ONLY) && isCs… in ProcessPsRegister()
342 RegServiceState NetworkRegister::ConvertRegFromRil(RilRegister code) const in ConvertRegFromRil()
346 return RegServiceState::REG_STATE_SEARCH; in ConvertRegFromRil()
349 return RegServiceState::REG_STATE_NO_SERVICE; in ConvertRegFromRil()
351 return RegServiceState::REG_STATE_UNKNOWN; in ConvertRegFromRil()
354 return RegServiceState::REG_STATE_IN_SERVICE; in ConvertRegFromRil()
356 return RegServiceState::REG_STATE_EMERGENCY_ONLY; in ConvertRegFromRil()
[all …]
Dnetwork_search_state.cpp90 void NetworkSearchState::SetNetworkState(RegServiceState state, DomainType domainType) in SetNetworkState()
266 if (networkState_->GetPsRegStatus() == RegServiceState::REG_STATE_IN_SERVICE && in NotifyPsRegStatusChange()
267 networkStateOld_->GetPsRegStatus() != RegServiceState::REG_STATE_IN_SERVICE) { in NotifyPsRegStatusChange()
270 if (networkState_->GetPsRegStatus() != RegServiceState::REG_STATE_IN_SERVICE && in NotifyPsRegStatusChange()
271 networkStateOld_->GetPsRegStatus() == RegServiceState::REG_STATE_IN_SERVICE) { in NotifyPsRegStatusChange()
Dnetwork_search_handler.cpp448 RegServiceState regState = radioState == CORE_SERVICE_POWER_OFF ? in RadioOffOrUnavailableState()
449 RegServiceState::REG_STATE_POWER_OFF : RegServiceState::REG_STATE_NO_SERVICE; in RadioOffOrUnavailableState()
/base/telephony/sms_mms/services/include/
Dsms_network_policy_manager.h67 int32_t voiceServiceState_ = static_cast<int32_t>(RegServiceState::REG_STATE_UNKNOWN);
Dsms_sender.h96 int32_t voiceServiceState_ = static_cast<int32_t>(RegServiceState::REG_STATE_UNKNOWN);
/base/telephony/state_registry/frameworks/js/napi/src/
Devent_listener_handler.cpp40 RegServiceState state = static_cast<RegServiceState>(nativeState); in WrapRegState()
42 case RegServiceState::REG_STATE_NO_SERVICE: in WrapRegState()
43 case RegServiceState::REG_STATE_SEARCH: { in WrapRegState()
46 case RegServiceState::REG_STATE_IN_SERVICE: { in WrapRegState()
49 case RegServiceState::REG_STATE_EMERGENCY_ONLY: { in WrapRegState()
52 case RegServiceState::REG_STATE_UNKNOWN: { in WrapRegState()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp1043 RegServiceState::REG_STATE_SEARCH);
1045 RegServiceState::REG_STATE_NO_SERVICE);
1047 RegServiceState::REG_STATE_NO_SERVICE);
1049 RegServiceState::REG_STATE_UNKNOWN);
1051 RegServiceState::REG_STATE_IN_SERVICE);
1053 RegServiceState::REG_STATE_IN_SERVICE);
1055 RegServiceState::REG_STATE_EMERGENCY_ONLY);
1103 operatorName->NotifyGsmSpnChanged(RegServiceState::REG_STATE_IN_SERVICE, networkState);
1104 operatorName->NotifyCdmaSpnChanged(RegServiceState::REG_STATE_IN_SERVICE, networkState);
1110 … operatorName->UpdatePlmn(RegServiceState::REG_STATE_IN_SERVICE, networkState, 1, plmn, showPlmn);
[all …]
Dnetwork_search_test.cpp393 result->SetNetworkState(RegServiceState::REG_STATE_POWER_OFF, DomainType::DOMAIN_TYPE_CS); in PrintNetworkStateInformation()
/base/telephony/cellular_data/services/src/
Dcellular_data_handler.cpp428 …bool attached = coreInner.GetPsRegState(slotId_) == (int32_t)RegServiceState::REG_STATE_IN_SERVICE; in CheckAttachAndSimState()
1049 …bool attached = coreInner.GetPsRegState(slotId_) == (int32_t)RegServiceState::REG_STATE_IN_SERVICE; in PsDataRatChanged()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp287 RegServiceState state = static_cast<RegServiceState>(nativeState); in WrapRegState()
289 case RegServiceState::REG_STATE_IN_SERVICE: { in WrapRegState()
292 case RegServiceState::REG_STATE_EMERGENCY_ONLY: { in WrapRegState()
295 case RegServiceState::REG_STATE_POWER_OFF: { in WrapRegState()
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_sender.cpp314 …if (!isImsNetDomain_ && (voiceServiceState_ != static_cast<int32_t>(RegServiceState::REG_STATE_IN_… in SendSmsToRil()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_sender.cpp462 …if ((!isImsNetDomain_ && voiceServiceState_ != static_cast<int32_t>(RegServiceState::REG_STATE_IN_… in SendSmsToRil()