/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() 152 std::unique_ptr<NetworkState> networkState = networkSearchState_->GetNetworkStatus(); in GetNetworkStatus() local 153 if (networkState != nullptr) { in GetNetworkStatus() 154 networkState_ = networkState.release(); in GetNetworkStatus() 175 sptr<NetworkState> networkState = GetNetworkStatus(); in NotifySpnChanged() local 176 if (networkState != nullptr) { in NotifySpnChanged() 177 regStatus = networkState->GetRegStatus(); in NotifySpnChanged() 182 NotifyGsmSpnChanged(regStatus, networkState); in NotifySpnChanged() 184 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/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/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/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 | 157 for (auto &networkState : networkStates) { in OnGetNetworkSearchInformation() local 161 networkState.GetOperatorNumeric().c_str(), networkState.GetOperatorShortName().c_str(), in OnGetNetworkSearchInformation() 162 …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 | 67 for (auto &networkState : operatorInfoList_) { in Marshalling() local 68 parcel.WriteParcelable(&networkState); in Marshalling()
|
D | telephony_state_registry_proxy.cpp | 230 int32_t slotId, const sptr<NetworkState> &networkState) in UpdateNetworkState() argument 241 if (networkState == nullptr || !networkState->Marshalling(in)) { in UpdateNetworkState()
|
/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 | 610 const sptr<NetworkState> &networkState = networkStateUpdateInfo->networkState; in WorkNetworkStateUpdated() local 612 std::string longOperatorName = networkState->GetLongOperatorName(); in WorkNetworkStateUpdated() 613 std::string shortOperatorName = networkState->GetShortOperatorName(); in WorkNetworkStateUpdated() 614 std::string plmnNumeric = networkState->GetPlmnNumeric(); in WorkNetworkStateUpdated() 615 bool isRoaming = networkState->IsRoaming(); in WorkNetworkStateUpdated() 616 int32_t regStatus = static_cast<int32_t>(networkState->GetRegStatus()); in WorkNetworkStateUpdated() 617 bool isEmergency = networkState->IsEmergency(); in WorkNetworkStateUpdated() 618 int32_t cfgTech = static_cast<int32_t>(networkState->GetCfgTech()); in WorkNetworkStateUpdated() 619 int32_t nsaState = static_cast<int32_t>(networkState->GetNrState()); in WorkNetworkStateUpdated()
|
/base/telephony/state_registry/frameworks/js/napi/include/ |
D | update_contexts.h | 51 sptr<NetworkState> networkState; member 54 networkState = info.networkState_;
|
D | napi_telephony_observer.h | 32 void OnNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) override;
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | telephony_state_registry_proxy.h | 34 int32_t slotId, int32_t dataState, int32_t networkState) override; 46 int32_t slotId, const sptr<NetworkState> &networkState) override;
|
D | i_telephony_state_notify.h | 47 int32_t slotId, int32_t dataState, int32_t networkState) = 0; 120 int32_t slotId, const sptr<NetworkState> &networkState) = 0;
|
D | telephony_state_registry_client.h | 31 int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkState); 37 int32_t UpdateNetworkState(int32_t slotId, const sptr<NetworkState> &networkState);
|
D | telephony_observer_broker.h | 48 int32_t slotId, const sptr<NetworkState> &networkState) = 0;
|
/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 110 sptr<NetworkState> networkState = NetworkState::Unmarshalling(data); in OnNetworkStateUpdatedInner() local 111 OnNetworkStateUpdated(slotId, networkState); in OnNetworkStateUpdatedInner()
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.cpp | 171 int32_t networkState = 1; in UpdateCellularDataConnectState() local 173 slotId, dataState, networkState); in UpdateCellularDataConnectState() 203 std::unique_ptr<NetworkState> networkState = std::make_unique<NetworkState>(); in UpdateNetworkState() local 204 ASSERT_TRUE(networkState != nullptr); in UpdateNetworkState() 206 slotId, networkState.release()); in UpdateNetworkState() 577 std::unique_ptr<NetworkState> networkState = std::make_unique<NetworkState>(); variable 578 ASSERT_TRUE(networkState != nullptr); 579 (networkState.release())->Marshalling(dataParcel);
|
D | state_registry_observer.h | 38 void OnNetworkStateUpdated(int32_t slotId, const sptr<NetworkState> &networkState) in OnNetworkStateUpdated() argument
|
/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/service/include/ |
D | telephony_state_registry_service.h | 54 int32_t UpdateNetworkState(int32_t slotId, const sptr<NetworkState> &networkState) override; 80 void SendNetworkStateChanged(int32_t slotId, const sptr<NetworkState> &networkState);
|