Commit graph

1276 commits

Author SHA1 Message Date
Christine Franks
d5b6986525 Merge "Set display white balance stepping configs" into udc-dev am: ef0957cff1 am: c48b2566a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22676009

Change-Id: Id772676b2926692ac3c6945be7e111bbb3d09bff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 03:00:46 +00:00
Christine Franks
c48b2566a5 Merge "Set display white balance stepping configs" into udc-dev am: ef0957cff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22676009

Change-Id: Ia8b57ebc38eb9fd1a04bb929f56bbdd865bdffa1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 01:59:17 +00:00
Christine Franks
ef0957cff1 Merge "Set display white balance stepping configs" into udc-dev 2023-05-03 01:19:12 +00:00
Christine Franks
3cf190c44d Set display white balance stepping configs
Bug: 274483293
Test: check transition smoothness
Change-Id: I630a4996ee39c11620ce64f87db811854ea77f66
2023-05-02 23:45:45 +00:00
Shuibing Dai
92518b16ea 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: I91815abfb4ec9e6c2bc324c9bf3eb6ffee7d6cab
2023-05-02 13:46:27 -07:00
Rios Kao
34ea4b3332 Merge "audio: add smartfeature table for chre tuning" into udc-dev am: cab6328c66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22842516

Change-Id: I326fdb522f171f116ad4d81f7e8b4ed83f9284f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 03:22:30 +00:00
Rios Kao
cab6328c66 Merge "audio: add smartfeature table for chre tuning" into udc-dev 2023-04-28 02:17:30 +00:00
Qais Yousef
d6a8fc3517 Merge "powerhint.json: Update uclamp_min hint to account for margin" into udc-dev am: 6fca96663e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22511303

Change-Id: I5e7b0b07821c8d469a9e60bea375de1677e13bae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:06:54 +00:00
Qais Yousef
6fca96663e Merge "powerhint.json: Update uclamp_min hint to account for margin" into udc-dev 2023-04-25 21:27:51 +00:00
sashwinbalaji
29348397c7 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: I78182ce4952bc906dcb1bafac684ecf77f4280a4
2023-04-25 07:41:41 +00:00
Treehugger Robot
47db81ecf8 Merge "Add device mk OWNERS" into udc-dev am: 9de47635df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22781020

Change-Id: I1529709ca156f41b32dc7f5ddb2b9cbc92705d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 07:40:09 +00:00
Treehugger Robot
9de47635df Merge "Add device mk OWNERS" into udc-dev 2023-04-25 05:35:37 +00:00
Rios Kao
3f769dbbe6 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 WHI_PRO
        CHRE PDM Gain(gain=158)
        CHRE AEC Gain(gain=-42)
        CHRE SRC AEC Timeout(timeout=0)
      This table also contains hotword gain control as
      (Undocked)
      Non Eraser gain (gain=220)
      Eraser Pre gain (gain=220)
      (Docked)
      Non Eraser gain (gain=356)
      Eraser Pre gain (gain=170)
      Eraser Post gain (gain=186)
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
      adb shell aoc_audio_cfg hotword_get_eraser_pre_gain
Bug: 271078701

Change-Id: I4e3416af224742d939c0928c6623705a01924581
2023-04-25 05:10:05 +00:00
Carter Hsu
cd8ff57541 audio: disable raw for USB Dock am: d968a78b04 am: ea79655a00
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22609278

Change-Id: I62e6d1752cd5bc293c59ec8c2b34a43ea3b0600b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 22:03:31 +00:00
Carter Hsu
ea79655a00 audio: disable raw for USB Dock am: d968a78b04
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22609278

Change-Id: I8fdf3d4c78e69d283ef5ead3f01598a108c0ef0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 21:18:25 +00:00
Chung-Kai (Michael) Mei
174c775767 Merge "Enable load kernel modules in parallel" into udc-dev am: 7d8d086e57
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22753623

