Commit graph

455 commits

Author SHA1 Message Date
Devika Krishnadas
be6acfd1c5 Update late duration
Bug: 192099706
Test: Run UIBench b/194024035
Change-Id: I7954214df1210df19e79308a950cc22d7d96fbe2
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2021-07-23 13:20:29 +00:00
Meng Wang
5f8889f00e Move CDMA feature XML inclusion to device specific mk files
So devices not supporting CDMA don't include the feature by mistake.

Bug: 191908965
Test: inspect build artifacts - telephony.cdma.xml is included
Change-Id: I0fe3a3624d2cda2b57347402d62e8a16513174e5
2021-07-21 18:38:57 +00:00
Long Ling
bcd48598f5 SF: set debug.sf.layer_caching_active_layer_timeout_ms to 1000 am: 7e35fff4eb am: 8839bb310f am: 93dd4827e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15339792

Change-Id: I1f249316a17e32aee152e51ecef26dc57e98b229
2021-07-20 21:37:46 +00:00
Long Ling
0facd0130b SF: set debug.sf.layer_caching_active_layer_timeout_ms to 1000
Avoid SF cache thrashing in some cases.

Bug: 189928400
Test: no flicking issue with the testbuld (removed displaycolor fix)
      and flicking happens after set the prop to 0
Change-Id: I24aa79001ec21cff18ae5ac8ff988f70ed121061
2021-07-20 20:55:44 +00:00
SalmaxChang
74d7007ea5 gs101: device: Set default modem logging property am: 193096c2c0 am: 80540b98ff am: d9e025db65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15301207

Change-Id: I9b23c9eb09b9b1833d20e6188ae7041ec61644b3
2021-07-20 02:44:04 +00:00
SalmaxChang
f08feb8f7c gs101: device: Set default modem logging property
Bug: 193861045
Change-Id: If52addcc2da17d849c002646c3d6c47c47f5c5bd
2021-07-20 02:02:19 +00:00
David Lin
3ac318cfa1 mfc_fw: Update to use release signed FW binary am: a7b5f1f533 am: 94f7087b28 am: 12fb16a89d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15283324

Change-Id: Ib4dc49b0e3bb87e5bb51474c3be857b16d107f59
2021-07-20 00:52:19 +00:00
David Lin
64ac5cee64 mfc_fw: Update to use release signed FW binary
Bug: 174295725

Signed-off-by: David Lin <dtwlin@google.com>
Change-Id: I79f95e391671e5dd821cb9d53214094b6e0843a1
2021-07-19 16:05:48 -07:00
Chenglu Lin
bb8fe6ac78 Move WvInstallKeybox to factory build only am: d5c3960367 am: a99fe3e91b am: 668745d01c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15310730

Change-Id: I2ca1c0098914e65f6f0d1bd68ccb906002debd11
2021-07-19 14:11:46 +00:00
Chenglu Lin
5e7d13a0d2 Move WvInstallKeybox to factory build only
Test: build factory_oriole-userdebug
Test: build factory_raven-userdebug
Test: build oriole-userdebug
Test: build raven-userdebug
Bug: 193532508
Change-Id: Iaa1c60e9878250923069a0711097eede16dbb082
2021-07-19 13:21:57 +00:00
SalmaxChang
4920d488d8 gs101:device: Update modem SSR property am: c33685b85e am: 26ec42afde am: 69096223ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15310737

Change-Id: I758d026a7fe574bc9d7006f700f3f4ede414ac62
2021-07-16 17:14:42 +00:00
SalmaxChang
484fc1df4b gs101:device: Update modem SSR property
Disable ssrdump for user build.

Bug: 193749485
Change-Id: Ibcd5e7b026cec3ec4ebb982ba352b582470e97c7
2021-07-16 13:30:12 +00:00
Namkyu Kim
30051c323f device.mk: enable tetheroffload service 1.1 from Android S am: 2d1b6429c6 am: aa1983cb8d am: 26c732ef8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15258566

