Commit graph

3255 commits

Author SHA1 Message Date
Yu(Swim) Chih Ren
09706755b6 Use powerhint to increase mem, intcam, tnr clock when camera lunch to
improve camera start performace

Bug: 168654554

Test: 1. check clock freq related file when camera start
      2. P21 camera checklist

Change-Id: I3447a6028846cc873e9c7195826c470bceaf03c8
2021-06-09 04:18:05 +00:00
Adam Shih
aa8a4cf5c3 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 8c5aab6008 am: c92e2c1a63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Ic0f97e2772546164d537b83efb03b36baf51062b
2021-06-09 04:02:00 +00:00
Daniel Mentz
2edbe350bb gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 64fc74cf13 am: 612a937aa9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I337b7e1ee2aab11b54626b8877b92a418b840705
2021-06-09 04:01:43 +00:00
Adam Shih
222b7c5c33 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 3d28076178 am: 74efb31d84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Icaa59b79ab9bc50e7b3855ee627a65f14c73fe55
2021-06-09 04:01:29 +00:00
Adam Shih
7e5c8c09bf modulize hal_neuralnetwork_armnn am: 556df03c4c am: 8c5aab6008
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Ifc02aff5851591b80f5ed18d3984207541537c33
2021-06-09 04:01:27 +00:00
Daniel Mentz
1a2eb339f8 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 685334d781 am: c7d7f7b6f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: Ie6d186efaffd6d94c2784dd5badc1e25eb8eaf6e
2021-06-09 04:01:22 +00:00
Daniel Mentz
f6d896e196 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 64fc74cf13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I8b34543f0bf9619d199ccb0703d96b096502310e
2021-06-09 04:01:17 +00:00
Adam Shih
3ab2148f5c modulize hal_neuralnetwork_armnn am: 556df03c4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Id4b86796a82cc7637fb468d7bb5d02a493624a46
2021-06-09 03:37:23 +00:00
Adam Shih
2b767565b1 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 3d28076178
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: I7f1d702f0367bf74fc7af629e65986f8e04974a9
2021-06-09 03:37:21 +00:00
Daniel Mentz
94c8fe6cd5 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I472a2aa6cbd6240fa0fe942e78f5aeb0bdefdc11
2021-06-09 03:37:18 +00:00
Daniel Mentz
434ee2148d gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 685334d781
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I857a1550908d36cb86af3288fa8cbc1a42e46ab0
2021-06-09 03:37:15 +00:00
Adam Shih
e89080c7a6 modulize hal_neuralnetwork_armnn
Bug: 189895314
Bug: 171160755
Bug: 171670122
Bug: 180858476
Test: make sure all affected devices' armnn module has the right label
Change-Id: Ie618a5477b4e447774b20a58c9f091ae9fe529d6
2021-06-08 23:03:04 +00:00
Daniel Mentz
c37a73b74f gs101: migrate to bootimg header v4 (second attempt)
We migrate to bootimg header v4 and build the following two vendor
ramdisk fragments.

Type: Platform, Name: "", Contents: Everything but kernel modules
Type: DLKM, Name: "dlkm", Contents: Kernel modules (incl. modules.load etc.)

Bug: 183237066
Change-Id: I626cb87ba8111d0615b80cf981ebc288893a0624
2021-06-08 22:29:48 +00:00
Lucas Dupin
092b90cda5 Enable blurs am: 4f86cdd63f am: 6259a4c77b am: 38d4abf87b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: Ieabf9803dfc20d36d786d21bc0f22ff3480cd66e
2021-06-08 17:25:25 +00:00
Lucas Dupin
ee48d1ed8f Enable blurs am: 4f86cdd63f am: 6259a4c77b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: I2648b87d2f25b8e3d75904b168e60ad5ee1a1839
2021-06-08 17:10:20 +00:00
Lucas Dupin
0dfc2535ba Enable blurs am: 4f86cdd63f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: I4a560047f3225503c41184362dd2cbe4aa53db39
2021-06-08 16:56:38 +00:00
Lucas Dupin
d8f101ad4c Enable blurs
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2021-06-08 16:38:30 +00:00
Cyan Hsieh
1c31df8513 Revert "Set audio.camerasound.force for JP devices" am: e561684b39 am: 712df502d5 am: 05084b5845
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881198

