Commit graph

4127 commits

Author SHA1 Message Date
Philip Cuadra
0111d397d2 Target arm v8.2a and A55 for GS101
This will let bionic use 8.2a atomics which helps scudo locking.

Bug 189248298
Test: Presubmit

Change-Id: Ifa7a6d8386c8adcadb81cb762758b06a8164f700
2021-06-03 22:13:43 +00:00
Peter Liu
226bc94a59 camera power hint: add extreme and low power hint am: 54fee28be2 am: b42857f422 am: 225f6901c4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938

Change-Id: Ia462f44607418a63a0eea3f731be6e01aad4b38a
2021-06-03 06:39:15 +00:00
Peter Liu
4e11c30676 camera power hint: add extreme and low power hint am: 54fee28be2 am: b42857f422
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938

Change-Id: I036f45307afa4cf38f217ae98590892e41ee0716
2021-06-03 06:20:24 +00:00
Peter Liu
f3796d863a camera power hint: add extreme and low power hint am: 54fee28be2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938

Change-Id: I63a3f2e785ae84b8706149f833749ed4354ca91e
2021-06-03 06:05:47 +00:00
Peter Liu
638ed8c296 camera power hint: add extreme and low power hint
Add two more mode for power hint fine tuning.
streaming extreme targets 240fps mode and streaming low targets photo
mode.

Test:
this change is no op, so we will do the test on corresponding lyric
change (ag/14804030).

Bug: 189886881

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Icd31501347108ccb5b0ec278a92bee89f543c192
2021-06-03 05:41:14 +00:00
wenchangliu
ab33b08cb2 Move input surface to CCodec am: 4272b53d9b am: d7c599a84e am: caf884d6d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706

Change-Id: I2837b2fe6f34fd9f57a72005fdf47a77e7ee6a8d
2021-06-03 02:59:50 +00:00
wenchangliu
a2a333b4c1 Move input surface to CCodec am: 4272b53d9b am: d7c599a84e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706

Change-Id: Ic8c7feec67927b263e421f2a4284b4c6475cd497
2021-06-03 02:34:13 +00:00
wenchangliu
b0318db085 Move input surface to CCodec am: 4272b53d9b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706

Change-Id: I8a94f262f7e176686afeba551a0dcb17493e2c09
2021-06-03 02:13:11 +00:00
wenchangliu
a9a6612873 Move input surface to CCodec
Bug: 186447629
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Test: camera recording
Change-Id: I3aa79073f45d0d06a55abed08763d8c1ac45932a
2021-06-03 01:51:52 +00:00
George Lee
08c2f76628 bcl: disable.bcl property to disable clk div am: a2edbb8e2a am: 16daa670a8 am: 0d51ae7ca5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155

Change-Id: I92442a6216acc8ec183a65e75cc936f391ad3ed4
2021-06-02 22:41:25 +00:00
George Lee
10d3638e84 bcl: disable.bcl property to disable clk div am: a2edbb8e2a am: 16daa670a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155

Change-Id: Ic79c2e6e9b2bdcdff7a86510c161975eceb1ab75
2021-06-02 22:17:19 +00:00
George Lee
21b0ccde39 bcl: disable.bcl property to disable clk div am: a2edbb8e2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155

Change-Id: I4f2c6e5ce944486fb4a0002e3e8c30f7dcf4af82
2021-06-02 21:56:33 +00:00
George Lee
f41184fff0 bcl: disable.bcl property to disable clk div
Bug: 188365095
Test: Local Test
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 0
/sys/devices/virtual/pmic/mitigation/instruction # cat enable_mitigation
1
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 0
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 1
/sys/devices/virtual/pmic/mitigation/instruction # cat enable_mitigation
0
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I326d2d8f1b694d1e5d2a5d663c8fa58e55d37d85
2021-06-02 21:38:37 +00:00
Ted Lin
68a2080307 gs101: dumpstate: Dump function without debugfs am: 2492fbf3b0 am: f9847e3046 am: 06f11a22e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776177

Change-Id: Ie0155bf3211d8d280fc11a575ab66c3730de8389
2021-06-02 04:10:10 +00:00
Shinru Han
1df2cdbfac gps: Add MCU crash dump in bugreport am: fd3d41ae0a am: cd6c0b9a84 am: c0efbdbd93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762970

Change-Id: If0ff6fe055a4fd70aeddabbf7c39d89adf6a1b21
2021-06-02 04:09:51 +00:00
Ted Lin
3b4a75b995 gs101: dumpstate: Dump function without debugfs am: 2492fbf3b0 am: f9847e3046
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776177

