Commit Graph

983 Commits

Author SHA1 Message Date
Ted Wang
493affaf24 Bluetooth SAR table for hostpot mode scenario am: 095daf9794
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23318517

Change-Id: Ic3d930634f1d63ea8106a41a177b96570541ce13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 08:52:43 +00:00
Ted Wang
095daf9794 Bluetooth SAR table for hostpot mode scenario
Bug: 283235997
Test: Manual
Change-Id: I95c3110dbc43def30ec9272f9e011cabe3d707e0
2023-05-19 08:24:09 +00:00
Steve Berbary
a678de2451 Update lynx SVN to 7 am: 5afd78e4a5 am: c524b0aecf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23229420

Change-Id: I4c8385f5edca1bf0218e26060c8d8cb83fdebf23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 01:44:00 +00:00
Steve Berbary
c524b0aecf Update lynx SVN to 7 am: 5afd78e4a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23229420

Change-Id: I9576beb4d083f4b2a27d21e85097517e859e85b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 00:18:21 +00:00
Treehugger Robot
92cae06bb3 Merge changes from topic "presubmit-am-97bf65cf14104594ac79bcb5f507f817" into udc-dev-plus-aosp
* changes:
  Update lynx SVN to 7
  [automerge] Update lynx SVN to 7 2p: caf8933af9
  [automerge] Update lynx SVN to 7 2p: caf8933af9 2p: 6e55dc15fd
2023-05-16 23:39:20 +00:00
Richard Chang
c23305996f lynx: remove customizedMaxCachedProcesses am: 2a47a112fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23235897

Change-Id: I4bb11342593c36ed2a24059bd2fb789ee4f704e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 16:34:30 +00:00
Richard Chang
2a47a112fa lynx: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I3010e82a0424e20d71df9c9a8ff83f78731730fe
2023-05-15 02:40:03 +00:00
Steve Berbary
ba9e585ff9 [automerge] Update lynx SVN to 7 2p: caf8933af9 2p: 6e55dc15fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23229420

Bug: 282371465
Change-Id: Ieccc80b594de2279f79c254ee71a75b631a86615
2023-05-13 22:42:05 +00:00
Steve Berbary
6e55dc15fd [automerge] Update lynx SVN to 7 2p: caf8933af9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23229420

Bug: 282371465
Change-Id: Id47ee9ae283764e24f52dd8592a3b0e0c165187b
2023-05-13 22:41:56 +00:00
Steve Berbary
5afd78e4a5 Update lynx SVN to 7
Bug: 282371465
Change-Id: I17d48910cd87583118621a76b81c8023c2dfd39d
2023-05-13 22:41:50 +00:00
Xin Li
62e91ddadb Fix build for non-Lynx devices. am: 19e09f99f8 am: 693aed7667
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23179591

Change-Id: Ic33b367951efe9b37ee8207a588a19eb40b8b4e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 03:52:38 +00:00
Xin Li
693aed7667 Fix build for non-Lynx devices. am: 19e09f99f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23179591

Change-Id: Ie222d70d5e7950967a1da37f3597312694589401
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 03:12:15 +00:00
Treehugger Robot
75b045731e Merge changes from topic "presubmit-am-e960adc87698444e90ef00c961be22b6" into udc-dev-plus-aosp
* changes:
  Fix build for non-Lynx devices.
  [automerge] Fix build for non-Lynx devices. 2p: 19e09f99f8
  [automerge] Fix build for non-Lynx devices. 2p: 19e09f99f8 2p: be3822b7f9
2023-05-12 02:37:08 +00:00
Qais Yousef
fd9b900f05 The dvfs headroom was split into its own knob. Update to use it. am: d57beb455c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23121945

Change-Id: If72ae5da6e5389f880cc444391d90b9ad71bcf7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 01:43:16 +00:00
Qais Yousef
d57beb455c The dvfs headroom was split into its own knob. Update to use it.
util_threshold only controls migration margin now. dvfs headroom has its
own new knob.

Bug: 261705301
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I48d330cb7d9d82d05ec0dfc4b38ea0d8a22409aa
2023-05-12 01:02:23 +00:00
Presubmit Automerger Backend
1e0d7c8583 [automerge] Fix build for non-Lynx devices. 2p: 19e09f99f8 2p: be3822b7f9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23179591

