Commit graph

455 commits

Author SHA1 Message Date
Adam Shih
4e90077b04 modulize init.radio.sh am: b708e2ccc2 am: 7724a0a793 am: 0cc73c6d17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857

Change-Id: I074ed7de7f6c2d8e4d049f1508b733eac93b8972
2021-06-23 05:38:15 +00:00
Taehwan Kim
71bf42f42d add ro.vendor.gpu.dataspace
Bug: 176415285
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I6d6780f81ae05fc22793d97373a49b86e289cd0c
2021-06-23 04:51:40 +00:00
Adam Shih
5de199eca7 modulize init.radio.sh
Bug: 190331600
Test: build ROM and make sure the file is there and functional.
Change-Id: Id8fdeab9a79724ba77044274f2005935ffe00c99
2021-06-23 02:55:22 +00:00
Lokesh Gidra
d744f7f611 Use 6GB dalvik-heap config for WHI series phones am: a04605d473 am: 125afe8c8b am: 370966c5b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890

Change-Id: If13e208300b1a8bc0a231b59083effd216c45dcd
2021-06-22 00:01:43 +00:00
Lokesh Gidra
42c5499945 Use 6GB dalvik-heap config for WHI series phones
Since all the WHI phones have 6GB+ RAM, we should be using at least a
6GB dalvik-heap config, as being done in pixel5 and older devices.

Test: build and boot
Bug: 189738006
Change-Id: I5a232d2901dec819b225812d023d2e5a43d3e0a6
2021-06-21 23:05:40 +00:00
Alex Hong
86caa07260 Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6 am: 43dd23ddad am: 688f8185b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391

Change-Id: I0892b88daf50183a5477c370ae806085267dd59b
2021-06-21 12:50:03 +00:00
Jimmy Shiu
14924bfa75 adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4 am: 47a6cb77bb am: b8f1592a11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732

Change-Id: I0dea43a8a6afba9136b82d2c1281b18a070dd13b
2021-06-21 12:23:13 +00:00
Alex Hong
b7b25bb84a Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL: 31
Target FCM version: 5
Kernel FCM version: 6

TO-DO: Upgrade "Target FCM version" from 5 to 6
       "Target FCM version" must be 6 if PRODUCT_SHIPPING_API_LEVEL is 31.

Bug: 167997902
Bug: 186723740
Bug: 184801854
Bug: 186500818
Test: The device can boot to home.
      $ adb shell getprop ro.product.first_api_level
        [ro.product.first_api_level]: [31]
      $ adb shell ls /sys/kernel/debug
      $ adb root && adb shell getprop ro.product.debugfs_restrictions.enabled
Change-Id: I79a9d3835b9d3c508e647c1bbf53bd1c1465de05
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-21 08:01:31 +00:00
Jimmy Shiu
f0280a99f4 adpf: move the vendor.powerhal.adpf.rate to raviole
The property should be based on device max refresh rate.
Move to raviole config files.

Bug: 177493042
Test: build
Change-Id: I34c42c87e92208e9f8140197e00f713aafaa63ba
2021-06-19 04:00:51 +00:00
Adam Shih
a951f29557 organize confirmationui settings am: 62efe878ba am: cf594029cc am: 1043f5a989
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735

Change-Id: I22f696a59fe3f28eda73a55c4647c9f9726ee3cc
2021-06-18 07:32:43 +00:00
Adam Shih
56978d9961 organize confirmationui settings
Bug: 190331547
Bug: 190331370
Test: build ROM and make sure file and sepolicy is still there
Change-Id: Ifc2bcf1616d3ee2df3943f0f1b3523ce485b689c
2021-06-18 06:47:38 +00:00
Devika Krishnadas
49e6a384d5 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0 am: 3f8cf61183
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: I8c7216a8d849a99824c4ad7acc92ffe328036f72
2021-06-17 07:03:53 +00:00
Devika Krishnadas
e8b2e18eeb Increase maxFrameBufferAcquiredBuffers to 3
When display and SF falls out of sync, there is a possibility that while
display holds on to a buffer, a composed buffer could be waiting in the
decon thread. Since maxFrameBufferAcquiredBuffers is 2, GPU will have to
wait for display to swap out the buffer it is currently presenting to be
able to compose for the next frame, which leads to SF missing its
timeline for subsequent frames.

