Commit graph

733 commits

Author SHA1 Message Date
Sayanna Chandula
6f59876ad6 thermal: enable input data validation
Update tflite models with metadata containing input data ranges.
Enable input data validation and backup sesor.
Add offsets based off temperature ranges.

Bug: 319167815
Bug: 328789394
Test: Build and boot on device. Test backup sensor and offsets

Change-Id: Icdc0c1a1fe026613e4a1716747335e60aca4edf9
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-03-20 11:49:53 -07:00
Jikai Ma
ca43671583 thermal: update legacy and linear vs formula
- vs formulas generated from EVT 1.1 data

Bug: 320714468
Test: push to device and boot to home

Change-Id: Ife745ac7640ffd284404212706c9bdfdb0500f33
Signed-off-by: Jikai Ma <jikai@google.com>
(cherry picked from commit 859dc39412)
2024-03-20 11:49:46 -07:00
William Huang
a6761db65a Spatializer: Update configs with latest tunings.
Update Auxel configs to http://go/txcl/34322 (commit 974de25dbcc96ce834d251e55c28463c91082f03).

Bug: 307842941
Change-Id: I1749526260465bdcb2c9dc298c357073788864fb
Signed-off-by: William Huang <yushh@google.com>
2024-03-20 12:32:19 +00:00
jonerlin
ae00b706b3 Set the HW stage device with an old Bluetooth chip that is no longer
supported by the BT firmware

Bug: 330484474
Test: fake fw crash in Evt 1.0 device and check the log
Change-Id: I47161dfbad12c08f854f1d616d6251845dd001ad
2024-03-20 19:50:33 +08:00
Treehugger Robot
ed9aeb3356 Merge "wifi: disable FW roaming when in idle mode" into 24D1-dev 2024-03-20 09:00:59 +00:00
Isaac Chiou
fda6999555 wifi: disable FW roaming when in idle mode
When device is idle, disable FW roaming (LOW RSSI roam, high band roam) to save power

Bug: 321639511
Test: Manual
Test: Build pass
Change-Id: I85873b4c6ed1c851fe95e7116feac5197cc5f1d1
2024-03-20 06:37:14 +00:00
Barry
0913577abf Bluetooth: enable BtHalBqrEnable
Workaround Patch for BQRv6 enable

tldr:
  the actual fix in Bluetooth stack is still under prebuilt process (b/329049227), this workaround is to enable BQR for debug controller issue in CM4KM4TK4 in advance. and will be reverted when the actual fix submit.

Bug: 329589582

Test: Manual test on TK4EVT1.1 (bugreport:b/329589582#comment3)
Change-Id: I505893957d7f212b00c7e760905c7b548ddc5099
2024-03-20 02:14:01 +00:00
James Huang
18d853c294 gps: Update FW 4.15.0.153 with gps.cfg change
Add Chip_Configuration_mems_data_Configuration=0x37

Bug: 330421581
Test: Do VTS/CTS and GNSS sanity test.
Change-Id: I5fd215f417476be20917fffbc18611236db5af97
2024-03-20 10:06:18 +08:00
Jasmine Cha
f756048986 audio: enable battery mitigation
Bug: 330302105
Test: manual test
Change-Id: Ib6a8ac54fe7494c128d90a8600bbfa8ba041abc8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-03-19 12:01:11 +00:00
Treehugger Robot
f4efe5d49d Merge "display: tk4: don't apply overlay in low light" into 24D1-dev 2024-03-19 09:41:18 +00:00
Yixuan Jiang
bb724641c7 Check in recording tuning table for EVT1.1 device
Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling AZ2.2 post mixing on b/314894838 AoC CL gpar/836677
2. Enable SA-Lite on VR path
3. Update PGC highAOP gain table for improving volume

Bug: 330096787
Change-Id: I1033781ccd9dd0eedc531e268c60b3dcee5f2054
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-19 08:07:29 +00:00
Rios Kao
eb39f55e3a Merge "caimito: remove useless argument of speaker." into 24D1-dev 2024-03-19 01:44:53 +00:00
Treehugger Robot
379f287e9b Merge "powerhint: revert dvfs_headroom settings for camera" into 24D1-dev 2024-03-18 21:19:16 +00:00
Ramya Subramanian
33e139655f thermal: update cdev ceiling for LITTLE cores
Inefficient OPPs were removed for the LITTLE cores from em table.

This change is to update the cdev ceilings in thermal policy to reflect
the EM changes

Bug: 329876112
Test: Build and boot on device.

Change-Id: I8b9ce12fc22dce0374d2a68a947bd598fd26f936
Signed-off-by: Ramya Subramanian <rsubr@google.com>
2024-03-18 15:50:33 +00:00
Joner Lin
1ba4410104 Merge "bt: enable bthal recovery by restart" into 24D1-dev 2024-03-18 10:15:03 +00:00
Kamal Shafi
d61a8faf82 Merge "caimito: add system imu property" into 24D1-dev 2024-03-18 06:34:57 +00:00
Rios Kao
816bc81f42 caimito: remove useless argument of speaker.
note:
     Rotation is uses for tablet project only.

Test: build pass.
Bug: 330083943
Change-Id: I9ecc8d73b282c1aab15b90813c35376e54a4bdf0
2024-03-18 04:25:33 +00:00
Jiaming Liu
0b76d843ff Merge "Enable WM extensions on caiman and komomdo" into 24D1-dev 2024-03-18 03:43:43 +00:00
William Huang
83bdd0afef Merge "Move offload spatializer config to device-specific folder." into 24D1-dev 2024-03-18 02:50:16 +00:00
Jiaming Liu
95a2933e07 Enable WM extensions on caiman and komomdo
Bug: 325321407
Test: Build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:54eb81e993b3c2d9879eea91441251257ac3c4a5)
Merged-In: I1fc9e40f569c84641f5d1d714f24f11f391c9726
Change-Id: I1fc9e40f569c84641f5d1d714f24f11f391c9726
2024-03-17 13:51:14 +00:00
Yvonne Yip
f981fa4f81 powerhint: revert dvfs_headroom settings for camera
Bug: 329905546
Test: boot
Change-Id: Ieb0869ab6e57a163ead89469f426be2d3e2f76a8
Merged-In: Ieb0869ab6e57a163ead89469f426be2d3e2f76a8
2024-03-16 20:25:52 +00:00
Yabin Cui
63cd069bb8 tokay: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run tokay
Change-Id: I4419d8a2132231e9d9c3d2998e98f52da8475c24
Merged-In: I4419d8a2132231e9d9c3d2998e98f52da8475c24
2024-03-15 14:16:58 -07:00
Yabin Cui
b09ad5b9e7 komodo: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run komodo
Change-Id: Ida1044c1d997f19b9072af3da233d3a781cd9e89
Merged-In: Ida1044c1d997f19b9072af3da233d3a781cd9e89
2024-03-15 14:15:31 -07:00
Sam Ou
cc8d3a0783 Merge changes from topic "reapply_bm_condition" into 24D1-dev
* changes:
  bm: copy config file only for supported devices
  Reapply "bm: add mitigation config file for caimito"
