Commit graph

1740 commits

Author SHA1 Message Date
Bao Do
8393792f95 Merge "Add set scenarios and configurations files for P24 projects." into main 2024-08-01 07:57:50 +00:00
Rios Kao
82bd2af2dd caimito: update libspeechenhancer library.
note: version 0731 to support handset mode.

Test: build pass
Bug: 343339070
Flag: EXEMPT update library only
Change-Id: I5dfbe1ab8d774b009d724a0bd84c1e3175357166
2024-08-01 01:39:46 +00:00
Chris Paulo
41ca8f2fe7 haptics: Update output distortion gain
Recommended output distortion gain is 0.48.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: Ie2f0aca563d3a6f36f0b543cacd52a735b941f69
2024-07-30 10:43:33 -07:00
ChienHsiang Hsu
5478e7593a Merge "audio: 2024/07/23 Fortemedia table check in for QPR3" into main 2024-07-30 04:34:46 +00:00
Jason Hsu
ac0062656d audio: 2024/07/23 Fortemedia table check in for QPR3
<change list>

KM4 (Owen)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Tx: Update SWB AEC/NS tuning(v0527) to improve DT performance
3. Batch copy 1./2. from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case
TX_KIDDET_NTH (0x0003)
TX_B_POST_FLT_KID (0x1000)
TX_T0_NE_TH (0x0DAC)
TX_T0_NE_3_TH (0x0FA0)

TK4 (Ricky)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Batch copy 1. from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case

CM4 (Duncan)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Batch copy 1.from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case

Bug: 354159219
Bug: 332933649
Test: verify by Acoustic team
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I08a28e002afae5569de5f3dff22c7e17afb35b89
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-07-30 04:34:35 +00:00
Rios Kao
93b0ed7778 Merge "caimito: add incall stream 3 for gsenet uplink" into main 2024-07-30 02:56:14 +00:00
Gil Liu
1dfc189216 Merge "display: add disp_therm sysfs node and interval time" into main 2024-07-29 06:10:29 +00:00
Peter Lin
5c6e209c5e display: add disp_therm sysfs node and interval time
Bug: 340846691
Flag: NONE add new property
Test: check the display temperature work
Change-Id: Id9861c22eb9e79a518863bd88dc2c1a7d5568cff
2024-07-28 15:47:07 +00:00
Treehugger Robot
874d9c7a23 Merge "Adpf:caimito: switch to multitier heuristic boost." into main 2024-07-27 00:58:12 +00:00
guibing
ca3ac26d16 Adpf:caimito: switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I550086e5c47991ed25c3b988ca11e8cf9df5d118
2024-07-26 23:21:38 +00:00
Android Build Coastguard Worker
716fa29edd Merge cherrypicks of ['googleplex-android-review.googlesource.com/28460821'] into 24Q3-release.
Change-Id: Iffcd66697ce7bb1d4398f4303f98957f360b6b5a
2024-07-26 22:07:27 +00:00
Dmitry Skiba
4a259ac6bb Reduce swap_free_low_percentage for Tokay.
The default for swap_free_low_percentage is 10, and this CL reduces it
to 7 to compenstate for AiCore carveout (4GB on 12GB device).

Test: flash and check ro.lmk.swap_free_low_percentage property
Flag: NONE overriding system property
Bug: 353531482
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b917ad256b09fb44a75f6aef269adb1e265c3f2b)
Merged-In: I57e320010758be3b2ae6b3cd89c384394147f62a
Change-Id: I57e320010758be3b2ae6b3cd89c384394147f62a
2024-07-26 22:05:03 +00:00
Bao Do
75f7ce102c Add set scenarios and configurations files for P24 projects.
This is a clone of the default files, only GAME scenarios
has some order changed to prioritize 48k gaming without source.

