diff --git a/oriole/bundle.json b/oriole/bundle.json index 62feb42c34be85a25530cf75ed1058fed09beeda..1dc289ca39a3bad05aa0eeaf5f9bebdb7f719662 100644 --- a/oriole/bundle.json +++ b/oriole/bundle.json @@ -34,12 +34,11 @@ "//vendor/hardmony/oriole/image_conf:custom_image_conf", "//vendor/hardmony/oriole/preinstall-config:preinstall-config", "//vendor/hardmony/oriole/resourceschedule:resourceschedule", - "//vendor/hardmony/oriole/foundation_config:foundation_config", "//vendor/hardmony/oriole/dm_config:dm_config", "//vendor/hardmony/oriole/wm_config:wm_config", "//vendor/hardmony/oriole/etc:product_etc_conf", "//vendor/hardmony/oriole/hdf_config/uhdf:hdf_config", - "//vendor/hardmony/oriole/hals/audio:hdf_audio_config", + "//vendor/hardmony/oriole/hals/audio:hdf_audio_config", "//vendor/hardmony/oriole/animation/profile:charger_animation", "//vendor/hardmony/oriole/animation/resources:resources_service", "//vendor/hardmony/oriole/battery/profile:battery_config" diff --git a/oriole/foundation_config/BUILD.gn b/oriole/foundation_config/BUILD.gn deleted file mode 100644 index b8e487f451a9e05dfccdecb4e0812fce6d891b58..0000000000000000000000000000000000000000 --- a/oriole/foundation_config/BUILD.gn +++ /dev/null @@ -1,30 +0,0 @@ -# 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. - -import("//build/ohos.gni") - -import("//build/ohos.gni") - -ohos_prebuilt_etc("foundation_service_config") { - source = "foundation.cfg" - install_enable = true - install_images = [ "vendor" ] - module_install_dir = "etc/init" - part_name = "product_oriole" -} - -group("foundation_config") { - deps = [ - ":foundation_service_config" - ] -} diff --git a/oriole/foundation_config/foundation.cfg b/oriole/foundation_config/foundation.cfg deleted file mode 100644 index 8fc6132c6dfd5b7cbf528f055269f67a458f0585..0000000000000000000000000000000000000000 --- a/oriole/foundation_config/foundation.cfg +++ /dev/null @@ -1,114 +0,0 @@ -{ - "jobs" : [{ - "name" : "services:foundation", - "cmds" : [ - "mkdir /data/service/el1/public/AbilityManagerService 0711 foundation system", - "mkdir /data/storage/el1/bundle 0711 system system", - "mkdir /data/storage/el2/base 0711 system system", - "mkdir /data/storage/el2/database 0711 system system", - "mkdir /data/service/el1/public/notification 0711 foundation system", - "mkdir /data/service/el1/public/database 0711 ddms ddms", - "mkdir /data/service/el1/public/database/bundle_manager_service 02770 foundation ddms", - "mkdir /data/service/el1/public/database/notification_service 02770 foundation ddms", - "mkdir /data/service/el1/public/database/form_storage 02770 foundation ddms", - "mkdir /data/service/el0/stats 0711 foundation system", - "mkdir /data/service/el0/thermal 0755 foundation foundation", - "mkdir /data/service/el0/thermal/config 0711 foundation foundation", - "chmod 0664 /sys/power/wakeup_count", - "mkdir /data/service/el1/public/window 0711 foundation foundation", - "mkdir /data/service/el1/public/database/common_event_service 02770 foundation ddms", - "mkdir /data/service/el1/public/database/auto_startup_service 02770 foundation ddms", - "mkdir /data/service/el1/public/database/app_exit_reason 02770 foundation ddms" - ] - } , { - "name" : "services:restartfoundation", - "cmds" : [ - "reset appspawn", - "reset accountmgr", - "reset bgtaskmgr_service", - "reset resource_schedule_service", - "reset device_usage_stats_service", - "stop dlp_permission_service", - "start bootanimation" - ] - } - ], - "services" : [{ - "name" : "foundation", - "path" : ["/system/bin/sa_main", "/system/profile/foundation.json"], - "critical" : [0, 4, 240], - "importance" : -20, - "uid" : "foundation", - "permission" : [ - "ohos.permission.INPUT_MONITORING", - "ohos.permission.PERMISSION_USED_STATS", - "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", - "ohos.permission.DISTRIBUTED_DATASYNC", - "ohos.permission.MANAGE_AUDIO_CONFIG", - "ohos.permission.WRITE_CALL_LOG", - "ohos.permission.READ_CONTACTS", - "ohos.permission.READ_DFX_SYSEVENT", - "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", - "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", - "ohos.permission.MANAGE_SECURE_SETTINGS", - "ohos.permission.START_ABILITIES_FROM_BACKGROUND", - "ohos.permission.ACCESS_SERVICE_DM", - "ohos.permission.STORAGE_MANAGER", - "ohos.permission.PROXY_AUTHORIZATION_URI", - "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION", - "ohos.permission.USE_USER_IDM", - "ohos.permission.MANAGE_LOCAL_ACCOUNTS", - "ohos.permission.LISTEN_BUNDLE_CHANGE", - "ohos.permission.GET_TELEPHONY_STATE", - "ohos.permission.SEND_MESSAGES", - "ohos.permission.CONNECT_CELLULAR_CALL_SERVICE", - "ohos.permission.SET_TELEPHONY_STATE", - "ohos.permission.VIBRATE", - "ohos.permission.SYSTEM_LIGHT_CONTROL", - "ohos.permission.MANAGE_HAP_TOKENID", - "ohos.permission.WRITE_WHOLE_CALENDAR", - "ohos.permission.UPDATE_CONFIGURATION", - "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT", - "ohos.permission.START_INVISIBLE_ABILITY", - "ohos.permission.GET_BUNDLE_INFO", - "ohos.permission.GET_SUSPEND_STATE", - "ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT", - "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "ohos.permission.GET_SENSITIVE_PERMISSIONS", - "ohos.permission.CLEAN_APPLICATION_DATA", - "ohos.permission.REMOVE_CACHE_FILES", - "ohos.permission.INSTALL_SANDBOX_BUNDLE", - "ohos.permission.USE_BLUETOOTH", - "ohos.permission.CONNECTIVITY_INTERNAL", - "ohos.permission.GET_RUNNING_INFO", - "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", - "ohos.permission.ACCESS_BLUETOOTH", - "ohos.permission.RUNNING_STATE_OBSERVER" - ], - "permission_acls":[ - "ohos.permission.MANAGE_HAP_TOKENID", - "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", - "ohos.permission.INPUT_MONITORING", - "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", - "ohos.permission.START_INVISIBLE_ABILITY", - "ohos.permission.INSTALL_SANDBOX_BUNDLE" - ], - "gid" : ["system", "appspawn", "update"], - "caps" : ["SYS_PTRACE", "KILL"], - "bootevents": [ - "bootevent.wms.fullscreen.ready", - "bootevent.appfwk.ready", - "bootevent.lockscreen.ready" - ], - "jobs" : { - "on-start" : "services:foundation", - "on-restart" : "services:restartfoundation" - }, - "secon" : "u:r:foundation:s0", - "writepid" : [ - "/dev/cpuset/foreground/tasks", - "/dev/cpuctl/foreground/tasks" - ] - } - ] -}