Commit graph

678 commits

Author SHA1 Message Date
Sayanna Chandula
835341d69a thermal: update usbc overheat mitigation thresholds
Update usbc overheat mitigation thresholds for UI

Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ica73dfdb9795db09026822a0fee6048daacc439f
2022-07-19 16:58:18 +00:00
Carter Hsu
26c0da4f2b audio: separate Fortemedia Stereo VoIP tuning
1. In case the Fortemedia CL conflict between tm-qpr
   and tm-d1, separate the Fortemedia tuning.
2. Enable stereo VoIP on speaker and usb path
3. Reserved 2(VoIP use case) in handsfree and headset mode
   changed to stereo processing.
4. FNS for NB/WB across all modes changed to fulfill CCA settings.

Bug: 237230890
Test: Verified at b/237230890#comment14
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I10303abdce6ef56414db0ce7b457efcd415bd786
2022-07-19 08:39:46 +08:00
George Lee
34d5a0aa61 thermal: remove userspace throttling for BCL tzone am: 7e2cc1ebbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19290944

Change-Id: Idb513aaa925dd8feed427ada0bb280edd5665795
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 21:15:48 +00:00
George Lee
7e2cc1ebbe thermal: remove userspace throttling for BCL tzone
This is part of the change to move the throttling mechanism into kernel
space for faster response time.

Bug: 238555356
Test: Confirm kernel space throttling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I681ad03f5165af00b7db00251e03abeccebdb0cc
2022-07-18 20:56:04 +00:00
Jasmine Cha
87fa8f70a2 audio: update waves table for frc am: b8c2d052d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19250747

Change-Id: I4e636a479d2a2152d134df7e214499f4a3047e0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 15:43:30 +00:00
Jasmine Cha
af1465c145 audio: update speaker volume am: d659991e7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19250748

Change-Id: I46f8beaf4b41e37520857c8764b1f3e239c4a74e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 15:43:28 +00:00
Jasmine Cha
b8c2d052d3 audio: update waves table for frc
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9ca63593e5ea4a34b83a429815ac006bfb99f474
2022-07-18 15:22:06 +00:00
Jasmine Cha
d659991e7b audio: update speaker volume
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I544375dfba2fee42c0b24242f0817fb3354d69e3
2022-07-18 05:14:16 +00:00
Jasmine Cha
51ec64ee23 audio: update mps table am: b4a5ce1cab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19227928

Change-Id: Ib3ff4246f4bc31c64f22a122b69e83f44b342c30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 04:17:38 +00:00
Edwin Tung
5e14c3dd1e gps: extend min GPS week number am: 49faf9f84b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19291910

