Commit graph

735 commits

Author SHA1 Message Date
Yvonne Yip
361c057f61 powerhint: port changes from p23
- Add DISPLAY_CHANGE powerhint
- Add more boosts to LAUNCH_EXTEND
- Remove unused idle target residency settings

Test: boot
Change-Id: Iadaf2c57ce2e85c72bff9fbf4891300caa3eb469
2024-02-27 20:09:38 +00:00
Sayanna Chandula
879af0e284 thermal: update vt model with 3 prev samples
Bug: 326130588
Test: Build and boot on device

Change-Id: If08449d01fc3c70ef68ba2900ab0ea0d6840a9c4
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-02-27 15:31:42 +00:00
Mitch Phillips
e3f2c1238c Disable MTE on certain system processes that have it enabled by default
A bunch of stuff in build/make/target/product/memtag-common.mk is specified has having MTE by default, in order to ensure that OEMs that have MTE-capable devices get a default level of MTE on security sensitive processes.

For now, on these devices, ensure that devices that enable MTE through the developer toggle (or the bootloader cmdline) only have the zygote with MTE.

Bug: 327060622
Change-Id: Ibb6d4fba7915c8556ebe9a303d38f7c642ad8fe9
Test: I do not have a device to test with - but follow the instructions at b/327060622
2024-02-27 13:44:56 +00:00
Treehugger Robot
eddb8013e6 Merge "audio: [KM4/CM4/TK4] 2024/02/26 Fortemedia table check in" into main 2024-02-27 11:52:43 +00:00
Rick Yiu
e4c0d822f3 Merge "Revert "Disable auto prefer idle if ta prefer_idle is explictly disabled"" into main 2024-02-27 06:42:57 +00:00
Carter Hsu
b72d3f68a0 audio: [KM4/CM4/TK4] 2024/02/26 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HA fine tune for EVT1.1 on WB/SWB
     TX/RX: TdDRC, EQ
-Handsfree (Ricky)
1. HH fine une for EVT1.1 on SWB
    TX: Pre-EQ, TdDRC
    RX: TdDRC gain/ limiter(Limiter THR => 50C3 (-4dB)), EQ for Max vol
2. Disable adative NS on WB/SWB

- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

KM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

CM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

- Handset/Handsfree (Duncan)
1: HHWB 3QUEST NMOS improvement
2: HHWB/SWB RX TdDRC limiter threshold 0x5800/0x5900 to avoid pop sound
3: HHWB RX max volume fine tune for FR and distortion 1020Hz
4: HHWB SLR tune to 10.6dB
5: HHSWB SFR, RFRmax tuning for distortion pass

Bug: 326846982
Test: Verified by Acoustic team
Change-Id: I16b038fe1fb9206bfa9cc83bd0657902a0f6e47b
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-27 11:00:01 +08:00
Rick Yiu
f8d8a2b2db Revert "Disable auto prefer idle if ta prefer_idle is explictly disabled"
This reverts commit 3beb1e6364.

Reason for revert: to avoid potential power regression

Bug: 326507991
Change-Id: If0fa9544c1848cfa5e195570c805653a33e52a75
Test: build pass
2024-02-27 01:48:20 +00:00
Wei Wang
882fa9d0c7 Merge "Disable CDPreferHighCap, use cam2 for CAMERA_STREAMING_STANDARD" into main 2024-02-23 22:33:20 +00:00
Achigo Liu
d43349277f Merge changes from topic "2024-02-22-caimito-comet-kernel" into main
* changes:
  display: cm4: don't apply overlay in low light
  display: km4: don't apply overlay in low light
2024-02-23 11:56:57 +00:00
Rick Yiu
3beb1e6364 Disable auto prefer idle if ta prefer_idle is explictly disabled
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled.

Bug: 326507991
Test: build pass
Change-Id: Ie8d02bcc2291c00f12c337220d0d7ad80729d6a9
2024-02-23 07:56:43 +00:00
Richard Chang
03dddaa99e Merge "caimito: move zram size setting to general mk file" into main 2024-02-23 06:08:35 +00:00
Treehugger Robot
d2c9df5cb0 Merge "conf: update cs40l26 sysfs ownership" into main 2024-02-23 02:50:15 +00:00
Ali K. Zadeh
0041bcd547 Disable CDPreferHighCap, use cam2 for CAMERA_STREAMING_STANDARD
Using cam2 will help reduce the framedrops for 120fps, and disabling
CDPreferHighCap helps with distributing the tasks to all cores and not
just being restricted to middle cores.

