Commit graph

278 commits

Author SHA1 Message Date
TreeHugger Robot
060bfd3165 Merge "wifi: Move PixelWifiOverlay2023" 2022-12-13 23:24:03 +00:00
Jia-yi Chen
45a5c648d6 powerhint: Add CPU MaxFreq cap for camera powerhints
Before PMU feature is ready, directly limit the CPU frequencies
via powerhint. Also update the value of CPU frequencies based on
the latest HW.

Bug: 261760700
Test: Boot & take traces
Change-Id: Ibc41c9decd866a37ec65201204f5a1b09798b72e
2022-12-13 13:43:36 -08:00
Chungkai Mei
09e38849c0 Remove UClampThreshold hint
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-13 09:39:59 +00:00
Sayanna Chandula
6ec947dc44 Merge "thermal: implement basic tskin mitigation" 2022-12-13 04:27:33 +00:00
Sayanna Chandula
141142a118 thermal: implement basic tskin mitigation
cdev limit at CRITICAL severity and hard throttling at
EMERGENCY severity

Bug: 262304756
Test: Build and boot on device

Change-Id: Ic79ef7a38a8b64b25285d53581ce1613844a26c1
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-12-12 17:27:58 -08:00
Jay
010c154953 powerhint: disable PMU for Zuma
Zuma's PMU porting is not completed so disable PMU for now.

Bug: 259144954
Test: GCA video recording
Change-Id: I96b16b486342d95df28813b63fe7d95a9d9e2aeb
2022-12-12 19:11:46 +00:00
Ted Wang
0b2e0595fb Disable Accelerated BT ON feature for ripcurrent
Bug: 262181537
Test: make
Change-Id: Ifc109da72052130f225271c87f75e44f9318da41
2022-12-12 14:35:58 +08:00
kensun
5a7aa6ccd2 wifi: Move PixelWifiOverlay2023
PixelWifiOverlay2023 was originally added in device-XXX.mk file, and lead to overlay parsing failure on aosp/factory build.
Referring to other existing Pixel projects, move PixelWifiOverlay2023 to product.mk files.

Bug: 260594276
Test: Overlay can be read correctly.
Change-Id: I739504ee9ded6f232e438ce5830ca168ed1f4675
2022-12-12 03:33:11 +00:00
Cheng Chang
d63e841415 Merge "gps: update rf configuration" 2022-12-12 01:53:29 +00:00
TreeHugger Robot
c2724b2380 Merge "battery: disable wireless for pts battery test" 2022-12-11 06:42:58 +00:00
Ken Yang
10fe580b45 WLC: Include the wireless_charger from gs-common
Bug: 237600973
Change-Id: I5bcd35ca016a2012f9887ce15e8c88a342f288e6
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-10 14:39:40 +00:00
Roshan Pius
976b66e6f8 Merge "uwb(hk3): Add UWB framework overlays rro app" 2022-12-09 22:44:54 +00:00
Ken Tsou
0983124386 battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 261948834
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 4c821c04fc25b026f5fc8e9301758bf87dbb4a3e)
2022-12-09 09:10:08 +00:00
George Chang
d73a435119 Merge "Remove legacy nfc/se settings" 2022-12-09 07:28:02 +00:00
Roshan Pius
8e73113deb uwb(hk3): Add UWB framework overlays rro app
Bug: 261908320
Test: Compiles
Change-Id: I369abe1ea668b4db2d50c065c7f53915c569c2e5
2022-12-09 04:36:33 +00:00
Cheng Chang
327642af77 gps: update rf configuration
Bug: 258306663
Test: Verify parameter at b/258306663
Change-Id: I9f948694ecaf77f08d9aa5d8fe25b75c1f2109d0
2022-12-09 03:47:10 +00:00
Linyu He
63f66a8701 [Zuma 8k] Revert ag/20294157: add 8k encoder profiles for P23 devices (2nd attempt)
Per b/259732944#comment2, using CamcorderProfile.QUALITY_HIGH will
request an 8k stream if 8k is present in media_profiles. This is because
QUALITY_HIGH is the "quality level corresponding to the highest
available resolution".

