Commit graph

1031 commits

Author SHA1 Message Date
Chris Paulo
419e9ec104 shusky/vibrator: Enable adaptive alert vibration
Enable the adaptive alert vibration feature for shusky devices.

Bug: 284181186
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Change-Id: I68d7e1d12e7ac64a0b529f26aa36a027984cfc73
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-06-26 11:15:25 -07:00
TeYuan Wang
2e7e899744 thermal: switch thermal policy by game mode
Bug: 273618797
Test: run Genshin and confirm thermal profile properties
Change-Id: I567010a9ecc339f23dae967074954c355ab8089e
2023-06-26 18:10:48 +00:00
Treehugger Robot
9fb00d6bb4 Merge "audio: Recording tuning table update - 8th Ver." into udc-d1-dev am: 673c663a19
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23759586

Change-Id: I8c7b190411ded061c2dc5fcd5c567f0a6433b8e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 08:54:03 +00:00
Treehugger Robot
673c663a19 Merge "audio: Recording tuning table update - 8th Ver." into udc-d1-dev 2023-06-26 08:07:29 +00:00
Jasmine Cha
a986f7352d audio: update playback tuning am: f1a154e316
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23810083

Change-Id: Ic3a35259a681c3c55ca552706390c17b195c8e8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 06:59:59 +00:00
Jasmine Cha
f1a154e316 audio: update playback tuning
- Fixed cracking piano issue
- Improve vocal muddiness issue
- Updated stereo balance
- Maintain as much of previous timbre as possible
- Reworked volume curve to match previous tuning
- Added improved BAACL tuning
- Added thermal throttle (2nd linklaw) tuning for 580mW
  bottom speaker limit @ 46.5degC

Bug: 288460371
Test: tested by hardware team
 - Basic MPS functionality / glitch checks
 - Acoustic Objective measurements (MTV and GTW).
 - Perceptual testing (PTE)
 - UX MTV 30 users
 - Thermal (vmon/imon): Pass
 - Battery (vmon/imon): Pass
 - Battery (Monsoon internal): Pass

Change-Id: Ie03c3124535a7c5ebb86540475827829f8dfc0f7
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-26 10:43:27 +08:00
yixuanjiang
be3f3955f5 audio: Recording tuning table update - 8th Ver.
HK3 DVT1.0 Beta-DM04 Exit recording tuning table update
change recording.gatf and template.xml this time.
DVT1.0 table check-in for DVT1.0 Beta-DM04 Exit
Change list of new table:

Camcorder path
1. AGC ideal:-34 minGain:-29
2. Fine tune IIR1
3. Fine tune Surround/AZ parameters, compensate low frequency for AZ
4. MBDRC threshold low/mid/high  -85/-84/-84, -33/-33/-33
5. SNS parameters update and the template update -> bin threshold(173/202/254/364/513)

Mic path
1. disable AGC module on mono/stereo mode

Test: verify by HW darren
Bug: 288210161
Bug: 288210947
Change-Id: Ifcd69430da41f89b5e8022535c1984ab49038680
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-06-26 01:59:19 +00:00
Hsiu-Chang Chen
c5281861b2 Merge "wifi: husky: Support SAR feature for rear camera" into udc-d1-dev am: d8f5955ccb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23722145

Change-Id: Ic4457c65514fff173dd25a5ab225cb495ebce079
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 03:19:31 +00:00
Hsiu-Chang Chen
d8f5955ccb Merge "wifi: husky: Support SAR feature for rear camera" into udc-d1-dev 2023-06-24 02:36:15 +00:00
Linyu He
dde53158c0 [Zuma 8k] Remove 8K from "shusky" (P23) media_profiles on udc-d1-dev am: 3f86a05db9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23770369

Change-Id: I9681bb769f724cddd680c3e6d67614572a13c4b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 23:18:23 +00:00
Linyu He
3f86a05db9 [Zuma 8k] Remove 8K from "shusky" (P23) media_profiles on udc-d1-dev
Zuma 8K won't be shipped on P23 devices, so "8K" should be removed
from media_profiles as it's visible to the public.