Change-Id: I63669c3154ca77b73b808188d90e980b0ad7ce6b
2021-06-02 03:48:10 +00:00
Shinru Han
6ed7adc7ff gps: Add MCU crash dump in bugreport am: fd3d41ae0a am: cd6c0b9a84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762970

Change-Id: I77f4226f7b22563629a668fbb3eb4f6f95276793
2021-06-02 03:48:06 +00:00
Ted Lin
883dc45cc3 gs101: dumpstate: Dump function without debugfs am: 2492fbf3b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776177

Change-Id: Ic4c5bbda98adb6a75494ee1c542457ec9191bbaf
2021-06-02 03:39:52 +00:00
Ted Lin
0843fe0b0a gs101: dumpstate: Dump function without debugfs
*** command '/vendor/bin/sh -c cat /d/regmap/*-0057-pca9468-mains/registers' failed: exit code 1

Bug: 187030022
Test: Check bugreport
Change-Id: Iea4225efb87b9793d990c04d950938fe79f71e23
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-02 03:29:58 +00:00
Shinru Han
f68a33df7c gps: Add MCU crash dump in bugreport am: fd3d41ae0a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762970

Change-Id: I1c31072686c7dce7fec0bc5ed3660a1792eed757
2021-06-02 03:27:29 +00:00
Benjamin Schwartz
5c96b8d72f powerstats: Remove Wifi and BT placeholder consumers am: 0ea359c7f5 am: 074458fa68 am: e4a63e6c5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14188908

Change-Id: Id94ede0d2ea890f2bd36629d4beaf7391bb3c4f1
2021-06-02 03:24:45 +00:00
Shinru Han
d8908905aa gps: Add MCU crash dump in bugreport
Bug: 189288775
Test: on device
Change-Id: I0d3d1fdb6410098779d5ff9ed5d8b9bc7a347764
2021-06-02 03:04:59 +00:00
Benjamin Schwartz
8c443150b0 powerstats: Remove Wifi and BT placeholder consumers am: 0ea359c7f5 am: 074458fa68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14188908

Change-Id: Iabe36c13a947690b1e075b55714391ff5fac52c3
2021-06-02 02:16:12 +00:00
Benjamin Schwartz
5580e0d219 powerstats: Remove Wifi and BT placeholder consumers am: 0ea359c7f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14188908

Change-Id: Id0fb4c7566a0b661e24b65a163108f0aae0a15a0
2021-06-02 01:44:13 +00:00
Benjamin Schwartz
a05a8c3854 powerstats: Remove Wifi and BT placeholder consumers
Bug: 185392117
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4ee4837f882c2666e99c02836dd3c850871b420b
2021-06-01 17:17:03 -07:00
Stephane Lee
a637c14c00 Add Adaptive Charging AC pause buffer control am: c4d083dca5 am: d0eb2f7dcf am: 06d4e56de6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14671990

Change-Id: Ic1aefdeef80af8966ccb026ec416c8d0a6c4723c
2021-06-01 21:40:56 +00:00
Stephane Lee
369aedad15 Add Adaptive Charging AC pause buffer control am: c4d083dca5 am: a093977a2d am: 2264b213ac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14671990

Change-Id: Id1ac85c7c88c033d2a57f1ac45aadcc98ee957e4
2021-06-01 21:40:31 +00:00
Stephane Lee
1e6a135ce5 Add Adaptive Charging AC pause buffer control am: c4d083dca5 am: d0eb2f7dcf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14671990

Change-Id: Ibe25a68f090b4b31ac8bb6bdb1356dc96f16a2eb
2021-06-01 21:28:32 +00:00
Stephane Lee
898b0c616a Add Adaptive Charging AC pause buffer control am: c4d083dca5 am: a093977a2d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14671990

Change-Id: I570d13b06d86059eb5f17673a01d164a41527edb
2021-06-01 21:19:33 +00:00
Stephane Lee
dacafe9ce6 Add Adaptive Charging AC pause buffer control am: c4d083dca5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14671990

Change-Id: I77d7d3f6ace59b400609995f7f77731b1cd07550
2021-06-01 20:57:51 +00:00
Stephane Lee
0daa5cc618 Add Adaptive Charging AC pause buffer control
Bug: 188524940
Test: Ensure that there are no logcat errors from health_safety_margin
Change-Id: Ia67649fd6d2e4cc8b87b5fa9c21b15b07722efbe
2021-06-01 20:36:15 +00:00
Aaron Ding
3e3396a015 disable DebugFS restrictions in factory builds am: 45b2093640 am: d497128645 am: 3ab0c29d87
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14502956

Change-Id: Iafda0209b81db6115050895083af0e9eda22e579
2021-06-01 07:15:56 +00:00
Aaron Ding
69d4ffd7aa disable DebugFS restrictions in factory builds am: 45b2093640 am: d497128645
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14502956

