Commit graph

1559 commits

Author SHA1 Message Date
Cyan Hsieh
88218211cc Revert "Set audio.camerasound.force for JP devices"
This reverts commit b6c4f766b748af81d502cf031c75b2c6c4c7cf09.

Reason for revert: switch to use ro.boot.hardware.sku for judgement

Bug: 188396079
Change-Id: I012b2d32d9b7245fd1d1be5a00c5e922a1f52d19
2021-06-08 16:50:31 +08:00
David Li
5e0529f538 audio: upgrade audio.usb.default from v1 to v2 am: 174e0f9a18 am: 17746f6cc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513739

Change-Id: I9b3f736d86810a0dcb9a54551ff632f84f908884
2021-06-08 06:57:43 +00:00
David Li
fb3c8d9a4e audio: upgrade audio.usb.default from v1 to v2 am: 174e0f9a18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513739

Change-Id: Iba6eb8f85d3ae9fdd21ac047fa535aee5b3f6a3b
2021-06-08 06:35:45 +00:00
David Li
4e9ad88e66 audio: upgrade audio.usb.default from v1 to v2
Bug: 187912470
Test: make -j128
Test: deep buffer and compress offload via speaker, USB headset, BT
earphone
Test: phone call via handset
Test: hotword detection

Change-Id: I0385873c7087660d03ccc582f31825a901ae1b8e
2021-06-08 06:14:43 +00:00
linpeter
093789a33b init: set LHBM node permission before start hwcompower am: 0fd8dc215e am: c2bda102c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14656552

Change-Id: I3f896fb7ddf014a7a46de316f08c971410917717
2021-06-08 06:07:29 +00:00
linpeter
dde6279ec1 init: set LHBM node permission before start hwcompower am: 0fd8dc215e am: 2f60c566bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14656552

Change-Id: If0df75f13ea7c036b2443f04f88935d8d36a33c4
2021-06-08 06:02:17 +00:00
linpeter
093ed540b1 init: set LHBM node permission before start hwcompower am: 0fd8dc215e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14656552

Change-Id: Ib605dd09224a19b6535baaf62dfbe6f05a0099db
2021-06-08 05:48:27 +00:00
linpeter
cc1a0db348 init: set LHBM node permission before start hwcompower
Give local_hbm_mode node sutiable permission to allow
hwcomposer to set local_hbm_mode to display driver.

Bug: 184768835
test: check file node permission
Change-Id: I2e5dcd87ba27a1ccf8de14a12472ba806833ed12
2021-06-08 05:30:43 +00:00
Adam Shih
117d286d19 remove obsolete module am: a32cd44c0e am: 2d72497a16
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881192

Change-Id: I2e1cf4f714514cbca937c35f9fd3b30ddecae1d5
2021-06-08 04:17:26 +00:00
Adam Shih
151e0302a6 remove obsolete module am: a32cd44c0e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881192

Change-Id: If7a7f5e07ca3b50ca87b9be7580ecf428137b16d
2021-06-08 03:59:18 +00:00
Adam Shih
fa935b0795 remove obsolete module
Bug: 190330778
Test: build the ROM with the module gone
Change-Id: I38b604e2ee5be017b5eccf98d405ee896b5e6ea4
2021-06-08 03:25:59 +00:00
Isaac Chiou
6c3dc35d5b config: Override disable firmware roaming via HAL API am: fab900fd9f am: 595e91469e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807289

Change-Id: Ib6e87097ffd4130f0437c56c9db7258f9b28ff87
2021-06-08 02:56:42 +00:00
Maciej Żenczykowski
3a372ade27 remove dead code - property:sys.usb.configfs is never 1 am: 2a42e96274 am: c4c75bd5c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14542110

Change-Id: I3d559980541d47258279b33a73bcf0516ebc3307
2021-06-08 02:56:15 +00:00
Isaac Chiou
dcb7d3ca32 config: Override disable firmware roaming via HAL API am: fab900fd9f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807289