2024-03-15 18:06:49 +00:00
William Huang
ee08a28ff2 Move offload spatializer config to device-specific folder.
Also update the configs to http://go/txcl/33962 (commit 3c51d9c2071f9adec5dbeb3f49f83b15e92247a7).

Bug: 307842941
Change-Id: I2f305441b7bc030f55318da52079a5a295e91ab1
Signed-off-by: William Huang <yushh@google.com>
2024-03-15 09:24:56 +00:00
Chaohui Wang
0b28e7cf25 Remove the COO only labels
Replaced by countryIfOriginLabel text.

Bug: 329378943
Test: manual - Regulatory labels
Change-Id: I76e3355d418f4d54ce34df4ce28cf968387bbe70
2024-03-15 09:21:00 +00:00
Kamal Shafi
f90e1873c4 caimito: add system imu property
Bug: 324008766
Test: build pass
Change-Id: I74a0b88556d1f1fcd2e4f06a28906e658046e777
Signed-off-by: Kamal Shafi <kamalshafi@google.com>
2024-03-15 09:17:50 +00:00
jonerlin
9cb2b4ec8d bt: enable bthal recovery by restart
Bug: 325998201
Test: Fake bt crash and check log
Change-Id: Ie3a68a7e43fec4f41dfc8f6f7768cf932d131c98
2024-03-15 07:01:52 +00:00
Ken Lin
4e8cf7bb83 display: tk4: don't apply overlay in low light
Bug: 320729940
Test: trigger AOD night mode
Change-Id: Icf6c02c2c98fd252721dc835dbc265851bfa882f
Signed-off-by: Ken Lin <lyenting@google.com>
2024-03-15 03:57:44 +00:00
Justin Chiu
f92e831c5e Merge "gps: Update gps.cfg for GNSS FW 4.15.0.150.P1" into 24D1-dev 2024-03-15 03:14:02 +00:00
Wei Wang
a5a799a6bb Merge "power_profile.xml: Update CPU Parameters for Caimito" into 24D1-dev 2024-03-14 23:35:33 +00:00
Jeremy DeHaan
ac841c5fd0 Merge changes I7d1e4018,Ib667b1fd into 24D1-dev
* changes:
  display: cm4: update AOD brightness
  display: km4: update AOD brightness
2024-03-14 22:55:53 +00:00
Kevin (Chung-Kai) Yang
e47c953824 power_profile.xml: Update CPU Parameters for Caimito
Test: manual test

