/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()
|
/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()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/ |
H A D | network_agent_template.cpp | 94 int32_t networkType; in ConnectOnlineDevices() local 95 int errCode = deviceManager.GetNetworkTypeByNetworkId(pkgName, info.GetCid(), networkType); in ConnectOnlineDevices() 100 if (!(static_cast<uint32_t>(networkType) & (1 << DistributedHardware::BIT_NETWORK_TYPE_WIFI))) { in ConnectOnlineDevices() 101 LOGI("not wifi network networkType = %{public}d == %{public}d", networkType, in ConnectOnlineDevices()
|
/foundation/multimedia/player_framework/services/services/observer/ |
H A D | media_telephony_listener.cpp | 91 void MediaTelephonyListener::OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) in OnCellularDataConnectStateUpdated() argument 93 MEDIA_LOGI("OnCellularDataConnectStateUpdated slotId=%{public}d, dataState=%{public}d, networkType=" in OnCellularDataConnectStateUpdated() 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) override;
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_agent.cpp | 77 int32_t networkType; in JudgeNetworkTypeIsWifi() local 79 int errCode = deviceManager.GetNetworkTypeByNetworkId(IDaemon::SERVICE_NAME, info.GetCid(), networkType); in JudgeNetworkTypeIsWifi() 84 if (!(static_cast<uint32_t>(networkType) & (1 << DistributedHardware::BIT_NETWORK_TYPE_WIFI))) { in JudgeNetworkTypeIsWifi() 85 LOGI("not wifi network networkType = %{public}d == %{public}d", networkType, in JudgeNetworkTypeIsWifi()
|
/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() 233 napi_set_named_property(env, workInfoData, "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()
|
/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() 237 LOGE("cid %{public}s networkType:%{public}d", Utils::GetAnonyString(info.cid_).c_str(), type_->second); in OnDeviceReady() 755 if (deviceInfo.networkType == -1) { in OnDeviceChanged() 783 int32_t newNetworkType = type_->second = deviceInfo.networkType; in OnDeviceChanged()
|
/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()
|
/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() 92 WS_HILOGD("Unset networkType."); 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() 476 napi_set_named_property(env, napiWork, "networkType", napiNetworkType); in GetConditionInfo()
|
/foundation/distributedhardware/device_manager/services/service/src/softbus/ |
H A D | softbus_listener.cpp | 327 int32_t networkType = -1; in OnSoftbusDeviceInfoChanged() local 330 reinterpret_cast<uint8_t *>(&networkType), LNN_COMMON_LEN) != DM_OK) { in OnSoftbusDeviceInfoChanged() 331 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in OnSoftbusDeviceInfoChanged() 334 LOGI("OnSoftbusDeviceInfoChanged NetworkType %{public}d.", networkType); in OnSoftbusDeviceInfoChanged() 338 dmDeviceInfo.networkType = networkType; in OnSoftbusDeviceInfoChanged() 870 int32_t SoftbusListener::GetNetworkTypeByNetworkId(const char *networkId, int32_t &networkType) in GetNetworkTypeByNetworkId() argument 876 LOGE("[SOFTBUS]GetNodeKeyInfo networkType failed."); in GetNetworkTypeByNetworkId() 879 networkType = tempNetworkType; in GetNetworkTypeByNetworkId() 880 LOGI("GetNetworkTypeByNetworkId networkType in GetNetworkTypeByNetworkId() [all...] |
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/ |
H A D | device_manager_agent_test.cpp | 230 deviceInfo.networkType = -1; in HWTEST_F() 232 deviceInfo.networkType = 1; in HWTEST_F() 255 deviceInfo.networkType = NETWORKTYPE_NONE_WIFI; in HWTEST_F() 273 deviceInfo.networkType = NETWORKTYPE_WITH_WIFI; in HWTEST_F() 300 deviceInfo.networkType = NETWORKTYPE_WITH_WIFI; in HWTEST_F() 314 deviceInfo.networkType = NETWORKTYPE_NONE_WIFI; in HWTEST_F()
|
/foundation/distributedhardware/device_manager/services/service/include/softbus/ |
H A D | softbus_listener.h | 84 int32_t GetNetworkTypeByNetworkId(const char *networkId, int32_t &networkType);
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | dm_device_info.h | 178 int32_t networkType;
member
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_system_interface.h | 501 void OnCellularDataConnectStateUpdated(int32_t slotId, int32_t dataState, int32_t networkType) override
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | device_manager_service.h | 153 int32_t GetNetworkTypeByNetworkId(const std::string &pkgName, const std::string &netWorkId, int32_t &networkType); 188 int32_t GetDeviceSecurityLevel(const std::string &pkgName, const std::string &networkId, int32_t &networkType);
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/ |
H A D | device_manager_agent.h | 119 bool IsWifiNetworkType(int32_t networkType);
|
/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_listener.cpp | 152 .networkType = 21, in HWTEST_F() 420 int32_t networkType = -1; in HWTEST_F() local 424 int32_t ret = softbusListener->GetNetworkTypeByNetworkId(networkId, networkType); in HWTEST_F()
|
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_service.cpp | 1650 int32_t networkType = 0; in HWTEST_F() local 1651 int32_t ret = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); in HWTEST_F() 1659 int32_t networkType = 0; in HWTEST_F() local 1660 int32_t ret = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); in HWTEST_F() 1668 int32_t networkType = 0; in HWTEST_F() local 1669 int32_t ret = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); in HWTEST_F() 1677 int32_t networkType = 0; in HWTEST_F() local 1679 int32_t ret = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); in HWTEST_F()
|
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/ |
H A D | ipc_cmd_parser.cpp | 63 bRet = (bRet && parcel.WriteInt32(devInfo.networkType)); in EncodeDmDeviceInfo() 876 int32_t networkType = -1; in ON_IPC_CMD() local 877 int32_t result = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); in ON_IPC_CMD() 882 if (!reply.WriteInt32(networkType)) { in ON_IPC_CMD()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/ |
H A D | ipc_cmd_parser.cpp | 50 ReadInt32(&reply, &devInfo.networkType); in DecodeDmDeviceInfo()
|
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/ |
H A D | ipc_cmd_parser.cpp | 53 bRet = (bRet && WriteInt32(&reply, devInfo.networkType)); in EncodeDmDeviceInfo()
|
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1055 networkType: m2.networkType,
|
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1055 networkType: m2.networkType,
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager.c | 550 static char *PackBleOfflineMsg(int64_t connCap, int32_t networkType, int64_t authSeq) in PackBleOfflineMsg() argument 558 !JSON_AddInt32ToObject(json, NETWORK_SYNC_TYPE, networkType) || in PackBleOfflineMsg()
|