/base/telephony/state_registry/test/fuzztest/telephonyobserver_fuzzer/ |
D | telephonyobserver_fuzzer.cpp | 104 auto networkState = std::make_shared<NetworkState>(); in NetworkStateUpdatedInner() local 105 if (networkState == nullptr) { in NetworkStateUpdatedInner() 108 networkState->isEmergency_ = static_cast<int32_t>(size % BOOL_NUM); in NetworkStateUpdatedInner() 112 networkState->psOperatorInfo_.operatorNumeric = mOperatorNumeric; in NetworkStateUpdatedInner() 113 networkState->psOperatorInfo_.fullName = mFullName; in NetworkStateUpdatedInner() 114 networkState->psOperatorInfo_.shortName = mShortName; in NetworkStateUpdatedInner() 115 networkState->csOperatorInfo_.operatorNumeric = mOperatorNumeric; in NetworkStateUpdatedInner() 116 networkState->csOperatorInfo_.fullName = mFullName; in NetworkStateUpdatedInner() 117 networkState->csOperatorInfo_.shortName = mShortName; in NetworkStateUpdatedInner() 118 networkState->csRoaming_ = static_cast<RoamingType>(size % ROAMING_NUM); in NetworkStateUpdatedInner() [all …]
|
/base/telephony/core_service/services/network_search/src/ |
D | operator_name.cpp | 63 sptr<NetworkState> networkState = GetNetworkStatus(); in OnReceiveEvent() local 64 …if (networkState != nullptr && networkState->GetRegStatus() == RegServiceState::REG_STATE_IN_SERVI… in OnReceiveEvent() 150 std::unique_ptr<NetworkState> networkState = networkSearchState_->GetNetworkStatus(); in GetNetworkStatus() local 151 if (networkState != nullptr) { in GetNetworkStatus() 152 networkState_ = networkState.release(); in GetNetworkStatus() 173 sptr<NetworkState> networkState = GetNetworkStatus(); in NotifySpnChanged() local 174 if (networkState != nullptr) { in NotifySpnChanged() 175 regStatus = networkState->GetRegStatus(); in NotifySpnChanged() 180 NotifyGsmSpnChanged(regStatus, networkState); in NotifySpnChanged() 182 NotifyCdmaSpnChanged(regStatus, networkState); in NotifySpnChanged() [all …]
|
D | network_search_notify.cpp | 29 …workSearchNotify::NotifyNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) in NotifyNetworkStateUpdated() argument 31 if (networkState == nullptr) { in NotifyNetworkStateUpdated() 36 …RefSingleton<TelephonyStateRegistryClient>::GetInstance().UpdateNetworkState(slotId, networkState); in NotifyNetworkStateUpdated() 37 TELEPHONY_LOGD("NotifyNetworkStateUpdated ret %{public}s", networkState->ToString().c_str()); in NotifyNetworkStateUpdated()
|
/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_callback_impl.cpp | 60 sptr<NetworkState> networkState = nullptr; in NetCapabilitiesChange() local 61 CoreServiceClient::GetInstance().GetNetworkState(slotId, networkState); in NetCapabilitiesChange() 62 if (networkState != nullptr) { in NetCapabilitiesChange() 63 radioTech = networkState->GetPsRadioTech(); in NetCapabilitiesChange() 65 subtype = NetConnectUtils::ConvertToConnectsubtype(networkState->GetPsRadioTech()); in NetCapabilitiesChange()
|
D | net_connect_adapter_impl.cpp | 99 sptr<NetworkState> networkState = nullptr; in GetDefaultNetConnect() local 100 CoreServiceClient::GetInstance().GetNetworkState(slotId, networkState); in GetDefaultNetConnect() 101 if (networkState != nullptr) { in GetDefaultNetConnect() 102 radioTech = networkState->GetPsRadioTech(); in GetDefaultNetConnect()
|
/base/telephony/core_service/services/network_search/test/ |
D | network_search_test_callback_stub.cpp | 69 for (auto &networkState : networkStates) { in OnGetNetworkSearchInformation() local 73 … networkState.GetOperatorNumeric().c_str(), networkState.GetOperatorShortName().c_str(), in OnGetNetworkSearchInformation() 74 networkState.GetRadioTech()); in OnGetNetworkSearchInformation()
|
/base/telephony/state_registry/test/fuzztest/telephonystateregistry_fuzzer/ |
D | telephonystateregistry_fuzzer.cpp | 287 auto networkState = std::make_unique<NetworkState>(); in UpdateNetworkState() local 288 if (networkState == nullptr) { in UpdateNetworkState() 291 networkState->isEmergency_ = static_cast<int32_t>(size % BOOL_NUM); in UpdateNetworkState() 295 networkState->psOperatorInfo_.operatorNumeric = mOperatorNumeric; in UpdateNetworkState() 296 networkState->psOperatorInfo_.fullName = mFullName; in UpdateNetworkState() 297 networkState->psOperatorInfo_.shortName = mShortName; in UpdateNetworkState() 298 networkState->csOperatorInfo_.operatorNumeric = mOperatorNumeric; in UpdateNetworkState() 299 networkState->csOperatorInfo_.fullName = mFullName; in UpdateNetworkState() 300 networkState->csOperatorInfo_.shortName = mShortName; in UpdateNetworkState() 301 networkState->csRoaming_ = static_cast<RoamingType>(size % ROAMING_NUM); in UpdateNetworkState() [all …]
|
/base/telephony/core_service/services/network_search/include/ |
D | operator_name.h | 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… 59 std::string GetPlmn(const sptr<NetworkState> &networkState, bool longNameRequired);
|
D | network_search_notify.h | 29 void NotifyNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState);
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test_callback_stub.cpp | 179 for (auto &networkState : networkStates) { in OnGetNetworkSearchInformation() local 183 networkState.GetOperatorNumeric().c_str(), networkState.GetOperatorShortName().c_str(), in OnGetNetworkSearchInformation() 184 …networkState.GetOperatorLongName().c_str(), networkState.GetRadioTech(), networkState.GetNetworkSt… in OnGetNetworkSearchInformation()
|
/base/telephony/core_service/frameworks/native/src/ |
D | telephony_state_registry_client.cpp | 83 int32_t slotId, int32_t dataState, int32_t networkState) in UpdateCellularDataConnectState() argument 90 return proxy->UpdateCellularDataConnectState(slotId, dataState, networkState); in UpdateCellularDataConnectState() 148 int32_t slotId, const sptr<NetworkState> &networkState) in UpdateNetworkState() argument 155 return proxy->UpdateNetworkState(slotId, networkState); in UpdateNetworkState()
|
D | network_search_result.cpp | 71 for (auto &networkState : operatorInfoList_) { in Marshalling() local 72 parcel.WriteParcelable(&networkState); in Marshalling()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | i_telephony_state_notify.h | 33 …nt32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkState) = 0; 102 virtual int32_t UpdateNetworkState(int32_t slotId, const sptr<NetworkState> &networkState) = 0;
|
D | telephony_state_registry_client.h | 39 int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkState); 83 int32_t UpdateNetworkState(int32_t slotId, const sptr<NetworkState> &networkState);
|
D | telephony_state_registry_proxy.h | 35 int32_t slotId, int32_t dataState, int32_t networkState) override; 47 int32_t slotId, const sptr<NetworkState> &networkState) override;
|
D | telephony_observer_broker.h | 51 int32_t slotId, const sptr<NetworkState> &networkState) = 0;
|
/base/telephony/state_registry/frameworks/js/napi/include/ |
D | update_contexts.h | 51 sptr<NetworkState> networkState = nullptr; member 54 networkState = info.networkState_;
|
D | napi_telephony_observer.h | 32 void OnNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) override;
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
D | napi_telephony_observer.cpp | 49 …apiTelephonyObserver::OnNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) in OnNetworkStateUpdated() argument 52 …workStateUpdated slotId = %{public}d, networkState = %{public}d", slotId, networkState == nullptr); in OnNetworkStateUpdated() 54 std::make_unique<NetworkStateUpdateInfo>(slotId, networkState); in OnNetworkStateUpdated()
|
D | event_listener_handler.cpp | 652 const sptr<NetworkState> &networkState = networkStateUpdateInfo->networkState; in WorkNetworkStateUpdated() local 654 std::string longOperatorName = networkState->GetLongOperatorName(); in WorkNetworkStateUpdated() 655 std::string shortOperatorName = networkState->GetShortOperatorName(); in WorkNetworkStateUpdated() 656 std::string plmnNumeric = networkState->GetPlmnNumeric(); in WorkNetworkStateUpdated() 657 bool isRoaming = networkState->IsRoaming(); in WorkNetworkStateUpdated() 658 int32_t regStatus = static_cast<int32_t>(networkState->GetRegStatus()); in WorkNetworkStateUpdated() 659 bool isEmergency = networkState->IsEmergency(); in WorkNetworkStateUpdated() 660 int32_t cfgTech = static_cast<int32_t>(networkState->GetCfgTech()); in WorkNetworkStateUpdated() 661 int32_t nsaState = static_cast<int32_t>(networkState->GetNrState()); in WorkNetworkStateUpdated()
|
/base/telephony/state_registry/frameworks/native/observer/include/ |
D | telephony_observer_proxy.h | 35 int32_t slotId, const sptr<NetworkState> &networkState);
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.cpp | 175 int32_t networkState = 1; in UpdateCellularDataConnectState() local 177 slotId, dataState, networkState); in UpdateCellularDataConnectState() 207 std::unique_ptr<NetworkState> networkState = std::make_unique<NetworkState>(); in UpdateNetworkState() local 208 ASSERT_TRUE(networkState != nullptr); in UpdateNetworkState() 210 slotId, networkState.release()); in UpdateNetworkState() 689 std::unique_ptr<NetworkState> networkState = std::make_unique<NetworkState>(); variable 690 ASSERT_TRUE(networkState != nullptr); 691 (networkState.release())->Marshalling(dataParcel);
|
D | state_registry_observer.h | 41 void OnNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) in OnNetworkStateUpdated() argument
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
D | telephony_observer_proxy.cpp | 150 int32_t slotId, const sptr<NetworkState> &networkState) in OnNetworkStateUpdated() argument 161 if (networkState != nullptr) { in OnNetworkStateUpdated() 162 networkState->Marshalling(dataParcel); in OnNetworkStateUpdated()
|
D | telephony_observer.cpp | 30 int32_t slotId, const sptr<NetworkState> &networkState) {} in OnNetworkStateUpdated() argument 120 sptr<NetworkState> networkState = NetworkState::Unmarshalling(data); in OnNetworkStateUpdatedInner() local 121 OnNetworkStateUpdated(slotId, networkState); in OnNetworkStateUpdatedInner()
|