Commit graph

600 commits

Author SHA1 Message Date
TreeHugger Robot
6cd44c2af2 Merge "powerstats: use AdaptiveDvfsStateResidency data provider for CPUCL" into udc-dev 2023-03-13 09:49:40 +00:00
David Chao
5f28454244 thermal: add charger thermalHAL setup into project
Bug: 272701980
Test: thermal_symlinks worked properly in charging mode
Change-Id: I3a5163ba3ccbdd134898dc682407a7a9136751e3
2023-03-13 14:52:06 +08:00
Darren Hsu
3cda5eb2b1 powerstats: use AdaptiveDvfsStateResidency data provider for CPUCL
DVFS data provider is using predefined frequency table for CPU DVFS
power stats reporting. If different SoC versions define different
CPU frequencies, the predefined table should be updated, otherwise
the residencies of some impacted frequencies will be always 0. So
Make it adaptive to reduce the maintenance efforts.

Bug: 272642210
Bug: 267638537
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ifa39227b9a8b0cc89d8f5a78373f615348a49d4d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-13 11:37:49 +08:00
Adam Shih
4d9decfa66 Move the rest of radio dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Iea19e317db3967d81d79a3be390e2e4c4c409978
2023-03-13 11:31:56 +08:00
Adam Shih
55d9b43b55 Merge "move modem operation to dump_modemlog" into udc-dev am: d8cd6941d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21794288

Change-Id: Iff621ebc806f93a190897a88b0d06c6f345daac9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 02:41:50 +00:00
Adam Shih
d8cd6941d2 Merge "move modem operation to dump_modemlog" into udc-dev 2023-03-13 02:11:47 +00:00
Ziyi Cui
6c257f5398 zuma: Update path reading for temp-residency-metrics
Bug: 232541623

Test: Verified the existence and correctness of atom

adb shell cmd stats print-stats | grep 105045

Change-Id: Id97f63503e71a6def173ef2debdb256b976bc2e8
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-03-12 23:39:22 +00:00
Ziyi Cui
90d6617f83 zuma: Update path reading for perf-metrics
Bug: 232541623

Test: Verified the existence and correctness of atom

adb shell cmd stats print-stats | grep 105043
adb shell cmd stats print-stats | grep 105044

Change-Id: Iff8142d699449cbcc63639d984aa158daa7ec529
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-03-12 23:39:11 +00:00
Jasmine Cha
0e15412735 Merge "audio: move audio hal hidl mk to gs-common." into udc-dev am: 59829e247c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21916960

Change-Id: I77d8f5b065270ca7feea3f6f3f050bd2b4fb53f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 02:19:45 +00:00
Jasmine Cha
59829e247c Merge "audio: move audio hal hidl mk to gs-common." into udc-dev 2023-03-10 02:06:04 +00:00
Jawad AlDhalemi
ce1ed3d78f Zuma: bootconfig: Enable GXP MCU mode via the driver's module params
This change needs to land alongside http://ag/21923541 to enable MCU
mode. The change will be reverted once the driver's default behavior
changes to MCU mode in due time.

Test: Boot and ensure gxp params are set in /sys/module/gxp/parameters/
Bug: 272600756
Change-Id: Ib3e6e8feba1d9ff7329e69195fb0f853ca5b227a
Signed-off-by: Jawad AlDhalemi <jaldhalemi@google.com>
2023-03-10 00:33:38 +00:00
Zac Iqbal
1dcff1b296 Merge "Updating VINTF manifest for IDebugManager." into udc-dev am: ee9b15b0d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21527382

Change-Id: Ie260ec37f9c51c73daefdc437ad98aae8a21d758
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:29:39 +00:00
Zac Iqbal
ee9b15b0d2 Merge "Updating VINTF manifest for IDebugManager." into udc-dev 2023-03-09 17:06:08 +00:00
Peter (YM)
1d535ab4e8 thermal: allow soc_therm and usb_conn_therm trip point change by system
Bug: 268589207
Test: build and boot on device
Change-Id: I2b7e1a7ceb2daa48c5a69df6a68e68e56cfe5568
Signed-off-by: Peter (YM) <peterym@google.com>
2023-03-09 11:13:17 +00:00
Adam Shih
77b8d93f1f Merge "move ril dump to gs-common" into udc-dev am: 3d0464984f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21873544