This CL removes 8K support on udc-d1-dev, which is the branch for
launching P23.

To continue developing 8K using P23 devices, we'll re-enable 8K support
on udc-qpr-dev with a follow-up CL.

Bug: 288304801
Test: python gca_smoke.py
Test: CTS & PTS
Change-Id: Ie0c35ea2c2bb1ab49912b69079b2038b42f632f1
2023-06-23 19:56:15 +00:00
Ali K. Zadeh
5ae9f8d194 Remove CPU hard-caps and enable PMU for 30fps am: 6419d5e67d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23603838

Change-Id: I943c2134ec0905743d3c840202d8e7b970890558
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 00:32:18 +00:00
Ali K. Zadeh
6419d5e67d Remove CPU hard-caps and enable PMU for 30fps
Bug: 285043350
Test: ODPM/Framedrops (https://docs.google.com/spreadsheets/d/1fch2nTNXzsjrlsTwgj5asMULLSzW_iaKQRGv9sTZJvw/edit?usp=sharing&resourcekey=0-TYGsgX17mWRZdPYL3tBnjA)
Change-Id: Icf6af9d289f0facdbeb92910b8f963384dda6149
2023-06-22 21:50:58 +00:00
TeYuan Wang
09427323e1 powerhint: remove the duplicate thermal powerhint settings
For the current design, thermalHAL will only enable one hint base on the current severity and disable the previous one. As a result, the power hint of higher severity should maintain the actions from lower severity which cause the larger config size and maintenance effort.

The new thermalHAL design will keep the lower severity's hint enabled, so we could remove the duplicate policies from higher level.

Bug: 241737737
Test: verified shiba with emul_temp
Change-Id: I352cb3dc52440373a6eebdebe77fb8c5cc24890d
2023-06-22 18:48:07 +00:00
TeYuan Wang
52a60a4679 husky: thermal: fix incorrect PMU_POLL CRITICAL thermal power hint am: a167b5338b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23776615

Change-Id: Ibdbc7b688d1e5a44f95423389aa7faad0a9e746b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22 08:08:32 +00:00
TeYuan Wang
a167b5338b husky: thermal: fix incorrect PMU_POLL CRITICAL thermal power hint
Bug: 288353427
Test: emul_temp
Change-Id: Idc6dba769a64a3aa9c9328eb9b12cf085b6579db
2023-06-22 05:59:22 +00:00
Chungkai Mei
c5f2f1f846 Load g2d in sequential. am: 7edf565318
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23728161

Change-Id: If37dd42eede09905a22cde1ffa47c357e37d1178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 08:00:01 +00:00
Chungkai Mei
7edf565318 Load g2d in sequential.
to mitigate potential kernel panic, load g2d only at the
same time.

Test: Build pass
Bug: 287727823
Change-Id: I8b4eac1875d3b394fc9ab651959db54c53967326
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-06-20 07:27:53 +00:00
Carter Hsu
1cfda0e043 audio: add hdmi path
Bug: 264508873
Test: verified on test build
Change-Id: I85a5df9e4f3404219c1c7f33ebe368063b3a9706
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-20 00:24:09 +00:00
Carter Hsu
b2b86f9338 audio: add HDMI device handler
Bug: 264508873
Test: verified on test build
Change-Id: I9ab084232f0dcaa03546de11d134c28f82a8f232
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-20 00:23:45 +00:00
TreeHugger Robot
ffbb8dda81 Merge "husky: add display low blocking zone" into udc-d1-dev am: 4021a72fc7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23674404

Change-Id: I04c82fdea5f0f75b28026c2dad4a746fe7ea4978
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 15:23:25 +00:00
TreeHugger Robot
4021a72fc7 Merge "husky: add display low blocking zone" into udc-d1-dev 2023-06-19 14:28:23 +00:00
Hsiu-Chang Chen
68739e9a48 wifi: husky: Support SAR feature for rear camera
Bug: 285609097
Test: Performance test
Change-Id: Ia4becba37da123e4cddbeb129a720f6fe81f07c7
2023-06-17 04:37:09 +00:00
Treehugger Robot
af262086db Merge "Change padding and height radio for keyboard" into udc-d1-dev am: 6c91500f77
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22669128

Change-Id: Idd015cc26511153e8287707c32dee0cf3ce27b3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-17 03:31:25 +00:00
Treehugger Robot
6c91500f77 Merge "Change padding and height radio for keyboard" into udc-d1-dev 2023-06-17 02:38:56 +00:00
TreeHugger Robot
30538c4921 Merge "display: update lowlight blocking zone" into udc-d1-dev am: 6a7492a06f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23629067

Change-Id: I2c23e5900a0694d48f88d3b645d98bca41b3631c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:50 +00:00
Carter Hsu
ed44ad0a05 Merge "audio: FM table check in (2023/06/15) for telephony." into udc-d1-dev am: 28c9cda2d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23696610

Change-Id: Ia5a208295306484da7308f31ce0b3adda85b1986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:42 +00:00
Carter Hsu
eab30c11ca audio: FM table check in (2023/06/15) for telephony. am: 1bde106759
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23696608

Change-Id: Ibface08ce9c61c3cd3d8db82e340950580ee66b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:05 +00:00
TreeHugger Robot
6a7492a06f Merge "display: update lowlight blocking zone" into udc-d1-dev 2023-06-16 03:25:06 +00:00
Carter Hsu
28c9cda2d1 Merge "audio: FM table check in (2023/06/15) for telephony." into udc-d1-dev 2023-06-16 03:21:52 +00:00
Alan Chen
ee48551120 Merge "Add Display Dynamic Frequency to coex for HK3/SB3." into udc-d1-dev am: 57bac462e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23121421

Change-Id: Ifb21d22f1e529fb71f651e4168ffcdb298e11001
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 10:15:51 +00:00
Alan Chen
b9a77f38ee Merge "Add coex MIPI/DBR table for hk3/sb3 devices." into udc-d1-dev am: 8769f9dbba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23012906

Change-Id: Ib6fc77244b0e910c30323e7661dd57b38481481a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 10:15:41 +00:00
Carter Hsu
0d26816a73 audio: FM table check in (2023/06/15) for telephony.
- HK3 Handset.dat (Owen)
1. Modify WB Rx DRC Gain to 8.5dB and Tx DRC Gain to 14dB for DVT device in Handset | Voice_Generic
2. Modify SWB Tx DRC Gain to 15dB for DVT device in Handset | Voice_Generic
3. Modify NB Rx FDEQ(v0607), SPK_Vol, and DRC Gain(10dB) for T-MOS/VolStrp in Handset | T-MOBILE-US
4. Modify SWB Tx NS version to v0218 for b/286507869 in Handset | Voice_Generic
5. Copy item 4 to Handset | T-MOBILE-US & RESERVE2 and Handset_HAC | Voice_Generic, Tmobile-US, RESERVE2
6. Modify TX FDDRD DEADMIC_SILENCE_TH to 0x0006 and MIC_DEGRADE_TH to 0x2800 for all Tx

- HK3 Handsfree (Ricky)
1. Enable AMS with v1 fine tune parameter in all bands

Files from the latest attachment on b/287412136

Bug: 287412136
Test: verified by rickycheng@
Change-Id: Ia1f2c7349eee98bdaa75892793ee5b87c421b058
2023-06-15 09:35:01 +00:00
Carter Hsu
1bde106759 audio: FM table check in (2023/06/15) for telephony.
- SB3 Handset (Duncan)
1. HA update with mic health parameter in all bands

- SB3 Handsfree (Ricky)
1. Enable AMS with v1 fine tune parameter in all bands
2. Fix long distance speech intermittent in WB
3. DVT fine-tuning - includes TX Pre-EQ, RFR, volume curve in all bands.

Files from the latest attachment on b/287412815

Bug: 287412815
Test: verified by rickycheng@
Change-Id: Ieb41ea6dc9c2bc9c335a1681dc1c670e65737e0d
2023-06-15 09:32:38 +00:00
Alan Chen
57bac462e9 Merge "Add Display Dynamic Frequency to coex for HK3/SB3." into udc-d1-dev 2023-06-15 09:17:06 +00:00
Alan Chen
8769f9dbba Merge "Add coex MIPI/DBR table for hk3/sb3 devices." into udc-d1-dev 2023-06-15 09:15:16 +00:00
Jasmine Cha
a8b682da80 Merge "audio: control current limit specifically" into udc-qpr-dev 2023-06-15 08:51:09 +00:00
Shijie (Jessie) Hu
f3b1e9fd56 [Project11] Powerhint for project11 am: 2c1eee9f02
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23565359

Change-Id: I28b56bfdc4ec15c1c297b1f4090c5d1c6739e4df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 01:41:06 +00:00
Chris Lu
87028a539e husky: add display low blocking zone
Set 120Hz if lower than 8 nits and 5 lux.

Bug: 282725148
Test: Set brightness and check refresh rate
Change-Id: I0039ccb2f112c2a4b77960452907bccb7bd0f6ca
Signed-off-by: Chris Lu <luchris@google.com>
2023-06-15 00:45:33 +00:00
Shijie (Jessie) Hu
2c1eee9f02 [Project11] Powerhint for project11
Bug: 284500427
Test: Ongoing. with ag/23546319

- Create powerhint for project11. Powerhints are branched from
  CAMERA_STREAMING_STANDARD with some modification
  - Add back MIFTargetNode
  - Set MIFTargetNode value to 20 80 to avoid MIF operation point go to max
  - Value need more test before final submission.

Change-Id: I47659cca7e0a26e240e91b1d1a49dc61d76b6b90
2023-06-14 13:19:54 -07:00
Treehugger Robot
74f82cf354 Merge "Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default" into udc-d1-dev am: d721a0ed0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23686044

Change-Id: I4c08c960c09d34b975f2bffc5832b420e5a91f54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 06:24:47 +00:00
Peter Lin
f2ba032af5 display: update LHBM compensation data am: 0249c01399
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23514384

Change-Id: Ib2a983dbfb68fc43390975fece08b502ac8b6141
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 06:24:36 +00:00
Treehugger Robot
d721a0ed0b Merge "Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default" into udc-d1-dev 2023-06-14 06:21:59 +00:00
paulsu
3e3acc0906 Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default
Bug: 280258727
Test: Found regression in b/286002292, local test.
Change-Id: I78db6fefe042f0b380e48f1fad5ccb477dd38dbe
Signed-off-by: paulsu <paulsu@google.com>
2023-06-14 04:29:03 +00:00
Peter Lin
7777e40183 display: update lowlight blocking zone
zone 2: Lock refresh rate at 120Hz when ≤ 10 lux

Bug: 284787798
test: check refresh rate
Change-Id: I96a21225665761cc6a47c521811500dce41d8387
2023-06-14 01:59:46 +00:00
Peter Lin
0249c01399 display: update LHBM compensation data
Bug: 279750219
test: profile loaded, display color dump
Change-Id: Icd11ee764ebef5bc0cb6000a3f1852dace472393
2023-06-13 08:40:50 +00:00
Jasmine Cha
e5c5310a12 audio: control current limit specifically
This value will be changed by battery throttling, so separating this
from reqular path control.

Bug: 274373213
Test: manual test

Change-Id: I19b59d188855e05907e12e8340aadebb47cef9b0
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-13 16:33:31 +08:00
TreeHugger Robot
5642cd7bda Merge "powerhint: Reduce StaleTimeFactor" into udc-d1-dev am: 95302b8c54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22963599

Change-Id: Ic0564f503af790db7413fda5c045eb4d19502109
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 08:17:02 +00:00
TreeHugger Robot
95302b8c54 Merge "powerhint: Reduce StaleTimeFactor" into udc-d1-dev 2023-06-13 07:47:11 +00:00
Yang Qi
2461cbc4ed Merge "dck: add missing WCC and SE capability properties" into udc-d1-dev am: 9fea1437ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23501940

Change-Id: If9f12c18859ebf3250dda73b8aca172cb8127f9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-12 18:31:09 +00:00