Bug: 331490291
Test: Check file location
Flag: NONE system property change only
Change-Id: Ib09e25104828d9fb2a96b5150848a9cf515cf105
2024-07-26 16:11:25 +08:00
Treehugger Robot
2f948b2e66 Merge "16kb: Set 16kb kernel for caimito targets" into main 2024-07-25 19:51:33 +00:00
Ali K. Zadeh
65f83652c9 Merge "[caimito] Enable PA_KILL during PA_KILL_BOOST" into main 2024-07-25 18:02:00 +00:00
Juan Yescas
87147bd1ab 16kb: Set 16kb kernel for caimito targets
When TARGET_BOOTS_16K is set to true for caimito
targets, the 16kb kernel will be picked.

Bug: 347110197
Test: $ source build/envsetup.sh
      $ lunch tokay_16k-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR
      device/google/caimito-kernels/6.1/trunk-12120393/16kb
      $ get_build_var RELEASE_KERNEL_TOKAY_DIR
      device/google/caimito-kernels/6.1/trunk-12120393
      $ get_build_var KERNEL_MODULE_DIR
      device/google/caimito-kernels/6.1/trunk-12120393/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/caimito-kernels/6.1/trunk-12120393/kernel-headers
Flag: EXEMPT bugfix
Change-Id: I1fc0f3aa778eb2e25d2d07d8cc9f26065aabb4bf
2024-07-24 22:35:35 -07:00
Android Build Coastguard Worker
3c058e6501 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28401327'] into 24Q3-release.
Change-Id: Ia830ac8fdbbc670423eea0983fa15876e7b46fe4
2024-07-25 04:16:17 +00:00
James Huang
b899ac7dad gps: Update 4.15.1_19_240725_R1 config for P24
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ee5c11ff243ef89a4f5107392b51a2bba54a4ff6)
Merged-In: Ifcd7075c57ae5fd3646bcab7ab29a0baf0d436b2
Change-Id: Ifcd7075c57ae5fd3646bcab7ab29a0baf0d436b2
2024-07-25 04:04:05 +00:00
Treehugger Robot
2fe0d53e80 Merge "gps: Update 4.15.1_19_240725_R1 config for P24" into main 2024-07-24 12:49:56 +00:00
Robin Peng
fdd37d1d2b [automerger skipped] Update P24 SVN to 5 am: 4b85e78912 -s ours
am skip reason: Merged-In I03119ef2438d8a01610787cb54c4173d5a5b9a29 with SHA-1 048b248c74 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28421209

Change-Id: I06ce46f281698dd96f9cc3ddfe2e6499d60f7e7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 08:16:10 +00:00
Dmitry Skiba
c6fba349eb Reduce swap_free_low_percentage for Tokay.
The default for swap_free_low_percentage is 10, and this CL reduces it
to 7 to compenstate for AiCore carveout (4GB on 12GB device).

Test: flash and check ro.lmk.swap_free_low_percentage property
Flag: NONE overriding system property
Bug: 353531482
Change-Id: I57e320010758be3b2ae6b3cd89c384394147f62a
2024-07-23 14:13:00 +00:00
Bao Do
00234f7083 Merge "Set system property for LEA multi-codec for P24 projects" into main 2024-07-23 04:50:06 +00:00
Rios Kao
fc28091f41 caimito: 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: I8f8710161fd8a2af338fb043cb3264def6fc9090
2024-07-23 01:55:44 +00:00
Robin Peng
ad6b8d7ce2 [automerger skipped] Update P24 SVN to 4 am: 5f67c9a46c -s ours
am skip reason: Merged-In I03119ef2438d8a01610787cb54c4173d5a5b9a29 with SHA-1 048b248c74 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28421207