Change-Id: Ic9f0f6fb8d30ae35d9c8f53ce53c8952a0142044
2021-07-16 07:15:43 +00:00
Namkyu Kim
43cb9934ea device.mk: enable tetheroffload service 1.1 from Android S
Bug: 186539538
Test: run vts -m VtsHalTetheroffloadControlV1_0TargetTest
      run vts -m VtsHalTetheroffloadControlV1_1TargetTest

Signed-off-by: Namkyu Kim <namkyu78.kim@samsung.com>
Change-Id: I453429ff95cb9f33fb34f76fc82d6ebe03b20f5f
2021-07-16 06:28:31 +00:00
Darren Hsu
5b9d60da8b Disable USB contaminant detection when the disable flag is true am: 6b1106498e am: 6c0386363b am: 27cb3720da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261965

Change-Id: I56d60f7312119252c9a85e95aeb9d1e30685abd3
2021-07-15 17:09:48 +00:00
Darren Hsu
c3af02a158 Disable USB contaminant detection when the disable flag is true
Bug: 192208389
Test: Manually tested
Change-Id: Iee32ec4175283417eaa8d86d65c2a80757ebc32a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-07-15 16:17:39 +00:00
Wei Wang
98f6d3ea44 Boost SF when interaction hint is active. am: 481496a279 am: 36d84c2279 am: 19657847a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15267397

Change-Id: I3bf12793b50c38d5f9a83c609bd56b782ee71d6d
2021-07-14 07:04:33 +00:00
Wei Wang
30393266aa Boost SF when interaction hint is active.
We have seen cases SF main thread running longer occasionally which may
run in danger of missing frames. This CL lifts cpufreq for SF when touch
boost is active to compensate the sudden jump of its cpu demand.

Bug: 192099706
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I49b2d589249f60a38eab907afbadfbcfdd233d1c
2021-07-14 06:18:59 +00:00
Xue Tu
78fd79c4b4 Add "vendor.android.hardware.camera.preview-dis" feature am: 0eea6756b6 am: c9b956fd7c am: 4a9bcc96d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15264251

Change-Id: I6e68f761e7ccb94655677bb8f6156ce489e58e66
2021-07-13 19:09:46 +00:00
Xue Tu
f55757983b Add "vendor.android.hardware.camera.preview-dis" feature
Bug: 189961678

Test: adb shell dumpsys
Change-Id: I72d2b3a347f048250117b25fee66e91ca8411057
2021-07-13 18:08:05 +00:00
jonerlin
ca592a2a10 gs101: migrate Bluetooth HAL service setting to project dependent
make files

Bug: 190443033
Test: Manually
Change-Id: I72b2b6cfee3229dc2c7f5f362df67ed134f0729f
2021-07-13 01:26:30 +00:00
Shawn Willden
ab90130e3e Set boot security patch level for gs101 am: 90177c1d89 am: 810a153036 am: 40f8244bc8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261350

Change-Id: Ic38e7246918e809af99e19ab1222d36fcc973363
2021-07-12 20:30:11 +00:00
Shawn Willden
baa3bf3801 Set boot security patch level for gs101
Bug: 193423844
Test: Build and see if the AVB property has the field
Change-Id: I44fdf4f58d41650d53ba2aac470232fa71c228bb
2021-07-12 19:31:29 +00:00
Siddharth Kapoor
d23faf3acd Move launcher prop from vendor to system am: d9617218f4 am: 8ae7be4665 am: fad39ea869
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15219913

Change-Id: I9f1d0e126475fe5e67dc5f5f6c00d4c6b3f1f383
2021-07-12 05:21:08 +00:00
Siddharth Kapoor
41e6e14ee0 Move launcher prop from vendor to system
Launcher prop needs to be accessed in system partition only,
hence move the related prop to /system/build.prop