Bug: 190842189
Test: perfetto

Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I434e8644cff2538589c1c9b2bf731afae0aa8980
2021-06-17 06:14:37 +00:00
David Anderson
2bfa6d3ba0 Enable compressed snapshots/VABc.
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-16 20:48:14 +00:00
Adam Shih
6db8d3a3ce remove vcd from user ROM am: 8cc14ed0c4 am: 02f776f3be am: 0479005f42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513

Change-Id: Id381336cf285ab64cb343c46064e03423ebb28e6
2021-06-16 07:22:16 +00:00
Adam Shih
3e058b1e5c remove vcd from user ROM
Bug: 190331325
Test: build all ROM variants with only user ROM without vcd
Change-Id: I0732f80c2adc663c807963b84c70080665212bb2
2021-06-16 06:40:27 +00:00
Wei Wang
1e8e7d77ec Enable ADPF hint am: 65e9cc03ff am: 10c1915993 am: c3a78f1d51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079

Change-Id: Icbbdbcff054ff9a0a7270ad08247b4fe3a8e9f4a
2021-06-14 18:06:36 +00:00
Wei Wang
4b696faee6 Enable ADPF hint
Test: build, boot and trace
Bug: 177493042
Change-Id: I05bc6b879506934ad35521ae21e2b3a33740f268
2021-06-14 17:09:07 +00:00
Kelly Rossmoyer
103f721941 Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3 am: 91a6cecba5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: Ib4c1fe0a9640be099aea6b0df67b51c7cd061540
2021-06-13 01:17:48 +00:00
Kelly Rossmoyer
eba0f4ff66 Adaptive Suspend: configure first param set
This CL configures the first set of experimental parameters for Adaptive
Suspend on targeted devices, including:
* dropping the max backoff from default 60 seconds down to 40
* changing the break-even threshold from 5 seconds (which was just for
  collecting data) to 2
* enabling backoff on short suspends

BUG: 171433995
Test: ran on test device and observed suspend behavior
Change-Id: Icebf50aeade713591f1641664df11570d184d352
2021-06-13 00:34:09 +00:00
Jimmy Shiu
1ddc03705a Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c am: 62d5e78b44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: I4dfcb1e5bdae1297b4eabae4cc8cc337d3a3ac40
2021-06-12 06:48:46 +00:00
Jimmy Shiu
e209e8fbe9 Enable SF main thread boost with uclamp.min=30
Bug: 190137562
Test: boot and check uclamp.min of SF
Change-Id: Ifd6ad8d67fb0a3ecd2464540b670839cea1e867b
2021-06-12 06:05:29 +00:00
David Anderson
04f47d6e24 Enable compressed snapshots/VABc.
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-11 03:17:18 +00:00
Adam Shih
14b92cbe5b reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e am: 2a598d1526
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: I8ed00b26c6894aba7b75951e5f5a353d42678dde
2021-06-10 06:40:51 +00:00
Adam Shih
cdc350b5e6 reorganize trusty_metricsd settings
Bug: 190331503
Test: build ROM and see the file and sepolicy settings are still there
Change-Id: I212df916799b8acf831158153209bd2a1f7dfc5f
2021-06-10 05:52:40 +00:00
Adam Shih
7911e30e09 organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034 am: fd439b40e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: Ifa5c82eef566fe848ee9f165c1811c7ed0e882cb
2021-06-10 03:46:05 +00:00
Adam Shih
a169c37d9d organize EdgeTPU modules and sepolicy
Bug: 190331327
Bug: 190331548
Bug: 189895600
Bug: 190331108
Bug: 182524105
Bug: 183935302
Test: build ROM and check if the modules and sepolicy are still there
Change-Id: Id28ac2094e14051defe0401055d862c6353194f7
2021-06-10 02:53:28 +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
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
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
d8f101ad4c Enable blurs
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2021-06-08 16:38:30 +00: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
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
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
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
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
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
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
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
Craig Dooley
c27333924c Move AoC debug utilities to PRODUCT_PACKAGES_DEBUG am: 6e71f4a6fd am: b35b4a03b5 am: eb3a7746a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14727164

