/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/sync_strategies/ |
H A D | network_sync_strategy.cpp | 105 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 D | state_notification.cpp | 30 …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 D | cellular_data_handler.cpp | 241 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 D | network_agent_template.cpp | 87 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 D | ipc_get_info_by_network_rsp.h | 84 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 D | napi_telephony_observer.cpp | 89 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 D | softbus_agent.cpp | 84 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 D | js_work_scheduler_extension.cpp | 228 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 D | update_contexts.h | 83 int32_t networkType; member 87 networkType = info.networkType_;
|
H A D | update_infos.h | 71 CellularDataConnectState(int32_t slotId, int32_t dataState, int32_t networkType) in CellularDataConnectState() 72 : UpdateInfo(slotId), dataState_(dataState), networkType_(networkType) {} in CellularDataConnectState()
|
H A D | napi_telephony_observer.h | 35 …void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) ove…
|
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/ |
H A D | media_telephony_listener.cpp | 91 …Listener::OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument 94 "%{public}d", slotId, dataState, networkType); in OnCellularDataConnectStateUpdated()
|
H A D | media_telephony_listener.h | 41 …void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) ove…
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/ |
H A D | device_manager_agent.cpp | 182 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 D | work-scheduler.md | 76 | 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 D | telephony_observer.cpp | 39 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 D | state_notification.h | 26 …oid UpdateCellularDataConnectState(int32_t slotId, ApnProfileState dataState, int32_t networkType);
|
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/mock/include/ |
H A D | dm_device_info.h | 53 int32_t networkType; member
|
/ohos5.0/base/telephony/state_registry/services/src/ |
H A D | telephony_state_registry_service.cpp | 114 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 D | telephony_state_registry_service.h | 48 …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 D | common.cpp | 90 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 D | softbus_listener.cpp | 322 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 D | telephony_observer_proxy.h | 41 int32_t slotId, int32_t dataState, int32_t networkType);
|
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/unauthenticatedevice_fuzzer/ |
H A D | un_authenticate_device_fuzzer.cpp | 48 deviceInfo.networkType = *(reinterpret_cast<const int32_t *>(data)); in UnAuthenticateDeviceFuzzTest()
|
/ohos5.0/base/telephony/state_registry/services/telephony_ext_wrapper/include/ |
H A D | telephony_ext_wrapper.h | 39 int32_t &networkType);
|