From 0ff789a8cfa42a5238da431065585393615f53e2 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 5 Jul 2017 12:37:08 -0700 Subject: [PATCH 01/13] libqcomvoiceprocessingdescriptors build with VNDK When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This means that they receive restricted sets of headers and that automatic global headers are restricted. Test: build libqcomvoiceprocessingdescriptors with BOARD_VNDK_VERSION=current Bug: 37342627 Change-Id: Ic40abef2188ad4aa3a6c23a6d5729252f272f25e --- voice_processing/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/voice_processing/Android.mk b/voice_processing/Android.mk index c9b05ec..0ff33c7 100644 --- a/voice_processing/Android.mk +++ b/voice_processing/Android.mk @@ -20,6 +20,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := voice_processing_descriptors.c LOCAL_C_INCLUDES += $(call include-path-for, audio-effects) +LOCAL_HEADER_LIBRARIES := libhardware_headers LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) LOCAL_MODULE := libqcomvoiceprocessingdescriptors LOCAL_MODULE_RELATIVE_PATH := soundfx From d4a66ac073e17edf1960070ed9711a0090623e5c Mon Sep 17 00:00:00 2001 From: Marissa Wall Date: Thu, 13 Jul 2017 14:28:03 -0700 Subject: [PATCH 02/13] Power Profile: update walleye Updating all power profiles using the same scripts. Previously, every power profile was generated using different algorithims. b/62389228 Test: Run a normal android workload and verify the app blame is reasonable Change-Id: Ie519a8156c6670aaae7ca197db6127b2fe2caf6f --- .../base/core/res/res/xml/power_profile.xml | 329 ++++++++++-------- 1 file changed, 184 insertions(+), 145 deletions(-) diff --git a/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml index 1ef652f..8cc203e 100644 --- a/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -1,158 +1,197 @@ + - + - 15 + + 0 - 14.38 + + 2700 - 30 + + + 4 + 4 + - 50 - 5 - - 6 - 5 - 4 - 3 - 3 - + + 6.815 + + 0.386 - 0 + + + 300000 + 364800 + 441600 + 518400 + 595200 + 672000 + 748800 + 825600 + 883200 + 960000 + 1036800 + 1094400 + 1171200 + 1248000 + 1324800 + 1401600 + 1478400 + 1555200 + 1670400 + 1747200 + 1824000 + 1900800 + + + + 300000 + 345600 + 422400 + 499200 + 576000 + 652800 + 729600 + 806400 + 902400 + 979200 + 1056000 + 1132800 + 1190400 + 1267200 + 1344000 + 1420800 + 1497600 + 1574400 + 1651200 + 1728000 + 1804800 + 1881600 + 1958400 + 2035200 + 2112000 + 2208000 + 2265600 + 2323200 + 2342400 + 2361600 + 2457600 + - - 4 - 4 - + + + 94.160 + 93.476 + 94.298 + 94.855 + 95.562 + 96.226 + 97.122 + 97.846 + 98.628 + 100.261 + 101.152 + 102.414 + 103.788 + 105.495 + 107.019 + 107.988 + 109.419 + 112.277 + 115.216 + 120.171 + 121.103 + 127.612 + + + + 100.694 + 101.776 + 104.376 + 107.662 + 110.020 + 112.200 + 115.311 + 117.869 + 120.536 + 124.278 + 126.533 + 128.559 + 133.988 + 136.235 + 141.534 + 145.820 + 150.525 + 156.475 + 164.219 + 169.669 + 179.833 + 196.902 + 204.774 + 222.625 + 227.947 + 251.520 + 266.381 + 282.240 + 288.020 + 295.238 + 294.655 + - - - 300000 - 364800 - 441600 - 518400 - 595200 - 672000 - 748800 - 825600 - 883200 - 960000 - 1036800 - 1094400 - 1171200 - 1248000 - 1324800 - 1401600 - 1478400 - 1555200 - 1670400 - 1747200 - 1824000 - 1900800 - + + 131.397 + + 189.487 - - 103.348000 - 108.472000 - 133.136993 - 111.133003 - 107.376999 - 111.085999 - 104.720001 - 109.449997 - 138.858002 - 111.936996 - 133.197998 - 118.005005 - 117.300003 - 146.181000 - 117.845001 - 123.345993 - 125.492004 - 153.684998 - 132.847000 - 160.753998 - 138.453995 - 149.253998 - + + 245.859 + + 895.907 - - - 300000 - 345600 - 422400 - 499200 - 576000 - 652800 - 729600 - 806400 - 902400 - 979200 - 1056000 - 1132800 - 1190400 - 1267200 - 1344000 - 1420800 - 1497600 - 1574400 - 1651200 - 1728000 - 1804800 - 1881600 - 1958400 - 2035200 - 2112000 - 2208000 - 2265600 - 2323200 - 2342400 - 2361600 - 2457600 - + + 55.714 + + + 30 + + + 50 + + 5 + + + 6 + 5 + 4 + 3 + 3 + - - 143.03 - 97.95 - 104.41 - 103.54 - 107.21 - 152.82 - 156.37 - 106.92 - 106.44 - 113.09 - 156.63 - 152.48 - 136.45 - 177.21 - 120.17 - 166.94 - 138.59 - 197.52 - 161.63 - 163.24 - 175.34 - 183.17 - 252.96 - 230.71 - 286.02 - 288.12 - 336.74 - 325.27 - 367.62 - 369.38 - 342.99 - - 118.46 - 88.27 - 240.10 - 925.45 - 2700 From 27402de0fb2d09225d4f569854d9864dd6a8ff30 Mon Sep 17 00:00:00 2001 From: Ian Pedowitz Date: Tue, 15 Aug 2017 10:42:33 -0700 Subject: [PATCH 03/13] Removing Muskie from oc-mr1-dev and below Bug: 64696168 Test: walleye and aosp_walleye still builds successfully Change-Id: I43c32d842757282462c21ed69aeadec6603b30b6 --- AndroidProducts.mk | 1 - aosp_muskie.mk | 40 ----- device-muskie.mk | 40 ----- muskie/BoardConfig.mk | 31 ---- .../res/res/values-mcc310-mnc004/config.xml | 28 ---- .../res/res/values-mcc311-mnc480/config.xml | 29 ---- .../base/core/res/res/values/config.xml | 114 ------------- .../base/core/res/res/xml/power_profile.xml | 158 ------------------ vendorsetup.sh | 1 - 9 files changed, 442 deletions(-) delete mode 100644 aosp_muskie.mk delete mode 100644 device-muskie.mk delete mode 100644 muskie/BoardConfig.mk delete mode 100644 muskie/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml delete mode 100644 muskie/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml delete mode 100644 muskie/overlay/frameworks/base/core/res/res/values/config.xml delete mode 100644 muskie/overlay/frameworks/base/core/res/res/xml/power_profile.xml diff --git a/AndroidProducts.mk b/AndroidProducts.mk index f488362..9357a8a 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -15,6 +15,5 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_muskie.mk \ $(LOCAL_DIR)/aosp_walleye.mk \ $(LOCAL_DIR)/aosp_walleye_test.mk \ diff --git a/aosp_muskie.mk b/aosp_muskie.mk deleted file mode 100644 index 987e5d5..0000000 --- a/aosp_muskie.mk +++ /dev/null @@ -1,40 +0,0 @@ -# -# Copyright 2016 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. -# - - -# Inherit from the common Open Source product configuration -$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) - - -$(call inherit-product, device/google/muskie/device-muskie.mk) -$(call inherit-product-if-exists, vendor/google_devices/muskie/proprietary/device-vendor-muskie.mk) - -PRODUCT_PACKAGES += \ - Dialer \ - Launcher3 \ - WallpaperPicker - -PRODUCT_COPY_FILES += \ - device/google/muskie/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf - -PRODUCT_RESTRICT_VENDOR_FILES := owner - -PRODUCT_MANUFACTURER := Google -PRODUCT_BRAND := Android -PRODUCT_NAME := aosp_muskie -PRODUCT_DEVICE := muskie -PRODUCT_MODEL := AOSP on muskie diff --git a/device-muskie.mk b/device-muskie.mk deleted file mode 100644 index 6a38db3..0000000 --- a/device-muskie.mk +++ /dev/null @@ -1,40 +0,0 @@ -# -# Copyright 2016 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. -# - -PRODUCT_AAPT_CONFIG := normal -PRODUCT_AAPT_PREF_CONFIG := 560dpi -PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi - -PRODUCT_HARDWARE := muskie - -# DEVICE_PACKAGE_OVERLAYS for the device should be before -# including common overlays since the one listed first -# takes precedence. -ifdef DEVICE_PACKAGE_OVERLAYS -$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays) -endif -DEVICE_PACKAGE_OVERLAYS += device/google/muskie/muskie/overlay - -include device/google/muskie/device-common.mk - -PRODUCT_PROPERTY_OVERRIDES += \ - ro.sf.lcd_density=560 \ - -# HWUI cache sizes -PRODUCT_PROPERTY_OVERRIDES += \ - ro.hwui.texture_cache_size=72 \ - ro.hwui.layer_cache_size=48 \ - ro.hwui.path_cache_size=32 diff --git a/muskie/BoardConfig.mk b/muskie/BoardConfig.mk deleted file mode 100644 index 7e0479f..0000000 --- a/muskie/BoardConfig.mk +++ /dev/null @@ -1,31 +0,0 @@ -# -# Copyright (C) 2016 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. -# - -TARGET_BOOTLOADER_BOARD_NAME := muskie -DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056 - -include device/google/wahoo/BoardConfig.mk --include vendor/google_devices/muskie/proprietary/BoardConfigVendor.mk - -BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 - -#sepolicy common to muskie/walleye -BOARD_SEPOLICY_DIRS += device/google/muskie/sepolicy - -# Testing related defines -BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh - -BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/ diff --git a/muskie/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml b/muskie/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml deleted file mode 100644 index 05c7683..0000000 --- a/muskie/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - g2pw2100 - - http://uaprof.vtext.com/htc/g2pw2100/g2pw2100.xml - - diff --git a/muskie/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml b/muskie/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml deleted file mode 100644 index a87fec6..0000000 --- a/muskie/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - g2pw2100 - - http://uaprof.vtext.com/htc/g2pw2100/g2pw2100.xml - - diff --git a/muskie/overlay/frameworks/base/core/res/res/values/config.xml b/muskie/overlay/frameworks/base/core/res/res/values/config.xml deleted file mode 100644 index 95fb95c..0000000 --- a/muskie/overlay/frameworks/base/core/res/res/values/config.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - g2pw2100 - - http://www.gstatic.com/android/sms/G_2PW2100.xml - - - - 5 - 20 - 40 - 100 - 325 - 600 - 1250 - 2200 - 4000 - - - - - 10 - 33 - 49 - 68 - 87 - 108 - 132 - 167 - 206 - 255 - - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - 600 - - - 6 - - - 13 - - - 98 - - - 86 - - - 4 - - - - "usbradio:adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi" - "usbradio:mtp,adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi" - "usbradio:mtp:diag,serial_cdev,rmnet_gsi:diag,serial_cdev,rmnet_gsi" - "usbradio:rndis,adb:rndis,diag,adb:diag,serial_cdev,rmnet_gsi" - "usbradio:rndis:rndis,diag:diag,serial_cdev,rmnet_gsi" - - - diff --git a/muskie/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/muskie/overlay/frameworks/base/core/res/res/xml/power_profile.xml deleted file mode 100644 index 2c96682..0000000 --- a/muskie/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 15 - - 14.38 - - 30 - - 50 - 5 - - 6 - 5 - 4 - 3 - 3 - - - 0 - - - 4 - 4 - - - - - 300000 - 364800 - 441600 - 518400 - 595200 - 672000 - 748800 - 825600 - 883200 - 960000 - 1036800 - 1094400 - 1171200 - 1248000 - 1324800 - 1401600 - 1478400 - 1555200 - 1670400 - 1747200 - 1824000 - 1900800 - - - - 103.348000 - 108.472000 - 133.136993 - 111.133003 - 107.376999 - 111.085999 - 104.720001 - 109.449997 - 138.858002 - 111.936996 - 133.197998 - 118.005005 - 117.300003 - 146.181000 - 117.845001 - 123.345993 - 125.492004 - 153.684998 - 132.847000 - 160.753998 - 138.453995 - 149.253998 - - - - - 300000 - 345600 - 422400 - 499200 - 576000 - 652800 - 729600 - 806400 - 902400 - 979200 - 1056000 - 1132800 - 1190400 - 1267200 - 1344000 - 1420800 - 1497600 - 1574400 - 1651200 - 1728000 - 1804800 - 1881600 - 1958400 - 2035200 - 2112000 - 2208000 - 2265600 - 2323200 - 2342400 - 2361600 - 2457600 - - - - 143.03 - 97.95 - 104.41 - 103.54 - 107.21 - 152.82 - 156.37 - 106.92 - 106.44 - 113.09 - 156.63 - 152.48 - 136.45 - 177.21 - 120.17 - 166.94 - 138.59 - 197.52 - 161.63 - 163.24 - 175.34 - 183.17 - 252.96 - 230.71 - 286.02 - 288.12 - 336.74 - 325.27 - 367.62 - 369.38 - 342.99 - - 161.74 - 122.66 - 240.10 - 1157.88 - 3830 - diff --git a/vendorsetup.sh b/vendorsetup.sh index 531b8b1..2d8c55b 100755 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -14,6 +14,5 @@ # limitations under the License. # -add_lunch_combo aosp_muskie-userdebug add_lunch_combo aosp_walleye-userdebug add_lunch_combo aosp_walleye_test-userdebug From 3c91ebe414e1f5bd657b0f59b0e5a4446bc1c8a1 Mon Sep 17 00:00:00 2001 From: Niranjan Pendharkar Date: Fri, 18 Aug 2017 11:50:02 -0700 Subject: [PATCH 04/13] enable IPA offload config for WLAN Bug: 34361337 Test: manual Change-Id: I3536b8b714316be2bec1e1c43ed2b0ffadad3493 (cherry picked from commit 304b1c993092f28239fa16fa94a0c7b35a34f321) --- WCNSS_qcom_cfg.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WCNSS_qcom_cfg.ini b/WCNSS_qcom_cfg.ini index 669595f..63b427c 100644 --- a/WCNSS_qcom_cfg.ini +++ b/WCNSS_qcom_cfg.ini @@ -199,7 +199,7 @@ gVhtTxMCS2x2=2 #bit5 IPA uC ENABLE #bit6 IPA uC STA ENABLE #bit8 IPA Real Time Debugging -gIPAConfig=0 +gIPAConfig=0x3d gIPADescSize=800 # Enable/Disable RX full reorder offload From 463316021e5e374788656235d0cdd60d5d8262dd Mon Sep 17 00:00:00 2001 From: Phil Burk Date: Wed, 23 Aug 2017 12:27:15 -0700 Subject: [PATCH 05/13] aaudio: reenable MMAP mode for Walleye Bug: 64955707 Test: "adb shell getprop aaudio.mmap_policy" should print 2 Change-Id: I3a03c951806af96a7e4141d42df35a42df5c578b --- device-common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device-common.mk b/device-common.mk index b37d4da..6d8b6de 100644 --- a/device-common.mk +++ b/device-common.mk @@ -37,11 +37,11 @@ PRODUCT_COPY_FILES += \ # 1 is AAUDIO_POLICY_NEVER means only use Legacy path. # 2 is AAUDIO_POLICY_AUTO means try MMAP then fallback to Legacy path. # 3 is AAUDIO_POLICY_ALWAYS means only use MMAP path. -PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=1 +PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=2 # 1 is AAUDIO_POLICY_NEVER means only use SHARED mode # 2 is AAUDIO_POLICY_AUTO means try EXCLUSIVE then fallback to SHARED mode. # 3 is AAUDIO_POLICY_ALWAYS means only use EXCLUSIVE mode. -PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=1 +PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=2 # Increase the apparent size of a hardware burst from 1 msec to 2 msec. # A "burst" is the number of frames processed at one time. From 3f8a709ee02e15391b3fd42a8105367ecf0a3b08 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Thu, 17 Aug 2017 12:03:49 -0700 Subject: [PATCH 06/13] Convert Taimen & Walleye audio_effect.conf to xml Converted .conf format to .xml using: vendor/box/user/mnaganov/audio-effects-conf/aeffects-conf2xml Bug: 37492580 Test: dumped the effectFactory state and check it was unchanged $ adb shell dumpsys media.audio_flinger | sed '/Clients:/q' Change-Id: I526e73e469f0ff6a0e2829358ccf2204323a6d98 Merged-In: I526e73e469f0ff6a0e2829358ccf2204323a6d98 Signed-off-by: Kevin Rocard --- aosp_walleye.mk | 2 +- audio_effects.conf | 331 --------------------------------------------- audio_effects.xml | 82 +++++++++++ 3 files changed, 83 insertions(+), 332 deletions(-) delete mode 100644 audio_effects.conf create mode 100644 audio_effects.xml diff --git a/aosp_walleye.mk b/aosp_walleye.mk index 0b8cdc9..1c23d25 100644 --- a/aosp_walleye.mk +++ b/aosp_walleye.mk @@ -28,7 +28,7 @@ PRODUCT_PACKAGES += \ WallpaperPicker PRODUCT_COPY_FILES += \ - device/google/muskie/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf + device/google/muskie/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml PRODUCT_RESTRICT_VENDOR_FILES := owner diff --git a/audio_effects.conf b/audio_effects.conf deleted file mode 100644 index 0741076..0000000 --- a/audio_effects.conf +++ /dev/null @@ -1,331 +0,0 @@ -# List of effect libraries to load. Each library element must contain a "path" element -# giving the full path of the library .so file. -# libraries { -# { -# path -# } -# } -libraries { - bundle { - path /vendor/lib/soundfx/libbundlewrapper.so - } - reverb { - path /vendor/lib/soundfx/libreverbwrapper.so - } - visualizer_sw { - path /vendor/lib/soundfx/libvisualizer.so - } - visualizer_hw { - path /vendor/lib/soundfx/libqcomvisualizer.so - } - downmix { - path /vendor/lib/soundfx/libdownmix.so - } - loudness_enhancer { - path /vendor/lib/soundfx/libldnhncr.so - } - proxy { - path /vendor/lib/soundfx/libeffectproxy.so - } - offload_bundle { - path /vendor/lib/soundfx/libqcompostprocbundle.so - } - audio_pre_processing { - path /vendor/lib/soundfx/libqcomvoiceprocessing.so - } - volume_listener { - path /vendor/lib/soundfx/libvolumelistener.so - } -} - -# Default pre-processing library. Add to audio_effect.conf "libraries" section if -# audio HAL implements support for default software audio pre-processing effects -# -# pre_processing { -# path /system/lib/soundfx/libaudiopreprocessing.so -# } - -# list of effects to load. Each effect element must contain a "library" and a "uuid" element. -# The value of the "library" element must correspond to the name of one library element in the -# "libraries" element. -# The name of the effect element is indicative, only the value of the "uuid" element -# designates the effect. -# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the -# generic effect type UUID. -# effects { -# { -# library -# uuid -# } -# ... -# } - -effects { - -# additions for the proxy implementation -# Proxy implementation - #effectname { - #library proxy - #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - - # SW implemetation of the effect. Added as a node under the proxy to - # indicate this as a sub effect. - #libsw { - #library libSW - #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy - #} End of SW effect - - # HW implementation of the effect. Added as a node under the proxy to - # indicate this as a sub effect. - #libhw { - #library libHW - #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz - #}End of HW effect - #} End of effect proxy - - bassboost { - library proxy - uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b - - libsw { - library bundle - uuid 8631f300-72e2-11df-b57e-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b - } - } - virtualizer { - library proxy - uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b - - libsw { - library bundle - uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b - } - } - equalizer { - library proxy - uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b - - libsw { - library bundle - uuid ce772f20-847d-11df-bb17-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid a0dac280-401c-11e3-9379-0002a5d5c51b - } - } - volume { - library bundle - uuid 119341a0-8469-11df-81f9-0002a5d5c51b - } - reverb_env_aux { - library proxy - uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b - - libsw { - library reverb - uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid 79a18026-18fd-4185-8233-0002a5d5c51b - } - } - reverb_env_ins { - library proxy - uuid b707403a-a1c1-4291-9573-0002a5d5c51b - - libsw { - library reverb - uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b - } - } - reverb_pre_aux { - library proxy - uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b - - libsw { - library reverb - uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid 6987be09-b142-4b41-9056-0002a5d5c51b - } - } - reverb_pre_ins { - library proxy - uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b - - libsw { - library reverb - uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b - } - - libhw { - library offload_bundle - uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b - } - } - visualizer { - library proxy - uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c - - libsw { - library visualizer_sw - uuid d069d9e0-8329-11df-9168-0002a5d5c51b - } - - libhw { - library visualizer_hw - uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b - } - } - downmix { - library downmix - uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f - } - loudness_enhancer { - library loudness_enhancer - uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c - } - aec { - library audio_pre_processing - uuid 5d593ae0-1ef9-11e7-93ae-92361f002671 - } - ns { - library audio_pre_processing - uuid 5d593d56-1ef9-11e7-93ae-92361f002671 - } - music_helper { - library volume_listener - uuid 08b8b058-0590-11e5-ac71-0025b32654a0 - } - ring_helper { - library volume_listener - uuid 0956df94-0590-11e5-bdbe-0025b32654a0 - } - alarm_helper { - library volume_listener - uuid 09f303e2-0590-11e5-8fdb-0025b32654a0 - } - # voice_helper is called when stream type is voice_call in VoIP usecase - voice_helper { - library volume_listener - uuid 0ace5c08-0590-11e5-ae9e-0025b32654a0 - } - notification_helper { - library volume_listener - uuid 0b776dde-0590-11e5-81ba-0025b32654a0 - } -} - -# additional effect from vendor -# UUID generated using version 1 - -output_session_processing { - music { - music_helper { - } - } - ring { - ring_helper { - } - } - alarm { - alarm_helper { - } - } - # stream type voice_call is used for VoIP call - voice_call { - voice_helper { - } - } - notification { - notification_helper { - } - } -} - -pre_processing { - voice_communication { - aec { - } - ns { - } - } -} - -# Default pre-processing effects. Add to audio_effect.conf "effects" section if -# audio HAL implements support for them. -# -# agc { -# library pre_processing -# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b -# } -# aec { -# library pre_processing -# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b -# } -# ns { -# library pre_processing -# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b -# } - -# Audio preprocessor configurations. -# The pre processor configuration consists in a list of elements each describing -# pre processor settings for a given input source. Valid input source names are: -# "mic", "camcorder", "voice_recognition", "voice_communication" -# Each input source element contains a list of effects elements. The name of the effect -# element must be the name of one of the effects in the "effects" list of the file. -# Each effect element may optionally contain a list of parameters and their -# default value to apply when the pre processor effect is created. -# A parameter is defined by a "param" element and a "value" element. Each of these elements -# consists in one or more elements specifying a type followed by a value. -# The types defined are: "int", "short", "float", "bool" and "string" -# When both "param" and "value" are a single int, a simple form is allowed where just -# the param and value pair is present in the parameter description -# pre_processing { -# { -# { -# { -# param { -# int|short|float|bool|string -# [ int|short|float|bool|string ] -# ... -# } -# value { -# int|short|float|bool|string -# [ int|short|float|bool|string ] -# ... -# } -# } -# { } -# ... -# } -# ... -# } -# ... -# } - -# -# TODO: add default audio pre processor configurations after debug and tuning phase -# diff --git a/audio_effects.xml b/audio_effects.xml new file mode 100644 index 0000000..704e53c --- /dev/null +++ b/audio_effects.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a1fd4f0d027b76940184c116b12f2851fc547560 Mon Sep 17 00:00:00 2001 From: Ecco Park Date: Fri, 18 Aug 2017 08:00:07 -0700 Subject: [PATCH 07/13] walleye-wifi: DBS off Bug: 64813671 Change-Id: Iec352624ce10afcd327ee494207a0a3d61325a78 Signed-off-by: Ecco Park --- WCNSS_qcom_cfg.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WCNSS_qcom_cfg.ini b/WCNSS_qcom_cfg.ini index 63b427c..eb53cb9 100644 --- a/WCNSS_qcom_cfg.ini +++ b/WCNSS_qcom_cfg.ini @@ -600,7 +600,7 @@ gEnableTxBFeeSAP=1 # scan policy disabled # 4 - enable DBS for connection as well as for scan with async # scan policy disabled -gDualMacFeatureDisable=2 +gDualMacFeatureDisable=1 #Set priority for connection with bssid_hint g_is_bssid_hint_priority=0 From 8a85777f312c92ecf10bcc7af44554f2424cefff Mon Sep 17 00:00:00 2001 From: vincent_tew Date: Mon, 4 Sep 2017 17:22:03 +0800 Subject: [PATCH 08/13] muskie: update audio volume & volume listener table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit change list: [audio platform] Modify the setting of level mapping(QCT’s proposal) for TTS issue. [audio policy] tune volume curve to approach linearity in playback paths. Bug:64774822 Test: manual audio test Change-Id: Icf4f6d180013a18a551ba4ee12a35145ca55acb7 Signed-off-by: vincent_tew --- audio_platform_info_tavil.xml | 10 +++++----- audio_policy_volumes.xml | 16 +++++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/audio_platform_info_tavil.xml b/audio_platform_info_tavil.xml index 05c29a9..f8c5f66 100644 --- a/audio_platform_info_tavil.xml +++ b/audio_platform_info_tavil.xml @@ -104,11 +104,11 @@ - - - - - + + + + + diff --git a/audio_policy_volumes.xml b/audio_policy_volumes.xml index 2fa063a..dbeb268 100644 --- a/audio_policy_volumes.xml +++ b/audio_policy_volumes.xml @@ -77,13 +77,15 @@ volume index from 0 to 100. - 1,-5500 - 53,-2130 - 60,-1950 - 73,-1600 - 80,-1200 - 86,-680 - 93,-340 + 1,-4900 + 52,-2130 + 59,-1950 + 71,-1100 + 79,-870 + 84,-680 + 87,-450 + 91,-250 + 95,-100 100,0 Date: Mon, 11 Sep 2017 13:50:08 -0700 Subject: [PATCH 09/13] Update blobs for mr1 BUG:65457346 Change-Id: I805571971e8bccfbee4c636cd6b678703523e990 --- self-extractors/extract-lists.txt | 4 ---- self-extractors/qcom/staging/device-partial.mk | 4 ---- 2 files changed, 8 deletions(-) diff --git a/self-extractors/extract-lists.txt b/self-extractors/extract-lists.txt index bfe61ff..f97a318 100644 --- a/self-extractors/extract-lists.txt +++ b/self-extractors/extract-lists.txt @@ -21,8 +21,6 @@ system/framework/embmslibrary.jar \ system/framework/rcsimssettings.jar \ system/framework/vendor.qti.qcril.am-V1.0-java.jar \ - system/lib64/android.hardware.biometrics.fingerprint@2.1.so \ - system/lib64/android.hardware.oemlock@1.0.so \ system/lib64/com.qualcomm.qti.imsrtpservice@1.0.so \ system/lib64/libaptX_encoder.so \ system/lib64/libaptXHD_encoder.so \ @@ -33,7 +31,6 @@ system/lib64/lib-imsvtextutils.so \ system/lib64/lib-imsvt.so \ system/lib64/lib-imsvtutils.so \ - system/lib64/libion.so \ system/lib64/libiperf.so \ system/lib64/librcc.so \ system/lib/com.qualcomm.qti.imsrtpservice@1.0.so \ @@ -44,7 +41,6 @@ system/lib/lib-imsvtextutils.so \ system/lib/lib-imsvt.so \ system/lib/lib-imsvtutils.so \ - system/lib/libion.so \ system/lib/libiperf.so \ system/lib/librcc.so \ system/xbin/iperf3 \ diff --git a/self-extractors/qcom/staging/device-partial.mk b/self-extractors/qcom/staging/device-partial.mk index 9f9a450..983ab3a 100644 --- a/self-extractors/qcom/staging/device-partial.mk +++ b/self-extractors/qcom/staging/device-partial.mk @@ -30,8 +30,6 @@ PRODUCT_COPY_FILES := \ vendor/qcom/walleye/proprietary/embmslibrary.jar:system/framework/embmslibrary.jar:qcom \ vendor/qcom/walleye/proprietary/rcsimssettings.jar:system/framework/rcsimssettings.jar:qcom \ vendor/qcom/walleye/proprietary/vendor.qti.qcril.am-V1.0-java.jar:system/framework/vendor.qti.qcril.am-V1.0-java.jar:qcom \ - vendor/qcom/walleye/proprietary/lib64/android.hardware.biometrics.fingerprint@2.1.so:system/lib64/android.hardware.biometrics.fingerprint@2.1.so:qcom \ - vendor/qcom/walleye/proprietary/lib64/android.hardware.oemlock@1.0.so:system/lib64/android.hardware.oemlock@1.0.so:qcom \ vendor/qcom/walleye/proprietary/lib64/com.qualcomm.qti.imsrtpservice@1.0.so:system/lib64/com.qualcomm.qti.imsrtpservice@1.0.so:qcom \ vendor/qcom/walleye/proprietary/lib64/libaptX_encoder.so:system/lib64/libaptX_encoder.so:qcom \ vendor/qcom/walleye/proprietary/lib64/libaptXHD_encoder.so:system/lib64/libaptXHD_encoder.so:qcom \ @@ -42,7 +40,6 @@ PRODUCT_COPY_FILES := \ vendor/qcom/walleye/proprietary/lib64/lib-imsvtextutils.so:system/lib64/lib-imsvtextutils.so:qcom \ vendor/qcom/walleye/proprietary/lib64/lib-imsvt.so:system/lib64/lib-imsvt.so:qcom \ vendor/qcom/walleye/proprietary/lib64/lib-imsvtutils.so:system/lib64/lib-imsvtutils.so:qcom \ - vendor/qcom/walleye/proprietary/lib64/libion.so:system/lib64/libion.so:qcom \ vendor/qcom/walleye/proprietary/lib64/libiperf.so:system/lib64/libiperf.so:qcom \ vendor/qcom/walleye/proprietary/lib64/librcc.so:system/lib64/librcc.so:qcom \ vendor/qcom/walleye/proprietary/com.qualcomm.qti.imsrtpservice@1.0.so:system/lib/com.qualcomm.qti.imsrtpservice@1.0.so:qcom \ @@ -53,7 +50,6 @@ PRODUCT_COPY_FILES := \ vendor/qcom/walleye/proprietary/lib-imsvtextutils.so:system/lib/lib-imsvtextutils.so:qcom \ vendor/qcom/walleye/proprietary/lib-imsvt.so:system/lib/lib-imsvt.so:qcom \ vendor/qcom/walleye/proprietary/lib-imsvtutils.so:system/lib/lib-imsvtutils.so:qcom \ - vendor/qcom/walleye/proprietary/libion.so:system/lib/libion.so:qcom \ vendor/qcom/walleye/proprietary/libiperf.so:system/lib/libiperf.so:qcom \ vendor/qcom/walleye/proprietary/librcc.so:system/lib/librcc.so:qcom \ vendor/qcom/walleye/proprietary/iperf3:system/xbin/iperf3:qcom \ From 8cf351e8003fb432f5bff546c626284a7ef57364 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Tue, 12 Sep 2017 16:20:26 -0700 Subject: [PATCH 10/13] WLAN: M/W: Set cfg.ini values ce_service_max_yield_time - Control to set ce service max yield time (in ms) ce_service_max_rx_ind_flush - Control to set ce service max rx ind flush rx_mode = 5 (rx_thread + NAPI) Bug: 64133322 CRs-Fixed: 2090546 Change-Id: I6068221eccdcebd9eb814bda52cfcfe6e214523d Signed-off-by: Srinivas Girigowda --- WCNSS_qcom_cfg.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/WCNSS_qcom_cfg.ini b/WCNSS_qcom_cfg.ini index eb53cb9..18219bc 100644 --- a/WCNSS_qcom_cfg.ini +++ b/WCNSS_qcom_cfg.ini @@ -61,7 +61,8 @@ gDot11Mode=0 # Enable Rx handling options # Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium) -rx_mode=4 +# Rx_thread + NAPI = 5 +rx_mode=5 #Enable VHT on 2.4Ghz gEnableVhtFor24GHzBand=1 @@ -235,6 +236,10 @@ ght_mpdu_density=4 # 1 - enable 0 - disable(default) gEnableFlowSteering=1 +ce_service_max_yield_time=500 +ce_service_max_rx_ind_flush=1 +maxMSDUsPerRxInd=8 + ################ Datapath feature set End ################ ############################################# From 645a109bfd0fbe90cee110324c024190e5b13151 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Tue, 19 Sep 2017 12:11:14 +0800 Subject: [PATCH 11/13] Fix walleye to boot with GSI Walleye requres /sys/class/uio/uio1/device/rtel/rtel in userdebug build, and GSI will change the device to userdebug. So, we need to switch rtel with the build type in boot time, even the device is in user build. Bug: 65229896 Test: Boot (aosp_)walleye-(user|userdebug) with/without GSI to home screen Change-Id: I8fa74c02a0a48feeef87d8e9caa702e4a44aedf7 --- init-common.rc | 3 +++ init.logging.userdebug.rc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init-common.rc b/init-common.rc index 2b5db77..ca1f526 100644 --- a/init-common.rc +++ b/init-common.rc @@ -39,3 +39,6 @@ on init && property:ro.boot.revision=MP0 # PVT on init && property:ro.boot.revision=MP1 setprop ro.boot.hardware.revision 1.0 + +on boot && property:ro.build.type=userdebug + write /sys/class/uio/uio1/device/rtel/rtel 1 diff --git a/init.logging.userdebug.rc b/init.logging.userdebug.rc index 3d8e5eb..7cc6645 100644 --- a/init.logging.userdebug.rc +++ b/init.logging.userdebug.rc @@ -1,6 +1,3 @@ -on boot - write /sys/class/uio/uio1/device/rtel/rtel 1 - on post-fs-data # SM DUMP logging collection mkdir /data/vendor/modem_dump 0777 system system From e5e23c81b90a6865cc05cb50ac752553f2d87ecf Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Fri, 25 Aug 2017 22:44:01 -0700 Subject: [PATCH 12/13] thermal: add throttling notification rules to thermal-engine configs Add monitor algorithms for the temperatures covered by throttling rules to the VR-mode and non-VR-mode thermal-engine.conf files, with "report" actions that send event notifications to the Android framework. Bug: 30982366 Test: manual on walleye (with artifically low threshold) Change-Id: I33ff9c44c684640f4af960a53533717d02506814 --- thermal-engine-vr.conf | 4 ++-- thermal-engine.conf | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/thermal-engine-vr.conf b/thermal-engine-vr.conf index ce6f3a9..e4b0442 100755 --- a/thermal-engine-vr.conf +++ b/thermal-engine-vr.conf @@ -13,5 +13,5 @@ sensor back_therm sampling 1000 thresholds 52000 thresholds_clr 48000 -actions cluster0+cluster1+gpu+battery -action_info 883200+902400+342000000+3 +actions cluster0+cluster1+gpu+battery+report +action_info 883200+902400+342000000+3+1 diff --git a/thermal-engine.conf b/thermal-engine.conf index a3b8c15..ef41dad 100755 --- a/thermal-engine.conf +++ b/thermal-engine.conf @@ -56,8 +56,8 @@ sampling 2000 sensor back_therm thresholds 50000 52000 54000 thresholds_clr 49000 51000 53000 -actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu -action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000 +actions cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report +action_info 1094400+1190400+414000000+1 883200+902400+342000000+1 300000+300000+257000000+1 [BATTERY-MONITOR] algo_type monitor @@ -76,3 +76,12 @@ thresholds 56000 thresholds_clr 55000 actions shutdown action_info 1 + +[THROTTLING-NOTIFY] +algo_type monitor +sampling 2000 +sensor back_therm +thresholds 40000 +thresholds_clr 39000 +actions report +action_info 1 From 85d4fe9ca8a6535168647d1a6524a4cd144efb69 Mon Sep 17 00:00:00 2001 From: Patrick Tjin Date: Fri, 22 Sep 2017 10:30:34 -0700 Subject: [PATCH 13/13] Remove walleye_clang target Walleye kernel is clang by default, walleye_clang is deprecated. Bug: 66686376 Change-Id: I0ce1d9a50a303602401b501974fb9f13f2cbb975 Signed-off-by: Patrick Tjin --- device-common.mk | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/device-common.mk b/device-common.mk index 6d8b6de..29df59a 100644 --- a/device-common.mk +++ b/device-common.mk @@ -76,21 +76,14 @@ PRODUCT_COPY_FILES += \ include device/google/wahoo/device.mk # Kernel modules -ifeq (,$(filter-out muskie_clang walleye_clang, $(TARGET_PRODUCT))) -# if TARGET_PRODUCT == *_clang -BOARD_VENDOR_KERNEL_MODULES += \ - device/google/wahoo-kernel/clang/synaptics_dsx_core_htc.ko \ - device/google/wahoo-kernel/clang/synaptics_dsx_rmi_dev_htc.ko \ - device/google/wahoo-kernel/clang/synaptics_dsx_fw_update_htc.ko \ - device/google/wahoo-kernel/clang/htc_battery.ko -else ifeq (,$(filter-out muskie_gcc walleye_gcc, $(TARGET_PRODUCT))) +ifeq (,$(filter-out walleye_gcc, $(TARGET_PRODUCT))) # if TARGET_PRODUCT == *_gcc BOARD_VENDOR_KERNEL_MODULES += \ device/google/wahoo-kernel/gcc/synaptics_dsx_core_htc.ko \ device/google/wahoo-kernel/gcc/synaptics_dsx_rmi_dev_htc.ko \ device/google/wahoo-kernel/gcc/synaptics_dsx_fw_update_htc.ko \ device/google/wahoo-kernel/gcc/htc_battery.ko -else ifeq (,$(filter-out muskie_kasan walleye_kasan, $(TARGET_PRODUCT))) +else ifeq (,$(filter-out walleye_kasan, $(TARGET_PRODUCT))) # if TARGET_PRODUCT == *_kasan BOARD_VENDOR_KERNEL_MODULES += \ device/google/wahoo-kernel/kasan/synaptics_dsx_core_htc.ko \