!303 fix: fix OH4.0 build

Merge pull request !303 from AlgoIdeas/OpenHarmony-4.0-Release
This commit is contained in:
强盗偷夜壶 2024-05-27 03:17:37 +00:00 committed by Gitee
commit 6e8b18d08c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
32 changed files with 362 additions and 97 deletions

74
unionpi_tiger/config.json Executable file → Normal file
View File

@ -9,7 +9,7 @@
"board": "unionpi_tiger",
"enable_ramdisk": true,
"enable_absystem": false,
"build_selinux": true,
"build_selinux": false,
"build_seccomp": true,
"inherit": [ "productdefine/common/inherit/rich.json", "productdefine/common/inherit/chipset_common.json" ],
"subsystems": [
@ -28,6 +28,10 @@
{
"component": "netmanager_ext",
"features": []
},
{
"component": "bluetooth_service",
"features": []
}
]
},
@ -91,7 +95,21 @@
"component": "drivers_peripheral_audio",
"features": [
"drivers_peripheral_audio_feature_full_test_suite = false",
"drivers_peripheral_audio_feature_alsa_lib = false"
"drivers_peripheral_audio_feature_alsa_lib = false",
"drivers_peripheral_audio_feature_effect = false"
]
},
{
"component": "drivers_peripheral_codec",
"features": [
"drivers_peripheral_codec_feature_support_omx_extend_test = false",
"drivers_peripheral_codec_feature_support_hdi_v1 = true"
]
},
{
"component": "drivers_peripheral_display",
"features": [
"drivers_peripheral_display_community = true"
]
},
{
@ -101,19 +119,6 @@
"drivers_peripheral_wlan_feature_enable_HDF_UT = false"
]
},
{
"component": "drivers_peripheral_codec",
"features": [
"drivers_peripheral_codec_feature_support_omx_extend_test = false",
"drivers_peripheral_codec_feature_support_hdi_v1 = false"
]
},
{
"component": "drivers_peripheral_display",
"features": [
"drivers_peripheral_display_community = true"
]
},
{
"component": "hdf_core",
"features": [
@ -135,19 +140,8 @@
]
},
{
"subsystem": "window",
"components": [
{
"component": "window_manager",
"features": [
"window_manager_dayu210_resource_config = false"
]
}
]
},
{
"subsystem": "ai",
"components": [
"subsystem": "ai",
"components": [
{
"component": "mindspore",
"features": []
@ -171,7 +165,7 @@
{
"component": "wifi",
"features": [
"wifi_feature_non_seperate_p2p = false",
"wifi_feature_non_seperate_p2p = true",
"wifi_feature_non_hdf_driver = true"
]
}
@ -188,6 +182,28 @@
]
}
]
},
{
"subsystem": "thirdparty",
"components": [
{
"component": "libuv",
"features": [
"use_ffrt = true"
]
}
]
},
{
"subsystem": "graphic",
"components": [
{
"component": "graphic_2d",
"features": [
"graphic_2d_feature_rs_enable_eglimage = true"
]
}
]
}
]
}

View File

@ -0,0 +1,43 @@
# Copyright (c) 2023 Unionman Technology 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.
import("//build/ohos.gni")
ohos_prebuilt_etc("window_manager_config") {
source = "window/window_manager_config.xml"
install_enable = true
part_name = "product_unionpi_tiger"
relative_install_dir = "window/resources"
}
ohos_prebuilt_etc("display_manager_config") {
source = "window/display_manager_config.xml"
install_enable = true
part_name = "product_unionpi_tiger"
relative_install_dir = "window/resources"
}
ohos_prebuilt_etc("bootanimation_config") {
source = "bootanimation/bootanimation_custom_config.json"
install_images = [ sys_prod_base_dir ]
relative_install_dir = "bootanimation"
part_name = "product_unionpi_tiger"
}
group("custom_config") {
deps = [
":bootanimation_config",
":display_manager_config",
":window_manager_config",
]
}

View File

@ -0,0 +1,5 @@
{
"cust.bootanimation.pics": "/system/etc/graphic/bootpic.zip",
"cust.bootanimation.sounds": "/system/etc/graphic/bootsound.wav",
"cust.bootanimation.video": ""
}

View File