Change-Id: Id0f8f5af74736c585b0c283a875853cc1316b50c
2021-06-01 06:52:26 +00:00
Aaron Ding
7e4fd13ca6 disable DebugFS restrictions in factory builds am: 45b2093640
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14502956

Change-Id: I3aee044f3789d748bb9857727728682492709195
2021-06-01 06:31:43 +00:00
Aaron Ding
f87f8ed1b0 disable DebugFS restrictions in factory builds
Bug: 186500818
Change-Id: I313c462fc9e97eb76f8772bd0c7536e6dcf62a01
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-01 04:24:06 +00:00
Cyan_Hsieh
a01ec76431 Set audio.camerasound.force for JP devices am: b6c4f766b7 am: bb19fd944c am: 66df8492f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14716079

Change-Id: I52a3718e930ee6cae027a27c1ce96593268ee9ce
2021-05-31 03:49:22 +00:00
Kris Chen
443f5eaf95 udfps: Add goodix HIDL extension manifest for userdebug build am: 5b4044548c am: a104a31c72 am: b77e233647
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731872

Change-Id: I737e156850aea51246568c1d4c7ecec919bd6172
2021-05-31 03:49:10 +00:00
Cyan_Hsieh
2ac2309049 Set audio.camerasound.force for JP devices am: b6c4f766b7 am: bb19fd944c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14716079

Change-Id: Ia7769d825eb96faf00f82158712f54621ee7ce1c
2021-05-31 03:29:01 +00:00
Kris Chen
5b8cfb61d8 udfps: Add goodix HIDL extension manifest for userdebug build am: 5b4044548c am: a104a31c72
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731872

Change-Id: I1e02f96e81e91b5c9ad0851f76316e07e0f6d9fa
2021-05-31 03:28:46 +00:00
Cyan_Hsieh
7b6028e16a Set audio.camerasound.force for JP devices am: b6c4f766b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14716079

Change-Id: I2a404c96892f098c7105818d7ef0ca94f1937007
2021-05-31 03:07:01 +00:00
Kris Chen
576296ca50 udfps: Add goodix HIDL extension manifest for userdebug build am: 5b4044548c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731872

Change-Id: Ic563c2d32c2278016c594184330d5cd497c114d0
2021-05-31 03:06:52 +00:00
Cyan_Hsieh
7a7f31c030 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Id6a89d53f796d2311b91955908ec72e88edbc371
2021-05-31 02:54:19 +00:00
Kris Chen
4de06908f9 udfps: Add goodix HIDL extension manifest for userdebug build
Bug: 189315086
Bug: 189227969
Test: Can use Goodix APK to enroll and authenticate.
Change-Id: If1061382d6bde43e2b45f5e91da238ac5e0ebfde
2021-05-31 02:41:36 +00:00
George Lee
c07f4a4974 health: fix soc path so enable proper throttling am: b15a996006 am: bd44d6795c am: dc7c5f14d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762154

Change-Id: I641d14120d7bb6bd059486eb9e534bd96bed50bf
2021-05-28 21:45:07 +00:00
George Lee
62f299ba68 health: fix soc path so enable proper throttling am: b15a996006 am: bd44d6795c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762154

Change-Id: I6b334a37d6744e0d440d80395c1132a69347c994
2021-05-28 21:23:14 +00:00
George Lee
1aaec10d31 health: fix soc path so enable proper throttling am: b15a996006
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762154

Change-Id: I81893f264acf9055242b534d3e0a11b7fa95cb7a
2021-05-28 20:59:43 +00:00
George Lee
dada82957c health: fix soc path so enable proper throttling
Path was missing "/" thus thermal zone soc stays enabled regardless of
charging.

Bug: 188006020
Test: Local test to check soc's mode
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I62ba233ddc05f2c8c0d3bcf4f97809f9c379a757
2021-05-28 19:38:51 +00:00
George Lee
f1f871b65a thermal: add soc to thermal HAL monitoring am: ba6176f2b2 am: 6ac84b118f am: e9124500ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14737124

Change-Id: I6a8fb02781c479564469781110f12e1599620602
2021-05-28 17:18:12 +00:00
George Lee
09d33bdfee thermal: add soc to thermal HAL monitoring am: ba6176f2b2 am: 6ac84b118f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14737124

Change-Id: I059b4acef9838a88277f1d388d425e40dd678e6c
2021-05-28 16:53:52 +00:00
George Lee
ea9f70b056 thermal: add soc to thermal HAL monitoring am: ba6176f2b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14737124

Change-Id: Ic9524371bc3c4c1cc6c6637a6eb5c64ee1e06d0f
2021-05-28 16:31:51 +00:00