Commit graph

597 commits

Author SHA1 Message Date
Bill Yi
ca29bc0475 Add template for generating Caiman/Komodo/Tokay vendor blobs
Also add template for generating factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG: 325612343
Change-Id: Iadf0f425866b0bde379fcea15348a01a53860d51
2024-02-29 11:24:06 -08:00
Treehugger Robot
a001a40448 Merge changes from topic "thread_hal_config" into main
* changes:
  Support Thread HAL on KM4CM4TK4
  Support Thread HAL on ripcurrentpro
  Add Thread Service Config
2024-02-29 10:20:44 +00:00
shihchienc
4ef4ccf7f3 Support Thread HAL on KM4CM4TK4
add Thread config into device, default not enabled.

Bug: 318601784
Test: Build pass
Change-Id: Ie2fbb205ff373762d20c12f013e7f892cc2787ad
2024-02-29 05:44:18 +00:00
shihchienc
1d9c4e7081 Support Thread HAL on ripcurrentpro
add Thread config into device, default not enabled.

Bug: 318601784
Test: build pass
Change-Id: I63aa1eb386fcf26967c9b7e2f02b2afc87dcba2f
2024-02-29 05:44:07 +00:00
shihchienc
f08329c9f7 Add Thread Service Config
Bug: 318601784
Test: Build pass
Change-Id: I3fcff022849c2729301e52820ec7139e133131c8
2024-02-29 05:43:43 +00:00
TeYuan Wang
293906adff thermal: reading the thermistor temperature from upstream sysfs for proto
Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I13dc61d5d4df64b3a9858dc062a3eee52d0dee94
2024-02-29 02:12:11 +00:00
Bill Yi
c90f92067a Merge "Add AOSP support for caiman/komodo/tokay" into main 2024-02-28 19:58:31 +00:00
Mitch Phillips
648b4936c8 Merge "Disable MTE on certain system processes that have it enabled by default" into main 2024-02-28 08:19:50 +00:00
TeYuan Wang
f2a7aba99e thermal: reading the thermistor temperature from upstream sysfs
tz_temp callback will invoke thermal_zone_device_update and return the cached temp from thermal core. However, during device resume, the cached temp may be reset to INVALID number before being returned.
So, change the reading path to upstream temp_show which will return the temperature from thermistor driver directly.

Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I82cf81d940585c4827256804bc9c9397f4b54ccf
2024-02-28 07:30:38 +00:00
Yvonne Yip
4269b04d39 Merge "powerhint: port changes from p23" into main 2024-02-28 00:26:01 +00:00
Bill Yi
443a642059 Add AOSP support for caiman/komodo/tokay
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/caiman
platform/vendor/aosp/google_devices/komodo
platform/vendor/aosp/google_devices/tokay

and the path is
vendor/google_devices/caiman
vendor/google_devices/komodo
vendor/google_devices/tokay

BUG: 325612343
Change-Id: I881994da5b81e963f5427af1642e29bffdca9c97
2024-02-27 14:26:16 -08:00
Sayanna Chandula
11c24123c3 Merge "thermal: update vt model with 3 prev samples" into main 2024-02-27 21:09:19 +00:00
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