Home
last modified time | relevance | path

Searched refs:hardwareModel (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/startup/init/interfaces/kits/jskits/src/
H A Dnative_deviceinfo_js.cpp153 const char *hardwareModel = GetHardwareModel(); in GetHardwareModel() local
154 if (hardwareModel == nullptr) { in GetHardwareModel()
155 hardwareModel = ""; in GetHardwareModel()
158 NAPI_CALL(env, napi_create_string_utf8(env, hardwareModel, strlen(hardwareModel), &napiValue)); in GetHardwareModel()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-device-info.md35 | hardwareModel | string | 是 | 否 | 硬件版本号。<br/>示例:<!--RP6-->TASA00CVN1<!--RP6End--> |
101 let hardwareModelInfo: string = deviceInfo.hardwareModel;
102 // 输出结果:the value of the hardwareModel is :TASA00CVN1
103 console.info('the value of the deviceInfo hardwareModel is :' + hardwareModelInfo);
/ohos5.0/base/startup/init/interfaces/innerkits/syspara/
H A Dparameter.c159 static const char *hardwareModel = NULL; in GetHardwareModel() local
160 return GetProperty("const.product.hardwareversion", &hardwareModel); in GetHardwareModel()
/ohos5.0/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
H A Dnativeapi_ohos_deviceinfo.cpp111 JSIValue hardwareModel = JSI::CreateString(value); in JSGetHardwareModel() local
112 return hardwareModel; in JSGetHardwareModel()
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-device-info.md35 | hardwareModel | string | Yes| No| Hardware model.<br>Example: TASA00CVN1|
94 let hardwareModelInfo: string = deviceInfo.hardwareModel;
95 console.info('the value of the deviceInfo hardwareModel is :' + hardwareModelInfo);