Test: https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/prefer_highcap_midcpus_30fps_120fps/index.md?cl=alikz/932
Test: https://docs.google.com/spreadsheets/d/1sKURR1tq0KJCTycw86BVk3wX2wWQ72HUDKq3rpzSLuc/edit?resourcekey=0-qbawDHe11an1OMQYqhj5Zw#gid=247988314
Test: https://docs.google.com/spreadsheets/d/1zOCS8hnphaNMcR_VoXgB3UkQl42i_r_CDY9Y7lzzZDA/edit?ouid=105033174378721646302
Bug: 322542383
Bug: 322229036
Bug: 311011064
Change-Id: I5bb427be8c1707515ab3ec2cea26bbb8ad338afa
2024-02-22 21:14:38 +00:00
Tai Kuo
2d8359e05a conf: update cs40l26 sysfs ownership
Bug: 326085750
Test: No permission denials.
Change-Id: I7bea4ab95125ca38b61ba016d88e245fd08a74f8
2024-02-22 22:00:54 +08:00
Alan Chen
aa3f6e79fd Merge "Add radioext aidl" into main 2024-02-22 13:21:01 +00:00
Treehugger Robot
42eb9c42e5 Merge "gps: update gps version 4.15.0.145" into main 2024-02-22 09:06:40 +00:00
Alan Chen
ec97a1d6a1 Merge "Update coex table" into main 2024-02-22 06:57:07 +00:00
John Pan
9885b6c176 Merge "Don't use default wallpaper when factory build" into main 2024-02-22 05:23:36 +00:00
Alan Chen
04ea8035cf Update coex table
Bug: 326172562
Test: manual, no black screen from mds simulation
Change-Id: Ifc730249eae6adbded4e66ddda7d9743668aba23
2024-02-22 09:34:43 +08:00
Alan Chen
74808432c4 Add radioext aidl
Bug: 322125172
Test: manual, device logs show radioext-aidl is running
Change-Id: I08af250a82f6fd8df98b7f1cf932ff4f64bec46c
2024-02-22 08:14:33 +08:00
Rios Kao
b1e6a0387f Merge "audio: fix vts for microphone information." into main 2024-02-21 12:56:36 +00:00
Frank Yu
d0e4bc5a18 update coex table
Test: Manual
Bug: 326172562
Change-Id: I8171980651da8f9b416a4a014ab54b65cedf8376
2024-02-21 18:29:58 +08:00
Richard Chang
dcb22ad94d caimito: move zram size setting to general mk file
Bug: 316995456
Test: perfwbs
Change-Id: Ic6f6cf0550eea45c1fe04d2b610dc523228c9737
2024-02-21 08:54:55 +00:00
Shin-Yu Wang
3245afb25b Merge "Update the idle timer setting" into main 2024-02-21 06:35:09 +00:00
John Pan
1abbab87f9 Don't use default wallpaper when factory build
Bug: 325851912
Test: Build pass; Manual
Change-Id: I962ea1e1577d32874a0d6dbb2f89dd23e4f1919d
2024-02-21 06:21:35 +00:00
Rios Kao
06c566503c audio: fix vts for microphone information.
note:
     Depending the realized in framework side, the microhone
     information only report the corresponding devices info
     surfaced via SDK. That means reporting bottom / back mic
     are necessary.

Test: atest VtsHalAudioCoreTargetTest
Bug: 300735639
Change-Id: Ib514d1f87f607d1bfab0818dbff16bd3623b313e
2024-02-21 03:56:10 +00:00
James Huang
d700db672f gps: update gps version 4.15.0.145
Update IsUseEntireRespTime911 and isForceHighAccuracyMode
Update NmeaBitmask

Bug: 317851543
Bug: 326003464
Test: Verify CTS/VTS and GNSS basic sanity test
Change-Id: Ifa449c048439702b6f2655d798a94f62dced858a
2024-02-20 18:31:08 +08:00
Shin-Yu Wang
78809a24e7 Update the idle timer setting
Bug: 307588292
Test: adb shell getprop | grep idle_timer
Change-Id: I77f4ac9bc0b15015bb13004be1fd58fb65b4cc99
2024-02-19 08:29:10 +00:00
Bill Chang
cc3bb2ce4d Add lwis client tool to fatp build on caimito
Bug: 324958358
Test: manual test
Change-Id: I42fac0b6980b4c8360b1ed650a7e1201592a2f32
2024-02-19 08:18:16 +00:00
Treehugger Robot
db5164ab80 Merge "E-label w/ COO for pre-production devices" into main 2024-02-19 07:29:26 +00:00
Treehugger Robot
8a933df7dd Merge "display: km4 & cm4: change histogram threshold for operation rate" into main 2024-02-19 06:39:18 +00:00
Charlotte Lu
a02ebd6251 E-label w/ COO for pre-production devices
Test: Visual Test

