From f8c1d0a592decea7548068d47118aa406c1d6496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E9=98=B3=E7=86=A0?= Date: Tue, 10 Jun 2025 02:38:18 +0000 Subject: [PATCH 1/3] =?UTF-8?q?Signed-off-by:=20=E4=B9=BE=E9=98=B3?= =?UTF-8?q?=E7=86=A0=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.deviceInfo.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index fe6c8fbd75..13db6a0448 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -804,6 +804,7 @@ declare namespace deviceInfo { /** * Obtaining the performance class. * + * @type { PerformanceClassLevel } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 19 -- Gitee From a8ef8ae8cec5e79f3ae72cc632bbd47f2762ae01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E9=98=B3=E7=86=A0?= Date: Thu, 12 Jun 2025 11:25:56 +0000 Subject: [PATCH 2/3] =?UTF-8?q?update=20api/@ohos.deviceInfo.d.ts.=20Signe?= =?UTF-8?q?d-off-by:=20=E4=B9=BE=E9=98=B3=E7=86=A0=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 乾阳熠 --- api/@ohos.deviceInfo.d.ts | 73 ++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index 13db6a0448..0e13573bd1 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -138,7 +138,7 @@ declare namespace deviceInfo { * which can be {@code phone} (or {@code default} for phones), {@code wearable}, {@code liteWearable}, * {@code tablet}, {@code tv}, {@code car}, or {@code smartVision}. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -156,7 +156,7 @@ declare namespace deviceInfo { /** * Obtains the device manufacturer represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -181,7 +181,7 @@ declare namespace deviceInfo { /** * Obtains the device brand represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -199,7 +199,7 @@ declare namespace deviceInfo { /** * Obtains the external product series represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -216,7 +216,7 @@ declare namespace deviceInfo { /** * Obtains the product series represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -241,7 +241,7 @@ declare namespace deviceInfo { /** * Obtains the product model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -252,6 +252,7 @@ declare namespace deviceInfo { /** * Obtains the product model alias represented by a string. * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -269,7 +270,7 @@ declare namespace deviceInfo { /** * Obtains the software model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -286,7 +287,7 @@ declare namespace deviceInfo { /** * Obtains the hardware model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -296,7 +297,7 @@ declare namespace deviceInfo { /** * Obtains the hardware profile represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 6 * @deprecated since 9 @@ -307,7 +308,7 @@ declare namespace deviceInfo { * Obtains the device serial number represented by a string. * * @permission ohos.permission.sec.ACCESS_UDID - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 6 */ @@ -323,7 +324,7 @@ declare namespace deviceInfo { /** * Obtains the bootloader version number represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -340,7 +341,7 @@ declare namespace deviceInfo { /** * Obtains the application binary interface (Abi) list represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -357,7 +358,7 @@ declare namespace deviceInfo { /** * Obtains the security patch level represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -374,7 +375,7 @@ declare namespace deviceInfo { /** * Obtains the product version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -391,7 +392,7 @@ declare namespace deviceInfo { /** * Obtains the incremental version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -412,7 +413,7 @@ declare namespace deviceInfo { *

The OS release category can be {@code Release}, {@code Beta}, or {@code Canary}. * The specific release type may be {@code Release}, {@code Beta1}, or others alike. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -437,7 +438,7 @@ declare namespace deviceInfo { /** * Obtains the OS version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -457,7 +458,7 @@ declare namespace deviceInfo { * Obtains the major (M) version number, which increases with any updates to the overall architecture. *

The M version number monotonically increases from 1 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -478,7 +479,7 @@ declare namespace deviceInfo { * architecture or major features. *

The S version number monotonically increases from 0 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -497,7 +498,7 @@ declare namespace deviceInfo { * Obtains the feature (F) version number, which increases with any planned new features. *

The F version number monotonically increases from 0 or 1 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -516,7 +517,7 @@ declare namespace deviceInfo { * Obtains the build (B) version number, which increases with each new development build. *

The B version number monotonically increases from 0 or 1 to 999. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -541,7 +542,7 @@ declare namespace deviceInfo { /** * Obtains the SDK API version number. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -559,7 +560,7 @@ declare namespace deviceInfo { /** * Obtains the first API version number. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -576,7 +577,7 @@ declare namespace deviceInfo { /** * Obtains the version ID by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -593,7 +594,7 @@ declare namespace deviceInfo { /** * Obtains the build types of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -610,7 +611,7 @@ declare namespace deviceInfo { /** * Obtains the different build user of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -627,7 +628,7 @@ declare namespace deviceInfo { /** * Obtains the different build host of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -644,7 +645,7 @@ declare namespace deviceInfo { /** * Obtains the build time. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -661,7 +662,7 @@ declare namespace deviceInfo { /** * Obtains the version hash. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -672,7 +673,7 @@ declare namespace deviceInfo { * Obtains the device udid. * * @permission ohos.permission.sec.ACCESS_UDID - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 7 */ @@ -684,7 +685,7 @@ declare namespace deviceInfo { * distributionOsName will return the ISV OS name * If ISV not specified, it will return an empty string * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -696,7 +697,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS version * If ISV not specified, it will return the same value as osFullName * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -708,7 +709,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS api version * If ISV not specified, it will return the same value as sdkApiVersion * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -719,6 +720,7 @@ declare namespace deviceInfo { *

Independent Software Vendor (ISV) may distribute OHOS with their own OS api name. * distributionOSApiName will return the ISV OS api name * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 13 */ @@ -730,7 +732,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS release type * If ISV not specified, it will return the same value as osReleaseType * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -751,7 +753,7 @@ declare namespace deviceInfo { * For apps from the same developer, which are running on different devices, each of them has its own ODID. * For apps from different developers, which are running on different devices, each of them has its own ODID. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 12 */ @@ -760,6 +762,7 @@ declare namespace deviceInfo { /** * Obtaining the hard drive serial number. * + * @type { string } * @permission ohos.permission.ACCESS_DISK_PHY_INFO * @syscap SystemCapability.Startup.SystemInfo * @since 15 -- Gitee From 6481e0f21ced61c13d427b443dba72566d04bb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E9=98=B3=E7=86=A0?= Date: Fri, 13 Jun 2025 01:57:12 +0000 Subject: [PATCH 3/3] =?UTF-8?q?update=20api/@ohos.deviceInfo.d.ts.=20Signe?= =?UTF-8?q?d-off-by:=20=E4=B9=BE=E9=98=B3=E7=86=A0=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 乾阳熠 --- api/@ohos.deviceInfo.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index 0e13573bd1..5d89162c3c 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -762,8 +762,8 @@ declare namespace deviceInfo { /** * Obtaining the hard drive serial number. * - * @type { string } * @permission ohos.permission.ACCESS_DISK_PHY_INFO + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 15 */ -- Gitee