Commit graph

435 commits

Author SHA1 Message Date
Treehugger Robot
c0ca60a59f Merge "tegu: Update xml for recording setting" into main 2024-08-01 07:38:01 +00:00
Rios Kao
fb6bc766d9 Merge "tegu: support libspeechenhancer" into main 2024-08-01 07:29:19 +00:00
Yixuan Jiang
971c9743ce tegu: Update xml for recording setting
Bug: 356733590
Change-Id: I3e3e160d00f9987e778963852b9073761010e897
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-08-01 14:54:32 +08:00
Peter (YM)
ae099efef6 thermal: monitor >7 degC gap between model and legacy
Allow thermalHAL to report sensor reading trace when vskin model and
legacy shows big gap

Bug: 333834000
Test: Build and boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: Ie45bf02083be9a2fc8f46a2a40d779a1323c08f4
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-01 04:55:50 +00:00
Rios Kao
601fdeaab9 tegu: support libspeechenhancer
note: 0731 library which supports handset mode

Bug: 355579656
Test: end-to-end test.
Flag: EXEMPT extend existed feature.
Change-Id: I48d4d2479623b3a75c32d34ee093c4dae260f161
2024-07-31 11:29:02 +00:00
Pointer Kung
3ab80ee3ad powerhint.json: Reset max_load_balance_interval for camera
Temporary workaround to avoid potential power problems.

Bug: 353147579
Test: Build pass, Boot to home, Power improvement measurement
Flag: EXEMPT bugfix
Change-Id: I882599c19abe8a818669c5ae320ab77f833c7b31
2024-07-31 08:32:15 +00:00
Paulsu Su
35144d5384 powerhint: Enable PA_KILL during PA_KILL_BOOST
Port from ag/27949358 and ag/28274083

Currently, we enable PA_KILL always on camera launch. This CL puts this
feature behind a power boost profile which can only be triggered from
camera hal and is controlled by a mendel flag.

Bug: 356005553
Change-Id: I09ca12244c031524b8b99f8f8dc888ef7781cd08
Test: boot to home
Flag: EXEMPT resource only update
2024-07-31 02:48:20 +00:00
Treehugger Robot
360b86af2c Merge "thermal: update wlc charging thermal throttling" into main 2024-07-30 13:53:50 +00:00
Rios Kao
bd5f3d04c0 tegu: enable HAC
Test: build pass
Bug: 342060192
Flag: NONE bugfix
Change-Id: I21a398b9df58de4c9d84e2628e4f56ec80a323ed
2024-07-30 11:03:15 +00:00
David Chao
d45178e258 thermal: update wlc charging thermal throttling
Aligned with previous project to active fan for wireless charging by
enabling dc_icl cdev earlier.

Flag: EXEMPT tuning changes
Bug: 333833667
Test: boot to home and thermal throttling worked properly.
Change-Id: Icbf6114ea6b6a8a20e1d4656ce9c9e9f9aa69d3c
2024-07-30 03:32:46 +00:00
Rios Kao
a89a2911b1 tegu: add incall stream 3 for gsenet uplink
note:
     - Add new use-case for gsenet voip

Test: build pass
Bug: 343339070
Flag: NONE EXEMPT add path for existed feature.
Change-Id: Ibc6f160faedfe799889ae0f1fc0bccab6b832958
2024-07-30 01:34:51 +00:00
Paulsu Su
92621cf7ff Merge "thermal: remove PMU_POLL control for game mode and disable LIGHT tier throttling when gaming" into main 2024-07-29 03:51:16 +00:00
Paulsu Su
aa58050f50 thermal: remove PMU_POLL control for game mode and disable LIGHT tier throttling when gaming
Port from ag/26822605, ag/26653806

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so remove the CPU thermal policy at lower
temperature to avoid the interfence on CPU scheduler.

Port from ag/26822605

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so keep PMU_POLL being disabled to avoid the interference on CPU scheduler.

Bug: 342968374
Change-Id: Icafaa731abe0541fbd40c6e4501c13ee09803175
Flag: No flag needed for config file
Test: boot to home
2024-07-29 03:50:53 +00:00
Rios Kao
b80a957f19 Merge "tegu: CCA configuration." into main 2024-07-29 03:06:55 +00:00
Treehugger Robot
4ff2224786 Merge "Revert^2 "Support AIDL based radio HALs"" into main 2024-07-28 10:55:14 +00:00
Treehugger Robot
506c0f5751 Merge "remove uwb hal" into main 2024-07-27 01:02:24 +00:00
Victor Liu
4906fa83ac remove uwb hal
uwb is not supported on this device

