Commit graph

254 commits

Author SHA1 Message Date
Cheng Chang
65cb2f516b gps: increase cpguard time
Bug: 267729364
Bug: 269344906
Test: verified at b/269344906
Change-Id: If7850a0a00c9e80af8370632233d3edaaa73b03c
2023-03-20 08:48:23 +00:00
TreeHugger Robot
835621afe6 Merge "Release EVT1.0 table for Husky/Shiba" into udc-dev 2023-03-20 03:20:24 +00:00
yixuanjiang
564ba21cd7 Release EVT1.0 table for Husky/Shiba
For recording.gatf:
     Camcorder path :
     1. Surround module :calibrate the AZ parameters for EVT 1.0 device
     2. WNR module:
        Improve SNRi by change mul_ch_spec_diff
        ( center_spec_select_mode 4 -> 2, wiener_overdrive 1000-> 1500)
     3. MBDRC module:
        Improve background noise
        a.Low band threshold: from -44dB to -38dB
        b.High band cross over frequency from 12k Hz to 18k Hz
     4. SNS module:
        update SNS module threshold for P23 project.

Bug: 273954948
Bug: 273913476
Test: Verify by HW Darren, HW Jacky
Change-Id: I5b8c8cdcf1feeb53e092fc922f3b04208fbdb71d
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-03-20 01:57:13 +00:00
TeYuan Wang
a0671ebaa6 thermal: add usb port throttling policy
Bug: 266719296
Test: verified by emul_temp
Change-Id: I9cd4849fa8d619aff5618f752166cc4ce71b3bce
2023-03-18 17:20:27 +00:00
TeYuan Wang
af4434cc65 thermal: start VIRTUAL-SKIN-CHARGE monitoring from 25 degC
Bug: 258136347
Bug: 258136311
Test: Verified by emul_temp
Change-Id: Ie688d1d1a0c8b9481a533c6f7e655d0201aa5198
2023-03-18 17:20:13 +00:00
Peter (YM)
f627993f9c thermal: more aggressive CPU throttle policy for shusky
1. Align our throttle policy with P22 devices
2. Change the cdevceiling level to make the cpu freq align our setting in P22 devices

Bug:258136274
BUg:258136466
Test: Run Burn8, MH_OFF
Change-Id: I9a05147ce7ca1564f5cc63bc0058b1ecbd2a7fd6
2023-03-18 02:29:49 +00:00
Jasmine Cha
fc75f338a2 audio: create audio hal aidl config
Bug: 206738075
Test: build pass

Change-Id: Iaa571e7079782eaa0b07bf268f77d6f3e0884c62
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-17 09:54:28 +08:00
TreeHugger Robot
f16ad8aabf Merge "Change the camera id to match the front camera ID" into udc-dev 2023-03-15 15:18:29 +00:00
Chandru S
4d61963d42 Change the camera id to match the front camera ID
Fixes: 270083570
Test: manually, flashed the new config and verified on a husky
Change-Id: I0be559c538e2b99c6279f0d8ae152b4ae1cd6afa
2023-03-15 02:20:17 +00:00
Wei Wang
0d9e1df553 Merge "thermal: add support for multiple trigger sensors" into udc-dev 2023-03-14 05:35:39 +00:00
TreeHugger Robot
cc640af950 Merge "Enable AocPowerPinCtrlCheckEnable flag on bt_vendor.conf" into udc-dev 2023-03-14 04:24:01 +00:00
Sayanna Chandula
16a7cffdc8 thermal: add support for multiple trigger sensors
Bug: 271378726
Test: Build and boot on device. Test with emul temp

Change-Id: I4699064dd3d64f905740b234ee0041c1e063b405
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-14 02:52:22 +00:00
TreeHugger Robot
5fd56d6f79 Merge "powerhint: correct display refresh hint" into udc-dev 2023-03-13 17:35:37 +00:00
Jeremy DeHaan
453c81d817 Merge "display: remove default brightness settings" into udc-dev 2023-03-10 17:48:34 +00:00
Jimmy Shiu
edcfbbad3d powerhint: correct display refresh hint
All shusky products are 120Hz/60Hz

Test: Manual
Bug: 258101007
Change-Id: Idc4e68482957db9105282fda8ade40b944d874e4
2023-03-08 01:37:29 +08:00
Louis Chang
cedcc4fb8a Merge "Enable WM Extensions" into udc-dev 2023-03-07 04:58:29 +00:00
Louis Chang
93d2a6efff Enable WM Extensions
Bug: 270732854
Test: build pass
Change-Id: I612ea7451e588c0a910da82953fcb39ed588c1cc
2023-03-07 02:47:03 +00:00
Yanting Yang
35b8c87370 Update initial MIC e-label for JP SKU of HK3 and SB3
Remove T-Mark.

