Commit graph

2515 commits

Author SHA1 Message Date
Rex Lin
44ac034c24 uwb: update uwb calibration for CCC antenna config am: 58e2461348
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22961360

Change-Id: I39120d95dfca11b262ba39490142a1aee0c9357c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 19:36:21 +00:00
Rex Lin
58e2461348 uwb: update uwb calibration for CCC antenna config
Bug: 249170179
Test: build pass
Change-Id: Ief9f932b71bba71555d601da92bb7e4d4dc69e1e
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-05-11 18:40:48 +00:00
Kenzi Mudge
552d486226 Enable UWB filter engine am: 1fb658e2c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/23114500

Change-Id: I162ce046f97c49ff1cda657a9c58c9c646a184da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 17:52:17 +00:00
Kenzi Mudge
1fb658e2c0 Enable UWB filter engine
Updated overlay file to configure and enable the UWB filter engine on
Cheetah.

Bug: b/237098661
Test: make, flash, manual test
Change-Id: I793ee6df33fdf23254ccd806d00f6940e69996c7
2023-05-10 16:50:03 +00:00
Jiaming Liu
c1377c10d9 Disable WM Extensions on Pixel 7 am: fb95508be5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/23103631

Change-Id: Ifc4dcf7752719c72b3ddb3757c82f3b9a4fc6b1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 18:45:23 +00:00
Jiaming Liu
fb95508be5 Disable WM Extensions on Pixel 7
Bug: 266196089
Test: Build
Change-Id: Iebd3b9ab6b1bb5acbfa680faf844d86c5d9c9f57
2023-05-09 05:49:54 +00:00
Charles Chen
678adb8649 Revert^2 Disable Settings large-screen optimization am: 653f25765f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/23036418

Change-Id: Id587337cfccd8261853e12c96a3b62fd158b1f21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 06:27:53 +00:00
Charles Chen
653f25765f Revert^2 Disable Settings large-screen optimization
Disable the optimization that is automatically enabled when
including Window Extensions through Activity Embedding.
The optimization causes to launch an additional trampoline
activity for deep links, even when the screen size is smaller
than required by Activity Embedding rules.

Bug: 267725145
Bug: 279461170
fixes: 280606740

Test: Build, perf metrics
Test: atest LauncherIronwoodIntegrationTests:android.platform.test.scenario.launcher.integration_tests.HomescreenCustomizationTests
Test: atest SettingsMultiPaneDeepLinkTest.java
Test: run v2/aep-ironwood/suite/test-mapping-ironwood-p0-cujs via ABTD
  on cheetah/oriole/panther/raven in udc-dev/master branch

Change-Id: I532ebbcdc93f13c8d4cf956b53b498be907c4349
2023-05-08 05:39:06 +00:00
Nathan Kulczak
c0b6533805 [DO NOT MERGE] vibrator: Disable PWLE capability for U am: 0302209e61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22911813