Bug: 192621663
Test: ro.launcher.blur.appLaunch prop is set correctly,
  and Blurs are disabled on App launch.
Change-Id: I6721d59498c5d35dfd560f429b8aed7a01ac29fc
2021-07-12 04:36:34 +00:00
Krzysztof Kosiński
8225bfdf79 Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 019797e0dc am: 19f0e8e45d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I7d14aa4491ecf51b8452e32d3cc2425d90608efa
2021-07-08 23:19:58 +00:00
Krzysztof Kosiński
74b7a2a871 Remove gralloc3 support for gs101.
All devices use gralloc4 now, so this code is unused.

Bug: 174998182
Test: builds for the affected devices
Change-Id: Icff36a0204f7f9fd10ae7269248aef8a08c5fc1e
2021-07-08 22:28:25 +00:00
Kevin DuBois
37cb7a4e88 mali: disable backend thread affinity. am: 82feef805e am: 281e4fc622 am: bfbe9a34a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15176970

Change-Id: I7ef7dbdaffee21ae4ad213428a9222fc90d882c4
2021-07-08 18:38:49 +00:00
Kevin DuBois
757500e40f mali: disable backend thread affinity.
Setting backend thread affinity with higher uclamp value can cause
governor to clock little cores to max. Disable explicit affinity for
driver backend threads.

Fixes: 192486236
Test: build, see SF's backend threads on mid cores in gpu comp.
Change-Id: Id1b17d9783fc65f2d2541fa9c6166d771494cd42
2021-07-08 17:53:28 +00:00
Maciej Żenczykowski
0627de07db tune usb irq (dwc3) based on usb function am: f9e02b98b8 am: fa23c69183 am: 8788773ebc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15217381

Change-Id: I87969f0fe18c0f9078c00dee4821d37271d95ca6
2021-07-07 17:01:11 +00:00
Maciej Żenczykowski
a24469c9d0 tune usb irq (dwc3) based on usb function
This among other things greatly increases tethering performance.

Bug: 185092876
Test: TreeHugger, built and booted on an oriole, enabled tethering
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic9f0b4bef05250bb38c91dc1e046366098d98dc0
2021-07-07 16:23:12 +00:00
Albert Wang
65c7926cbd Move init.gs101.usb.rc under hw/ am: b6c1a1d04e am: 1aeb4d8f18 am: 1582efda13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15167660

Change-Id: I097a4c4985099e7675180b5201ad9a5423a1591a
2021-07-07 15:58:53 +00:00
Albert Wang
ed651c86bf Move init.gs101.usb.rc under hw/
Bug: 192498561
Test: boot to home normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I465a668035cf03c6ac9587a6d48d22e2f52133d0
2021-07-07 15:18:17 +00:00
Lucas Dupin
97cfaa2ce1 Disable blurs during app launch am: b49bd0412a am: 8de81e5ea7 am: a1851bb2bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15146109

Change-Id: I6c184155af9e164ac4917d1efcf6d4ec8d3f32ce
2021-06-30 17:52:24 +00:00
Lucas Dupin
5f6d69182a Disable blurs during app launch
Test: m -j && flashall
Fixes: 191740153
Change-Id: I650c6433c3df238e6d72f0c55ec2f4ee3487a236
2021-06-30 16:58:45 +00:00
Adam Shih
ab7a647ae6 remove memtrack example am: 3659d514b4 am: 1b60a5e073 am: c55f9a99cb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15143008

Change-Id: Ie18b78d5c4197e7b1603e1d3661056b5cfb8023f
2021-06-30 06:42:47 +00:00
Adam Shih
701ce138cd remove memtrack example
Bug: 190331117
Test: make sure ROM does not have the file
Change-Id: Iaec753ca0a1acbe1ecfb83d8cb65ede027a77d18
2021-06-30 11:29:06 +08:00
terrycrhuang
2d755c6c23 Enable Early Camping Feature am: 7093308f02 am: a6cc1d4edb am: 82d0e75d3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972992