Bug: 267250859
Test: visual
Change-Id: Ic03540cf41b0f537240ccd0b8673fc405efddcef
2023-03-06 18:34:27 +08:00
Jeremy DeHaan
0e642432c7 display: remove default brightness settings
Remove the default brightness settings. Default brightness is set in
displayconfig to allow for per-panel defaults.

Bug: 217472351
Change-Id: Iacf25347ebac26e5c3a3b17ea6962950418fe586
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 13:40:52 -08:00
Jeremy DeHaan
a8cdd04610 display: update brightness defaults
Add new brightness defaults to match non-linear brightness curves.

Bug: 254529330
Change-Id: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Merged-In: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-02 22:42:48 -08:00
Oscar Shu
b67cd4a4f1 Merge "Update overlay to support MAC randomization on open SSIDs" into udc-dev 2023-03-03 05:15:28 +00:00
TreeHugger Robot
ddad2dc47d Merge "Set audio haptic channel amplitude limit" into udc-dev 2023-03-02 08:09:44 +00:00
Tai Kuo
ead756e8c5 Set audio haptic channel amplitude limit
Bug: 242964127
Test: dumpsys vibrator_manager
Change-Id: I91f36bfbfacf2ebabf774ccd08dcf0c48bc92612
2023-03-02 14:38:04 +08:00
TreeHugger Robot
706b609f5a Merge "audio: enable waves BAACL/playback throttle" into udc-dev 2023-03-01 06:47:25 +00:00
Jasmine Cha
a126119dfa audio: enable waves BAACL/playback throttle
- use BAACL/playback thermal throttle action in ini
- use default settings for BAACL and playback thermal throttle.

Bug: 267100178
Test: push and check lr swap/mixed by adb commands

Change-Id: I5f43fe3ee39be8c06d8d5024462df2f696a0a6eb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-01 13:36:01 +08:00
TreeHugger Robot
2a3412115f Merge "audio: update speaker tuning files" into udc-dev 2023-03-01 04:16:55 +00:00
TreeHugger Robot
d2daa8004e Merge "[P23] Enable LE Audio broadcast offload" into udc-dev 2023-03-01 04:04:53 +00:00
Robert Lee
51f750748c audio: update speaker tuning files
Changelist:
1.Update EVT model on both top and speaker
2.Update PICL/FIR parameters
3.Update fast_switch table for FIR usuage

Bug: 243497194
Test: builds
Change-Id: I0a3de584bda91b158fa2875a29df589a2ddbe462
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit cbbb8e101a)
2023-03-01 02:17:09 +00:00
Robert Lee
6f6c5a53f4 audio: update speaker tuning files
Change list:
1. EVT Speaker Model(Include PICL/FIR)
2. FIR fast switching table

Bug: 243626704
Test: builds
Change-Id: If8114758870938a10e67b27e5271b1960ba33697
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit cb03e18cfd)
2023-03-01 02:13:52 +00:00
TreeHugger Robot
4d1376b0ad Merge "haptics: update hapitcs sink and slot setting" into udc-dev 2023-02-28 16:55:22 +00:00
Sayanna Chandula
5ef5b305af thermal: use disp_therm as trigger sensor
Bug: 262398703
Test: Build and boot on device. Basic thermal testing

Change-Id: Ie36d68b62aa71a6905fad56e19b44d04af4dad02
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-02-24 14:49:52 -08:00
Sayanna Chandula
fcea8a9eb5 thermal: thermal config update for v1.1 coefficients
Bug: 268735739
Test: Build and boot on device. Check thermal service dump
adb shell dumpsys thermalservice

Change-Id: I691d9771358fff452b7423344143249107cb88a9
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-02-24 14:47:52 -08:00
TreeHugger Robot
12c0f22446 Merge "hk3: consistent brightness between bootloader and OS" into udc-dev 2023-02-24 10:11:36 +00:00
Patty Huang
f5c46e3aa7 [P23] Enable LE Audio broadcast offload
1. Set the LE Audio broadcast switcher property
2. Enable LE Audio broadcast profile
3. Add support for BLE Broadcast output in audio policy file
4. Add broadcast offload capability

