From fc150b9276ac3e41c3147496b2249a4366eb161d Mon Sep 17 00:00:00 2001 From: Phil Burk Date: Mon, 19 Mar 2018 14:17:12 -0700 Subject: [PATCH 1/2] aaudio: add MMAP mode for handset on Taimen This fixes a bug that prevented starting an AAudio MMAP stream running on the earphone speaker. Bug: b/75304145 Test: adb shell write_sine_callback -m3 -d2 -pl Change-Id: I185a10eaee37c74376dd7ffc574efb1d39aba5dd --- mixer_paths_tavil.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mixer_paths_tavil.xml b/mixer_paths_tavil.xml index c276fd0..3332c2e 100644 --- a/mixer_paths_tavil.xml +++ b/mixer_paths_tavil.xml @@ -996,6 +996,10 @@ + + + + From bc9fafae2c8af1c00af47ca3940ecc31068bd98d Mon Sep 17 00:00:00 2001 From: Siddharth Ray Date: Tue, 20 Mar 2018 16:26:14 -0700 Subject: [PATCH 2/2] Power profile for T BUG:72383423 Change-Id: I63cd55dc163483abb65b913a43c6fa0408124147 --- .../base/core/res/res/xml/power_profile.xml | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml index 8fa56a5..31d0790 100644 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -177,11 +177,11 @@ 1 - 103 + 125 - 250 + 350 - 3800 + 3700 50 @@ -198,16 +198,23 @@ - 1 - 25 - 50 + 0 + 110 + 128 1 - 53 + 5 + 26 100 - 150 - 200 + 249 3700 + + + 32 + 4 + + 3700 +