Change-Id: Ibe035e240c073ea2f8af83a3153c419d095e57ce
2021-05-27 23:04:34 +00:00
Craig Dooley
f706b02e51 Move AoC debug utilities to PRODUCT_PACKAGES_DEBUG
Bug: 185722771
Bug: 185725440
Bug: 185723000
Signed-off-by: Craig Dooley <dooleyc@google.com>
Change-Id: I726d173aaa64b279761f645c7822ded93e89d806
2021-05-27 21:43:50 +00:00
terrycrhuang
47caa1d49a Disable Early Cmaping feature am: 18b4a0ca3f am: d8e5ad3a7a am: cf308e0e15
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715561

Change-Id: I9065f5b3043aa5e6ab46f80e22a0702d2b4234ef
2021-05-26 10:21:32 +00:00
terrycrhuang
8b9b90e0c7 Disable Early Cmaping feature
In the feature, IA would be sent early. But it met the timing issue to
customize for TMO.
The carrier id is updated too late to set the TMO parameter correctly.
Disable the feature to unblock field test first.

Bug: 188973074
Test: Flash ROM and make sure the early camping feature is off
Change-Id: Ifd8021d4944db3437c6ff51ac417b427ce04c2a1
2021-05-26 04:02:22 +00:00
Edwin Tung
cd546a40be gps: update gnss RF path loss and remove log for user build am: c20437c5ba am: 220034220d am: e2ccd78611
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689774

Change-Id: I96bfd1507ce955e0428f6a64671587c48b4e0ade
2021-05-25 12:55:12 +00:00
Edwin Tung
5bc5698b5a gps: update gnss RF path loss and remove log for user build
Bug: 188496801
Bug: 188760589
Bug: 183185249

Test: build pass
Change-Id: I564acc324c628c4311c87227d7127db941816a6f
2021-05-25 08:52:34 +00:00
Krzysztof Kosiński
fd777a1a3a Update GCH configuration for gs101. am: f7395d2bf5 am: e976e00eb8 am: 3e3d51f9bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687087

Change-Id: I410a21423628d30063844b22646005bf1204fea4
2021-05-25 05:41:04 +00:00
Krzysztof Kosiński
06861b99cc Update GCH configuration for gs101.
Bug: 188327280
Test: camera preview on oriole
Change-Id: Id7b9b1c6129a45edd0c65ed37531c4f34555a6e0
2021-05-25 04:46:41 +00:00
Tim Murray
d15f2c5aa7 gs101: use 64-bit dex2oat am: 1435f7e99c am: 8c746a8541 am: b05b99b2ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: I10fd327fb55264cfca4a3b4273da265a2cbe769e
2021-05-24 16:35:28 +00:00
Tim Murray
be4b7b6366 gs101: use 64-bit dex2oat
64-bit dex2oat uses slightly more memory in exchange for significantly improved compile time.

Test: boots, works
bug: 188906345
Change-Id: Ie91a2401504596cabacbb04b5d6b7039865c193d
2021-05-24 15:41:36 +00:00
Andrew Chant
de59eb17b9 Add rebalance_interrupts am: 77ceae1c09 am: 91cf1ed1c1 am: c2bdbefda5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14603549

Change-Id: If220da895402b8d0c2a00bbc28219392cdc8dc03
2021-05-21 17:44:18 +00:00