Commit graph

776 commits

Author SHA1 Message Date
Rios Kao
2b65d041cb Merge "caimito: add sound-trigger-microphones" into 24D1-dev 2024-03-12 01:50:24 +00:00
Treehugger Robot
7459707435 Merge "audio: 2024/03/06 Fortemedia table check in for V642" into 24D1-dev 2024-03-11 17:43:20 +00:00
Jason Hsu
6d939ec3d8 audio: 2024/03/06 Fortemedia table check in for V642
<change list>
TK4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off

CM4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off
HH(Duncan)
WB/SWB RX max vol EQ for distortion pass
HA(Duncan)
Update NS tuning for SWB noisy environment sound quality issue

KM4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off

Bug: 328329355
Test: Verified by Acoustic team
Change-Id: I4533916ea0c28540543e5334d51f4145241176e7
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-03-11 04:17:27 +00:00
Carter Hsu
65c3514e3a audio: remove the HIDL SoundDose from AIDL
Bug: 328014856
Test: atest vts_treble_vintf_vendor_test, and confirmed no android_hardware_audio_sounddose_ISoundDoseFactory_default_V2_5 error
Change-Id: I62bac2610c81dc24a9a60166f0e5ec3bafa7297f
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-03-11 02:36:28 +00:00
Jeremy DeHaan
5697a5cfb0 display: cm4: update AOD brightness
Bug: 328365322
Change-Id: I7d1e401827b64efa76f6e24149d67a9fc10aa692
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-03-08 15:00:45 -08:00
Jeremy DeHaan
b0ed46a004 display: km4: update AOD brightness
Bug: 328365322
Change-Id: Ib667b1fd770822fe593b60c6e6664638a8836d0a
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-03-08 15:00:40 -08:00
William Huang
0411b2e091 Enable offload spatialization on caimito.
Note that this depends on the AoC changes at http://gpar/q/topic:%225_1ch_asp_caf%22.

Bug: 307842941
Test: manual test
Signed-off-by: William Huang <yushh@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9c8ce1bd4590625fc1d1c4b7633413f9abce15e0)
Merged-In: I2e3d633929f2fc76e19ed0810351226ed52314e6
Change-Id: I2e3d633929f2fc76e19ed0810351226ed52314e6
2024-03-07 22:35:07 +00:00
John Chang
f928eef2bd display: change vrr.enabled to xrr.version
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: Ibcd8a9de34ec3d183a8188394dbf39f5fadc224a
2024-03-07 22:19:51 +00:00
Treehugger Robot
53c1f9c2f4 Merge "uwb: add overlay" into 24D1-dev 2024-03-07 16:07:42 +00:00
Yabin Cui
5740c8878a caiman: Remove importing init.etm.rc
init.etm.rc can be imported automatically by put it
in /vendor/etc/init.

Bug: 321061072
Test: build and run
Change-Id: I3df407190d2777b52bcdf224d45f232aada89e49
2024-03-06 15:08:11 -08:00
Victor Liu
1627551b73 uwb: add overlay
Bug: 328328781
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I334581d19312c98f26577a509b910db9b8ded215
2024-03-06 21:10:03 +00:00
Treehugger Robot
08d2ba261d Merge "audio: update recording table" into 24D1-dev 2024-03-06 19:27:40 +00:00
Rios Kao
64becd453f caimito: add sound-trigger-microphones
Test: end-to-end and host test.
Bug: 328340282
Change-Id: Ib4adac74b0ffd1dd05a6368e447f21978d1f6d99
2024-03-06 05:52:00 +00:00
Yixuan Jiang
9fc9a1b499 audio: update recording table
[Subject]
Check in recording tuning table for device
  Update recording.gatf & audio_platform_configuration.xml

[Details]

Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling Mic COMP module

Bug: 327138345
Bug: 327137905
Bug: 327138336

Change-Id: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Merged-In: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-06 02:32:54 +00:00
Carter Hsu
32eb2b8931 audio: 2024/02/29 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HAWB Modify TdDRC expander as short term for BWE noise issue on (max to max-2)
- Handsfree (Ricky)
1. HHSWB fine tune (max-1 to min) for EVT1.1
2. HHWB fine tune for EVT1.1
     TX/RX: PreEQ, TdDRC, EQ

- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE



CM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE


KM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

Bug: 327555914
Test: Verified by Acoustic team
Change-Id: I2939312348ac6d9a13ac4be86460d49839b545ca
Signed-off-by: Carter Hsu <carterhsu@google.com>
(cherry picked from commit 2678747eae)
2024-03-05 11:22:16 +00:00
Yabin Cui
2bda846652 Merge "caiman: add etm modules in userdebug/eng builds" into main 2024-03-04 18:36:10 +00:00
Treehugger Robot
269defe48f Merge "thermal: update WLC charging throttling policy" into main 2024-03-04 16:59:56 +00:00
Treehugger Robot
4a49f89c93 Merge "powerhint: fix duplicated LAUNCH action" into main 2024-03-01 05:52:19 +00:00
Treehugger Robot
b200f23964 Merge "GPS : Update GNSS FW 4.15.0_147" into main 2024-03-01 03:55:57 +00:00
Treehugger Robot
5d1140381b Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Treehugger Robot
560d2a57eb Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Treehugger Robot
c22c66b10b Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Yabin Cui
06b08f2a8b caiman: add etm modules in userdebug/eng builds
Since etm modules are not in the normal kernel prebuilts,
they get left out of modules.load. So also import rc
file to load them.

Bug: 321061072
Test: build and run caiman
Change-Id: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53
2024-02-29 16:18:56 -08:00
Yvonne Yip
33c9a3fb77 powerhint: fix duplicated LAUNCH action
Bug: 327623327
Test: boot
Change-Id: I9dd0b18acd4ea7e0ff0c9d6f5901c61e46428d12
2024-02-29 12:41:18 -08:00
Brad Lassey
3086f68a2f Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I6161c2a2671bcd1b3cbd176a597a36b3af618039
2024-02-29 20:06:51 +00:00
Brad Lassey
705e35e4c7 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: Ic00a1b596bff01526d443bc649ca7fdd9af6a750
2024-02-29 20:06:44 +00:00
Brad Lassey
8599e087d0 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I9a72ecd1032eb3899b3aa45a72443a164a79b798
2024-02-29 20:06:05 +00:00
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
ea8c58d2d1 thermal: update WLC charging throttling policy
Bug: 323435751
Test: run the charging test with D250
Change-Id: I028f809f54fdb0c9675c82f34f6aab989b99cb65
2024-02-29 04:59:17 +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
James Huang
05267ee6c4 GPS : Update GNSS FW 4.15.0_147
Bug: 327304220
Test: Verify CTS/VTS and GNSS sanity test
Change-Id: I5e13faad368c5ddf6387399dd156ff869eb28830
2024-02-28 14:32:17 +08: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