/base/telephony/core_service/interfaces/innerkits/include/ |
D | network_state.h | 38 void SetNetworkState(RegServiceState state, DomainType domainType); 41 RegServiceState GetPsRegStatus() const; 42 RegServiceState GetCsRegStatus() const; 74 RegServiceState GetRegStatus() const; 103 RegServiceState psRegStatus_; 104 RegServiceState csRegStatus_;
|
D | network_search_types.h | 34 enum class RegServiceState { enum
|
/base/telephony/core_service/services/network_search/include/ |
D | operator_name.h | 44 …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:… 53 …RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bo… 71 RegServiceState curRegState_ = RegServiceState::REG_STATE_UNKNOWN;
|
D | network_search_state.h | 39 void SetNetworkState(RegServiceState state, DomainType domainType);
|
D | network_register.h | 59 RegServiceState ConvertRegFromRil(RilRegister code) const;
|
/base/telephony/core_service/frameworks/native/src/ |
D | network_state.cpp | 34 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/ |
D | operator_name.cpp | 64 …if (networkState != nullptr && networkState->GetRegStatus() == RegServiceState::REG_STATE_IN_SERVI… in OnReceiveEvent() 174 RegServiceState regStatus = RegServiceState::REG_STATE_UNKNOWN; in NotifySpnChanged() 189 …RegServiceState 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() 220 …RegServiceState regStatus, sptr<NetworkState> &networkState, int32_t spnRule, std::string &spn, bo… in UpdateSpn() [all …]
|
D | network_register.cpp | 108 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 …]
|
D | network_search_state.cpp | 90 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()
|
D | network_search_handler.cpp | 448 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/ |
D | sms_network_policy_manager.h | 67 int32_t voiceServiceState_ = static_cast<int32_t>(RegServiceState::REG_STATE_UNKNOWN);
|
D | sms_sender.h | 96 int32_t voiceServiceState_ = static_cast<int32_t>(RegServiceState::REG_STATE_UNKNOWN);
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
D | event_listener_handler.cpp | 40 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/ |
D | zero_branch_test.cpp | 1043 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 …]
|
D | network_search_test.cpp | 393 result->SetNetworkState(RegServiceState::REG_STATE_POWER_OFF, DomainType::DOMAIN_TYPE_CS); in PrintNetworkStateInformation()
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_handler.cpp | 428 …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/ |
D | napi_radio.cpp | 287 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/ |
D | gsm_sms_sender.cpp | 314 …if (!isImsNetDomain_ && (voiceServiceState_ != static_cast<int32_t>(RegServiceState::REG_STATE_IN_… in SendSmsToRil()
|
/base/telephony/sms_mms/services/cdma/ |
D | cdma_sms_sender.cpp | 462 …if ((!isImsNetDomain_ && voiceServiceState_ != static_cast<int32_t>(RegServiceState::REG_STATE_IN_… in SendSmsToRil()
|