Home
last modified time | relevance | path

Searched refs:osVersion (Results 1 - 21 of 21) sorted by relevance

/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dbus_center_adapter.c120 char osVersion[OS_VERSION_BUF_LEN]; in SoftBusGetOsType() local
121 (void)memset_s(osVersion, OS_VERSION_BUF_LEN, 0, OS_VERSION_BUF_LEN); in SoftBusGetOsType()
122 GetParameter(OS_VERSION, UNDEFINED_VALUE, osVersion, OS_VERSION_BUF_LEN); in SoftBusGetOsType()
124 strcmp(osVersion, UNDEFINED_VALUE) != 0) { in SoftBusGetOsType()
127 LNN_LOGI(LNN_STATE, "apiVersion: %{public}s bootSN: %{public}s osVersion: %{public}s", in SoftBusGetOsType()
128 apiVersion, AnonymizeWrapper(anonyBootSN), osVersion); in SoftBusGetOsType()
210 char *osVersion = (char *)SoftBusCalloc(OS_VERSION_BUF_LEN); in GetCommonOsVersion() local
211 if (osVersion == NULL) { in GetCommonOsVersion()
212 LNN_LOGE(LNN_STATE, "calloc osVersion failed!"); in GetCommonOsVersion()
215 GetParameter(OS_VERSION, UNDEFINED_VALUE, osVersion, OS_VERSION_BUF_LE in GetCommonOsVersion()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_device_node_listener.cpp36 std::string osVersion = ""; in OnDeviceOnline() local
37 if (!GetOsInfoFromDM(deviceInfo.extraData, osType, osVersion)) { in OnDeviceOnline()
42 deviceInfo.networkId, ONLINE, osType, osVersion); in OnDeviceOnline()
H A Ddtbschedmgr_device_info_storage.cpp195 std::string osVersion = ""; in UpdateDeviceInfoStorage() local
196 if (!GetOsInfoFromDM(dmDeviceInfo.extraData, osType, osVersion)) { in UpdateDeviceInfoStorage()
200 dmDeviceInfo.networkId, ONLINE, osType, osVersion); in UpdateDeviceInfoStorage()
364 "osVersion: %{public}s.", GetAnonymStr(networkId).c_str(), GetAnonymStr(uuid).c_str(), in DeviceOnlineNotify()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/
H A Ddms_device_info.h41 int32_t deviceState = ONLINE, int32_t osType = Constants::OH_OS_TYPE, std::string osVersion = "") in DmsDeviceInfo()
43 osType_(osType), osVersion_(osVersion) {} in DmsDeviceInfo()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_device_info.h49 char osVersion[OS_VERSION_BUF_LEN]; member
/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h45 bool GetOsInfoFromDM(const std::string &dmInfoEx, int32_t &osType, std::string &osVersion);
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_data_cloud_sync.h53 char osVersion[OS_VERSION_BUF_LEN]; member
/foundation/ability/dmsfwk/common/test/unittest/src/
H A Ddistributed_sched_utils_test.cpp326 std::string osVersion; in HWTEST_F() local
327 bool ret = GetOsInfoFromDM(dmInfoEx, osType, osVersion); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/include/interfaces/
H A Ddevice_profile.h61 void SetOsVersion(const std::string& osVersion);
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Ddevice_profile.cpp112 void DeviceProfile::SetOsVersion(const std::string& osVersion) in SetOsVersion() argument
114 osVersion_ = osVersion; in SetOsVersion()
/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp443 bool GetOsInfoFromDM(const std::string &dmInfoEx, int32_t &osType, std::string &osVersion) in GetOsInfoFromDM() argument
460 osVersion = std::string(cJSON_GetObjectItemCaseSensitive(dataJson, PARAM_KEY_OS_VERSION)->valuestring); in GetOsInfoFromDM()
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h272 char osVersion[OS_VERSION_BUF_LEN]; /**< Os version */ member
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c259 if (strcpy_s(basic->osVersion, OS_VERSION_BUF_LEN, info->deviceInfo.osVersion) != EOK) { in ConvertNodeInfoToBasicInfo()
260 LNN_LOGE(LNN_LEDGER, "strcpy_s osVersion error!"); in ConvertNodeInfoToBasicInfo()
1509 if (strcpy_s(oldInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, newInfo->deviceInfo.osVersion) != EOK) { in UpdateDistributedLedger()
1510 LNN_LOGE(LNN_LEDGER, "strcpy_s osVersion to distributed ledger fail"); in UpdateDistributedLedger()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_data_cloud_sync.c134 if (strcpy_s(cacheInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, value) != EOK) { in DBDeviceBasicInfoSyncToCache()
135 LNN_LOGE(LNN_BUILDER, "fail:strcpy_s osVersion fail"); in DBDeviceBasicInfoSyncToCache()
777 cacheInfo->heartbeatCapacity, cacheInfo->deviceInfo.osType, cacheInfo->deviceInfo.osVersion, in PrintSyncNodeInfo()
853 if (strcpy_s(oldInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, newInfo->deviceInfo.osVersion) != EOK) { in LnnUpdateOldCacheInfo()
854 LNN_LOGE(LNN_LEDGER, "strcpy_s osVersion to cache info fail"); in LnnUpdateOldCacheInfo()
/foundation/distributedhardware/device_manager/services/softbuscache/src/
H A Ddm_softbus_cache.cpp278 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp732 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertScreenStatusToDmDevice()
759 extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c134 LNN_LOGE(LNN_LEDGER, "buf of osVersion is null"); in LlGetOsVersion()
137 if (strcpy_s((char *)buf, len, info->deviceInfo.osVersion) != EOK) { in LlGetOsVersion()
138 LNN_LOGE(LNN_LEDGER, "strcpy_s osVersion ERROR!"); in LlGetOsVersion()
968 if (GetCommonOsVersion(info->osVersion, OS_VERSION_BUF_LEN) != SOFTBUS_OK) { in InitLocalDeviceInfo()
2162 rc = LnnGetLocalStrInfo(STRING_KEY_OS_VERSION, info->osVersion, OS_VERSION_BUF_LEN); in LnnGetLocalDeviceInfo()
/foundation/communication/ipc/dl_deps/
H A Ddsoftbus_interface.h44 char osVersion[OS_VERSION_BUF_LEN]; /**< Os version */ member
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp818 extraJson[PARAM_KEY_OS_VERSION] = std::string(nodeBasicInfo.osVersion); in ConvertNodeBasicInfoToDmDevice()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_listener.cpp752 .osVersion = {1} in HWTEST_F()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1161 (void)JSON_AddStringToObject(json, OS_VERSION, info->deviceInfo.osVersion); in PackOsInfo()
1569 OptString(json, OS_VERSION, info->deviceInfo.osVersion, OS_VERSION_BUF_LEN, ""); in ParseCommonJsonInfo()

Completed in 26 milliseconds