Test: Manual
Tag: #feature
Bug: 268170293
Change-Id: I423d08442a99cf73535f5664f81c722c62b60996
2023-02-24 06:32:43 +00:00
Oscar Shu
56b4370e25 Update overlay to support MAC randomization on open SSIDs
Bug: 270441948
Test: compile
Change-Id: I0a466b7dc7c21630ef51370d9e033b5f8716e0cd
2023-02-24 01:01:29 +00:00
Kai Shi
71a3b4068b Enable country code update during setup wizard
Bug: 267944733
Test: manual with various network
Change-Id: I5c2b921756773018cfcc34e59de185241b20de04
2023-02-23 17:21:04 +00:00
Safayat Ullah
1ad6c92dd4 hk3: consistent brightness between bootloader and OS
Set initial brightness to ~140 nits.

Bug: 243688822
Test: Check brightness changes during boot to home
Change-Id: Iafa18bbf1916de9f792c3c95447c58c00911ebc2
2023-02-23 11:20:51 +00:00
TreeHugger Robot
577fcd7199 Merge "audio: update waves, media speaker volume curve" into udc-dev 2023-02-23 10:02:28 +00:00
weichinweng
7e35d7ca41 Enable AocPowerPinCtrlCheckEnable flag on bt_vendor.conf
Bug: 262730101
Test: Can enable Bluetooth on different HW stage
Change-Id: I72459c802cb24c2ad8c76e47fc49467fca0a2f9f
2023-02-23 08:25:18 +00:00
Jasmine Cha
934d7c4e5c audio: update waves, media speaker volume curve
Merge notes:
* Update max volume for loudness, bass, stereo, dynamics,
  distortion improvements.
* Update entire volume curve for competitve listening
  experience.
* Update entire volume curve within 1dBSPL of previous vol curve
  (to be matched within 0.5dB on next iteration).
* Moved all volume curve gains from output trim to XML
* Tuned to pass power for Pink 13dB CF noise on speaker loads
  for battery and thermals (40C - 41C skin temp).

Tuning gaps:
* No thermal throttle merged (2nd LL) yet (next iteration pre
  dogfood), so TMO use case unknown still.
* No BAACL tuning merged yet (next iteration pre dogfood)
* Non-media sounds / vol curve not yet tuned

Testing gaps:
* No monsoon testing (to be setup for next iteration)
* No official thermal testing (to be setup for next iteration).

Bug: 270274623
Test: manual test

Change-Id: I26ece68c56c98593c68cf5d7bda979a2a9af5565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-02-23 10:30:00 +08:00
Cheng Chang
9bb0194ab5 Merge "gps: update signal configuration" into udc-dev 2023-02-23 01:56:17 +00:00
TreeHugger Robot
0dfe76f37a Merge "thermal: enable tpu and gxp thermal mitigations" into udc-dev 2023-02-23 00:00:12 +00:00
Cheng Chang
3d92562e68 gps: update signal configuration
Bug: 267789900
Test: verify fix at b/267789900
Change-Id: I059d2fc7abc9fcc07ba53e297dfa7f20991ab3eb
2023-02-22 04:40:34 +00:00
Cheng Chang
7d9d176a3a Merge "Revert^2 "gps: enable coex function"" into udc-dev 2023-02-22 03:00:38 +00:00
Sayanna Chandula
e8003f5961 thermal: enable tpu and gxp thermal mitigations
Add cooling devices to enable TPU and GXP throttling

Bug: 270211512
Test: Build and boot on device. Check thermal throttling

Change-Id: I1bd4086846a6417e9426f89872df69351928920e
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-02-21 22:55:16 +00:00
KRIS CHEN
135e67ea1a Merge "Remove the redundant g7 ta loading in init.xxx.rc" into udc-dev 2023-02-21 09:11:04 +00:00
Kris Chen
804e88bf9b Remove the redundant g7 ta loading in init.xxx.rc
Bug: 264646112
Test: fingerprint works fine after device reboot
Change-Id: I8da8d238709174ac9119c19d7e3f20733d3c664e
2023-02-21 15:34:14 +08:00
Cheng Chang
fc0ef21f53 Revert^2 "gps: enable coex function"
45334c1113

Original Description:

gps: enable coex function

Bug: 257093529
Test: Verify at b/257093529
Change-Id: I10237308b069e6c268cc5c04ead14095317ea2ff
2023-02-21 05:47:19 +00:00
Carter Hsu
6aa5ce6f08 Merge "audio: Audio platform, Mixer_paths, Fortemedia table check in (2023/02/17) for telephony." into udc-dev 2023-02-21 02:36:54 +00:00
Carter Hsu
e642dcc061 Merge "audio: Audio platform, Mixer_paths, Fortemedia table check in (2023/02/17) for telephony." into udc-dev 2023-02-21 02:36:32 +00:00