Change-Id: I4ef3db237a8408e3f7cd3a5a833dee080df70b7b
2021-06-30 00:47:45 +00:00
terrycrhuang
249aa26272 Enable Early Camping Feature
Bug: 189312225
Test: manual
Change-Id: I0bab215e06a96cac10ef5765cb78ebb840fb5a21
2021-06-30 00:07:39 +00:00
millerliang
00ab3e41c3 audio: add the files for low latency am: b920a4e569 am: 4783f1d86a am: 06abe68025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101218

Change-Id: I5441dd93f9bf6388097bc51f1309494408451e36
2021-06-25 08:27:39 +00:00
millerliang
1fce97cea2 audio: add the files for low latency
They are use by the GOogle Play Store to filter devices
that might need low latency feature.

Bug: 189793763
Test: Build and check the files
Change-Id: Ibf71147b971bfc4fe4e769772851e604203395b8
2021-06-25 02:46:02 +00:00
Adam Shih
29e4369005 modularize dmd am: dbfee7ea5b am: 22ee03dec6 am: d7bf179fd6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068260

Change-Id: Ibcc74fa6319bb491e1903e492e8f351e4176db16
2021-06-25 02:21:44 +00:00
Adam Shih
4b2b930396 modularize dmd
Bug: 190331463
Test: build ROM and make sure dmd is launched
Change-Id: Ie7ee06cbefeced5a69292e22012f533296081319
2021-06-25 01:12:49 +00:00
Rachel Lee
a3e4489f90 Set 120Hz frame rate multiple threshold for gs101. am: 58fb86ed25 am: 31a9194726 am: 912e85af98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15079929

Change-Id: If646c10f7d05c852ccad128bda07f568bce7f911
2021-06-24 22:59:42 +00:00
Rachel Lee
d901ee0b5d Set 120Hz frame rate multiple threshold for gs101.
BUG: 190815773
Test: atest libsurfaceflinger_tests
Change-Id: I515aadf0305c306a1c58248daf9b38cec0161cf8
2021-06-24 22:14:45 +00:00
SalmaxChang
df76b73268 dumpstate: Sync features from P20 am: 991b6891d2 am: 0de5f04785 am: f1a2b94b18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14730572

Change-Id: I875ef03249ca7c7c2302678a111a01a5c8e95f34
2021-06-24 10:57:24 +00:00
SalmaxChang
0979e06146 dumpstate: Sync features from P20
- Create thread to collect modem related logs into dumpstate_board.bin.
- Reference verbose logging property

Bug: 176176656
Bug: 190329829

Change-Id: I514ae6d00599239238d0f1a2a2ec0cc2c8c15043
2021-06-24 10:02:11 +00:00
Adam Shih
a02589a19f modularize pktrouter am: 8f21a02138 am: 22f1034c84 am: fb83d93e06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861

Change-Id: I13c958efe5af8bca5b89433be42b22ff34977862
2021-06-24 08:12:05 +00:00
Adam Shih
c7884a192e modularize pktrouter
Bug: 190331212
Test: make sure pktrouter gets initialized
06-23 13:21:19.372  1 1 I init : Parsing file /vendor/etc/init/pktrouter.rc...
06-23 13:21:23.510     1     1 I init    : processing action (vendor.pktrouter=1) from (/vendor/etc/init/pktrouter.rc:7)
06-23 13:21:23.510     1     1 I init    : starting service 'pktrouter'...
Change-Id: I89de2b2dd151bba877dea0bd5db0df1048b2ab6b
2021-06-24 07:24:45 +00:00
Taehwan Kim
0e13ddda94 add ro.vendor.gpu.dataspace am: cf7285bb99 am: 20e1816bd9 am: 2bd5891310
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090

Change-Id: I13d3fd503f4bb3e082d1575f662f7ad3333cd0f4
2021-06-23 07:04:26 +00:00