Commit graph

1157 commits

Author SHA1 Message Date
Wendly Li
b31b11f2f7 touch: move the setup of gti ownership to gs-common am: 7dba11f303
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22817476

Change-Id: I91fc9ff824d7ec1c3a91caf8700a45baec331ce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 17:41:23 +00:00
Wendly Li
7dba11f303 touch: move the setup of gti ownership to gs-common
Bug: 278023960
Test: adb bugreport
Change-Id: Iea1729ad7fd67378816e69095a6cf26d31b82897
Signed-off-by: Wendly Li <wendlyli@google.com>
2023-05-08 17:09:32 +00:00
TreeHugger Robot
88b30b2292 Merge "thermal: Update config for stats" into udc-dev am: db8ce89d54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21808400

Change-Id: I1990dc4102a1a161fcfec26c6522aed945a19992
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 10:08:44 +00:00
TreeHugger Robot
db8ce89d54 Merge "thermal: Update config for stats" into udc-dev 2023-05-04 09:28:50 +00:00
Shuibing Dai
fd31af8990 Merge "Remove overlay item: country code update during setup wizard" into udc-dev am: 4c7929883d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22975714

Change-Id: I35a57d803ebd0b90f7be5c4e6b9f185c00ad7cd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 02:22:42 +00:00
Shuibing Dai
4c7929883d Merge "Remove overlay item: country code update during setup wizard" into udc-dev 2023-05-04 01:55:09 +00:00
Treehugger Robot
c2b6ce9549 Merge "Add wakeup interrupt mapping" into udc-dev am: 9dc466b133
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22979777

Change-Id: I5ec1f598a13fd5dce9a0049901db51b56563bd62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 00:51:13 +00:00
Treehugger Robot
9dc466b133 Merge "Add wakeup interrupt mapping" into udc-dev 2023-05-03 23:56:15 +00:00
Suprabh Shukla
79dca2073b Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: Ie0bdef180adfa624afa8159df6fbb4654c87807a
2023-05-03 22:12:10 +00:00
Christine Franks
97c94cc461 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: I27afe7aa577b2f5688734195d08843e69af62321
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 01:54:45 +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
1b482a96d0 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: Iba6fc807471254a662b4c6343937f24ab4d3277a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 03:05:33 +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
281fbd4ba4 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: Iae490c56fe7f7b37572f894e5ca212c32880badb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:02:33 +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
0f86503ca5 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: I8dd1b8be1ab9ae69658b8c5b6527da0f1f8a9757
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 06:29:45 +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
726d21194f 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: Ia9d38f223fd7f9a7cfd6d46cad9a64da34565dd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 22:03:59 +00:00
Carter Hsu
d29d179ab8 [automerge] audio: disable raw for USB Dock 2p: d968a78b04 am: 71e4f266a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22609278

Change-Id: I3c201e966bbf93072133c7397634c19b45183747
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 21:31:33 +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
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
f56c8c053f Merge "[SWB] Enable super wideband" into udc-dev 2023-04-21 01:12:07 +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
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
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
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
71e4f266a1 [automerge] audio: disable raw for USB Dock 2p: d968a78b04
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22609278

Bug: 277806508
Change-Id: I8cedbce430595f2be35303f3fd9b155707e5a304
2023-04-13 02:00:47 +00: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
84b40b6157 Merge "create a wlan dump" into udc-dev 2023-04-06 01:42:56 +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
ce6dbe8b1f Merge "Enable adjusting link layer stats polling interval" into udc-dev 2023-03-28 02:40:50 +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
45ff87c8c7 Use the ?= operator for assignment to avoid downstream assignment errors
Using the = operator makes it so no one else can assign the system
property anymore. Other build targets downstream do try to set these
properties explicitly to false. Since no one sets the property before,
we can use the ?= operator to apply the values, which still allows other
makefiles downstream the chance to the change the value.

Bug: 274950131
Test: m
Change-Id: I113da6efefccef562bb13cb73087e4b5c7eca453
2023-03-23 19:54:52 +00:00