Change-Id: If52137940928b7bb91a982c10d23ec3f31f6a949
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 09:16:56 +00:00
Chung-Kai (Michael) Mei
7d8d086e57 Merge "Enable load kernel modules in parallel" into udc-dev 2023-04-21 08:25:52 +00:00
Cyan_Hsieh
c14f209f30 Add device mk OWNERS
Bug: 278167548
Change-Id: Iefda389e70117b401d20590e387d368737e03e50
2023-04-21 13:53:44 +08:00
Chungkai Mei
50d3691520 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: reboot more than 500 times without failure
Bug: 229794277
Change-Id: I41cb5a09fb88ff7faa5ec12f71209b35cd941948
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-04-21 03:38:37 +00:00
Treehugger Robot
a3d0516d6c Merge "[SWB] Enable super wideband" into udc-dev am: f56c8c053f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22684562

Change-Id: I63e4c342eb46e5361903fbc7925b1d52e408fa77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 01:56:49 +00:00
Treehugger Robot
f56c8c053f Merge "[SWB] Enable super wideband" into udc-dev 2023-04-21 01:12:07 +00:00
Carter Hsu
c95e984a09 audio: disable raw for USB Dock am: 75b7e49503
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22774009

Change-Id: Ia808d43f60cc066e94a2294cb3b4f35669405bd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 23:09:16 +00:00
Carter Hsu
75b7e49503 audio: disable raw for USB Dock
Bug: 277806508
Test: build pass
Change-Id: Iecb4ce699f6c5a42b3833d8e168fc5142b3f2975
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-20 21:07:28 +00:00
Wei Wang
677cffe305 Merge "powerhint: Boost GPU(302000) by 1st frame" into udc-dev am: 58dce24b92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22574045

Change-Id: Ib07800daa3fd5f3ed9cb018d650793e5718ca395
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 22:47:24 +00:00
Wei Wang
58dce24b92 Merge "powerhint: Boost GPU(302000) by 1st frame" into udc-dev 2023-04-19 22:02:20 +00:00
shihchienc
bf23d4c932 [SWB] Enable super wideband
Enable SWB by setting system property

Tag: #feature
Bug: 277338500
Test: flash devices and check property
Change-Id: I4862bf8ddbd9f9f34d8588bc6068f0dc6baff399
2023-04-19 06:27:29 +00:00
Joey Poomarin Phloyphisut
1894df998b Merge "[USB Audio] Enable 192k support sample rate to hifi usb" into udc-dev am: 43650ada25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22692948

