sm8550-common: Import kalama vendor overlays
Change-Id: Ie9eabba9841ce8bded3998e99ce473a4bd60035b
This commit is contained in:
@@ -66,10 +66,12 @@ PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||
PRODUCT_PACKAGES += \
|
||||
CarrierConfigResCommon \
|
||||
FrameworksResCommon \
|
||||
FrameworksResTarget \
|
||||
SystemUIResCommon \
|
||||
TelecommResCommon \
|
||||
TelephonyResCommon \
|
||||
WifiResCommon
|
||||
WifiResCommon \
|
||||
WifiResTarget
|
||||
|
||||
# Partitions
|
||||
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||
|
10
overlay/FrameworksResTarget/Android.bp
Normal file
10
overlay/FrameworksResTarget/Android.bp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Copyright (C) 2023 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResTarget",
|
||||
vendor: true,
|
||||
}
|
12
overlay/FrameworksResTarget/AndroidManifest.xml
Normal file
12
overlay/FrameworksResTarget/AndroidManifest.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.target">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
53
overlay/FrameworksResTarget/res/values/config.xml
Normal file
53
overlay/FrameworksResTarget/res/values/config.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Control whether the always on display mode is available. This should only be enabled on
|
||||
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
|
||||
states. -->
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
|
||||
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
||||
during initialization when the setting is still null. -->
|
||||
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
||||
|
||||
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
||||
device from the display on/off state.
|
||||
|
||||
When false, autosuspend_disable() will be called before the display is turned on
|
||||
and autosuspend_enable() will be called after the display is turned off.
|
||||
This mode provides best compatibility for devices using legacy power management
|
||||
features such as early suspend / late resume.
|
||||
|
||||
When true, autosuspend_display() and autosuspend_enable() will be called
|
||||
independently of whether the display is being turned on or off. This mode
|
||||
enables the power manager to suspend the application processor while the
|
||||
display is on.
|
||||
|
||||
This resource should be set to "true" when a doze component has been specified
|
||||
to maximize power savings but not all devices support it.
|
||||
|
||||
Refer to autosuspend.h for details.
|
||||
-->
|
||||
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
||||
|
||||
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
||||
on the headphone/microphone jack. When false use the older uevent framework. -->
|
||||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
|
||||
<!-- Default files to pin via Pinner Service -->
|
||||
<string-array name="config_defaultPinnerServiceFiles" translatable="false">
|
||||
<item>/system/framework/arm64/boot-QPerformance.oat</item>
|
||||
<item>/system/framework/arm64/boot-UxPerformance.oat</item>
|
||||
<item>/apex/com.android.media/javalib/updatable-media.jar</item>
|
||||
<item>/system/lib64/libsurfaceflinger.so</item>
|
||||
<item>/vendor/lib64/libllvm-qgl.so</item>
|
||||
<item>/system/lib64/libhwui.so</item>
|
||||
<item>/system/lib64/libEGL.so</item>
|
||||
<item>/vendor/lib64/egl/libGLESv2_adreno.so</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
10
overlay/WifiResTarget/Android.bp
Normal file
10
overlay/WifiResTarget/Android.bp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Copyright (C) 2023 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResTarget",
|
||||
vendor: true,
|
||||
}
|
13
overlay/WifiResTarget/AndroidManifest.xml
Normal file
13
overlay/WifiResTarget/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.overlay.target">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetName="WifiCustomization"
|
||||
android:targetPackage="com.android.wifi.resources" />
|
||||
</manifest>
|
91
overlay/WifiResTarget/res/values/config.xml
Normal file
91
overlay/WifiResTarget/res/values/config.xml
Normal file
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- boolean indicating whether the WiFi chipset has 5GHz band support.
|
||||
Note: This config is replacing the config_wifi_dual_band_support
|
||||
since more bands may now be supported (such as 6GHz), the naming dual_band
|
||||
is no longer indicative, and a separate config now exists for each band -->
|
||||
<bool name="config_wifi5ghzSupport" translatable="false">true</bool>
|
||||
|
||||
<!-- boolean indicating whether the WiFi chipset has 6GHz band support -->
|
||||
<bool name="config_wifi6ghzSupport" translatable="false">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
|
||||
This mechanism allows the host to remain in suspend state and the dongle to actively
|
||||
scan and wake the host when a configured SSID is detected by the dongle. This chipset
|
||||
capability can provide power savings when wifi needs to be always kept on. -->
|
||||
<bool name="config_wifi_background_scan_support" translatable="false">true</bool>
|
||||
|
||||
<!-- Boolean indicating performing a partial initial scan is enabled -->
|
||||
<bool name="config_wifiEnablePartialInitialScan" translatable="false">true</bool>
|
||||
|
||||
<!-- Boolean indicating connected frequency enhancement is enabled/disabled -->
|
||||
<bool name="config_wifiConnectedFrequencyEnhancementEnabled" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports Beacon Protection for SoftAp -->
|
||||
<bool name="config_vendor_softap_beacon_protection_supported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports Ocv for SoftAp -->
|
||||
<bool name="config_vendor_softap_ocv_supported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
|
||||
<bool name="config_wifi_softap_acs_supported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX for softap -->
|
||||
<bool name="config_wifiSoftapIeee80211axSupported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX single user beamformer for softap -->
|
||||
<bool name="config_wifiSoftapHeSuBeamformerSupported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
|
||||
<bool name="config_wifiSoftapHeSuBeamformeeSupported" translatable="false">true</bool>
|
||||
|
||||
<!-- Wifi driver supports 6GHz band for softap when chip support 6GHz -->
|
||||
<bool name="config_wifiSoftap6ghzSupported" translatable="false">true</bool>
|
||||
|
||||
<!-- Indicates that bridged AP mode is supported on this device -->
|
||||
<bool name="config_wifiBridgedSoftApSupported" translatable="false">false</bool>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,524288,1048576,4194304</string>
|
||||
|
||||
<!-- Enable Make-Before-Break Wifi network switching.
|
||||
Note: this is conditional on the device supporting dual concurrent STAs. -->
|
||||
<bool name="config_wifiMultiStaNetworkSwitchingMakeBeforeBreakEnabled" translatable="false">false</bool>
|
||||
|
||||
<!-- Enable concurrent peer to peer + internet connectivity
|
||||
Note: this is conditional on the device supporting dual concurrent STAs. -->
|
||||
<bool name="config_wifiMultiStaLocalOnlyConcurrencyEnabled" translatable="false">false</bool>
|
||||
|
||||
<!-- Enable concurrent restricted connectivity + internet connectivity
|
||||
Note: this is conditional on the device supporting dual concurrent STAs. -->
|
||||
<bool name="config_wifiMultiStaRestrictedConcurrencyEnabled" translatable="false">false</bool>
|
||||
|
||||
<!-- Enable concurrent internet connectivity + internet connectivity
|
||||
Note: this is conditional on the device supporting dual concurrent STAs. -->
|
||||
<bool name="config_wifiMultiStaMultiInternetConcurrencyEnabled" translatable="false">true</bool>
|
||||
|
||||
<!-- Indicates that SAE Hash-to-Element is supported on this device -->
|
||||
<bool name="config_wifiSaeH2eSupported" translatable="false">true</bool>
|
||||
|
||||
<!-- Indicates whether or not the WLAN driver supports the NL80211_CMD_REG_CHANGE or
|
||||
NL80211_CMD_WIPHY_REG_CHANGE events which indicate the current country code which is
|
||||
being used by the WLAN driver. If the driver doesn't support these events
|
||||
(configuration is `false`) then the driver must handle the setCountryCode request from
|
||||
HAL as a blocking call. In such a case the country code will be applied
|
||||
immediately after the country code is sent to the driver (if the method returns a
|
||||
success). -->
|
||||
<bool name="config_wifiDriverSupportedNl80211RegChangedEvent" translatable="false">true</bool>
|
||||
|
||||
<!-- Indicates whether or not the Soft AP needs to be restarted when country code changed -->
|
||||
<bool name="config_wifiForcedSoftApRestartWhenCountryCodeChanged" translatable="false">false</bool>
|
||||
|
||||
<!-- Indicates whether or not the network-centric QoS policy feature is enabled. -->
|
||||
<bool name="config_wifiNetworkCentricQosPolicyFeatureEnabled" translatable="false">true</bool>
|
||||
|
||||
</resources>
|
Reference in New Issue
Block a user