From 197eb432a8abfb6c0a99308728d9f1981b1f005e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E9=98=B3=E7=86=A0?= Date: Mon, 9 Jun 2025 08:58:18 +0000 Subject: [PATCH] =?UTF-8?q?update=20startup/init/syscap/include/deviceinfo?= =?UTF-8?q?.h.=20Signed-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: 乾阳熠 --- startup/init/syscap/include/deviceinfo.h | 29 ------------------------ 1 file changed, 29 deletions(-) diff --git a/startup/init/syscap/include/deviceinfo.h b/startup/init/syscap/include/deviceinfo.h index f1c9e1577..c8e888cb6 100644 --- a/startup/init/syscap/include/deviceinfo.h +++ b/startup/init/syscap/include/deviceinfo.h @@ -44,91 +44,78 @@ extern "C" { * Obtains the device type represented by a string, * which can be {@code phone} (or {@code default} for phones), {@code wearable}, {@code liteWearable}, * {@code tablet}, {@code tv}, {@code car}, or {@code smartVision}. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetDeviceType(void); /** * Obtains the device manufacturer represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetManufacture(void); /** * Obtains the device brand represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBrand(void); /** * Obtains the product name speaded in the market - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetMarketName(void); /** * Obtains the product series represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetProductSeries(void); /** * Obtains the product model represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetProductModel(void); /** * Obtains the software model represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetSoftwareModel(void); /** * Obtains the hardware model represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetHardwareModel(void); /** * Obtains the bootloader version number represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBootloaderVersion(void); /** * Obtains the application binary interface (Abi) list represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetAbiList(void); /** * Obtains the security patch tag represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetSecurityPatchTag(void); /** * Obtains the product version displayed for customer represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetDisplayVersion(void); /** * Obtains the incremental version represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetIncrementalVersion(void); @@ -138,28 +125,24 @@ const char *OH_GetIncrementalVersion(void); * *

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. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetOsReleaseType(void); /** * Obtains the OS full version name represented by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetOSFullName(void); /** * Obtains the SDK API version number. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ int OH_GetSdkApiVersion(void); /** * Obtains the sdk minor api version number. - * @syscap SystemCapability.Startup.SystemInfo * @return 0 ~ 999 - the sdk minor api version * -1 - not found the sdk minor api version number, or failed to invoke the internal interface. * @since 20 @@ -168,7 +151,6 @@ int OH_GetSdkMinorApiVersion(void); /** * Obtains the sdk patch api version number. - * @syscap SystemCapability.Startup.SystemInfo * @return 0 ~ 999 - the sdk patch api version * -1 - not found the sdk patch api version number, or failed to invoke the internal interface. * @since 20 @@ -177,49 +159,42 @@ int OH_GetSdkPatchApiVersion(void); /** * Obtains the first API version number. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ int OH_GetFirstApiVersion(void); /** * Obtains the version ID by a string. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetVersionId(void); /** * Obtains the build type of the current running OS. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBuildType(void); /** * Obtains the build user of the current running OS. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBuildUser(void); /** * Obtains the build host of the current running OS. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBuildHost(void); /** * Obtains the build time of the current running OS. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBuildTime(void); /** * Obtains the version hash of the current running OS. - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetBuildRootHash(void); @@ -229,7 +204,6 @@ const char *OH_GetBuildRootHash(void); * *

Independent Software Vendor (ISV) may distribute OHOS with their own OS name. * If ISV not specified, it will return an empty string - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetDistributionOSName(void); @@ -237,7 +211,6 @@ const char *OH_GetDistributionOSName(void); /** * Obtains the ISV distribution OS version represented by a string. * If ISV not specified, it will return the same value as OH_GetOSFullName - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetDistributionOSVersion(void); @@ -245,7 +218,6 @@ const char *OH_GetDistributionOSVersion(void); /** * Obtains the ISV distribution OS api version represented by a integer. * If ISV not specified, it will return the same value as OH_GetSdkApiVersion - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ int OH_GetDistributionOSApiVersion(void); @@ -253,7 +225,6 @@ int OH_GetDistributionOSApiVersion(void); /** * Obtains the ISV distribution OS release type represented by a string. * If ISV not specified, it will return the same value as OH_GetOsReleaseType - * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ const char *OH_GetDistributionOSReleaseType(void); -- Gitee