Change-Id: I201f397ff20c15e04be7f0c4e6f04acf2c214ffc
2021-06-08 11:56:50 +00:00
Cyan Hsieh
28d552904e Revert "Set audio.camerasound.force for JP devices" am: e561684b39 am: 712df502d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881198

Change-Id: I33a928d97f9e65fa7d5787924345be1566c9dd71
2021-06-08 11:42:18 +00:00
Cyan Hsieh
63420a9717 Revert "Set audio.camerasound.force for JP devices" am: e561684b39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881198

Change-Id: I4fc2757d1dfa86eaea0d02ab002dab9c5722fb21
2021-06-08 11:28:32 +00:00
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
333818e75b audio: upgrade audio.usb.default from v1 to v2 am: 174e0f9a18 am: 17746f6cc3 am: 8005b47212
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513739

Change-Id: I64c3c53a5599a367308d6429c9e26a588e946db2
2021-06-08 07:18:19 +00: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
linpeter
fc1660a08a init: set LHBM node permission before start hwcompower am: 0fd8dc215e am: c2bda102c6 am: 8d05ea1c98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14656552

Change-Id: I80d959a70ad4601e98c0aee644c8c4f1e13a71bf
2021-06-08 06:21:30 +00:00
linpeter
7e357d0af9 init: set LHBM node permission before start hwcompower am: 0fd8dc215e am: 2f60c566bf am: cd706667af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14656552

Change-Id: I4a4e89c274c603504c72e02258c268c057b11fe4
2021-06-08 06:21:13 +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
4464bd7ec6 remove obsolete module am: a32cd44c0e am: 2d72497a16 am: 84da5f598e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881192

Change-Id: Ibe9c60e04f8e00c1b49648e6f76fb8982138e652
2021-06-08 04:41:30 +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
6d2b477711 config: Override disable firmware roaming via HAL API am: fab900fd9f am: 595e91469e am: 6d66e48690
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807289

Change-Id: I08d61387103e7e06bb26731d28d5bc26e2086187
2021-06-08 03:11:12 +00:00
Maciej Żenczykowski
04af46806f remove dead code - property:sys.usb.configfs is never 1 am: 2a42e96274 am: c4c75bd5c6 am: 354536e3c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14542110

Change-Id: I6d04b2211824725a4142e6929889920b45509d73
2021-06-08 03:10:40 +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
52eccb824d Revert "Camera: Enable LTM for factory builds" am: 3b91828b60 am: 426af30605 am: 37eec5c0eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14800450

Change-Id: I9f2e623114d039678632bf7a410794fd21ee5964
2021-06-07 05:46:28 +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
00a1298aea gps: update gps driver 128.20.23.502791 am: e3784ee3ef am: 19315ca490 am: c8a241e304
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14751953

Change-Id: If4974cbaacc9b4e0aa71196667875a425b1292cc
2021-06-07 03:07:30 +00:00
Nicole Lee
f7fc220a26 dumpstate: stop modem always-on logging only am: d78e4f105a am: 2d17c30a28 am: d309d1f259
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788593

Change-Id: Ia08d6cb7e72b034394276d3edb1b100baa6f43bf
2021-06-07 03:07:24 +00:00
Edwin Tung
80e726a90f gps: update gps driver 128.20.23.502791 am: e3784ee3ef am: b1da232090 am: a55705c0f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14751953

Change-Id: Ide44e20b96c5a25a4ae7c17e09c1de26acdd8364
2021-06-07 03:07:16 +00:00