@ -0,0 +1,57 @@
<?xml version='1.0' encoding="utf-8"?>
<!--
* Copyright (c) 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.
-->
<Configs>
<!--Window display dpi, valid range is 80~640, use 0 if no configuration is requeired-->
<dpi>0</dpi>
<!-- Indicate the deviation between the default device display direction and the direction -->
<!-- of the sensor. Use 0 in default, available values are {0, 90, 180, 270} -->
<defaultDeviceRotationOffset>0</defaultDeviceRotationOffset>
<!-- Svg path for cutout, use empty string if there is not cutout on the screen -->
<!-- format: string -->
<!-- default value: empty string -->
<!-- sample: M 100,100 m -75,0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0 z -->
<defaultDisplayCutoutPath></defaultDisplayCutoutPath>
<!-- Indicates the boundary of the curved screen, each value corresponds to the px from each edge -->
<!-- format: number(left) number(top) number(right) number(bottom) -->
<!-- default value: 0 0 0 0 -->
<!-- sample: 150 150 0 0 -->
<curvedScreenBoundary>0 0 0 0</curvedScreenBoundary>
<!-- Indicates whether the built-in display is a waterfall display -->
<!-- format: boolean -->
<!-- default value: false -->
<!-- sample: false -->
<isWaterfallDisplay enable="false"></isWaterfallDisplay>
<!-- Indicate whether to enable display area compression for waterfall display when displayed in landscape -->
<!-- or landscape_inverted mode. -->
<!-- This configuration item takes effect only when isWaterfallDisplay above is true -->
<!-- format: boolean -->
<!-- default value: false -->
<isWaterfallAreaCompressionEnableWhenHorizontal enable="false"></isWaterfallAreaCompressionEnableWhenHorizontal>
<!-- Indicate the size of both sides of the waterfall display which to be compressed when displayed in landscape -->
<!-- or landscape_inverted mode. -->
<!-- This configuration item takes effect only when isWaterfallDisplay above is true -->
<!-- format: uint32_t, the unit is vp. -->
<!-- default value: 0 -->
<waterfallAreaCompressionSizeWhenHorzontal>0</waterfallAreaCompressionSizeWhenHorzontal>
<!-- Indicates orientation of the built-in screen -->
<!-- 0: Orientation::UNSPECIFIED -->
<!-- 1: Orientation::VERTICAL 2: Orientation::HORIZONTAL-->
<!-- 3: Orientation::REVERSE_VERTICAL 4: Orientation::REVERSE_HORIZONTAL -->
<buildInDefaultOrientation>0</buildInDefaultOrientation>
</Configs>

View File

@ -0,0 +1,95 @@
<?xml version='1.0' encoding="utf-8"?>
<!--
* Copyright (c) 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.
-->
<Configs>
<!--decor enable is true means app main window show decoration-->
<decor enable="true"></decor>
<!--max number of main window that could be shown on display-->
<maxAppWindowNumber>100</maxAppWindowNumber>
<!--maximum number of windows supported by unified rendering -->
<maxUniRenderAppWindowNumber>100</maxUniRenderAppWindowNumber>
<!--minimizeByOther enable is true means fullscreen window will be minmized by other fullscreen window-->
<minimizeByOther enable="true"></minimizeByOther>
<!--window mdoe change hot zones config, fullscreen primary secondary-->
<modeChangeHotZones>50 50 50</modeChangeHotZones>
<!--stretchable enable is true means all window be stretchable-->
<stretchable enable="false"></stretchable>
<!--exit split screen mode ratio config-->
<exitSplitRatios>0.1 0.9</exitSplitRatios>
<!--split screen ratios config-->
<splitRatios>0.5 0.33 0.67</splitRatios>
<!--default window mode config-->
<defaultWindowMode>1</defaultWindowMode>
<!--window animation config-->
<windowAnimation>
<timing>
<!--duration of animation when add/remove window, unit is ms-->
<duration>350</duration>
<!--timing curve of animation, config it as below:
name=ease, easeIn, easeOut, easeInOut, default, linear,
spring, interactiveSpring, cubic(float float float float)-->
<curve name="easeOut"></curve>
</timing>
<!--scaleX and scaleY of animation start state-->
<scale>0.7 0.7</scale>
<!--rotation of animation start state, 4 numbers is axis and angle-->
<rotation>0 0 1 0</rotation>
<!--translateX and translateY of animation start state-->
<translate>0 0</translate>
<!--opacity of animation start state-->
<opacity>0</opacity>
</windowAnimation>
<!--keyboard animation config-->
<keyboardAnimation>
<timing>
<!--duration of animation when add keyboard, unit is ms-->
<durationIn>150</durationIn>
<!--duration of animation when remove keyboard, unit is ms-->
<durationOut>150</durationOut>
<!--friction curve-->
<curve name="cubic">0.2 0.0 0.2 1.0</curve>
</timing>
</keyboardAnimation>
<!--enable/disable remote animation-->
<remoteAnimation enable="true"></remoteAnimation>
<!--window effect config-->
<windowEffect>
<appWindows>
<cornerRadius>
<!--off: no corner, defaultCornerRadiusXS: 4vp, defaultCornerRadiusS: 8vp-->
<!--defaultCornerRadiusM: 12vp, defaultCornerRadiusL: 16vp, defaultCornerRadiusXL: 24vp-->
<fullScreen>off</fullScreen>
<split>off</split>
<float>off</float>
</cornerRadius>
<shadow>
<focused>
<elevation>0</elevation>
<color>#000000</color>
<offsetX>0</offsetX>
<offsetY>0</offsetY>
<alpha>0</alpha>
</focused>
<unfocused>
<elevation>0</elevation>
<color>#000000</color>
<offsetX>0</offsetX>
<offsetY>0</offsetY>
<alpha>0</alpha>
</unfocused>
</shadow>
</appWindows>
</windowEffect>
</Configs>

