Home
last modified time | relevance | path

Searched refs:bootSN (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dsystem_info_collector.cpp54 char bootSN[SN_LEN + 1] = {0}; in GetOsType() local
55 GetParameter(OHOS_BOOT_SN, UNDEFINED_VALUE, bootSN, SN_LEN); in GetOsType()
58 if (strcmp(apiVersion, UNDEFINED_VALUE) != 0 || strcmp(bootSN, UNDEFINED_VALUE) != 0 || in GetOsType()
62 ProfileUtils::GetAnonyString(std::string(bootSN)).c_str(), in GetOsType()
/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dbus_center_adapter.c117 char bootSN[SN_LEN + 1]; in SoftBusGetOsType() local
118 (void)memset_s(bootSN, SN_LEN + 1, 0, SN_LEN + 1); in SoftBusGetOsType()
119 GetParameter(OHOS_BOOT_SN, UNDEFINED_VALUE, bootSN, SN_LEN); in SoftBusGetOsType()
123 if (strcmp(apiVersion, UNDEFINED_VALUE) != 0 || strcmp(bootSN, UNDEFINED_VALUE) != 0 || in SoftBusGetOsType()
126 Anonymize(bootSN, &anonyBootSN); in SoftBusGetOsType()