Change-Id: I7870c268e43ba049b37073b72a1192fdadfcc473
2021-06-08 02:35:33 +00:00
Maciej Żenczykowski
7e7f8b832a remove dead code - property:sys.usb.configfs is never 1 am: 2a42e96274
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14542110

Change-Id: Id9fbc923acabbb7a44bfd59b6f9210c386ffec02
2021-06-08 02:35:29 +00:00
Isaac Chiou
206366eb0a config: Override disable firmware roaming via HAL API
ag/13790852 provides a solution to disable fw roaming if the connection
is triggered with a specific bssid.
We set config_wifiUseHalApiToDisableFwRoaming to true to enable this
feature.

Bug: 178398607
Test: Build Pass
Test: Make sure HAL api wifi_enable_firmware_roaming can disable roaming
Change-Id: Ia4b6cf80aefbce76c994532175693f38a0698a5a
2021-06-08 02:34:05 +00:00
Maciej Żenczykowski
0fc8c4d49f remove dead code - property:sys.usb.configfs is never 1
Bug: 172793258
Test: built and booted on oriole, tethering still works
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Iff304938e57e28b3a62784fbd0b226a20e0f53cc
2021-06-08 02:14:33 +00:00
Yan-De Chen
516af7f1ac Revert "Camera: Enable LTM for factory builds" am: 3b91828b60 am: 426af30605
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14800450

Change-Id: I1bbb6c03c370cd907e4680eb88328bc84d1daaa9
2021-06-07 05:27:01 +00:00
Yan-De Chen
bf3fce66e1 Revert "Camera: Enable LTM for factory builds" am: 3b91828b60
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14800450

Change-Id: I87f59cfba5eaf703d649ed8ef73eccaed1b6d3be
2021-06-07 05:05:01 +00:00
Yan-De Chen
06c8aadc14 Revert "Camera: Enable LTM for factory builds"
This reverts commit d72626741ce5faa6404f52e61408d3ce93690fa3.

Reason for revert: disable ltm to improve camera stability

Test: build pass
Bug: 189934073
Change-Id: I2a23823b8d0c5a6686e6a675f575cf8a0bbd49de
2021-06-07 04:42:37 +00:00
Edwin Tung
f43c8dcf4b gps: update gps driver 128.20.23.502791 am: e3784ee3ef am: 19315ca490
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14751953

Change-Id: I7c6191dbb786aa6b3489a639982cd46111092b38
2021-06-07 02:54:21 +00:00
Nicole Lee
5e8e2e85da dumpstate: stop modem always-on logging only am: d78e4f105a am: 2d17c30a28
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788593

Change-Id: I51c25916497659e1535019fee471510a042bbf12
2021-06-07 02:54:16 +00:00
Edwin Tung
80958dd2e0 gps: update gps driver 128.20.23.502791 am: e3784ee3ef am: b1da232090
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14751953

Change-Id: If44e65dcc7d93421382d181a007363f31732d2a4
2021-06-07 02:48:25 +00:00
Nicole Lee
7765439368 dumpstate: stop modem always-on logging only am: d78e4f105a am: 81676a85e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788593

Change-Id: I8bde2b5f5c03798364a6b305ae50dc76da67efab
2021-06-07 02:48:20 +00:00
Edwin Tung
16ae340dc5 gps: update gps driver 128.20.23.502791 am: e3784ee3ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14751953

Change-Id: I0fdbe7fcc6a83ac26b0309daaead8533644487ab
2021-06-07 02:33:19 +00:00
Nicole Lee
94b4b6a92e dumpstate: stop modem always-on logging only am: d78e4f105a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788593

Change-Id: Iaa5b9aab483d2722bf84f774d5e03f84e1c37df9
2021-06-07 02:33:13 +00:00
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
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
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
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
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
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
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
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