• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #include "parameter.h"
16 
OH_GetDeviceType(void)17 const char *OH_GetDeviceType(void)
18 {
19     return GetDeviceType();
20 }
21 
OH_GetManufacture(void)22 const char *OH_GetManufacture(void)
23 {
24     return GetManufacture();
25 }
26 
OH_GetBrand(void)27 const char *OH_GetBrand(void)
28 {
29     return GetBrand();
30 }
31 
OH_GetMarketName(void)32 const char *OH_GetMarketName(void)
33 {
34     return GetMarketName();
35 }
36 
OH_GetProductSeries(void)37 const char *OH_GetProductSeries(void)
38 {
39     return GetProductSeries();
40 }
41 
OH_GetProductModel(void)42 const char *OH_GetProductModel(void)
43 {
44     return GetProductModel();
45 }
46 
OH_GetSoftwareModel(void)47 const char *OH_GetSoftwareModel(void)
48 {
49     return GetSoftwareModel();
50 }
51 
OH_GetHardwareModel(void)52 const char *OH_GetHardwareModel(void)
53 {
54     return GetHardwareModel();
55 }
56 
OH_GetBootloaderVersion(void)57 const char *OH_GetBootloaderVersion(void)
58 {
59     return GetBootloaderVersion();
60 }
61 
OH_GetAbiList(void)62 const char *OH_GetAbiList(void)
63 {
64     return GetAbiList();
65 }
66 
OH_GetSecurityPatchTag(void)67 const char *OH_GetSecurityPatchTag(void)
68 {
69     return GetSecurityPatchTag();
70 }
71 
OH_GetDisplayVersion(void)72 const char *OH_GetDisplayVersion(void)
73 {
74     return GetDisplayVersion();
75 }
76 
OH_GetIncrementalVersion(void)77 const char *OH_GetIncrementalVersion(void)
78 {
79     return GetIncrementalVersion();
80 }
81 
OH_GetOsReleaseType(void)82 const char *OH_GetOsReleaseType(void)
83 {
84     return GetOsReleaseType();
85 }
86 
OH_GetOSFullName(void)87 const char *OH_GetOSFullName(void)
88 {
89     return GetOSFullName();
90 }
91 
OH_GetSdkApiVersion(void)92 int OH_GetSdkApiVersion(void)
93 {
94     return GetSdkApiVersion();
95 }
96 
OH_GetFirstApiVersion(void)97 int OH_GetFirstApiVersion(void)
98 {
99     return GetFirstApiVersion();
100 }
101 
OH_GetVersionId(void)102 const char *OH_GetVersionId(void)
103 {
104     return GetVersionId();
105 }
106 
OH_GetBuildType(void)107 const char *OH_GetBuildType(void)
108 {
109     return GetBuildType();
110 }
111 
OH_GetBuildUser(void)112 const char *OH_GetBuildUser(void)
113 {
114     return GetBuildUser();
115 }
116 
OH_GetBuildHost(void)117 const char *OH_GetBuildHost(void)
118 {
119     return GetBuildHost();
120 }
121 
OH_GetBuildTime(void)122 const char *OH_GetBuildTime(void)
123 {
124     return GetBuildTime();
125 }
126 
OH_GetBuildRootHash(void)127 const char *OH_GetBuildRootHash(void)
128 {
129     return GetBuildRootHash();
130 }
131 
OH_GetDistributionOSName(void)132 const char *OH_GetDistributionOSName(void)
133 {
134     return GetDistributionOSName();
135 }
136 
OH_GetDistributionOSVersion(void)137 const char *OH_GetDistributionOSVersion(void)
138 {
139     return GetDistributionOSVersion();
140 }
141 
OH_GetDistributionOSApiVersion(void)142 int OH_GetDistributionOSApiVersion(void)
143 {
144     return GetDistributionOSApiVersion();
145 }
146 
OH_GetDistributionOSReleaseType(void)147 const char *OH_GetDistributionOSReleaseType(void)
148 {
149     return GetDistributionOSReleaseType();
150 }
151