Change-Id: Idfc7abece8659ab5dfaa9134a52e507b9e51908f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:44:21 +00:00
Adam Shih
ea136aebf3 Merge "remove dump text section" into udc-dev am: b90aaae77b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21806765

Change-Id: I5db57f6557f340e4fd0ae837f8ec267d2af779e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:29:16 +00:00
Adam Shih
433e216823 move modem operation to dump_modemlog
Bug: 240530709
Test: adb bugreport
Change-Id: I3de4df39db7ee07b13e47e313bdee42598db37ba
2023-03-09 13:15:11 +08:00
Adam Shih
3d0464984f Merge "move ril dump to gs-common" into udc-dev 2023-03-09 05:10:39 +00:00
Adam Shih
b90aaae77b Merge "remove dump text section" into udc-dev 2023-03-09 05:09:26 +00:00
KRIS CHEN
62b9037e6d Merge "Set permission for dpu hibernation sysfs node" into udc-dev am: 1e84c90b64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21873541

Change-Id: I9f87eef160f28b6aaa8632f88a6b45db157f797c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 04:21:05 +00:00
KRIS CHEN
1e84c90b64 Merge "Set permission for dpu hibernation sysfs node" into udc-dev 2023-03-09 03:53:46 +00:00
Jasmine Cha
918eb222b9 audio: move audio hal hidl mk to gs-common.
Bug: 259161622
Test: build pass and check audio function with HIDL service

Change-Id: I83a9f4103daccd5fd377a99b2aadaaa51544d918
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 10:06:20 +08:00
Adam Shih
1ba64b984e move ril dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I2784ec3414ed503b032a2268acca4e39044556f3
2023-03-08 11:41:34 +08:00
Kris Chen
ca44e39b68 Set permission for dpu hibernation sysfs node
Bug: 256947811
Bug: 251239489
Bug: 267271482
Test: Perform udfps osc compensation.
Change-Id: I0e9e48387d89cc5d51a23e659fb7e31d5a3e4d7c
2023-03-08 03:13:27 +00:00
Sayanna Chandula
66aa28ff3e thermal: add support for multiple trigger sensors
Bug: 271378726
Test: Build and boot on device. Test with emul temp

Change-Id: I3cc53cb11e5dabbb894990c57e10da3a895244e7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-07 14:58:07 -08:00
Zheng Pan
b481660643 Install insmod config file to vendor_dlkm/etc
Insmod configs are moved from HLOS to kernel repo and need to
build in vendor_dlkm.img

Bug: 270603150
Test: Build image and flash. Make sure modules are loaded and
      configs exist under /vendor_dlkm/etc
Change-Id: I46cb20dddab8633725445b546cb2cd0a4a68bd6a
2023-03-07 19:07:28 +00:00
Adam Shih
bdb4b8f669 remove dump text section
Bug: 269212897
Test: adb bugreport
Change-Id: I73d005268bd3964477a8af776362ec57f969cc0d
2023-03-07 10:54:07 +08:00
Adam Shih
dfbc066486 Merge "move camera dump to gs-common" into udc-dev am: 608ff36086
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21692922

Change-Id: I70bc6152428a9b054be3ef858f6479b5c0fd7413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 00:04:42 +00:00
Adam Shih
608ff36086 Merge "move camera dump to gs-common" into udc-dev 2023-03-06 23:29:45 +00:00
Adam Shih
59e7623ba5 Merge "Move common display dump to gs-common" into udc-dev am: f122db3f24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21644567

Change-Id: I789c9c5554c40c038d75261584b6ffed146e13c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 23:11:09 +00:00
Adam Shih
f122db3f24 Merge "Move common display dump to gs-common" into udc-dev 2023-03-06 22:27:50 +00:00
Chris Paulo
ccefd63fa7 BoardConfig: Add haptics actuator model config and adaptive haptics
config

Add soong config definition for haptics actuator model to support pwle
characterization, and support adaptive haptics compilation

Bug: 264682582
Bug: 198239103
Test: Manual test to confirm proper characterization
Change-Id: I2c792ee5c6acd4ef102a81c4e524c6739ddb05e5
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-03-06 20:58:15 +00:00
Sayanna Chandula
7726f58fee Merge "thermal: enable warm_reset on thermal shutdown" into udc-dev am: 00064c8005
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21757783