Change-Id: Ic9862c49687567a8c9efd017e590e8eb5420ce15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-22 17:33:59 +00:00
Robin Peng
4b85e78912 Update P24 SVN to 5
Bug: 350826665
Change-Id: I806654fb5cc7bb882f8e58bddf4c2cb1d31ae87e
Merged-In: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-22 06:12:36 +00:00
Robin Peng
5f67c9a46c Update P24 SVN to 4
Bug: 350826665
Change-Id: I5de5e88e286aea0a5d5786e7f84732f947a88449
Merged-In: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-22 06:12:06 +00:00
Robin Peng
1a61f943a7 Update P24 SVN to 4
Bug: 350826665
Flag: build.RELEASE_SVN_CAIMAN
Flag: build.RELEASE_SVN_KOMODO
Flag: build.RELEASE_SVN_TOKAY
Change-Id: I5de5e88e286aea0a5d5786e7f84732f947a88449
2024-07-22 06:01:01 +00:00
James Huang
ee5c11ff24 gps: Update 4.15.1_19_240725_R1 config for P24
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
Change-Id: Ifcd7075c57ae5fd3646bcab7ab29a0baf0d436b2
2024-07-20 10:24:41 +08:00
Ali K. Zadeh
fb22d799d6 [caimito] Enable PA_KILL during PA_KILL_BOOST
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: 350594261
Test: adb logcat
Flag: EXEMPT resource only update
Change-Id: Id227bd35fda97d5b0cbdfe9e4df39eff2e565b7d
2024-07-19 18:58:03 +00:00
Kangping Dong
6ec36922e1 Merge "Add ThreadNetworkDemoApp to Caiman, Komodo, and Tokay" into main 2024-07-19 02:56:45 +00:00
Kyle Hsiao
048b248c74 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-18 13:09:34 +00:00
Kangping Dong
0cad4284a5 Add ThreadNetworkDemoApp to Caiman, Komodo, and Tokay
Flag: EXEMPT userdebug-only change
Bug: 353883169

Change-Id: Ibaaa528d3d157952fcb6e00882f79720281cdc5d
2024-07-18 09:31:35 +00:00
Bao Do
a31f1241c9 Set system property for LEA multi-codec for P24 projects
Bug: 306225778
Test: Check system property value
Flag: NONE system property change only
Change-Id: I7a7d9363fb0168a9af876936cdf21c55e3aef96e
2024-07-16 11:35:21 +08:00
David Lin
4346aa77b5 [automerger skipped] Merge "Changed png to final version." into 24D1-dev am: 0b6ff5a7a3 -s ours
am skip reason: Merged-In I1307429ea089422b6a417bd19f617f191fd4756b with SHA-1 82f05a5baa is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28285301

Change-Id: I9dfacaa7ab258ad03693c419b019fe2b9bd57218
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 01:13:53 +00:00
Yuchen Sun
c3665d6bc9 [automerger skipped] Changed png to final version. am: b2925e7450 -s ours
am skip reason: Merged-In I1307429ea089422b6a417bd19f617f191fd4756b with SHA-1 82f05a5baa is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28285301

Change-Id: Iff3ac340cee3dca5ee19c1151c6ab2288ada1d4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 01:13:48 +00:00
David Lin
0b6ff5a7a3 Merge "Changed png to final version." into 24D1-dev 2024-07-16 00:53:34 +00:00
Android Build Coastguard Worker
05e3eb1619 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28241532'] into 24Q3-release.
Change-Id: I890ec5f3aedaad75b91534be194c4508bf04846c
2024-07-15 23:19:48 +00:00
Paul Chen
ecd3e9a3e4 Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
In JP, the device is not allowed to enable hotspot on W52 (5G band 1) outdoors unless the warning statement is present, and the original mechanism would violate regulations when the device connects to AP on W52 and enables the hotspot outdoors.

This CL disable config_wifiEnableStaIndoorChannelForPeerNetwork and make sure the device will not enable hotspot on Indoor Channel

Bug: 351981809
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ec8cb9fc6faaac23ab8a3adcf2599df05772e294)
Merged-In: I8598e97b7d614ecc23ad19a86d209192903c4d3b
Change-Id: I8598e97b7d614ecc23ad19a86d209192903c4d3b
2024-07-15 23:14:05 +00:00
Paul Chen
b1394fecf6 Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork am: ec8cb9fc6f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28241532

