!50 modify unionman part_name

Merge pull request !50 from AlgoIdeas/master
This commit is contained in:
openharmony_ci 2022-07-18 09:59:11 +00:00 committed by Gitee
commit b2ded33aec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 63 additions and 46 deletions

View File

@ -40,10 +40,10 @@
]
},
{
"subsystem": "amlogic_products",
"subsystem": "unionman_products",
"components": [
{
"component": "amlogic_products",
"component": "unionman_products",
"features": []
}
]

View File

@ -1,49 +1,66 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) 2021-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.
-->
<!--
Power Mode Definitions:
NORMAL_MODE = 600,
POWER_SAVE_MODE = 601,
EXTREME_MODE = 602,
MODE_NORMAL = 600,
MODE_POWER_SAVE = 601,
MODE_PERFORMANCE = 602,
MODE_EXTREME_POWER_SAVE = 603,
-->
<!--
Action Definitions:
DisplayOffTime = 101,
SystemAutoSleepTime = 102,
AutoAdjustBrightness = 103,
AutoWindownRoration = 107,
SetBrightness = 115,
AutoWindowRotation = 107,
SystemBrightness = 115,
VibratorsState = 120,
-->
<switch_proxy version="1">
<proxy id="600">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="1" recover_flag="0"/>
<switch id="120" value="1" recover_flag="0"/>
</proxy>
<proxy id="601">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="-1" recover_flag="0"/>
<switch id="115" value="50" recover_flag="0"/>
<switch id="120" value="-1" recover_flag="0"/>
</proxy>
<proxy id="602">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="1" recover_flag="0"/>
<switch id="115" value="255" recover_flag="0"/>
<switch id="120" value="1" recover_flag="0"/>
</proxy>
<proxy id="603">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="-1" recover_flag="0"/>
<switch id="115" value="25" recover_flag="0"/>
<switch id="120" value="-1" recover_flag="0"/>
</proxy>
<proxy id="600">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="1" recover_flag="0"/>
<switch id="115" value="-1" recover_flag="0"/>
<switch id="120" value="1" recover_flag="0"/>
</proxy>
<proxy id="601">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="-1" recover_flag="0"/>
<switch id="115" value="-1" recover_flag="0"/>
<switch id="120" value="-1" recover_flag="0"/>
</proxy>
<proxy id="602">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="1" recover_flag="0"/>
<switch id="115" value="-1" recover_flag="0"/>
<switch id="120" value="1" recover_flag="0"/>
</proxy>
<proxy id="603">
<switch id="101" value="-1" recover_flag="0"/>
<switch id="102" value="-1" recover_flag="0"/>
<switch id="103" value="-1" recover_flag="0"/>
<switch id="107" value="-1" recover_flag="0"/>
<switch id="115" value="25" recover_flag="0"/>
<switch id="120" value="-1" recover_flag="0"/>
</proxy>
</switch_proxy>

View File

@ -18,7 +18,7 @@ ohos_prebuilt_etc("res_sched_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/ressched"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("res_sched_plugin_switch") {
@ -26,7 +26,7 @@ ohos_prebuilt_etc("res_sched_plugin_switch") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/ressched"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("cgroup_action_config") {
@ -34,7 +34,7 @@ ohos_prebuilt_etc("cgroup_action_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/cgroup_sched"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("socperf_boost_config") {
@ -42,7 +42,7 @@ ohos_prebuilt_etc("socperf_boost_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/soc_perf"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("socperf_power_config") {
@ -50,7 +50,7 @@ ohos_prebuilt_etc("socperf_power_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/soc_perf"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("socperf_resource_config") {
@ -58,7 +58,7 @@ ohos_prebuilt_etc("socperf_resource_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/soc_perf"
part_name = "amlogic_products"
part_name = "unionman_products"
}
ohos_prebuilt_etc("socperf_thermal_config") {
@ -66,7 +66,7 @@ ohos_prebuilt_etc("socperf_thermal_config") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "etc/soc_perf"
part_name = "amlogic_products"
part_name = "unionman_products"
}
group("resourceschedule") {

View File

@ -38,5 +38,5 @@ ohos_executable("led_light") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "bin"
part_name = "amlogic_products"
part_name = "unionman_products"
}