Change-Id: I1ad7e84df0b740dba64b520ec55b174b6d967a5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 21:07:06 +00:00
Nathan Kulczak
0302209e61 [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: I7371f896126fdc876c43d60718baffba59aa32a1
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2023-05-04 20:26:44 +00:00
sashwinbalaji
b3f4df839e thermal: Update config for stats am: 16c067a53e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/21806783

Change-Id: Ie25cde13ea3af1d31abebfc953eb824d85e00b31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 10:08:26 +00:00
sashwinbalaji
16c067a53e thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ia1b0c4d31427f1100cec23548e7a8a390179e7b1
2023-05-04 09:28:48 +00:00
Shuibing Dai
cdf5e28d69 Remove overlay item: country code update during setup wizard am: 85d508c7b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22975684

Change-Id: I40570956ed6a13947c1c73cd7e77b5b849bb2ab6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 02:26:54 +00:00
Shuibing Dai
85d508c7b6 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: I364b6f64c4d0bd5a575ca1d8e11872b22ea5ed5e
2023-05-04 01:55:08 +00:00
Suprabh Shukla
5803a987dd Add wakeup interrupt mapping am: d786ac91ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22977072

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

Bug: 271922941
Change-Id: I185b0be3b12a70bee7d40d4bfafc36b344989260
2023-05-03 23:56:14 +00:00
Priyanka Advani
e17ae1f382 Revert "Disable Settings large-screen optimization" am: 61e1cb8b17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22993393

Change-Id: Idced19ce50e99acb2ce888dcaf8478d675bf02f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 16:36:55 +00:00
Priyanka Advani
61e1cb8b17 Revert "Disable Settings large-screen optimization"
Revert submission 22926596-disable_large_screen_opt

Reason for revert: b/280606740

Reverted changes: /q/submissionid:22926596-disable_large_screen_opt

Change-Id: Iceb14a1ae1006193f9522a7a88e494918c367bb3
2023-05-03 16:05:32 +00:00
Charles Chen
2fcc2c3c03 Disable Settings large-screen optimization am: adf93a5781
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22874714

Change-Id: I90f07b27399657825f5464d922efdb341588530d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 05:47:53 +00:00
Charles Chen
adf93a5781 Disable Settings large-screen optimization
Disable the optimization that is automatically enabled when
including Window Extensions through Activity Embedding.
The optimization causes to launch an additional trampoline
activity for deep links, even when the screen size is smaller
than required by Activity Embedding rules.

Bug: 267725145
Bug: 279461170

Test: Build, perf metrics
Test: atest LauncherIronwoodIntegrationTests:android.platform.test.scenario.launcher.integration_tests.HomescreenCustomizationTests
Change-Id: I0a032022b80d6171e77ce87c7b09d9aa7c9b3187
2023-05-03 05:44:06 +00:00
Rios Kao
51e067c431 audio: add smartfeature table for chre tuning am: f556de9f1f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22835120

Change-Id: I551fa1e397efda051ed7f9ca975ff730ce5abda6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 02:57:47 +00:00
Rios Kao
f556de9f1f 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: I14ee4856887d6a6587b34733288a76c305c271dc
2023-04-28 02:17:26 +00:00
Qais Yousef
47de4aeea8 Fix wrong uclamp setting am: 5ec2a126fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22876742

Change-Id: I22183452abd1af10975f49a410e49f14ed07877c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 11:31:57 +00:00
Qais Yousef
5ec2a126fe Fix wrong uclamp setting
Bug: 279708843
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I017e5e3a8b7d50541791876f9b29f8bd33434e10
2023-04-26 10:40:11 +00:00
Qais Yousef
67e3ae0686 powerhint.json: Update uclamp_min hint to account for margin am: 3cdcdda069
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22488131

Change-Id: I411392b1c5f79e972ecf534b1aa951f9560305ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 22:29:55 +00:00
Qais Yousef
3cdcdda069 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: UiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1736489c63591feb62b04468c6a8b1208ee1bfff
2023-04-25 21:27:34 +00:00
Cyan_Hsieh
965b4e1c28 Add device mk OWNERS am: 78cbe9bdab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22764403

Change-Id: I7e51be684ba2063875f3ab560343c1db91ed5d51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 06:50:01 +00:00
Cyan_Hsieh
78cbe9bdab Add device mk OWNERS
Bug: 278167548
Change-Id: Ic69edf70df5940e06769a643a0be73dca71384dc
2023-04-25 05:35:12 +00:00
Qing Wang
c77c21f6a4 Revert "Disable Settings large-screen optimization" am: 5ba908f5a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22826651

Change-Id: I6cba2d8a4a973286db5f268911c4585963b59c57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 00:33:15 +00:00
Qing Wang
5ba908f5a4 Revert "Disable Settings large-screen optimization"
This reverts commit 98c7f94308.

Reason for revert: b/279461170

Change-Id: Ic9a73c7cdee01926d08ac109e4f298ee178f9a66
2023-04-24 23:13:35 +00:00
Andrii Kulian
5c62084e24 Disable Settings large-screen optimization am: 98c7f94308
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22585853

Change-Id: Ife165a81968466644defa7fe6e048881d6c6bad3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 16:28:11 +00:00
Andrii Kulian
98c7f94308 Disable Settings large-screen optimization
Disable the optimization that is automatically enabled when
including Window Extensions through Activity Embedding.
The optimization causes to launch an additional trampoline
activity for deep links, even when the screen size is smaller
than required by Activity Embedding rules.

Bug: 267725145
Test: Build, perf metrics
Change-Id: I3310b63f655c3b859ab294b9174eb1be12cb6392
2023-04-24 15:43:16 +00:00
Jasmine Cha
f89dc0747f audio: update aidl platform config am: 955862ddf2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22779338

Change-Id: Iadd3eb6174f13f67ed784680deaa79f489714a43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 07:10:43 +00:00
Jasmine Cha
955862ddf2 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: I05e6124dad0afed267ec1caa2f469312589a7d73
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-21 06:26:32 +00:00
Patty Huang
9f1509c7d0 Enable 32k for some audio configurations with offload path am: 52bc1939d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22525985

Change-Id: I7a3be27ac4c89dc2f7586c63a15850a21864fbeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 03:00:25 +00:00
Patty Huang
52bc1939d2 Enable 32k for some audio configurations with offload path
Bug: 272597112
Test: check the offload supported config
Change-Id: I644c3429c1ebad892a77ccfcbf45deb2d8278cf2
2023-04-21 02:15:16 +00:00
Jimmy Shiu
1e4ddc594e powerhint: Boost GPU(302000) by 1st frame am: 8e5eab0390
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22591062

Change-Id: I1796ba9e8846534069ecf53564bfe89004dc53f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 22:46:50 +00:00
Jimmy Shiu
8e5eab0390 powerhint: Boost GPU(302000) by 1st frame
Use CPU_LOAD_RESET hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: I519297e55aa8efd84d408a81d6cd1d2bea76df3c
2023-04-19 22:02:15 +00:00
Cyril Lee
1ee930dbd4 Revert^2 "[Quickstart] Turn off QS on legacy Pixels" am: a904c56d0c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22690994

Change-Id: I37e3da7d3c4e46057f2db0aba87a5ab3c9ed778c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 01:46:12 +00:00
Cyril Lee
a904c56d0c Revert^2 "[Quickstart] Turn off QS on legacy Pixels"
277a867059

Change-Id: Icdaae0874a5fc9b6ad0212b4cc883e81c594cebc
2023-04-19 01:03:59 +00:00
Poomarin Phloyphisut
e630575c83 [USB Audio] Enable 192k support sample rate to hifi usb am: b2bfcf6b59
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22706252

Change-Id: I7d712dc84cb4f955c1e23ee6415a65f51813e113
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 17:47:39 +00:00
Poomarin Phloyphisut
b2bfcf6b59 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I518671e5196c65a1a764aeae73d0a2ae01e14645
2023-04-18 17:17:26 +00:00
Jasmine Cha
29ef728ced audio: update table am: 22da5b272a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22576219

Change-Id: I16640bb31de13cbaac73e9d7d0f964f353abe07b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 05:46:27 +00:00
Jasmine Cha
22da5b272a 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: I8ba5dee5a6f5a25f1b208a8cd305a0f9141b5e8a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 05:13:20 +00:00
Shuibing Dai
2f5e016730 Enable updating country code from scan results for generic case am: 66e2027187
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22635290

Change-Id: I967fce3d0f235cd9d364efa385a5097d28118ebf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 16:13:41 +00:00
Shuibing Dai
66e2027187 Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: Ic58802de7829ff0c82d088a34a5c7d019ec7e003
2023-04-17 15:46:24 +00:00
Cyril Lee
e0f6f38fa6 Revert "[Quickstart] Turn off QS on legacy Pixels" am: 277a867059
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22624724

Change-Id: Ibe77fcb2f68f632840bbf557f79bd0cceebbd713
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 04:02:35 +00:00
Cyril Lee
347d17a144 [Quickstart] Turn off QS on legacy Pixels am: 79a3eae957
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/22610192

Change-Id: I40780107cb54aa21788898195aaae4691fa9af3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 01:53:56 +00:00
Cyril Lee
277a867059 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: I7334caba23540ec68224971ca8b42f4aebd05227
2023-04-14 01:13:42 +00:00
Cyril Lee
79a3eae957 [Quickstart] Turn off QS on legacy Pixels
Bug: 277898824
Change-Id: I7773d5bf9345288428947cbb146fc90b873fbac2
Test: manually test
2023-04-13 12:00:53 +00:00