Bug: 324079178
Change-Id: I397e30c91520ea6693f41724013ffc3cea5a33f0
Signed-off-by: Kevin (Chung-Kai) Yang <chungkaiyang@google.com>
2024-03-14 11:52:25 +00:00
samou
3f60d5db22 bm: copy config file only for supported devices
Bug: 329547607
Change-Id: Ib953a807bf66203eb76ef513aa34eb4ccddbbb39
Signed-off-by: samou <samou@google.com>
2024-03-14 09:48:07 +00:00
samou
21709594db Reapply "bm: add mitigation config file for caimito"
This reverts commit 43f80c6d44.

Change-Id: Iaf3f6c3ab3656ddb5b0ba51464eba19641d3ff26
2024-03-14 09:47:53 +00:00
gilliu
7c41b4950d update ssc_en permission
Bug: 322125172
Test: RIL can access the sysfs node
Change-Id: I970c7b8f96b02c0164d1d94e902072b31b47e0dd
2024-03-14 09:22:01 +00:00
James Huang
4df8efef7e gps: Update gps.cfg for GNSS FW 4.15.0.150.P1
Add ENABLE_CAPS_OTDOA=1 to enable OTDOA by default
Remove below two value and set default by code:
- Chip_Configuration_GNSSConstConstraintDef
- LocTech_Constraints

Bug: 329328103
Test: Do VTS/CTS and GNSS sanity test.
Change-Id: I8981604828a9a42bf619c57fd649e7391cd92f28
2024-03-14 16:31:35 +08:00
Shuvra Dutta
015e600737 Merge "Revert "bm: add mitigation config file for caimito"" into 24D1-dev 2024-03-14 08:26:31 +00:00
Treehugger Robot
e620e76ee9 Merge changes from topic "gnss_sync_main_to_24D1-dev" into 24D1-dev
* changes:
  gps: update GPS configurations
  gps: update GPS configurations
  gps: update SUPL TLS version for SBM
2024-03-14 07:57:31 +00:00
Shuvra Dutta
43f80c6d44 Revert "bm: add mitigation config file for caimito"
Revert submission 26546990-bm_condition

Reason for revert: DroidMonitor-triggered revert due to breakage https://buganizer.corp.google.com/issues/329547607#comment6, bug b/329547607

Bug: 329547607

Reverted changes: /q/submissionid:26546990-bm_condition

Change-Id: Iaab4f61a44a0a02dfbaeff5c170ce033280a1674
2024-03-14 07:07:12 +00:00
Sam Ou
b8e8bcc895 Merge "bm: add mitigation config file for caimito" into 24D1-dev 2024-03-14 04:57:23 +00:00
samou
e05a45ac1b bm: add mitigation config file for caimito
Bug: 319619657
Change-Id: I76cf52eaccfac00eb177752e5105eaabdae2e4c6
Signed-off-by: samou <samou@google.com>
2024-03-14 02:15:21 +00:00
Treehugger Robot
037acd229b Merge changes from topic "cherrypicker-L29300030002471799:N07500030040648998" into 24D1-dev
* changes:
  powerhint: port migration margin settings from p23
  powerhint: port dvfs_headroom settings from p23
2024-03-14 00:12:06 +00:00
Yvonne Yip
8626e6e6dd powerhint: port migration margin settings from p23
Bug: 316035859
Test: boot
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:62221287956f6123e6bfe761de37ff1f3cb058c6)
Merged-In: I75a13076c9e388cb1628c80035d3f4f7a0905718
Change-Id: I75a13076c9e388cb1628c80035d3f4f7a0905718
2024-03-13 15:15:15 -07:00
Yvonne Yip
e7c6bf2d35 powerhint: port dvfs_headroom settings from p23
Bug: 322000346
Test: boot

Change-Id: I04cbd92a905135664059b338710993250566c9a7
Signed-off-by: Yvonne Yip <ykyyip@google.com>
(cherry picked from commit 5f65d099f0)
Merged-In: I04cbd92a905135664059b338710993250566c9a7
2024-03-13 17:21:08 +00:00
Sam Paradis
6999cf56b2 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I71cb6ea9296126d576029196da87e5e76ef3ea4c
2024-03-13 17:12:22 +00:00
Treehugger Robot
f7aea63386 Merge "[USB Audio AIDL] Add mixer path for "usb-device-microphones"" into 24D1-dev 2024-03-13 16:17:07 +00:00
Treehugger Robot
d21652bd5a Merge "audio: adjust the latency value for av sync" into 24D1-dev 2024-03-13 16:16:24 +00:00
Treehugger Robot
8819c05d14 Merge "powerstats: use display VRR power stats on specific devices" into 24D1-dev 2024-03-13 16:10:26 +00:00
Darren Hsu
a6b5f7acc4 powerstats: use display VRR power stats on specific devices
Bug: 329201432
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I77d49f87929a7e534576f3a6d77fc820172f7f93
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-03-13 13:57:13 +08:00