Bug: 281935024
Change-Id: I7ee845f4006cfaba9ae04ba1d48588aa7949f567
2023-05-11 21:55:58 +00:00
Presubmit Automerger Backend
be3822b7f9 [automerge] Fix build for non-Lynx devices. 2p: 19e09f99f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23179591

Bug: 281935024
Change-Id: I69e2965189e18f48bc1c3c31ce7fdb1458db60a8
2023-05-11 21:55:52 +00:00
Xin Li
19e09f99f8 Fix build for non-Lynx devices.
radio.img should be target dependent and should not be used
unconditionally.

Test: ag/23177298 against aosp_barbet and aosp_bramble (L03400000960607158)
Bug: 281935024
Change-Id: Ia436210a90dfcb477a19f44eae2412b5589d23fc
2023-05-11 21:55:38 +00:00
Suprabh Shukla
df076bfb60 Adding interrupt mapping for sound_trigger wakeups am: 363a65f7c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23152146

Change-Id: Ida5f5fea288442fc705ed853cf53a1c83b251e1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 20:38:18 +00:00
Suprabh Shukla
363a65f7c9 Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: If7e1e0a4153796c4836fced1500e27e84d379987
2023-05-10 16:03:20 -07:00
Wendly Li
fb9f93b8d3 touch: move the setup of gti ownership to gs-common am: b9152eee7d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22817256

Change-Id: I4b180a7db9cff5bdfe986b59ce2cee8fb701d757
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 17:41:22 +00:00
Wendly Li
b9152eee7d touch: move the setup of gti ownership to gs-common
Bug: 278023960
Test: adb bugreport
Change-Id: Ifd57118d37261229f184a8098776423d96140239
Signed-off-by: Wendly Li <wendlyli@google.com>
2023-05-08 17:09:42 +00:00
sashwinbalaji
3c11f28937 thermal: Update config for stats am: 837a22b1d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/21806770

Change-Id: Idcda0cfad966d589d5f34164728b449d2d14a7dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 10:08:43 +00:00
sashwinbalaji
837a22b1d1 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ib24d17454e58cbdb305b146018deac66ee64f875
2023-05-04 09:28:48 +00:00
Shuibing Dai
f19aff214a Remove overlay item: country code update during setup wizard am: 429d547442
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22970726

Change-Id: Ib07ac82b6f40708b6d598d0a241056b298b6ff1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 02:22:41 +00:00
Shuibing Dai
429d547442 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: Id173adb1ac0f144b6b293ef707979025d4c358a9
2023-05-04 01:55:08 +00:00
Suprabh Shukla
9bf9b0c135 Add wakeup interrupt mapping am: c30c7c4ff6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22979469

Change-Id: I333b8bddff831cfd7eda99592a81000cb2c38346
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 00:51:13 +00:00
Suprabh Shukla
c30c7c4ff6 Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: Ic418b4fc02f8ada450b43a9a25e82ce37b0beb21
2023-05-03 23:56:14 +00:00
Rick Yiu
1e7c5703aa Remove background cpuset setting am: 5f600515e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22953955

Change-Id: I95115bea7a46401d62bba09620a48b09fce1eeb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 18:00:54 +00:00
Rick Yiu
5f600515e7 Remove background cpuset setting
Already set in init.gs201.rc.

Bug: 201260585
Test: build pass
Change-Id: Ib1343e32a4133e09029b66f8747b3b43a45548b5
2023-05-02 06:40:57 +00:00
Rios Kao
fe43ea0880 audio: add smartfeature table for chre tuning am: 1375d8428b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22840496

Change-Id: I992156960e9fc13c87d4fa50cbd382565b5437e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 03:05:32 +00:00
Rios Kao
1375d8428b 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
      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: I0091641ba689f04d24f53b898fd29399c48fd21a
2023-04-27 03:53:59 +00:00
Peter (YM)
61111b58ef thermal: lower tj control temp during battery save am: 378190d82f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22779257

Change-Id: I2b9ffefc9baa52a6b0a4df64de2258e53f7d4e59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:03:25 +00:00
Qais Yousef
7648f98770 powerhint.json: Update uclamp_min hint to account for margin am: c0f618e356
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22508407

Change-Id: Iffa1e30c7ac26eda8db086e8fa8c71e951a8202f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:02:31 +00:00
Peter (YM)
378190d82f thermal: lower tj control temp during battery save
Use LOW_POWER power hint to detect and lower the control temp
for junction control loops.

Bug: 266011718
Test: Build and boot on device. Check thermal control temperatures
during battery save

