Commit graph

689 commits

Author SHA1 Message Date
Carter Hsu
e6565f034d Merge "audio: enable CCA for VoIP downlink" into udc-d1-dev 2023-05-08 08:49:59 +00:00
Wei Wang
25fbbf2e06 Merge "thermal: adjust GPU throttling policy" into udc-d1-dev 2023-05-06 01:10:33 +00:00
Jay Civelli
1981dcae60 Adding Fast Pair extended IDs for Shiba and Husky
Adding the Fast Pair extended IDs for Shiba and Husky so that
Quick Start shows the right Fast Pair bottom sheet on other devices
during setup.

Bug: 280889888
Test: Manually flashed a Shiba & Husky device and validated the FP
      bottom sheet is displayed on a nearby other device
Change-Id: Idf45a6ca819dbb012210ee9dfeec7e98b18603de
2023-05-04 23:27:39 +00:00
Treehugger Robot
8779a25fdb Merge "[DO NOT MERGE] vibrator: Disable PWLE capability for U" into udc-d1-dev 2023-05-04 20:26:45 +00:00
Shuibing Dai
bbbb07ad78 Merge "Remove overlay item: country code update during setup wizard" into udc-d1-dev 2023-05-04 01:55:10 +00:00
Devika Krishnadas
0d10c3d43f powerhint: Update expensive rendering hint
Bug: 246347593
Test: b/246347593 - comment 10, 11, 12, 13

Change-Id: Ia8ab59f1aafc88bc39192f15b8fe9639d9a5cd34
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-05-04 00:04:38 +00:00
Suprabh Shukla
b41a804290 Add wakeup interrupt mappings for shusky
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I9708b79021c1e2a5fe066a8b66820ca28c899ea4
2023-05-03 22:12:50 +00:00
Karuna Ramkumar
cdffd6c55d display: sb3: bigsurf: update rr regamma table
Update rr regamma table used for smooth cal DPU compensation
Bug: 243694502

Change-Id: Ib17abe53b485bf7f5fc98200f41ab0b8fb6ca063
2023-05-03 20:45:08 +00:00
Karuna Ramkumar
6c57137faa display: sb3: shoreline: update rr regamma table
Update rr regamma table used for smooth cal DPU compensation

Bug: 243694502
Change-Id: I42f2c5b75093005165fe99b9173436d930edbeb6
2023-05-03 12:29:07 -07:00
TeYuan Wang
0807a5ff7f thermal: adjust GPU throttling policy
Bug: 258136466
Test: run MH_OFF
Change-Id: Ide5cad291832558a37ede742772dae61936c6bcb
2023-05-03 10:44:36 -07:00
Yen-Chao Chen
80ee2139e4 Merge "Add TouchInspector app" into udc-d1-dev 2023-05-03 06:26:14 +00:00
Shuibing Dai
c4ce10285b Remove overlay item: country code update during setup wizard
The country code updating from scan results generic case can cover setup wizard case.

Bug: 279625751
Test: manually verified generic case
Change-Id: Ic61530c4d3a6fe91c3bec3f2cf34f47dbc61bd16
2023-05-02 14:04:11 -07:00
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00
Dan Moore
bb1576b0ff Merge "thermal: update bts_window_partial coefficients" into udc-d1-dev 2023-05-02 15:00:31 +00:00
Yen-Chao Chen
2d64625651 Add TouchInspector app
Bug: 279675034
Test: trigger touch calibration by the app.

Change-Id: Ic2d5476c670fbc73938f685da34125e55b2b5bbf
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2023-05-02 14:42:39 +08:00
Carter Hsu
50fab6913b Merge "audio: FM table check in (2023/04/28) for telephony." into udc-d1-dev 2023-05-02 03:05:51 +00:00
Carter Hsu
f27f61425f Merge "audio: FM table check in (2023/04/28) for telephony." into udc-d1-dev 2023-05-02 03:05:29 +00:00
Treehugger Robot
32e929bbf8 Merge "Camera: Force front camera always binning for 720P or less" into udc-d1-dev 2023-05-02 02:59:26 +00:00
Treehugger Robot
e3a83ba4fe Merge "Revert "Revert "shusky: disable parallel module loading""" into udc-d1-dev 2023-04-29 01:57:34 +00:00
Andrew Chant
04716d5711 Revert "Revert "shusky: disable parallel module loading""
This reverts commit ca1a96d3bd.