View File

@ -27,7 +27,6 @@ ohos_prebuilt_etc("audio_policy_config") {
relative_install_dir = "audio"
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "product_unionpi_tiger"
}

View File

@ -16,13 +16,13 @@ import("//drivers/hdf_core/adapter/uhdf2/hcs/hcs.gni")
hdf_hcb("hdf_default.hcb") {
source = "./hdf.hcs"
part_name = "product_unionpi_tiger"
subsystem_name = "napisubsys"
subsystem_name = "product_unionman"
}
hdf_cfg("hdf_devhost.cfg") {
source = "./hdf.hcs"
part_name = "product_unionpi_tiger"
subsystem_name = "napisubsys"
subsystem_name = "product_unionman"
}
group("hdf_config") {

View File

@ -2,9 +2,12 @@
"parts": {
"product_unionpi_tiger": {
"module_list": [
"//vendor/unionman/unionpi_tiger/custom_config:custom_config",
"//vendor/unionman/unionpi_tiger/hals/audio:hdf_audio_config",
"//vendor/unionman/unionpi_tiger/hdf_config/uhdf:hdf_config"
"//vendor/unionman/unionpi_tiger/hdf_config/uhdf:hdf_config",
"//vendor/unionman/unionpi_tiger/power_config:power_config"
]
}
}
},
"subsystem": "product_unionman"
}

View File

@ -0,0 +1,26 @@
# Copyright (c) 2023 Unionman Technology 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.
import("//build/ohos.gni")
ohos_prebuilt_etc("power_mode_config") {
source = "power_mode_config.xml"
install_enable = true
relative_install_dir = "power_config"
install_images = [ system_base_dir ]
part_name = "product_unionpi_tiger"
}
group("power_config") {
deps = [ ":power_mode_config" ]
}

14
unionpi_tiger/resourceschedule/BUILD.gn Executable file → Normal file
View File

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

View File

@ -17,5 +17,6 @@ group("sample_group") {
deps = [
"hardware:hardware",
"hdf:hdf",
"napi:napi",
]
}

View File