Change-Id: If2e0756b24913ed5d71e499e219f7b60b947baaa
2023-04-25 21:48:15 +00:00
Qais Yousef
c0f618e356 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: I4689a953734b6049da14ec13ef399c1c686b1024
2023-04-25 21:27:34 +00:00
Cyan_Hsieh
c3d9094a46 Add device mk OWNERS am: 7d96f2d75f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22779520

Change-Id: I012accfcb3e3c0c2e82a1b0017fdd27c5beb0557
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 06:32:14 +00:00
Cyan_Hsieh
7d96f2d75f Add device mk OWNERS
Bug: 278167548
Change-Id: I4cb78bbb94fcfda984433636b24c95e7440297f2
2023-04-25 05:36:34 +00:00
Jooyung Han
3500e3c127 Add hardware/qcom/wlan namespace am: 5dc91ef201
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22565894

Change-Id: Idbf4885fc475e5d0b6b3b2f839dc9cda83b5b5de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 03:03:19 +00:00
Jooyung Han
5dc91ef201 Add hardware/qcom/wlan namespace
With libwifi-hal-qcom migrated to Android.bp with soong namespace
the namespace should be added to PRODUCT_SOONG_NAMESPACES as well.

Bug: 273376293
Test: m droid
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9d25d84fcc5b1bfdd53a064ac5b52e742c3f354c)
Merged-In: I6fe0e5ce62982493c9ef58b1ce651f6b44d37a1b
Change-Id: I6fe0e5ce62982493c9ef58b1ce651f6b44d37a1b
2023-04-24 02:28:17 +00:00
Yung Ti Su
b76dfb70ec audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :

Optimize long distance speech preserve on HHWB

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (WB)

Files from the latest attachment on b/278661101

Bug: 278661101
Test: verified by ntkuo@
Change-Id: I47764bbc65204339b9258d7dfbfab3e312a1f4bb
2023-04-21 07:20:27 +00:00
Jasmine Cha
404e87d2c5 audio: update aidl platform config
- Add spatial_capture_conditions since this conditions will be different
  by each project.

Bug: 267548143
Test: manual test

Change-Id: I177e2179071570ba6a8ab713ea55f0f0b340ec72
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-21 10:17:07 +08:00
Patty Huang
4ad1706d86 Enable 32k audio config for LE Audio with condition
Align the setting with other projects that only enable 32k
audio config with condition
* Remove the 32k support for two devices
* Remove the 32k for encode only

Bug: 271247229
Bug: 272597112
Test: Check the offload supported config
Change-Id: I669dee84bec323437c8dbb0e45a675ac98c0d809
2023-04-21 02:15:16 +00:00
Jimmy Shiu
b55d0a7933 powerhint: Boost GPU(302000) by 1st frame
Take ADPF_FIRST_FRAME hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: If9265845c3497e64f9fe944a24061ca21cbedd82
2023-04-19 22:02:15 +00:00
Cyril Lee
228e03b34d Revert^2 "[Quickstart] Turn off QS on legacy Pixels"
6edfcfbcc8

Change-Id: Iebe3f7c73e20919f963bf58362e8f36ae6c1869d
2023-04-19 01:03:59 +00:00
Poomarin Phloyphisut
407fc5eff5 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I43e2ca3f17bd5e39f400dd86b33a7230db9574f5
2023-04-18 17:17:26 +00:00
Jasmine Cha
1c6bf15dfd audio: update table
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: manual test/ host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: I795402e8c460b01a148ba9e3b032143fddacd3cb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 05:13:20 +00:00
Shuibing Dai
a834cefdf1 Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: I6250533dc0d061a304d7640b3a548bbbb779e611
2023-04-17 15:46:24 +00:00
Cyril Lee
6edfcfbcc8 Revert "[Quickstart] Turn off QS on legacy Pixels"
Revert submission 22606975-turn off qs

Reason for revert: confirm with team that this CL submit too early and need to rollback then submit again at 4/19.

Reverted changes: /q/submissionid:22606975-turn+off+qs

Change-Id: Ib39c027b1b2fcf78ef68c0ecfdd2d0f6d774fdbd
2023-04-14 01:13:52 +00:00
Cyril Lee
0fd4f57cff [Quickstart] Turn off QS on legacy Pixels
Bug: 277898824
Change-Id: I1b60c0e67be94d988df515876ec763b1bc08bb7a
Test: manually test
2023-04-13 10:04:15 +00:00