Change-Id: Ib2f6134e6bf7dc7db1750441ac5fa0e0f28bb079
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 04:17:33 +00:00
Jasmine Cha
b4a5ce1cab audio: update mps table
Bug: 238403490
Test: manual test (b/238403490#comment4)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib78388a74ba36239bded6dbfe73168c9c2db9daa
2022-07-18 04:07:01 +00:00
Sam Ou
8d5dc506a7 power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ie685e86feeb0ed3719b5cdebccd0a2218e2a2a6d
2022-07-18 03:58:38 +00:00
Edwin Tung
49faf9f84b gps: extend min GPS week number
Bug: 238931611
Validity test: 239117198
Test: Gnss Sanity test
Change-Id: If6df6a0a47ecf4f58f634378f8998a78385107fd
2022-07-18 03:42:35 +00:00
Ali K. Zadeh
41b772c19e MIF frequency optimization for 60fps video recording use-case am: def7dd9593
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19263388

Change-Id: I774ca43b800463b8111b0fcee80a97f74231c174
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 22:33:06 +00:00
Omer Osman
8ce25a8551 Add support for Opus as a BT A2DP Offload codec
Bug: 226441860
Test: Sink device using bds-dev
Change-Id: Ib7395300b01d137a5156be5bad5f311d55b03f59
2022-07-15 19:44:57 +00:00
Robin Peng
8e4ed25ff9 init: set vendor.all.modules.ready and vendor.all.devices.ready
migrated from init.gs201.rc

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I4882892261dd42791d42d51e162e6ee9ffd25615
2022-07-15 14:43:48 +00:00
millerliang
6834a1034c audio: apply new pcm id for immersive output
Change to use pcm id 30 for immersive output,
which is using raw path in AoC to get lower
roundtrip latency.

Bug: 237677573
Test: spatial audio playback
Change-Id: I6519f75daf2f65dc8f1e2a4a3827f8956f563c35
2022-07-15 02:07:24 +00:00
Jasmine Cha
9ed0780a88 audio: refactor BAACL
Bug: 236807658
Test: BAACL control test
      audio_waves_custom_actions_test
      audio_adapted_info_device_test
      audio_adapted_info_features_tests
      audio_adapted_info_features_device_tests

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3dbbe745572b8db289db2256c7bf51e23027190e
2022-07-13 14:21:11 +00:00
Eric Laurent
a74a9c3cde fix the build for target rbc_product_config
Use absolute file path instead of $(LOCAL_PATH) in audio_tables.mk

Bug: 238741813
Test: make
Change-Id: I9ee6d8450fa5a10b830502eb39ddd49ecd501ab7
2022-07-13 09:49:48 +02:00
Ali K. Zadeh
def7dd9593 MIF frequency optimization for 60fps video recording use-case
This CL sets the MIF min clock frequency to 1539MHz, which based on
initial ODPM and MIPS measurements shows benefit both in terms of power
consumption and cycles-per-instructions (CPI), reducing the gap with R4
device.

Bug: 238775955
Test: ODPM and CPI tests. Link to test results provided in the bug.
Change-Id: I6fc043c3d0d9f052c02dd04eb47f22661cfade6a
2022-07-12 18:10:41 +00:00
jonerlin
ac714a345c Bluetooth: Disable BTRT logging for userdebug eng build am: 25f164f895
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19250727

Change-Id: I00536384a0dabf8114c8c4a8b96526b39cdf3fc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 13:20:13 +00:00
jonerlin
25f164f895 Bluetooth: Disable BTRT logging for userdebug eng build
* remove the BTRT logging to advoid Umimplemeted packet type issue
  happening

Bug: 237906721
Test: Manually

Change-Id: I6d2b1444800f7955dc26714d108152cb4abb2114
2022-07-12 16:02:34 +08:00
Eric Laurent
f28274c131 audio: configuration for spatial audio
Update audio configuration to enable spatial audio:
- build with spatial audio feature enabled and rondo library
- list spatializer effect in audio effect configuration file
- update audio policy configuration files to declare spatializer output
- declare immersive end point in audio platform configuration

Bug: 237677573
Test: spatial audio playback
Change-Id: Ic9c32d813a19ba2789425e12ee9016d53ab30678
2022-07-12 07:58:36 +00:00
George Lee
e6dfb9ebb9 thermal: Move BCL tzones passive delay to 1s am: cdc0153692
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19221764

Change-Id: I9d4b5fd7d6ffd829ea5c42ec2d803cbc13985cf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 22:23:57 +00:00
George Lee
cdc0153692 thermal: Move BCL tzones passive delay to 1s
Bug: 238435115
Test: Boot and verify settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iebf1682246f736ef7cec1796e4dd7539315ee8bc
2022-07-08 21:53:48 +00:00
Labib Rashid
7ee37098b4 Update MIPI / DBR clock rate from latest desense tests / SW updates am: a4f48b4639
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19205914

Change-Id: Ia74bab7ef3ca39b56ee27c7e2b6c19c3c0a8b690
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 19:08:47 +00:00
Labib Rashid
a4f48b4639 Update MIPI / DBR clock rate from latest desense tests / SW updates
Source: https://docs.google.com/spreadsheets/d/1KsOXacU5Q-R04Xa7jBRvNJPdeCfVJp_ldeqgeB_Prxs

Bug: 206984074
Test: Manual HW Lab Tests
Change-Id: Ic82041bba11858e44190d836d818d00fb48bcbf8
2022-07-08 18:48:36 +00:00
Yanting Yang
a849f2e7e6 Add regulation e-labels for C10 and P10 am: a1a786582a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19205913

Change-Id: I84b446df7aa947469602dff1b813aff2ebcc48c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 07:33:48 +00:00
Yanting Yang
a1a786582a Add regulation e-labels for C10 and P10
Bug: 233569849
Test: visual
Change-Id: I380581371ab6c5b6c973f8be3fe42cdffbeb0283
2022-07-08 07:09:25 +00:00
Andrew Chant
6e9e187c63 pantah: update persist file permissions. am: 47e484ec25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19213979

Change-Id: Ib9b1f3a9ef6d733ff54e0a12e17d2ec1dcc22016
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 23:17:30 +00:00
Andrew Chant
47e484ec25 pantah: update persist file permissions.
Update persist file permissions on boot to
correct inconsistent output at factory.

Bug: 238045555
Change-Id: I5425bd7affe767c616c616c5c2f65aef9b78ef6b
2022-07-07 11:26:45 -07:00
Tai Kuo
5db795cdc8 Set audio haptic channel amplitude limit am: 661e6c8c17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19097827

Change-Id: I9fb77d29df3f71ca8a1b74887e511309239d232d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-04 01:55:36 +00:00
Tai Kuo
661e6c8c17 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I23cf1e7dab264448dd0675bb1939135ae0cacd02
2022-07-04 01:34:01 +00:00
Rex Lin
ac690805e2 uwb: include init.uwb.calib.sh am: bfb440fa08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19114561

Change-Id: Ie54b66cfba6f5d423b511932a1683cc3ab264310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 06:11:59 +00:00
Rex Lin
bfb440fa08 uwb: include init.uwb.calib.sh
Bug: 233619860
Bug: 237485063
Test: build pass on both cheetah and aosp_cheetah
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Ic759b1efc206a3c1e68526098d258f2c142c6799
2022-06-29 20:06:08 +08:00
Wilson Sung
9e0d7446c4 Revert "uwb: add back init.uwb.calib.sh" am: 7631287df4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19099427

Change-Id: Ia9dad5a8285cd7ba92f94d4cf6c060d2f07c9256
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 05:51:56 +00:00
Wilson Sung
7631287df4 Revert "uwb: add back init.uwb.calib.sh"
This reverts commit 915bde6ffe.

Reason for revert: Fix build breakage

Bug: 237485063
Bug: 233619860
Change-Id: I3ad1dc034e2e4c699f9b32e79c40aa257bf19914
2022-06-29 05:27:29 +00:00
TeYuan Wang
be6029c34d thermal: enable logging for USBC virtual sensor am: 5243b1a5ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19084683

Change-Id: Ief0888543de8e95fde4f7fdf84a04576bf2a4bbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 20:17:42 +00:00
TeYuan Wang
5243b1a5ca thermal: enable logging for USBC virtual sensor
Bug: 222577017
Test: Verified by emul_temp
06-28 14:33:25.423 I/pixel-thermal( 6959): usb_pwr_therm: 37
06-28 14:33:25.424 I/pixel-thermal( 6959): USB-MINUS-USB2: 8.456
06-28 14:33:25.425 I/pixel-thermal( 6959): USB-MINUS-NEUTRAL: 7.676

Change-Id: I13a13aa4df7d68946ed0aab7937495b5b5365704
2022-06-28 20:01:29 +00:00
Rex Lin
1524b36de2 uwb: add back init.uwb.calib.sh am: 915bde6ffe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19035024

Change-Id: Id698b3fb49409ac3feeb4efb78809d3c20e36eca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 16:31:29 +00:00
Rex Lin
915bde6ffe uwb: add back init.uwb.calib.sh
Bug: 233619860
Test: build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee42962bb19026a5c10f6bb74f723694da27ab76
2022-06-28 16:08:13 +00:00
George Lee
f002a6402f thermal: Re-enable Monitoring of BCL tzones am: 133bcdf2ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18959309

Change-Id: I83f59af10723c45d750ef05cb03ffe277d5e7f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-27 15:49:13 +00:00
George Lee
133bcdf2ef thermal: Re-enable Monitoring of BCL tzones
Given that PTS-Thermal fix for Monitored tzones and TRIP_DOWN
is enabled.  We can re-enable monitoring of BCL thermal zones.

Bug: 236930961
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic848bff8824d693904e7a575b8679a7e305275b4
2022-06-27 15:26:26 +00:00
TeYuan Wang
f780ef8a6c thermal: update CPU/GPU throttling policy to optimize perf am: 43ec1192d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18994948

Change-Id: Ife7e7a0bc76fc62f5864b5f1a6992797c8a2518b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 07:04:58 +00:00
TeYuan Wang
43ec1192d2 thermal: update CPU/GPU throttling policy to optimize perf
1. GPU 202Mhz thermal throttling is too aggressive and cause frame missing. So, adjust the hardlimit and cdev_ceiling to improve perf.

2. Set the cdev_ceiling for CPU to avoid the abnormal throttling request when ODPM has issue.

Bug: 234998975
Test: Confirm fps drop for pip test
Change-Id: I07b58d4e9412e4389bb7e2bb185ea9da0b18cc13
2022-06-24 06:42:23 +00:00
Sayanna Chandula
5f2094e0c6 thermal: remove gxp cooling device dependency am: af3528b903
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19023650

Change-Id: Ibe29b956a4ac5bcc17fb4b7a22f436e82a5e4e9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 23:28:09 +00:00
Sayanna Chandula
af3528b903 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ib7aa0b9b929978eb24104c79e93290b292454735
2022-06-23 23:11:18 +00:00
Rex Lin
e0bcfa2f52 uwb: update country files and path am: ba2be5e4a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18752892

Change-Id: I003bf82d71fc2efba0a3c35210a9d778ee98ed0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 18:58:38 +00:00
Rex Lin
813bb6ef9c uwb: remove platform specific calibration file am: 1498c2f809
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18869626

Change-Id: I9279c2316ee4ddd27e21baeaf7b6968e69d23ec8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 18:58:33 +00:00
Rex Lin
ba2be5e4a7 uwb: update country files and path
- Add script and conf file to generate country conf
- Modify the cal path

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I4d480cea4b06f02082c86fbb6d4a0613f8dfb0c2
2022-06-23 18:38:40 +00:00