diff --git a/battery/v1_0/BUILD.gn b/battery/v1_0/BUILD.gn index d9d97019d210b3efb4ea5ddd36982e5d010df60f..bd7d764ac00815ef7cfdb3c2468d699867247b0e 100755 --- a/battery/v1_0/BUILD.gn +++ b/battery/v1_0/BUILD.gn @@ -19,8 +19,6 @@ if (defined(ohos_lite)) { } } else { hdi("battery") { - package = "OHOS.HDI.battery.v1_0" - module_name = "battery_interface_service" sources = [ diff --git a/battery/v1_0/IBatteryCallback.idl b/battery/v1_0/IBatteryCallback.idl index 02b736e30e39a650b829876d7aa74aa47b204e1b..7546973651099b1da05743a92067ab3a83c005b8 100755 --- a/battery/v1_0/IBatteryCallback.idl +++ b/battery/v1_0/IBatteryCallback.idl @@ -13,9 +13,9 @@ * limitations under the License. */ -package OHOS.HDI.battery.v1_0; +package ohos.hdi.battery.v1_0; -import OHOS.HDI.battery.v1_0.Types; +import ohos.hdi.battery.v1_0.Types; [callback] interface IBatteryCallback { Update([in] struct CallbackInfo event); diff --git a/battery/v1_0/IBatteryInterface.idl b/battery/v1_0/IBatteryInterface.idl index 46bd03d412ca5d3d116c0be1c63dbba3a00393e5..684ef2dfd132eeb309b86283f7385f3f213a25b4 100755 --- a/battery/v1_0/IBatteryInterface.idl +++ b/battery/v1_0/IBatteryInterface.idl @@ -13,10 +13,10 @@ * limitations under the License. */ -package OHOS.HDI.battery.v1_0; +package ohos.hdi.battery.v1_0; -import OHOS.HDI.battery.v1_0.Types; -import OHOS.HDI.battery.v1_0.IBatteryCallback; +import ohos.hdi.battery.v1_0.Types; +import ohos.hdi.battery.v1_0.IBatteryCallback; interface IBatteryInterface { Register([in] IBatteryCallback event); diff --git a/battery/v1_0/Types.idl b/battery/v1_0/Types.idl index fcf756e76d955937eba5b86a96ba7482646290f3..39b9b6f5fed8ece02a3fea7a5e760d11e94332cb 100755 --- a/battery/v1_0/Types.idl +++ b/battery/v1_0/Types.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.battery.v1_0; +package ohos.hdi.battery.v1_0; enum BatteryHealthState { diff --git a/light/v1_0/BUILD.gn b/light/v1_0/BUILD.gn index 33fffc65a855b7b6488f6a7543f411907992d882..63865454e9e8b910a0f3b42eac82b4fe93a12a4d 100755 --- a/light/v1_0/BUILD.gn +++ b/light/v1_0/BUILD.gn @@ -20,8 +20,6 @@ if (defined(ohos_lite)) { } } else { hdi("light") { - package = "OHOS.HDI.light.v1_0" - module_name = "light_service" sources = [ diff --git a/light/v1_0/ILightInterface.idl b/light/v1_0/ILightInterface.idl index 75c61ada0117d58460317d52fefc905519085d17..fe124dd5ac04c90966bb36efdb6fe1d35344c639 100755 --- a/light/v1_0/ILightInterface.idl +++ b/light/v1_0/ILightInterface.idl @@ -13,8 +13,8 @@ * limitations under the License. */ -package OHOS.HDI.light.v1_0; -import OHOS.HDI.light.v1_0.LightTypes; +package ohos.hdi.light.v1_0; +import ohos.hdi.light.v1_0.LightTypes; interface ILightInterface { GetLightInfo([out] struct HdfLightInfo[] info); diff --git a/light/v1_0/LightTypes.idl b/light/v1_0/LightTypes.idl index d6beab98d98437e7daa7a91bd77d626dd4f382ee..8ff6b5221f0778a9721fba9448a58fb89afa57cc 100755 --- a/light/v1_0/LightTypes.idl +++ b/light/v1_0/LightTypes.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.light.v1_0; +package ohos.hdi.light.v1_0; enum HdfLighType { HDF_LIGHT_TYPE_BATTERY = 1, diff --git a/power/v1_0/BUILD.gn b/power/v1_0/BUILD.gn index 04b22287af2039039395499349989d9d3df62210..64aac6307e0dc34558acc08661e9b77b522feeb0 100755 --- a/power/v1_0/BUILD.gn +++ b/power/v1_0/BUILD.gn @@ -19,8 +19,6 @@ if (defined(ohos_lite)) { } } else { hdi("power") { - package = "OHOS.HDI.power.v1_0" - module_name = "power_interface_service" sources = [ diff --git a/power/v1_0/IPowerHdiCallback.idl b/power/v1_0/IPowerHdiCallback.idl index 9a8fe2cc8fcf4d308c4d10dcda5b3633fc66ed63..0e63fb670cb789fbfa3ce16e6daea9a56c76801c 100755 --- a/power/v1_0/IPowerHdiCallback.idl +++ b/power/v1_0/IPowerHdiCallback.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.power.v1_0; +package ohos.hdi.power.v1_0; [callback] interface IPowerHdiCallback { OnSuspend(); diff --git a/power/v1_0/IPowerInterface.idl b/power/v1_0/IPowerInterface.idl index 9a747677f1f5b10e009c9e514c28c92af79e63a3..272d5bffbcc9e60cd3c76162f0c50d76e07705e4 100755 --- a/power/v1_0/IPowerInterface.idl +++ b/power/v1_0/IPowerInterface.idl @@ -13,9 +13,9 @@ * limitations under the License. */ -package OHOS.HDI.power.v1_0; -import OHOS.HDI.power.v1_0.IPowerHdiCallback; -import OHOS.HDI.power.v1_0.PowerTypes; +package ohos.hdi.power.v1_0; +import ohos.hdi.power.v1_0.IPowerHdiCallback; +import ohos.hdi.power.v1_0.PowerTypes; interface IPowerInterface { RegisterCallback([in] IPowerHdiCallback ipowerHdiCallback); diff --git a/power/v1_0/PowerTypes.idl b/power/v1_0/PowerTypes.idl index 086f5538564577d6261ccba8f88813b02d97edbe..a23fa1ea4e550c2714be5ceb58767dac86d1dc99 100755 --- a/power/v1_0/PowerTypes.idl +++ b/power/v1_0/PowerTypes.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.power.v1_0; +package ohos.hdi.power.v1_0; enum PowerHdfCmd { CMD_REGISTER_CALLBCK = 0, diff --git a/sensor/v1_0/BUILD.gn b/sensor/v1_0/BUILD.gn index 0c196002af2763caa99d7f92e3904feaa8125642..955cf38e9ed5d910f245ea821f974b8fa49d685f 100644 --- a/sensor/v1_0/BUILD.gn +++ b/sensor/v1_0/BUILD.gn @@ -19,8 +19,6 @@ if (defined(ohos_lite)) { } } else { hdi("sensor") { - package = "OHOS.HDI.sensor.v1_0" - module_name = "sensor_service" sources = [ diff --git a/sensor/v1_0/ISensorCallback.idl b/sensor/v1_0/ISensorCallback.idl index ae2a75eb4612c9034bba9fdd82a10c21997bb9a9..72c4aebbbf728f97320891b578ae55e30b85c72b 100644 --- a/sensor/v1_0/ISensorCallback.idl +++ b/sensor/v1_0/ISensorCallback.idl @@ -27,9 +27,9 @@ * @version 1.0 */ -package OHOS.HDI.sensor.v1_0; +package ohos.hdi.sensor.v1_0; -import OHOS.HDI.sensor.v1_0.SensorTypes; +import ohos.hdi.sensor.v1_0.SensorTypes; /** * @brief Defines the callback for reporting sensor data. This callback needs to be registered when diff --git a/sensor/v1_0/ISensorInterface.idl b/sensor/v1_0/ISensorInterface.idl index 66ab862dbe8777f207f807e5941ff292d3421495..0524106c66f87106c32e18ad93b89eb2d03f95a2 100644 --- a/sensor/v1_0/ISensorInterface.idl +++ b/sensor/v1_0/ISensorInterface.idl @@ -38,10 +38,10 @@ * @version 1.0 */ -package OHOS.HDI.sensor.v1_0; +package ohos.hdi.sensor.v1_0; -import OHOS.HDI.sensor.v1_0.SensorTypes; -import OHOS.HDI.sensor.v1_0.ISensorCallback; +import ohos.hdi.sensor.v1_0.SensorTypes; +import ohos.hdi.sensor.v1_0.ISensorCallback; /** * @brief Defines the functions for performing basic operations on sensors. diff --git a/sensor/v1_0/SensorTypes.idl b/sensor/v1_0/SensorTypes.idl index ab37a92cfcef7420052242cbf67aa13ab2127b17..2d44d9a2f2eb1b12bcecb894c50514a55f5d49bd 100644 --- a/sensor/v1_0/SensorTypes.idl +++ b/sensor/v1_0/SensorTypes.idl @@ -37,7 +37,7 @@ * @version 1.0 */ -package OHOS.HDI.sensor.v1_0; +package ohos.hdi.sensor.v1_0; /** * @brief Defines basic sensor information. diff --git a/thermal/v1_0/BUILD.gn b/thermal/v1_0/BUILD.gn index 8ecfd7c972cc48ef6e4dd0718bc580d8f1d0cb7b..0a33f8ec0cfd370f8b8e331578a21d9c052a9d55 100755 --- a/thermal/v1_0/BUILD.gn +++ b/thermal/v1_0/BUILD.gn @@ -19,8 +19,6 @@ if (defined(ohos_lite)) { } } else { hdi("thermal") { - package = "OHOS.HDI.thermal.v1_0" - module_name = "thermal_interface_service" sources = [ diff --git a/thermal/v1_0/IThermalCallback.idl b/thermal/v1_0/IThermalCallback.idl index 3b9f6b8a392ca66ed62d8bb0ff2fdbcfde38555d..dabc30c907b9fb4b858de19241d6bbfe4b0e7f7c 100755 --- a/thermal/v1_0/IThermalCallback.idl +++ b/thermal/v1_0/IThermalCallback.idl @@ -13,9 +13,9 @@ * limitations under the License. */ -package OHOS.HDI.thermal.v1_0; +package ohos.hdi.thermal.v1_0; -import OHOS.HDI.thermal.v1_0.ThermalTypes; +import ohos.hdi.thermal.v1_0.ThermalTypes; [callback] interface IThermalCallback { OnThermalDataEvent([in] struct HdfThermalCallbackInfo event); diff --git a/thermal/v1_0/IThermalInterface.idl b/thermal/v1_0/IThermalInterface.idl index 1709d9089343d26c0c899ae30de2d060103e126c..30e6942a6b0c362407cb8800f9f66874b5aacd8a 100755 --- a/thermal/v1_0/IThermalInterface.idl +++ b/thermal/v1_0/IThermalInterface.idl @@ -13,10 +13,10 @@ * limitations under the License. */ -package OHOS.HDI.thermal.v1_0; +package ohos.hdi.thermal.v1_0; -import OHOS.HDI.thermal.v1_0.ThermalTypes; -import OHOS.HDI.thermal.v1_0.IThermalCallback; +import ohos.hdi.thermal.v1_0.ThermalTypes; +import ohos.hdi.thermal.v1_0.IThermalCallback; interface IThermalInterface { SetCpuFreq([in] int freq); diff --git a/thermal/v1_0/ThermalTypes.idl b/thermal/v1_0/ThermalTypes.idl index 8fc3d3a40098a7b0438e9edc45a36b8cfd6e4589..21cd989a768f5c4b33575fbda2dd2fef7491d271 100755 --- a/thermal/v1_0/ThermalTypes.idl +++ b/thermal/v1_0/ThermalTypes.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.thermal.v1_0; +package ohos.hdi.thermal.v1_0; struct ThermalZoneInfo { String type; diff --git a/vibrator/v1_0/BUILD.gn b/vibrator/v1_0/BUILD.gn index d53a7fac97a29cc379df7293f8b5c879e68bce58..489bd52a30f5e17e116c3023ccdfb774b113045b 100755 --- a/vibrator/v1_0/BUILD.gn +++ b/vibrator/v1_0/BUILD.gn @@ -19,8 +19,6 @@ if (defined(ohos_lite)) { } } else { hdi("vibrator") { - package = "OHOS.HDI.vibrator.v1_0" - module_name = "vibrator_service" sources = [ diff --git a/vibrator/v1_0/IVibratorInterface.idl b/vibrator/v1_0/IVibratorInterface.idl index 690ebd905dc18b5f772fdcf97505a6dc3720904e..46d8d9eb5b362e0f4d47a7c0d1db654b8721d23c 100755 --- a/vibrator/v1_0/IVibratorInterface.idl +++ b/vibrator/v1_0/IVibratorInterface.idl @@ -35,9 +35,9 @@ * @version 1.0 */ -package OHOS.HDI.vibrator.v1_0; +package ohos.hdi.vibrator.v1_0; -import OHOS.HDI.vibrator.v1_0.VibratorTypes; +import ohos.hdi.vibrator.v1_0.VibratorTypes; interface IVibratorInterface { /** diff --git a/vibrator/v1_0/VibratorTypes.idl b/vibrator/v1_0/VibratorTypes.idl index a93a4687ca601e2d8a9af32e054134652e2d70c7..629ddb80f1285c447e82a8e6566b14d9ba15a317 100755 --- a/vibrator/v1_0/VibratorTypes.idl +++ b/vibrator/v1_0/VibratorTypes.idl @@ -13,7 +13,7 @@ * limitations under the License. */ -package OHOS.HDI.vibrator.v1_0; +package ohos.hdi.vibrator.v1_0; /** * @brief Enumerates the vibration modes of this vibrator.