Change-Id: I59f71b469571fbbafcf73358631789e7a81cec82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 20:45:23 +00:00
Sayanna Chandula
00064c8005 Merge "thermal: enable warm_reset on thermal shutdown" into udc-dev 2023-03-06 19:52:01 +00:00
Adam Shih
94963243c4 Merge "Move modem dump log to gs-common" into udc-dev am: 5c2d07e775
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21692921

Change-Id: Ic5d577d1012491fe74a885ba6f63f75290c8bc1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 08:03:40 +00:00
Adam Shih
5c2d07e775 Merge "Move modem dump log to gs-common" into udc-dev 2023-03-06 07:33:19 +00:00
Adam Shih
881ed63c9e Move common display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: Ib42ea1125b58b8a41da64b047238312b5f13bfbb
2023-03-06 06:33:30 +00:00
Jack Wu
11f215f2f8 Revert "Revert "zuma: update AIDL IGoogleBattery manifest version to 2"" am: 5d02637b59
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21781456

Change-Id: I57dd2f6dede15df90f9c1689bcae2bdefa1dbb17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 02:50:47 +00:00
Jack Wu
5d02637b59 Revert "Revert "zuma: update AIDL IGoogleBattery manifest version to 2""
Bug: 271224032
Test: TH
This reverts commit 6cd2eb1735.

Change-Id: If33832486305b5e7df8ae96f2888dfd3b5f4ef97
2023-03-04 13:10:36 +08:00
Peter Collingbourne
31281f7f3c Revert "Temporarily disable KASAN until bugfix is merged into [redacted] kernel."
This reverts commit 3174340456.

Reason for revert: Kernel prebuilt with bugfix has landed: ag/21613833

Bug: 265863271
Change-Id: I7c688065783303ca0666f38058fbf853be51e199
Merged-in: I7c688065783303ca0666f38058fbf853be51e199
(cherry picked from commit 82efb36664)
2023-03-04 01:28:11 +00:00
Sayanna Chandula
1f57994db5 thermal: enable warm_reset on thermal shutdown
Bug: 269552599
Test: Build and boot on device. Check lastlogcat on thermal shutdown

Change-Id: I39e84d7beeb19fe604b4accfcef9d9ed2240329a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 11:57:26 -08:00
Sayanna Chandula
b12a3f33b6 Merge "thermal: allow disp_therm trip point change by system" into udc-dev am: cba4a82603
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21733880

Change-Id: I1fe1195bf3ac3d6b89eff8eee2b0743af2e92693
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 18:17:33 +00:00
Sayanna Chandula
cba4a82603 Merge "thermal: allow disp_therm trip point change by system" into udc-dev 2023-03-03 18:02:25 +00:00
Sayanna Chandula
5bfd0dfe4b thermal: allow disp_therm trip point change by system
Bug: 268735739
Test: Build and boot on device

Change-Id: I255c97f6155cdbad79209f96d7a16c5580635ead
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 18:00:32 +00:00
Jack Wu
e8a63fcc0c Revert "zuma: update AIDL IGoogleBattery manifest version to 2" am: 6cd2eb1735
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21737896

Change-Id: I83f95366ce0011b1299b2dc21d95e641d5ae9656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:44:01 +00:00
Midas Chien
1e740b0899 Merge "BoardConfig: support SKIP_VALIDATE by default" into udc-dev am: 7b4da9ab73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21612082

Change-Id: If45dead4d6968a8a9fcafdacce071785ecc1b82b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:28:50 +00:00
Jack Wu
6cd2eb1735 Revert "zuma: update AIDL IGoogleBattery manifest version to 2"
Bug: 271224032
Test: TH
Reason for revert: Build Breakage on redfin

This reverts commit 172a3c5167.

Change-Id: Ibe1eedbe5ebc604f6f022716b9f34059adb85186
2023-03-03 19:17:47 +08:00
Midas Chien
7b4da9ab73 Merge "BoardConfig: support SKIP_VALIDATE by default" into udc-dev 2023-03-03 03:48:40 +00:00
Jack Wu
bd964b6726 zuma: update AIDL IGoogleBattery manifest version to 2 am: 172a3c5167
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21698704

Change-Id: I4e2d492f58580f1b84680ee572d44372d16b6f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 01:20:19 +00:00
Jack Wu
172a3c5167 zuma: update AIDL IGoogleBattery manifest version to 2
Bug: 271224032
Test: TH
Change-Id: I5db4e189fc537c15b9cbb7afb3b30874823309d2
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-02 11:44:03 +00:00