Bug: 354302960
Flag: EXEMPT NDK
Change-Id: I8392b998bc128669b393552e0283e89bd4d0d721
Signed-off-by: Victor Liu <victorliu@google.com>
2024-07-26 22:32:12 +00:00
Rios Kao
9b7d196072 tegu: CCA configuration.
Test: build pass
Bug: 342058004
Flag: NONE bug fix
Change-Id: Ie0b99bf0c762fc108b60736dd5729cdd982971a1
2024-07-26 07:50:58 +00:00
Edwin Tung
33639384c8 Merge "gps: enable MTPL" into main 2024-07-26 05:17:09 +00:00
Edwin Tung
4d9f6bed04 Merge "gps: update gps version 4.15.1_18_240716_R2_227931" into main 2024-07-26 05:16:15 +00:00
Treehugger Robot
0d44327950 Merge "thermal: enable model based vskin calculation" into main 2024-07-25 07:17:12 +00:00
Peter (YM)
8a95f6c471 thermal: enable model based vskin calculation
- Use VT_MODEL to do thermal throttle
- Clamp VT_MODEL prediction based on training set max_surface
- Use VT_MODEL_LEGACY_DIFF to decide on switch
- Enable smooth transition with weights

Bug: 354939290
Test: Build and boot to home, verify vskin-legacy can trigger shutdown b/354939290#comment3
Flag: EXEMPT (bug 337358613)
Change-Id: I8c2a071b8f34c4ab055adfd9d2363f2158775c99
Signed-off-by: Peter (YM) <peterym@google.com>
2024-07-25 04:31:23 +00:00
Edwin Tung
00a7959ec9 gps: enable MTPL
Bug: 334722223

Test: MTPL working fine b/334722223#comment109
Change-Id: I40fc3d69ea7ebf2e08eb9df509b7ca8beb6ac261
2024-07-25 11:46:02 +08:00
Rios Kao
e71e442c6f audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in PTCRB setting,
HASWB TX/RX EQ.
HHWB and HHSWB RXEQ and vol gain.
HHSWB TXEQ
HHWB ECNS.

Files from the latest attachment on b/355139309

Bug: 355139309
Test: verified by ntkuo@
Flag: EXEMPT tuning table update
Change-Id: I8fea1f44756c4e3cef8a14509fe1086d8319415d
2024-07-25 00:57:40 +00:00
Yuchen Sun
fb6bf7e862 Merge "Add JP Initial MIC e-label" into main 2024-07-23 01:57:35 +00:00
Yuchen
78f4d7b008 Add JP Initial MIC e-label
Bug: 346454641
Test: Visual
Flag: EXEMPT resource update
Change-Id: I16f69b4b0da5de399fe34e1f6e500ddf89baf2f3
2024-07-22 09:35:25 +00:00
Tim Lin
b8a3f7f515 Revert^2 "Support AIDL based radio HALs"
Enable AIDL for V requirement

Bug: 281968564
Test: telephony function test
Flag: EXEMPT HAL interface change

a0d25a511c

Change-Id: Ie565e7f4e9e3b1179be54144c17155b0043b1bb7
2024-07-22 01:27:34 +00:00
Tom Huang
15b371b0ed Merge "[BT] Add sysprop to enable OPUS codec" into main 2024-07-19 02:25:52 +00:00
Treehugger Robot
4fc7f66651 Merge "Update antenna position coordinates" into main 2024-07-18 10:08:29 +00:00
Kyle Hsiao
da1bc310c0 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I449dad0911828c810a1f816553246721095b9e96
2024-07-18 10:07:18 +00:00
Roger Wang
ff2b964849 Wifi: Disable Indoor Channel for Peer Network
Bug: 353892955
Test: build pass
Flag: EXEMPT bugfix
Change-Id: I90caedc15d48fe48112775a55c0b6eddd5787478
2024-07-18 08:14:35 +00:00
Treehugger Robot
92038fffca Merge "Set big core to group_cfs_skip_mask for sys group by default" into main 2024-07-18 07:13:06 +00:00
Ferrio Liu
235686b827 Merge "power_profile.xml: Update CPU Parameter for tegu" into main 2024-07-18 06:07:27 +00:00
ferrio liu
13558adb26 power_profile.xml: Update CPU Parameter for tegu
Test: manual test
Bug: 353859162

