Home
last modified time | relevance | path

Searched refs:networkType (Results 1 – 25 of 91) sorted by relevance

1234

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/sync_strategies/
H A Dnetwork_sync_strategy.cpp105 auto networkType = DeviceManagerAdapter::GetInstance().GetNetworkType(); in Check() local
106 if (networkType == DeviceManagerAdapter::NONE) { in Check()
107 networkType = DeviceManagerAdapter::GetInstance().GetNetworkType(true); in Check()
109 switch (networkType) { in Check()
116 … ZLOGD("verification failed! strategy:%{public}d, networkType:%{public}d", strategy, networkType); in Check()
/ohos5.0/base/telephony/cellular_data/services/src/
H A Dstate_notification.cpp30 …ion::UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType) in UpdateCellularDataConnectState() argument
35 …d = %{public}d, wrapState = %{public}d, networkType = %{public}d", slotId, wrapState, networkType); in UpdateCellularDataConnectState()
36 …yStateRegistryClient::GetInstance().UpdateCellularDataConnectState(slotId, wrapState, networkType); in UpdateCellularDataConnectState()
H A Dcellular_data_handler.cpp241 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in ClearAllConnections() local
242 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, networkType); in ClearAllConnections()
244 slotId_, PROFILE_STATE_DISCONNECTING, networkType); in ClearAllConnections()
758 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in EstablishDataConnectionComplete() local
759 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, networkType); in EstablishDataConnectionComplete()
764 slotId_, apnState, networkType); in EstablishDataConnectionComplete()
855 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in DisconnectDataComplete() local
856 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, networkType); in DisconnectDataComplete()
1541 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in IsRestrictedMode() local
1542 CoreManagerInner::GetInstance().GetPsRadioTech(slotId_, networkType); in IsRestrictedMode()
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dnetwork_agent_template.cpp87 int32_t networkType; in ConnectOnlineDevices() local
88 int errCode = deviceManager.GetNetworkTypeByNetworkId(pkgName, info.GetCid(), networkType); in ConnectOnlineDevices()
93 … if (!(static_cast<uint32_t>(networkType) & (1 << DistributedHardware::BIT_NETWORK_TYPE_WIFI))) { in ConnectOnlineDevices()
94 LOGI("not wifi network networkType = %{public}d == %{public}d", networkType, in ConnectOnlineDevices()
/ohos5.0/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_get_info_by_network_rsp.h84 void SetNetworkType(const int32_t &networkType) in SetNetworkType() argument
86 networkType_ = networkType; in SetNetworkType()
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/src/
H A Dnapi_telephony_observer.cpp89 int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
93 slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
95 std::make_unique<CellularDataConnectState>(slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_agent.cpp84 int32_t networkType; in JudgeNetworkTypeIsWifi() local
86 …rCode = deviceManager.GetNetworkTypeByNetworkId(IDaemon::SERVICE_NAME, info.GetCid(), networkType); in JudgeNetworkTypeIsWifi()
91 if (!(static_cast<uint32_t>(networkType) & (1 << DistributedHardware::BIT_NETWORK_TYPE_WIFI))) { in JudgeNetworkTypeIsWifi()
92 LOGI("not wifi network networkType = %{public}d == %{public}d", networkType, in JudgeNetworkTypeIsWifi()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
H A Djs_work_scheduler_extension.cpp228 void SetNetWorkInfo(napi_env env, napi_value workInfoData, WorkCondition::Network networkType) in SetNetWorkInfo() argument
230 if (networkType != WorkCondition::Network::NETWORK_UNKNOWN) { in SetNetWorkInfo()
232 napi_create_int32(env, networkType, &networkTypeValue); in SetNetWorkInfo()
353 WorkCondition::Network networkType = workInfo.GetNetworkType(); in OnWorkStart() local
378 SetNetWorkInfo(env, workInfoData, networkType); in OnWorkStart()
405 WorkCondition::Network networkType = workInfo.GetNetworkType(); in OnWorkStop() local
430 SetNetWorkInfo(env, workInfoData, networkType); in OnWorkStop()
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/include/
H A Dupdate_contexts.h83 int32_t networkType; member
87 networkType = info.networkType_;
H A Dupdate_infos.h71 CellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) in CellularDataConnectState()
72 : UpdateInfo(slotId), dataState_(dataState), networkType_(networkType) {} in CellularDataConnectState()
H A Dnapi_telephony_observer.h35 …void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) ove…
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/
H A Dmedia_telephony_listener.cpp91 …Listener::OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument
94 "%{public}d", slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
H A Dmedia_telephony_listener.h41 …void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) ove…
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/
H A Ddevice_manager_agent.cpp182 int32_t networkType = 0; in GetNetworkType() local
185 int errCode = deviceManager.GetNetworkTypeByNetworkId(pkgName, cid, networkType); in GetNetworkType()
190 return networkType; in GetNetworkType()
193 bool DeviceManagerAgent::IsWifiNetworkType(int32_t networkType) in IsWifiNetworkType() argument
195 if ((networkType == -1) || in IsWifiNetworkType()
196 !(static_cast<uint32_t>(networkType) & (1 << DistributedHardware::BIT_NETWORK_TYPE_WIFI))) { in IsWifiNetworkType()
705 if (deviceInfo.networkType == -1) { in OnDeviceChanged()
733 int32_t newNetworkType = type_->second = deviceInfo.networkType; in OnDeviceChanged()
/ohos5.0/docs/zh-cn/application-dev/task-management/
H A Dwork-scheduler.md76 | networkType | [NetworkType](../reference/apis-backgroundtasks-kit/js-apis-resourceschedule-wo…
183 networkType: workScheduler.NetworkType.NETWORK_TYPE_WIFI,
202 networkType: workScheduler.NetworkType.NETWORK_TYPE_WIFI,
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/src/
H A Dtelephony_observer.cpp39 int32_t slotId, int32_t dataState, int32_t networkType) {} in OnCellularDataConnectStateUpdated() argument
148 int32_t networkType = data.ReadInt32(); in OnCellularDataConnectStateUpdatedInner() local
149 OnCellularDataConnectStateUpdated(slotId, dataState, networkType); in OnCellularDataConnectStateUpdatedInner()
/ohos5.0/base/telephony/cellular_data/services/include/
H A Dstate_notification.h26 …oid UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType);
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/mock/include/
H A Ddm_device_info.h53 int32_t networkType; member
/ohos5.0/base/telephony/state_registry/services/src/
H A Dtelephony_state_registry_service.cpp114 int32_t slotId, int32_t dataState, int32_t networkType) in UpdateCellularDataConnectState() argument
126 cellularDataConnectionNetworkType_[slotId] = networkType; in UpdateCellularDataConnectState()
133 int32_t networkTypeExt = networkType; in UpdateCellularDataConnectState()
137 … record.telephonyObserver_->OnCellularDataConnectStateUpdated(slotId, dataState, networkType); in UpdateCellularDataConnectState()
142 SendCellularDataConnectStateChanged(slotId, dataState, networkType); in UpdateCellularDataConnectState()
654 int32_t slotId, int32_t dataState, int32_t networkType) in SendCellularDataConnectStateChanged() argument
659 want.SetParam("networkType", networkType); in SendCellularDataConnectStateChanged()
/ohos5.0/base/telephony/state_registry/services/include/
H A Dtelephony_state_registry_service.h48 …int32_t UpdateCellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) ove…
87 … void SendCellularDataConnectStateChanged(int32_t slotId, int32_t dataState, int32_t networkType);
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp90 int32_t networkType = GetIntProperty(env, objValue, "networkType", E_NETWORK_TYPE_ERR); in GetNetWorkInfo() local
91 if (networkType == UNSET_INT_PARAM) { in GetNetWorkInfo()
93 } else if (networkType >= WorkCondition::Network::NETWORK_TYPE_ANY && in GetNetWorkInfo()
94 networkType <= WorkCondition::Network::NETWORK_TYPE_ETHERNET) { in GetNetWorkInfo()
95 workInfo.RequestNetworkType(WorkCondition::Network(networkType)); in GetNetWorkInfo()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp322 int32_t networkType = -1; in OnSoftbusDeviceInfoChanged() local
325 reinterpret_cast<uint8_t *>(&networkType), LNN_COMMON_LEN) != DM_OK) { in OnSoftbusDeviceInfoChanged()
329 LOGI("OnSoftbusDeviceInfoChanged NetworkType %{public}d.", networkType); in OnSoftbusDeviceInfoChanged()
333 dmDeviceInfo.networkType = networkType; in OnSoftbusDeviceInfoChanged()
829 int32_t SoftbusListener::GetNetworkTypeByNetworkId(const char *networkId, int32_t &networkType) in GetNetworkTypeByNetworkId() argument
838 networkType = tempNetworkType; in GetNetworkTypeByNetworkId()
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/include/
H A Dtelephony_observer_proxy.h41 int32_t slotId, int32_t dataState, int32_t networkType);
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/unauthenticatedevice_fuzzer/
H A Dun_authenticate_device_fuzzer.cpp48 deviceInfo.networkType = *(reinterpret_cast<const int32_t *>(data)); in UnAuthenticateDeviceFuzzTest()
/ohos5.0/base/telephony/state_registry/services/telephony_ext_wrapper/include/
H A Dtelephony_ext_wrapper.h39 int32_t &networkType);

1234