diff --git a/device.mk b/device.mk index 636c43e3..02c07667 100644 --- a/device.mk +++ b/device.mk @@ -703,7 +703,7 @@ PRODUCT_COPY_FILES += \ device/google/zuma/display/display_colordata_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal0.pb # limit DPP downscale ratio -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.hwc.dpp.downscale=3 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.hwc.dpp.downscale=4 # Cannot reference variables defined in BoardConfig.mk, uncomment this if # BOARD_USES_EXYNOS_DSS_FEATURE is true @@ -973,11 +973,14 @@ endif PRODUCT_PACKAGES += modem_logging_control # modem logging configs -PRODUCT_COPY_FILES += \ - device/google/zuma/radio/config/logging.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem/logging.conf \ - device/google/zuma/radio/config/default.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default.cfg \ - device/google/zuma/radio/config/default.nprf:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default.nprf \ - device/google/zuma/radio/config/default_metrics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/modem/default_metrics.xml +PRODUCT_PACKAGES += \ + logging.conf \ + default.cfg \ + default.nprf \ + default_metrics.xml \ + Pixel_stability.cfg \ + Pixel_stability.nprf + endif # ARM NN files diff --git a/radio/Android.bp b/radio/Android.bp new file mode 100644 index 00000000..54b41efc --- /dev/null +++ b/radio/Android.bp @@ -0,0 +1,73 @@ +// +// Copyright (C) 2023 The Android Open Source Project +// +// 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. + +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "//device/google/zuma:device_google_zuma_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: [ + "//device/google/zuma:device_google_zuma_license", + ], +} + +prebuilt_etc { + name: "logging.conf", + vendor: true, + proprietary: true, + src: "config/logging.conf", + relative_install_path: "modem" +} + +prebuilt_etc { + name: "default.cfg", + vendor: true, + proprietary: true, + src: "config/default.cfg", + relative_install_path: "modem" +} + +prebuilt_etc { + name: "default.nprf", + vendor: true, + proprietary: true, + src: "config/default.nprf", + relative_install_path: "modem" +} + +prebuilt_etc { + name: "default_metrics.xml", + vendor: true, + proprietary: true, + src: "config/default_metrics.xml", + relative_install_path: "modem" +} + +prebuilt_etc { + name: "Pixel_stability.cfg", + vendor: true, + proprietary: true, + src: "config/Pixel_stability.cfg", + relative_install_path: "modem" +} + +prebuilt_etc { + name: "Pixel_stability.nprf", + vendor: true, + proprietary: true, + src: "config/Pixel_stability.nprf", + relative_install_path: "modem" +} diff --git a/radio/config/Pixel_stability.cfg b/radio/config/Pixel_stability.cfg new file mode 100644 index 00000000..dcc0a63e --- /dev/null +++ b/radio/config/Pixel_stability.cfg @@ -0,0 +1 @@ +Pixel_stability.nprf,default_metrics.xml \ No newline at end of file diff --git a/radio/config/Pixel_stability.nprf b/radio/config/Pixel_stability.nprf new file mode 100644 index 00000000..dd03d3e7 Binary files /dev/null and b/radio/config/Pixel_stability.nprf differ