Flag: EXEMPT, this is an update for power profile
Change-Id: I32f41371baa7f6bdf63c7dc89beb48981b78c45f
Signed-off-by: ferrio liu <ferrioliu@google.com>
2024-07-18 06:06:59 +00:00
Edwin Tung
0ee43f37bb gps: update gps version 4.15.1_18_240716_R2_227931
Bug: 346872594

Test: b/353412628
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I1f12f0b25733418bb9bacc46f8b1e3c75ef2a21b
2024-07-18 05:47:12 +00:00
Paulsu Su
3397733574 Set big core to group_cfs_skip_mask for sys group by default
port from ag/27511024

Let sys group tasks will run less in big core by default.

Bug: 342968374
Change-Id: I3ba6f469caa4d0ddfdf2963182ebde53eba9d009
Test: build pass
2024-07-18 03:36:04 +00:00
Paulsu Su
8f17091791 powerhint: Enable auto migration margins/dvfs headroom for game mode
Port from ag/27002783

Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: If08486732e8213a9d82982f305c42748cf002543
2024-07-17 09:20:33 +00:00
Paulsu Su
ed7eb0272a powerhint: Add nodes to control per-task iowait boost
Port from 27901981

It's disabled by default.

Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.

Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: Ic4ec943181885be2a788c2b8754e814826abdd24
2024-07-17 09:20:33 +00:00
Paulsu Su
9f7a17064a powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Port from ag/26990115

Everything should be disabled by default.

Make sure camera and game explicitly disable them by default too.

Ensure the feature is disable when screen is idle.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: I1425653c56a11b43219771961a5dc24b47b40421
2024-07-17 09:20:33 +00:00
Paulsu Su
4bc2decfb0 powerhint: Explicitly set DownRateLimitUs for camera
Port from ag/26990116

So that we can change the default values without impacting it.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: I7ab645d85563bb6ebc418b8d424c3a4b4504b926
2024-07-17 09:19:57 +00:00
Treehugger Robot
5e5a535ea8 Merge "Adjust positioning smartspace on weather clock tegu" into main 2024-07-17 02:30:25 +00:00
Hawkwood Glazier
75c53eff9c Adjust positioning smartspace on weather clock tegu
Bug: 343751803
Test: Manually checked device
Change-Id: I8d73515f8691485eae5734870fd3decdbe714fe5
2024-07-16 19:36:15 +00:00
Treehugger Robot
fdca21c8fc Merge "thermal: reading the thermistor temperature from upstream sysfs" into main 2024-07-16 06:13:54 +00:00
Treehugger Robot
514770a420 Merge "Audio: Add updated spatializer tuning in Tegu" into main 2024-07-15 17:48:19 +00:00
kuanyuhuang
6393d5a3cf [BT] Add sysprop to enable OPUS codec
Add system property to enable OPUS codec and offload at BT side.

Bug: 353143865
Bug: 353161316
Test: build and check system property at real device
Flag: com.android.media.audio.stereo_spatialization
Change-Id: I4136e73b8705c581512842786a3a85558a02f191
2024-07-15 11:23:05 +00:00
Treehugger Robot
75e528bdcd Merge "Powerhint tuning for photo capture" into main 2024-07-15 09:17:35 +00:00
Rios Kao
849e21af12 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-07-15 06:38:42 +00:00
Rios Kao
2ab0a55965 Audio: Add updated spatializer tuning in Tegu
Bug: 323223919
Bug: 303920722
Bug: 348074352
Test: manual
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Ibbc4f01c0cb4b8dfeeed73a4f5620ce3d7c0af03
2024-07-15 05:48:19 +00:00
Rios Kao
c82bb81b15 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in TIA-5050 EQ for EVT1.1,
Fine-tune HAWB and HASWB RXEQ.
Enable kid voice detection.

Files from the latest attachment on b/352471019

Bug: 352471019
Test: verified by ntkuo@
Flag: EXEMPT update audio table only.
Change-Id: Iff5c38648948a9fe5dedb2b14e002583dd68db04
2024-07-15 05:28:04 +00:00
Pointer Kung
02f1389157 Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Refer to ag/28118299

Bug: 345601796
Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: I86e36c64de4fe02e9c04171edbbc642cac1d0c3c
2024-07-15 04:17:34 +00:00