66 lines
2.1 KiB
C
Executable File
66 lines
2.1 KiB
C
Executable File
/*
|
|
* Copyright (c) 2020-2022 Huawei Device Co., Ltd.
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef HAL_SYS_PARAM_H
|
|
#define HAL_SYS_PARAM_H
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif /* __cplusplus */
|
|
|
|
const char* HalGetDeviceType(void);
|
|
const char* HalGetManufacture(void);
|
|
const char* HalGetBrand(void);
|
|
const char* HalGetMarketName(void);
|
|
const char* HalGetProductSeries(void);
|
|
const char* HalGetProductModel(void);
|
|
const char* HalGetSoftwareModel(void);
|
|
const char* HalGetHardwareModel(void);
|
|
const char* HalGetHardwareProfile(void);
|
|
const char* HalGetSerial(void);
|
|
const char* HalGetBootloaderVersion(void);
|
|
const char* HalGetAbiList(void);
|
|
const char* HalGetDisplayVersion(void);
|
|
const char* HalGetIncrementalVersion(void);
|
|
const char* HalGetBuildType(void);
|
|
const char* HalGetBuildUser(void);
|
|
const char* HalGetBuildHost(void);
|
|
const char* HalGetBuildTime(void);
|
|
int HalGetFirstApiVersion(void);
|
|
|
|
extern const char OHOS_FIRMWARE_VERSION[];
|
|
extern const char OHOS_CPU_FREQUENCY[];
|
|
extern const char OHOS_CPU_TEMPERATURE[];
|
|
extern const char OHOS_POWER_USAGE[];
|
|
extern const char OHOS_COMPONENT_UPGRADE_CMD[];
|
|
extern const char OHOS_SERVICE_MONITOR_CMDS[];
|
|
|
|
const char* HalGetFirmwareVersion(void);
|
|
const char* HalGetCpuFrequency(void);
|
|
const char* HalGetCpuTemperature(void);
|
|
const char* HalGetPowerUsage(void);
|
|
const char* HalGetComponentUpgradeCmd(void);
|
|
const char* HalGetServiceMonitorCmds(void);
|
|
const char* HalGetAll(void);
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* __cplusplus */
|
|
|
|
#endif // HAL_SYS_PARAM_H
|