Change-Id: If1f547fb02325d9cbde7f55bc4546941576f0339
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-15 04:29:48 +00:00
Android Build Coastguard Worker
18c351308b Merge cherrypicks of ['googleplex-android-review.googlesource.com/28260002', 'googleplex-android-review.googlesource.com/28260003'] into 24Q3-release.
Change-Id: I06fd75378256ed8031d424105a97b54f73ec1b18
2024-07-13 10:34:35 +00:00
Yuchen Sun
8c08bbbb5a Changed png to final version.
Bug: 351392115
Test: visual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:82f05a5baa00c596bea3301638ed9a80400b4f6a)
Merged-In: I1307429ea089422b6a417bd19f617f191fd4756b
Change-Id: I1307429ea089422b6a417bd19f617f191fd4756b
2024-07-13 10:15:57 +00:00
Yuchen Sun
1346974e42 Fixxed the picture size.
Bug: 351392115
Flag: stanza
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a925c9b97355f0314fe91820c22134a89b998769)
Merged-In: Ie72681585011910146b1c5ffdef4b5e43f3896df
Change-Id: Ie72681585011910146b1c5ffdef4b5e43f3896df
2024-07-13 10:15:43 +00:00
Lokesh Kumar Goel
d68d6de7c4 Merge "caimito: Use build_flags for SVN" into main 2024-07-12 18:00:40 +00:00
Paul Chen
ec8cb9fc6f Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
In JP, the device is not allowed to enable hotspot on W52 (5G band 1) outdoors unless the warning statement is present, and the original mechanism would violate regulations when the device connects to AP on W52 and enables the hotspot outdoors.

This CL disable config_wifiEnableStaIndoorChannelForPeerNetwork and make sure the device will not enable hotspot on Indoor Channel

Bug: 351981809
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
Change-Id: I8598e97b7d614ecc23ad19a86d209192903c4d3b
2024-07-12 07:04:32 +00:00
Zorah Chen
0495e5cffe Merge "Powerhint tuning for photo capture" into main 2024-07-12 05:54:56 +00:00
Yuchen Sun
b2925e7450 Changed png to final version.
Bug:318613060
Test: visual
Change-Id: I1307429ea089422b6a417bd19f617f191fd4756b
(cherry picked from commit 82f05a5baa)
Merged-In: I1307429ea089422b6a417bd19f617f191fd4756b
2024-07-12 05:40:22 +00:00
Android Build Coastguard Worker
91a88bcf76 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28252250'] into 24Q3-release.
Change-Id: I1612c65dfffdfa3eb65acf58c6af26815a651288
2024-07-12 04:03:06 +00:00
Ali K. Zadeh
14ef12352a Increase SPC thresholds based on the field data
Bug: 350111391
Test: Kibbles/Framedrops https://docs.google.com/document/d/1QvryQvAj_hjSjouG7P6MD1HwVB0n46GZNvmZgz6uQ9M/edit?resourcekey=0-rexjumgYT6SqyTbb0OvOEg&tab=t.0
Test: https://docs.google.com/spreadsheets/d/1e1pm7N1GBfYHU9tvG3gx9Z84tVYCokDlpSnHF2wlbbA/edit?gid=0#gid=0
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7c81eff0a15b4d8adbdd21b11999c2a5e2ed69cc)
Merged-In: Iad09beafc595e89d86131b00a3a221af0688eb7a
Change-Id: Iad09beafc595e89d86131b00a3a221af0688eb7a
2024-07-12 03:44:31 +00:00
zorahchen
d68bded2d6 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.

Bug:345601796
Performance Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_retune_capture_enhanced/index.md?cl=alikz/1010
Kibble Power Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_kibble_capture_rt_enhanced/index.md?cl=alikz/1044
Flag: NONE powerhint change does not support flags
Change-Id: I8683b50b212d50b85b22b5cb48d712fc8eb43444
2024-07-12 02:03:49 +00:00
Lokesh Kumar Goel
dc64ebbb62 caimito: Use build_flags for SVN
Flag: build.RELEASE_SVN_CAIMAN
Flag: build.RELEASE_SVN_KOMODO
Flag: build.RELEASE_SVN_TOKAY
Bug: 332726030
Change-Id: I8e2a835fd2887c4e77d95bf0a3bc63a25161b080
2024-07-11 19:55:54 +00:00