Home
last modified time | relevance | path

Searched refs:OS_VERSION_BUF_LEN (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dbus_center_adapter.c120 char osVersion[OS_VERSION_BUF_LEN]; in SoftBusGetOsType()
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()
210 char *osVersion = (char *)SoftBusCalloc(OS_VERSION_BUF_LEN); in GetCommonOsVersion()
215 GetParameter(OS_VERSION, UNDEFINED_VALUE, osVersion, OS_VERSION_BUF_LEN); in GetCommonOsVersion()
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h165 #define OS_VERSION_BUF_LEN 128 macro
272 char osVersion[OS_VERSION_BUF_LEN]; /**< Os version */
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_device_info.h49 char osVersion[OS_VERSION_BUF_LEN];
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_data_cloud_sync.h53 char osVersion[OS_VERSION_BUF_LEN];
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_data_cloud_sync.c133 } else if (strcmp(fieldName, DEVICE_INFO_OS_VERSION) == 0 && valueLength < OS_VERSION_BUF_LEN) { in DBDeviceBasicInfoSyncToCache()
134 if (strcpy_s(cacheInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, value) != EOK) { in DBDeviceBasicInfoSyncToCache()
849 …if (strcpy_s(oldInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, newInfo->deviceInfo.osVersion) != … in LnnUpdateOldCacheInfo()
/ohos5.0/foundation/distributedhardware/device_manager/services/softbuscache/src/
H A Ddm_softbus_cache.cpp271 … extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp719 … extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertScreenStatusToDmDevice()
740 … extraJson[PARAM_KEY_OS_VERSION] = ConvertCharArray2String(nodeInfo.osVersion, OS_VERSION_BUF_LEN); in ConvertNodeBasicInfoToDmDevice()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c961 if (GetCommonOsVersion(info->osVersion, OS_VERSION_BUF_LEN) != SOFTBUS_OK) { in InitLocalDeviceInfo()
1778 {STRING_KEY_OS_VERSION, OS_VERSION_BUF_LEN, LlGetOsVersion, NULL},
2174 rc = LnnGetLocalStrInfo(STRING_KEY_OS_VERSION, info->osVersion, OS_VERSION_BUF_LEN); in LnnGetLocalDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c258 if (strcpy_s(basic->osVersion, OS_VERSION_BUF_LEN, info->deviceInfo.osVersion) != EOK) { in ConvertNodeInfoToBasicInfo()
1510 …if (strcpy_s(oldInfo->deviceInfo.osVersion, OS_VERSION_BUF_LEN, newInfo->deviceInfo.osVersion) != … in UpdateDistributedLedger()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1553 OptString(json, OS_VERSION, info->deviceInfo.osVersion, OS_VERSION_BUF_LEN, ""); in ParseCommonJsonInfo()