Fix: 323597582
Change-Id: I068799ffa306e6c8fa322c2ebfe6d0ef05603677
2024-02-19 13:54:20 +08:00
Treehugger Robot
d43a353c8f Merge "audio: update recording tuning table" into main 2024-02-18 17:29:34 +00:00
Chris Lu
7b41ff6f88 display: km4 & cm4: change histogram threshold for operation rate
Bug: 321638294
Test: getprop vendor.primarydisplay.op.hist_delta_th
Change-Id: I8b89f35c540d1cc51406fbf9f97d2314e43d77a8
2024-02-17 08:49:41 +00:00
Jikai Ma
74226a7a32 Merge "thermal: remove ODPM from legacy and patched linear model" into main 2024-02-16 22:47:36 +00:00
Jikai Ma
89813cd1df thermal: remove ODPM from legacy and patched linear model
- remove ODPM from legacy formulas
- remove ODPM from patched linear formulas
- update VIRTUAL-SKIN-CHARGE formulas

Bug: 320714468
Test: build and boot to home

Change-Id: I974476d45d9ace1740f9fec06af9399db5b7cb59
Signed-off-by: Jikai Ma <jikai@google.com>
2024-02-15 16:03:56 -08:00
Sayanna Chandula
0f72b2af9b Merge "thermal: add historic samples for tflite vt prediction" into main 2024-02-15 01:01:44 +00:00
Jeremy DeHaan
0fdfd18c51 display: cm4: don't apply overlay in low light
Bug: 325072661
Change-Id: I6246682513ebbcc3b21e0c42b69d175eb46c719e
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-02-14 16:51:25 -08:00
Jeremy DeHaan
e8ba192eb3 display: km4: don't apply overlay in low light
Bug: 325072661
Change-Id: I1ef263655edea8f96bf911487b650de1eeb7e5ab
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-02-14 16:51:10 -08:00
Sayanna Chandula
ba2f333130 thermal: add historic samples for tflite vt prediction
Add historic samples of past 5 iterations
Remove VSYS_PWR_ODPM from VT prediction

Bug: 315169778
Test: Build and boot on device

Change-Id: I70557d67633cbc4bcfbfe8811beff56353c54085
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-02-14 08:46:08 -08:00
Beverly
1e95d331b5 Update face auth sensor location
These values are used to calculate the size of the
screen decoration overlays (however, the actual
camera protection is provided by the camera callback).

Test: manual
Fixes: 324018508
Flag: none
Change-Id: Ie4a4100ba98ca9e69f43ca32a0cc36e6002b08f0
2024-02-13 18:40:25 +00:00
Jaegeuk Kim
c0e7918504 Define LOCAL_PATH
Similar to b/286503615 as komodo_ufs is also failing.

Bug: 286503615
Change-Id: Ic3fa6a163eb958fbdbc5bfabc8e1411a2bbb9690
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-02-12 13:32:35 -08:00
Treehugger Robot
20ad070508 Merge "gps: update GNSS config" into main 2024-02-09 04:48:15 +00:00
Wei Wang
282a75b7cb Fix bad merge of powerhint.json for RCP
Bug: 324249957
Change-Id: I45723fe840e454efd71b7e3acc4879ed7fd3a5ce
Test: Build
2024-02-07 19:00:27 +00:00
vincenttew
38f0d70aa2 audio: update recording tuning table
Change list ver 4.0 for EVT 1.1 :
1. Spatial audio calibration for EVT 1.1
2. MIC path IIR
3. PGC update parameters based on rms-baed calculation
4. update template.xml with SNS(off) on MIC

Bug: 324162417
Bug: 324162415
Bug: 324160489
Change-Id: Ic3ce060a0a478183ac8440f8da0a7b88170f1065
Signed-off-by: vincenttew <vincenttew@google.com>
2024-02-07 18:19:18 +08:00
TeYuan Wang
f28d1f2826 thermal: remove battery from TriggerSensor
Bug: 324178403
Test: no thermal error log when thermalHAL init
Change-Id: Ieb08a0b9312a591861384136572ccf1dddd5bbda
2024-02-07 07:43:00 +00:00
Treehugger Robot
906da26117 Merge "powerstats: use legacy data provider if MRR sysfs doesn't exist" into main 2024-02-07 04:16:08 +00:00
Treehugger Robot
536f86d6c7 Merge "Rename include_libsitril-gps-wifi" into main 2024-02-06 20:23:30 +00:00
Cole Faust
d59321a595 Rename include_libsitril-gps-wifi
We're adding a restriction that soong config namespaces/variables
are valid go identifiers. The dash in the name fails that check.

Bug: 323382414
Test: Presubmits
Change-Id: Ic8d92ec69abecaeaf955bb239fca65a013891a34
2024-02-06 09:54:29 -08:00
Darren Hsu
e75b810751 powerstats: use legacy data provider if MRR sysfs doesn't exist
Bug: 323590299
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ia31814c852f173a56361a3df88b6d20a5475ee03
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-02-06 19:55:54 +08:00