Change-Id: I52c89402a4d4824697e9e1e2e2e7f4ba746923f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 17:47:47 +00:00
Joey Poomarin Phloyphisut
43650ada25 Merge "[USB Audio] Enable 192k support sample rate to hifi usb" into udc-dev 2023-04-18 17:17:35 +00:00
Poomarin Phloyphisut
1d12d453cb [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: Ic40638a9bd9e341c6f1e0ccf4d43e6d852a4d357
2023-04-18 13:08:35 +00:00
Shuibing Dai
10265ad21f Merge "Enable updating country code from scan results for generic case" into udc-dev am: fd617452a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22637601

Change-Id: I0158c79aa68f7565bdfbf9cdc0b2d99752b8da53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 16:13:45 +00:00
Shuibing Dai
fd617452a8 Merge "Enable updating country code from scan results for generic case" into udc-dev 2023-04-17 15:46:30 +00:00
Shuibing Dai
7887782d39 Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: I8fdad7c5793657c9b6293315f67bb25b858c50da
2023-04-13 17:32:56 -07:00
Carter Hsu
d968a78b04 audio: disable raw for USB Dock
Bug: 277806508
Test: build pass
Change-Id: Iecb4ce699f6c5a42b3833d8e168fc5142b3f2975
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-13 09:59:59 +08:00
Jimmy Shiu
826c53b945 powerhint: Boost GPU(302000) by 1st frame
Take CPU_LOAD_RESET hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: I57da44fc7e7c11e84241cccf81f83b4ce22768fa
2023-04-12 22:08:54 +08:00
Qais Yousef
7a77f284ec powerhint.json: Update uclamp_min hint to account for margin
Upstream has fixed relationship between uclamp_min and margin which
means uclamp_min value between 80-100% of capacity of the CPU is a valid
value and will not cause upmigration.

To keep the current hints in powerhint.json the same, we must update
uclamp_min to be capacity_orig_of(medium_cpu) + 1.

This change is dependent on uclamp vs fits margin in GKI, vendor
modules. And an improvement in sched_pixel to ignore the 25% boost if
the only reason to request the frequency is uclamp_min.

To cater for the later - we multiply each uclamp_min value with 1.25
- except ones that look intentionally set around capacity boundaries.

Bug: 261695590
Test: PtsUiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1e6889ebea9877cb23708722a73e97177e6be185
2023-04-06 16:38:25 +00:00
Adam Shih
0df7eb6880 Merge "create a wlan dump" into udc-dev am: 84b40b6157
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22343293

Change-Id: Ie548a0f368cd2e2e45c4f4ac97316efce7fdd315
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 02:22:56 +00:00
Adam Shih
84b40b6157 Merge "create a wlan dump" into udc-dev 2023-04-06 01:42:56 +00:00
TreeHugger Robot
a9d8fddbda [automerger skipped] Merge "Enable lidControlsSleep config." into tm-qpr-dev am: 8136f8b400 am: 16317d058f -s ours am: bfa427a141 -s ours
am skip reason: Merged-In I950c1d5f6284f8ce133ca94ce98eec78ec9cfa93 with SHA-1 2d32591c54 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173324

Change-Id: I8f12f25d0f8ccb93f8a7f659145ff6bb98a246ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 20:59:26 +00:00
TreeHugger Robot
bfa427a141 [automerger skipped] Merge "Enable lidControlsSleep config." into tm-qpr-dev am: 8136f8b400 am: 16317d058f -s ours
am skip reason: Merged-In I950c1d5f6284f8ce133ca94ce98eec78ec9cfa93 with SHA-1 2d32591c54 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173324

Change-Id: Ibaaf0caf28136b127adefdeb2c12d2b19248ccf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:16:56 +00:00
TreeHugger Robot
16317d058f Merge "Enable lidControlsSleep config." into tm-qpr-dev am: 8136f8b400
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173324

Change-Id: Ia7186388b3c937da6e527436070340bdd0ea62e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:29:14 +00:00
Adam Shih
66853a6b40 create a wlan dump
Bug: 22338832
Test: adb bugreport
Change-Id: I59fc80eb6d46e44a0e2d2c70246c013b77e2b88d
2023-03-30 15:06:25 +08:00
TreeHugger Robot
8136f8b400 Merge "Enable lidControlsSleep config." into tm-qpr-dev 2023-03-30 01:42:16 +00:00
Liang Li
f922c5b19a Merge "Enable adjusting link layer stats polling interval" into udc-dev am: ce6dbe8b1f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22058186

Change-Id: I9025ab3736126206e12da9ccc7156e8600fa0b47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 02:49:40 +00:00
Liang Li
ce6dbe8b1f Merge "Enable adjusting link layer stats polling interval" into udc-dev 2023-03-28 02:40:50 +00:00
TreeHugger Robot
58e909749d Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev am: 9bc189cd56 am: c4d381d68e am: 5f55e888ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173742

Change-Id: I54d7e553848a1f28f586e7407b0c23a86f5b0739
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 19:58:00 +00:00
TreeHugger Robot
5f55e888ce Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev am: 9bc189cd56 am: c4d381d68e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173742

Change-Id: Ia04f3db9de74163844582648ae4dd9d605d77fd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 19:25:51 +00:00
TreeHugger Robot
c4d381d68e Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev am: 9bc189cd56
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173742

Change-Id: I63b576056be8343ccb83776c39bff532335936f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 18:55:29 +00:00
TreeHugger Robot
9bc189cd56 Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev 2023-03-24 18:17:04 +00:00
Siarhei Vishniakou
88163f2a20 Decrease the touch slop to prevent unintentional long presses
On this device, the default touch slop value of 8dp is too large. It corresponds to a physical distance of ~ 1.5mm.
This results in long presses getting triggered too easily.

Reduce the touch slop to 5 dp, which is about ~ 1mm, and closer to a reference device that doesn't exhibit the long-press issue.

Bug: 270835406
Change-Id: I1973e7831f527f2f654661bd4917f48992c74b61
Test: use a test app for long presses
2023-03-24 09:21:09 +00:00
Sal Savage
ab857787a9 Use the ?= operator for assignment to avoid downstream assignment errors am: 45ff87c8c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22232302

Change-Id: Ia715b6ee8f5312f99b3ae6eff09e84a4f8596c80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 21:47:23 +00:00