Reason for revert: ToT instability.

Bug: 280112517
Change-Id: Icef303545cbef7884c2ae81bd9b9d5fd94ea42ca
2023-04-28 22:41:37 +00:00
Sayanna Chandula
54ae215675 thermal: update bts_window_partial coefficients
Bug: 280076251
Test: Build and boot on device

Change-Id: I11de9feff1803438bf8e5306e0d0a5bea114dbaa
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-04-28 14:07:27 -07:00
Nathan Kulczak
f350357cbd [DO NOT MERGE] vibrator: Disable PWLE capability for U
Set chirp.enabled=0 so that CAP_FREQUENCY_CONTROL and
CAP_COMPOSE_PWLE_EFFECTS will not be enabled.

Bug: 275032416
Test: adb shell idlcli vibrator getCapabilities
Change-Id: I4eb07c595bbd15e85bf8c07e29cab1a479589b09
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2023-04-28 05:36:12 +00:00
Carter Hsu
d835249441 audio: FM table check in (2023/04/28) for telephony.
- HK3 Handset.dat (Owen)
1. Copy SWB Rx settings of Handset_HAC | Voice_Generic to Handset_HAC | RESERVE2
2. Modify NB/WB Rx FDEQ of Max/Max-1/Max-2 to fix distorted sound in Handset | Voice_Generic
3. Copy item2. to Handset | Tmobile-US

- HK3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995395

Bug: 279995395
Test: verified by rickycheng@
Change-Id: I1835fedd755a0c449472a8621f801a4b50f4fc45
2023-04-28 10:48:20 +08:00
Carter Hsu
e240a9cb15 audio: FM table check in (2023/04/28) for telephony.
- SB3 Handset (Duncan)
Fine tune NB/WB/SWB for TMO US position

- SB3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995733

Bug: 279995733
Test: verified by rickycheng@
Change-Id: Ib3c37c0fd85a04504e4f42b2e889071a71552b62
2023-04-28 10:47:15 +08:00
Rios Kao
7924176f3d Merge "audio: add smartfeature table for chre tuning" into udc-d1-dev 2023-04-28 02:17:07 +00:00
Chung-Kai (Michael) Mei
1e58cbbc4b Merge "Revert "shusky: disable parallel module loading"" into udc-d1-dev 2023-04-28 01:23:29 +00:00
Chung-Kai (Michael) Mei
ca1a96d3bd Revert "shusky: disable parallel module loading"
This reverts commit efaeac87c2.

Reason for revert: the patch for iommu has been merged

Test: shiba rebooted 1000 times without failure and https://android-build.googleplex.com/builds/abtd/run/L49300000960255489 run device-boot-health-check-extra for husky
Bug: 271931921
Change-Id: I4dcbc1e2028facd8531c94c03d0b28cbd6769b06
2023-04-28 01:12:57 +00:00
Treehugger Robot
e8b7e64f7b Merge "thermal: reduce VSYS_PWR_RFFE window to 14s" into udc-d1-dev 2023-04-27 22:34:47 +00:00
TeYuan Wang
70af6960a0 thermal: reduce VSYS_PWR_RFFE window to 14s
Bug: 278948544
Test: emul_temp
Change-Id: Idb4d3179594bb20946fe4e23bceaef9db2c7b494
2023-04-28 02:27:47 +08:00
Wei Wang
a08c53bf89 Merge "shusky: adjust zram swap size to 50% of total memory" into udc-d1-dev 2023-04-26 21:41:50 +00:00
Wei Wang
7746ca2b84 Merge "thermal: remove MMWAVE from partial system power reference" into udc-d1-dev 2023-04-26 18:21:14 +00:00
Jia-yi Chen
35726fa691 Camera: Force front camera always binning for 720P or less
Bug: 275886769
Test: Boot & check logs
Change-Id: I78ded68fdec10c447ad2b402dc979e18d754855f
2023-04-26 10:49:08 -07:00
Shuibing Dai
739ec6cb48 Merge "Enable updating country code from scan results for generic case" into udc-d1-dev 2023-04-26 15:57:24 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00:00
Richard Chang
455a5c9c54 shusky: adjust zram swap size to 50% of total memory
- 8 GB 	-> 3.62 GB
- 12 GB -> 5.57 GB