@ -19,7 +19,6 @@ config("warns") {
}
ohos_executable("adc_test") {
output_name = "adc_test"
sources = [
"main.c",
"um_adc.c",
@ -31,4 +30,5 @@ ohos_executable("adc_test") {
external_deps = [ "c_utils:utils" ]
install_images = [ "system" ]
part_name = "product_unionman"
}

3
unionpi_tiger/sample/hardware/gpio/BUILD.gn Executable file → Normal file
View File

@ -15,7 +15,6 @@ import("//build/ohos.gni")
import("//build/ohos/ndk/ndk.gni")
ohos_executable("gpio_test") {
output_name = "gpio_test"
sources = [
"main.c",
"um_gpio.c",
@ -29,5 +28,5 @@ ohos_executable("gpio_test") {
]
install_images = [ "system" ]
part_name = "unionman_products"
part_name = "product_unionman"
}

3
unionpi_tiger/sample/hardware/i2c/BUILD.gn Executable file → Normal file
View File

@ -19,7 +19,6 @@ config("warns") {
}
ohos_executable("i2c_test") {
output_name = "i2c_test"
sources = [
"i2cinterface.c",
"main.c",
@ -38,5 +37,5 @@ ohos_executable("i2c_test") {
]
install_images = [ "system" ]
part_name = "unionman_products"
part_name = "product_unionman"
}

3
unionpi_tiger/sample/hardware/pwm/BUILD.gn Executable file → Normal file
View File

@ -19,7 +19,6 @@ config("warns") {
}
ohos_executable("pwm_test") {
output_name = "pwm_test"
sources = [
"main.c",
"um_pwm.c",
@ -35,5 +34,5 @@ ohos_executable("pwm_test") {
]
install_images = [ "system" ]
part_name = "unionman_products"
part_name = "product_unionman"
}

3
unionpi_tiger/sample/hardware/spi/BUILD.gn Executable file → Normal file
View File

@ -19,7 +19,6 @@ config("warns") {
}
ohos_executable("spi_test") {
output_name = "spi_test"
sources = [
"main.c",
"um_spi.c",
@ -37,5 +36,5 @@ ohos_executable("spi_test") {
]
install_images = [ "system" ]
part_name = "unionman_products"
subsystem_name = "product_unionman"
}

View File

@ -19,7 +19,6 @@ config("warns") {
}
ohos_executable("uart_test") {
output_name = "uart_test"
sources = [
"main.c",
"serial_uart.c",
@ -28,5 +27,5 @@ ohos_executable("uart_test") {
configs = [ ":warns" ]
install_images = [ "system" ]
part_name = "unionman_products"
part_name = "product_unionman"
}

8
unionpi_tiger/sample/hdf/BUILD.gn Executable file → Normal file
View File

@ -15,9 +15,9 @@ import("//build/ohos.gni")
group("hdf") {
deps = [
"gpio:gpio",
"led_light:led_light",
"pwm:pwm",
"sensor:sensor",
"gpio:sample_gpio",
"led_light:sample_led_light",
"pwm:sample_pwm",
"sensor:sample_sensor",
]
}

5
unionpi_tiger/sample/hdf/gpio/BUILD.gn Executable file → Normal file
View File

@ -14,7 +14,7 @@
import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_executable("gpio") {
ohos_executable("sample_gpio") {
sources = [ "gpio.cpp" ]
include_dirs = [
@ -41,5 +41,6 @@ ohos_executable("gpio") {
install_enable = true
install_images = [ chipset_base_dir ]
module_install_dir = "bin"
part_name = "unionman_products"
subsystem_name = "product_unionman"
}

5
unionpi_tiger/sample/hdf/led_light/BUILD.gn Executable file → Normal file
View File

@ -14,9 +14,8 @@
import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_executable("led_light") {
ohos_executable("sample_led_light") {
sources = [ "led_light.cpp" ]
include_dirs = [ "//third_party/bounds_checking_function/include" ]
deps = [ "//drivers/peripheral/light/hal:hdi_light" ]
@ -38,5 +37,5 @@ ohos_executable("led_light") {
install_enable = true
install_images = [ chipset_base_dir ]
module_install_dir = "bin"
part_name = "unionman_products"
subsystem_name = "product_unionman"
}

4
unionpi_tiger/sample/hdf/pwm/BUILD.gn Executable file → Normal file
View File

@ -14,7 +14,7 @@
import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_executable("pwm") {
ohos_executable("sample_pwm") {
sources = [ "pwm.cpp" ]
include_dirs = [
@ -41,5 +41,5 @@ ohos_executable("pwm") {
install_enable = true
install_images = [ chipset_base_dir ]
module_install_dir = "bin"
part_name = "unionman_products"
subsystem_name = "product_unionman"
}

6
unionpi_tiger/sample/hdf/sensor/BUILD.gn Executable file → Normal file
View File

@ -14,7 +14,7 @@
import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_executable("sensor") {
ohos_executable("sample_sensor") {
sources = [ "sensor.cpp" ]
include_dirs = [
@ -26,7 +26,7 @@ ohos_executable("sensor") {
external_deps = [
"c_utils:utils",
"drivers_interface_sensor:libsensor_proxy_1.0",
"drivers_interface_sensor:libsensor_proxy_1.1",
"hdf_core:libhdf_utils",
"hilog:libhilog",
]
@ -42,5 +42,5 @@ ohos_executable("sensor") {
install_enable = true
install_images = [ "vendor" ]
module_install_dir = "bin"
part_name = "unionman_products"
subsystem_name = "product_unionman"
}

View File

@ -0,0 +1,25 @@
# Copyright (c) 2022 Unionman Technology 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.
import("//build/ohos.gni")
group("napi") {
deps = [
"napisubsys/adc_component:adc_component",
"napisubsys/gpio_hdf:gpio_hdf",
"napisubsys/gpioled_part/gpioled_demo:gpioled",
"napisubsys/i2cnapipart/i2cnapidemo:i2cnapidemo",
"napisubsys/pwmnapipart/pwmnapidemo:pwmtest",
"napisubsys/spinapipart/spinapidemo:spitest",
]
}

View File

@ -39,9 +39,7 @@ ohos_shared_library("adc_napi") {
]
relative_install_dir = "module"
subsystem_name = "napisubsys"
part_name = "adc_component"
subsystem_name = "product_unionman"
}
ohos_executable("sample_server") {
@ -59,4 +57,12 @@ ohos_executable("sample_server") {
]
install_images = [ "system" ]
subsystem_name = "product_unionman"
}
group("adc_component") {
deps = [
":adc_napi",
":sample_server",
]
}

3
unionpi_tiger/sample/napi/napisubsys/gpio_hdf/BUILD.gn Executable file → Normal file
View File

@ -43,6 +43,5 @@ ohos_shared_library("gpio_hdf") {
]
relative_install_dir = "module"
subsystem_name = "napisubsys"
part_name = "gpio_hdf"
subsystem_name = "product_unionman"
}

View File

@ -29,6 +29,5 @@ ohos_shared_library("gpioled") {
]
relative_install_dir = "module"
subsystem_name = "napisubsys"
part_name = "gpioled_part"
subsystem_name = "product_unionman"
}

View File

@ -34,7 +34,5 @@ ohos_shared_library("i2cnapidemo") {
relative_install_dir = "module"
subsystem_name = "napisubsys"
part_name = "i2cnapipart"
subsystem_name = "product_unionman"
}

View File

@ -1,5 +0,0 @@
{
"subsystem" : "napisubsys",
"parts":
{}
}

View File

@ -32,6 +32,5 @@ ohos_shared_library("pwmtest") {
]
relative_install_dir = "module"
subsystem_name = "pwmtest"
part_name = "pwmnapipart"
subsystem_name = "product_unionman"
}

View File

@ -36,9 +36,5 @@ ohos_shared_library("spitest") {
]
relative_install_dir = "module"
subsystem_name = "napisubsys"
part_name = "spinapipart"
subsystem_name = "spitest"
subsystem_name = "product_unionman"
}

View File

@ -0,0 +1,8 @@
{
"critical_reboot_process_list": [
{
"name": "samgr",
"critical": [1, 1, 60]
}
]
}

View File

@ -15,7 +15,7 @@
},
{
"name": "media_service",
"gid": ["system"]
"gid": ["root", "system"]
},
{
"name": "misc",
@ -27,11 +27,6 @@
"uid": "root",
"gid": "root"
},
{
"name": "nwebspawn",
"uid": "root",
"gid": "root"
},
{
"name": "render_service",
"uid": "system",
@ -58,13 +53,18 @@
"gid": "system"
},
{
"name": "devattest_service",
"uid": "root",
"gid": "root"
"name": "concurrent_task_service",
"uid": "system",
"gid": "system"
},
{
"name": "hdcd",
"uid": "root"
},
{
"name": "key_enable",
"uid": "root",
"gid": "root"
}
]
}