Commit graph

1225 commits

Author SHA1 Message Date
Qais Yousef
e6dfdbf099 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: I53c581f9c3a5050955ee680f8aa8c02a5ba9133f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:29: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
Treehugger Robot
326a0262ce 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: I54d28ee1543bbaff1f046c8b144caf1fddd22978
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 08:22:22 +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
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
933cc2991f 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: I0b2d5766a383c2f22e723efddae84208ef28024b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 22:03:37 +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
8d0b75f900 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: Ib260d2be0c447c981d6d68ee3d1f5362cd75fdfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 09:16:18 +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
f6a6b36f4c 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: I3206223e6effbb41d9c6a2605dbe78ea73bdebf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 01:58:17 +00:00
Treehugger Robot
f56c8c053f Merge "[SWB] Enable super wideband" into udc-dev 2023-04-21 01:12:07 +00:00
Carter Hsu
7ee02399d6 audio: disable raw for USB Dock am: 75b7e49503
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22774009

Change-Id: I3fc26b720a4d2fb04bea3e7525fdf1709ad711d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 23:09:12 +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
cafba72f3a 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: Ie073fdd49261f3ba3e0985da71a61afe8e4c7d18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 22:46:50 +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
73126cf7ae 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: I936f4073fb2108849788e9dc0361d85341218bb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 17:47:39 +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
f9ff78d07d 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: Ic41f4770748e5d40cecf55a13a346de13017b9d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 16:13:40 +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
d87b206ce5 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: I4d83ddabb7a902447e7042a04454f4db7b2845ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 02:22:50 +00:00
Adam Shih
84b40b6157 Merge "create a wlan dump" into udc-dev 2023-04-06 01:42:56 +00:00
TreeHugger Robot
d4641df00b [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: I5057913f8dcfacf7ac57551e7aeaf5c528f09edc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 00:07:30 +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
d3aca1b477 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: Iac6d5c29935016b5200ca250ba0956b1a7796987
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 02:48:42 +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
9eaec71822 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: Iffba2a23d584624099a117450af36dbf7e2c50ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 19:57:56 +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
008adb9278 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: I792be56b5ff2b95cba3aee556c091b5f20a6dfd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 21:48:12 +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
Anoush Khazeni
20926a347c [T6pro] Updating the Waves tuning. am: 199fb48c62 am: 912b001f9b am: f6df809336
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22200586

Change-Id: Ie5152b11ee17a29e68ed815896ba38fab89fe2b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 07:48:20 +00:00
Anoush Khazeni
f6df809336 [T6pro] Updating the Waves tuning. am: 199fb48c62 am: 912b001f9b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22200586

Change-Id: If5fe0c12d3e67a70df8bf481b71e7c1323dedc0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 07:07:33 +00:00
Anoush Khazeni
912b001f9b [T6pro] Updating the Waves tuning. am: 199fb48c62
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22200586

Change-Id: Ifef4c29d433b06bedca8e0a9d26624c02a9ddb4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 06:28:53 +00:00
Seigo Nonaka
62e2044efd Show shortcut label on context menu am: 3a763fc7bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22191008

Change-Id: I250ff28536d352be22289f6ac1d1250ba1285323
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 00:57:38 +00:00
Anoush Khazeni
199fb48c62 [T6pro] Updating the Waves tuning.
Updating the Waves tuning to Google internal tuning #47.

Bug: 274698580
Test: Build only
Change-Id: Ic8c8f2f3fe82bdab9474df1fb74e486ec929310a
2023-03-22 09:53:38 -07:00
Seigo Nonaka
3a763fc7bb Show shortcut label on context menu
Bug: 240385199
Test: Manually done
Change-Id: Icaf85d0f4d71d8bddf5628015cc53e31b92c302d
2023-03-22 18:39:11 +09:00