Bug: 249179924
Test: Boot
Change-Id: I8c9a3ce05893564878fc395579ae962a2fbe53ca
2023-04-26 08:50:49 +00:00
Peter (YM)
ced8f1ee3b thermal: remove MMWAVE from partial system power reference
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.

Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch

Change-Id: I6ae177a58753f701053d531871f9771962f9c114
Signed-off-by: Peter (YM) <peterym@google.com>
2023-04-26 07:59:39 +00:00
Timmy Li
73e108e439 Merge "Disable rlsservice for P23 devices" into udc-d1-dev 2023-04-25 19:32:03 +00:00
Wei Wang
fc09fbf0aa Merge "powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint" into udc-d1-dev 2023-04-25 17:13:49 +00:00
Jia-yi Chen
bfba21f025 powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint
Use CAMERA_STREAMING_VIDEO_CALL powerhint to optimize power for
the video_call use cases like Meet.

Bug: 279451663
Test: Check power and framedrop running Goggle Meet
Change-Id: I51ac0da491b6cb8d1c57d84a3f6b2d67d1a02f4a
2023-04-25 08:51:34 -07:00
Rios Kao
8a2a6b6435 audio: add smartfeature table for chre tuning
note: add smartfeature.gstf that only used for Hotword
      pipeline in AoC which is sharing to chre usage too.

      On ZUMA
        CHRE PDM Gain(gain=10)
        CHRE AEC Gain(gain=-22)
        CHRE SRC AEC Timeout(timeout=300000)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

Test: end-to-end verify by CHRE
      using aoc_audio_cfg to query gain as below

      adb shell aoc_audio_cfg hotword_get_non_eraser_gain
      adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701

Change-Id: I8355563141b86c59e0c9115a64b787ac92f5aadd
2023-04-25 05:23:45 +00:00
Rios Kao
0e2008d2a5 Merge changes Ia4b23782,I1432bda8 into udc-d1-dev
* changes:
  shusky: add sound_trigger_tap and hotword_lookback_capture
  audio: reorg aidl_config and add voice call paths for shusky
2023-04-25 05:07:12 +00:00
Cheng Chang
2d15151a87 gps: add malloc assertion condition
Bug: 271750700
Bug: 274541210
Test: verify at b/274541210
Change-Id: I2465edb0534c2419bdfeab31d70404343e35b290
2023-04-25 02:30:19 +00:00
timmyli
602ad8190d Disable rlsservice for P23 devices
These devices will use spectral driver for ambient
light and flicker information.

Bug: 277959222
Test: ./run_cts.sh
Change-Id: I5a245fa222bc83ed3c4976895671070be02a9a43
2023-04-24 20:06:09 +00:00
Bill Yi
abbeadcfe4 Merge "Add template for generating Husky and Shiba vendor blobs" into udc-d1-dev 2023-04-24 18:30:15 +00:00
Bill Yi
88fa567740 Add template for generating Husky and Shiba vendor blobs
Also add template for factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG: 278968179
Change-Id: Ia26ea58c2f8b94f2aedf1a8f097ba6aa28e53d51
2023-04-24 09:37:00 -07:00
Cyan Hsieh
7c21a77018 Merge "Add device mk OWNERS" into udc-d1-dev 2023-04-24 06:01:50 +00:00
Treehugger Robot
d256ed79c1 Merge "Add supported of POF" into udc-d1-dev 2023-04-24 04:07:53 +00:00
Rios Kao
2a375b2ddb shusky: add sound_trigger_tap and hotword_lookback_capture
note: add path for new use-case
      sync diff from P22.

Test: end-to-end test with test apk
Bug: 259455755

Change-Id: Ia4b23782b6e08258450d3c7ca5624ea387add529
2023-04-24 03:39:56 +00:00
Rios Kao
79ada777b9 audio: reorg aidl_config and add voice call paths for shusky
note: sync audio_platform_configuration from P22

Bug: 206737711
Test: mm
Change-Id: I1432bda83eaff5bdb988a6baaf31705b79100575
2023-04-24 03:39:51 +00:00
George Chang
fd20619cc2 Merge "Update NFC customize settings" into udc-d1-dev 2023-04-21 06:54:06 +00:00