Commit graph

5098 commits

Author SHA1 Message Date
Edwin Tung
d07bdce1e7 gps: update gps driver 128.20.23.502791
Fixed an issue to count valid L5 measurements in the L5 bias estimation process
Fixed wrong context detection issue when the first fix is made
Set group readable permission to esw-crash-dump
Added SIT_SET_GPS_STATUS IPC to inform of gps running state to modem
Fixed crash issue at ProvideLppeCapabilities() while KDDI testing
Fixed issue that gpsd send release connection request upon receiving NI message
Fixed gpsd busy loop after OnTcpConnect happend when it fails to SSL_connect() with SSL_ERROR_SYSCALL
Fixed Reset checking timer for default value of CpResetInvalidateSec to properly work

Bug: 189063756
Bug: 185203617
Bug: 189711389
Bug: 185545476
Bug: 189715043
Bug: 189730213
Bug: 188870406
Bug: 185884684

Sanity test: 190014066
Test: build pass
Change-Id: I99b7173c9f28ed5f6a05a272709f6caa4748aed1
2021-06-07 02:17:34 +00:00
Nicole Lee
2148f02c08 dumpstate: stop modem always-on logging only
Dumpstate will only collect always-on modem logs,
should only stop modem logging when it is always-on

Bug: 189441741
Change-Id: Icc4e1940aab774d56e51e966248985dda539890c
2021-06-07 02:14:16 +00:00
Wei Wang
d0814d9b78 Remove mid/big core min boost for touch boost am: 2a2a091bfc am: a212dd849b am: 149e56fdc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14847872

Change-Id: Ieb6573ac05b56e3d918f32b20224469e49adb95e
2021-06-05 05:07:08 +00:00
Wei Wang
d3d9a2329d Remove mid/big core min boost for touch boost am: 2a2a091bfc am: a212dd849b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14847872

Change-Id: If0b37af881ecfb422e049316b7c705eb007f14fe
2021-06-05 04:46:35 +00:00
Wei Wang
dd2a4a4b3e Remove mid/big core min boost for touch boost am: 2a2a091bfc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14847872

Change-Id: I6f2101d968dd4f259a05d93ffbed25b49c38fbba
2021-06-05 04:32:56 +00:00
Wei Wang
6181c3ef5e Remove mid/big core min boost for touch boost
We have TA uclamp.min for top app, keep min boost for SF.

Bug: 190145608
Test: UiBench
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I5f307cc7fa53c28a0ac64be83fe2234c2e04ff12
2021-06-04 13:27:36 -07:00
Albert Wang
375e833260 Correct the file permission for usb data on/off am: 0b3446467f am: e0f58f5c01 am: dc81237e54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807283

Change-Id: Ib0f2800eed4f30cf6464c61ae8a41bba86382ea9
2021-06-04 09:35:37 +00:00
Albert Wang
a123b396d5 Correct the file permission for usb data on/off am: 0b3446467f am: e0f58f5c01
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807283

Change-Id: Ib118b589e5f90082ce3ac8c271e9479dbf4b68f7
2021-06-04 09:14:44 +00:00
Albert Wang
ad3eee9230 Correct the file permission for usb data on/off am: 0b3446467f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807283

Change-Id: I6540ea3307a6d14aac21587be44272a465112660
2021-06-04 08:59:57 +00:00
Albert Wang
a902992f64 Correct the file permission for usb data on/off
Bug: 180711938
Test: access nodes normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I12e3357e675a77f3beb5f9fd6d3ada4378e10693
2021-06-04 08:36:17 +00:00
Aaron Ding
5fb63ff7d0 Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c am: baa80dcd81 am: b39c887a16
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14467765

Change-Id: I01c4de82b7e0d10585dec0bc12bf4ff7827045ac
2021-06-04 08:13:13 +00:00
Aaron Ding
9e854690c4 do not mount the debugfs on userdebug builds am: ac86e4f713 am: 1febdf604b am: d7ad9fbffc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419716

Change-Id: Ia48d8060c00ef72eafcf1775ed05395660c4ba72
2021-06-04 08:13:12 +00:00
Aaron Ding
69d86e975f Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c am: baa80dcd81
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14467765

Change-Id: Id1904b1e878f4024e15d6fcaf40b5d4bc2fbb668
2021-06-04 07:56:08 +00:00
Aaron Ding
8115b29ea6 do not mount the debugfs on userdebug builds am: ac86e4f713 am: 1febdf604b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419716

Change-Id: Ia11459531fc960d6ea79fb48d4f2687867557503
2021-06-04 07:56:07 +00:00
Aaron Ding
94e9f747cd Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14467765

Change-Id: Ib65219b3fad006e06869092d30395e8cca10d7a8
2021-06-04 07:38:53 +00:00
Aaron Ding
0ae202eb9c do not mount the debugfs on userdebug builds am: ac86e4f713
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419716

Change-Id: I1be5348da3a087183df14eea427f707a5d112ca8
2021-06-04 07:38:52 +00:00
Aaron Ding
49c8f94192 Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds
Bug: 186500818
Change-Id: Ic8534da52b093fc3278abd2f243a506d87196b1e
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-04 04:01:50 +00:00
Aaron Ding
aa420345a9 do not mount the debugfs on userdebug builds
Bug: 186500818
Change-Id: Ic22af74fa850b1072c3dc781a3b49ae95a9156ba
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-04 04:00:00 +00:00
Philip Cuadra
53bee0f7e3 Target arm v8.2a and A55 for GS101 am: 261aa24bad am: 26d57fd133 am: 18807292bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875

Change-Id: Iba78dea4daf98bcd758c7f1039dafb760fe9a013
2021-06-03 23:15:04 +00:00
Philip Cuadra
19cc85c0de Target arm v8.2a and A55 for GS101 am: 261aa24bad am: 26d57fd133
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875

Change-Id: Ibb673a5c73ae6b65d0fca2b0498ae1c796048d02
2021-06-03 22:52:51 +00:00
Philip Cuadra
fb1e9bac6e Target arm v8.2a and A55 for GS101 am: 261aa24bad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875

Change-Id: I044f469c3a9c48b3dc3dba4c97f342e42369b537
2021-06-03 22:32:17 +00:00
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