(https://developer.android.com/reference/android/media/CamcorderProfile#QUALITY_HIGH)

However, the 8k support in camera HAL isn't ready, so we have to remove
8k from media_profiles to avoid breaking apps using QUALITY_HIGH.

Bug: 232811715
Bug: 259732944
Test: build
Test: boot & check GCA video recording
Change-Id: I52a2b6c577acfff1d871cc038916d1490abd0fd6
2022-12-08 20:48:49 +00:00
Mike McTernan
888a711cd0 shusky: trigger trusty_apploader when trusty storage is ready.
Bug: 260942157
Test: manual; booted on ripcurrent and checked start logs
Change-Id: Icee4f1f044e072fbd3d508fa007ef4b9689ac7ab
2022-12-08 14:08:47 +00:00
More Kuo
dc1d599cd9 Merge "Enable OPUS codec by sysprop" 2022-12-07 06:49:08 +00:00
davidycchen
52dd4a197a init: start twoshay on boot.
Bug: 243077791
Test: Check if twoshay start successfully.

Change-Id: I715bcef3eb498f8410f51037719440bcfaef72ca
Signed-off-by: davidycchen <davidycchen@google.com>
2022-12-07 14:29:43 +08:00
More Kuo
14cbb7eaab Enable OPUS codec by sysprop
Test: Build pass
Bug: 257887850
Bug: 254771189
Change-Id: I5fbd21a8ef4819fe793fc4bef11973bc3ba63d32
2022-12-07 12:48:23 +08:00
George Chang
c2b999c7d9 Remove legacy nfc/se settings
Bug: 240125555
Test: manual
Change-Id: I1a263ec0403fc5dae8bfecc44b05d8222212d0d6
2022-12-06 22:06:34 +08:00
TreeHugger Robot
d556489130 Merge "cs40l26: remove alwaysOn support" 2022-12-06 09:53:33 +00:00
Tai Kuo
bf5a2f2c4b cs40l26: remove alwaysOn support
Bug: 246772422
Test: atest PtsVibratorHalTestSuite
Test: atest VibratorHalCs40l26TestSuite
Change-Id: I1513da7f51f380227742200baf5ec0b41da2f374
2022-12-06 15:56:13 +08:00
TreeHugger Robot
56dcc48479 Merge "Enable the spatial audio function" 2022-12-06 02:40:36 +00:00
Neo Yu
3927dd44f8 Merge "Add property to set initial svn as 1" 2022-12-05 09:53:41 +00:00
Yung Ti Su
082d1b6417 Enable the spatial audio function
Bug: 254771189
Test: manual

Change-Id: I8fa9864103879efc10362695254e887629c46e10
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-05 05:57:51 +00:00
Neo Yu
098eab4699 Add property to set initial svn as 1
Bug: 261280256
Test: manual
Change-Id: I4744b153939b7dc529d9d95c852d07e73c4f1198
2022-12-04 16:13:03 +00:00
TreeHugger Robot
6818dd02b8 Merge "audio: update tuning bin files" 2022-12-02 03:36:19 +00:00
Robert Lee
9ae501aea5 Merge "audio: update tuning bin files" 2022-12-02 02:17:29 +00:00
Robert Lee
1593b2d848 Merge "cs35l41: add new path for crus_ap_cal" 2022-12-01 01:48:27 +00:00
Robert Lee
5b6a16bc64 audio: update tuning bin files
Change list:
- 1st PICL tuning for top / bot speaker

Bug: 243626704
Test: builds
Change-Id: Id013a90875d23ff30fa110902581088d301595be
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-29 08:23:11 +00:00
Robert Lee
cb06fa32c9 audio: update tuning bin files
Change list:
- 1st proto PICL model 2.8V/3A for both top and bottom spks

Bug: 243497194
Test: builds
Change-Id: I260ebfe55ffc67530d4348d2d76d5fb627880d1c
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-29 11:44:10 +08:00
Adam Shih
8ed4549f8f use stm dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I7e8e95d639932468a4f41a298f33d5c5bdc9c950
2022-11-28 16:16:45 +08:00
Adam Shih
5cb3c985e7 use stm dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I6bf0c2c66bd4252dfe117d473ac3c9ecc1184fc1
2022-11-28 11:23:00 +08:00
George Chang
ddddecf66b Merge "Add NFC overlays" 2022-11-23 13:46:24 +00:00
TreeHugger Robot
37ae02c5dd Merge "Update auto brightness table" 2022-11-23 11:54:52 +00:00
George Chang
b76a3fe0da Add NFC overlays
Set polling_disable_allowed
Set nfcc_always_on_allowed
Add sku ids for config_skuSupportsSecureNfc

Bug: 260007168
Bug: 257818369
Test: manual
Change-Id: I0aefdcd6b230ae458a2f19f4b91470e0e051d738
2022-11-23 07:54:50 +00:00
TreeHugger Robot
d7b57fff7a Merge changes from topic "p23_individual_folder"
* changes:
  gps: update rf configuration
  gps: move configurations to individual device
2022-11-23 07:14:04 +00:00
Adam Shih
16944a1dd1 Merge "use gti dump from gs-common" 2022-11-23 05:30:55 +00:00
Cheng Chang
5c427e3436 gps: update rf configuration
Bug: 258327453
Test: verify at 258327453
Change-Id: Ia5abe3a9df0278312e9025d5846bd9ef734fa3f5
2022-11-23 04:31:48 +00:00
Cheng Chang
8469911a8e gps: move configurations to individual device
Bug: 259331900
Test: cts and vts pass
Change-Id: Idbbc76d66a65399ce982b880c896262d71945496
2022-11-23 04:25:56 +00:00
Jeremy Nei
9b7ada82c7 Update auto brightness table
Bug: 243688043
Test: check dumpsys value
Change-Id: I18a62e0c63c2dbff478a6892f1af55e190ee20e0
2022-11-22 14:09:05 +00:00
Robert Lee
c856ee61d8 cs35l41: add new path for crus_ap_cal
Bug: 252965402
Test: manual test
Change-Id: I04abe085098ba8dd7575c975b11e36cc916c1ced
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-22 10:15:43 +08:00
Sayanna Chandula
19791deecc Merge "thermal: enable thermal engine" 2022-11-21 18:41:01 +00:00
Jason Chang
2648d8d90a Merge "Enable One-handed mode feature for HK3/SB3" 2022-11-21 07:35:37 +00:00
Adam Shih
25c2f258a5 use gti dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I093d96f6440bd8a0eb25c3bebf46b54d4bd3168f
2022-11-21 13:04:23 +08:00
Adam Shih
53192f4490 Merge "remove panther's touch setting" 2022-11-21 02:45:44 +00:00
Jason Chang
a75e126b9b Enable One-handed mode feature for HK3/SB3
PRODUCT_PRODUCT_PROPERTIES += \
    ro.support_one_handed_mode=true

Bug: 258124874

Test: manually test.
Change-Id: Iccf145c1a7b588cd3e40857486eb2352686a9150
2022-11-19 14:27:29 +00:00
Sayanna Chandula
7d1a95ce14 thermal: enable thermal engine
Remove tpu_cooling as it is not yet available

Bug: 254108562
Test: Build and boot on device. Check thermal service
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: If89ba01d1d2a2280b4c3bb26b97124e8e1e53fcc
2022-11-19 04:23:31 +00:00