Commit Graph

545 Commits

Author SHA1 Message Date
Michael Bestas
d1e0a12fdb Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29
Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWygAKCRDorT+BmrEO
# eDSNAJ9wqDj+MjTkLxlVtDrIJfY8Snw+mwCeNsBpbgOGLGUe+yZUutCeS44QeFs=
# =PW52
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:34 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2382 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Roy Luo (7) and others
# Via Automerger Merge Worker (846) and others
* tag 'android-14.0.0_r29': (84 commits)
  Revert^3 "Use graphics allocator 2"
  usb: enable media-presence polling for SD cards
  pixelstats: Fix access permission by adding total call count and update cca path sysfs
  config: Use carrier config in ROM by default
  Revert^2 "usb: introduce UsbDataSessionMonitor class"
  gs201: use android.hardware.boot aidl interface
  gs201: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
  Revert "usb: introduce UsbDataSessionMonitor class"
  gs201: include bootctrl_hidl_1.2.mk from gs-common
  gs201: move bootctrl service declaration to gs-common
  gs201: move bootctrl hal to gs-common
  bcl: adjust heavy clk divider ratio
  usb: introduce UsbDataSessionMonitor class
  Update default color temperature for night light
  Add webview pinning for gs201 devices
  Enable adaptive playback for BigOcean
  gs201: add c2.android.av1-dav1d.decoder in media_codecs_performance_c2.xml
  usb: update usb hal version to v3
  gs201: update AIDL IGoogleBattery manifest version to 3
  usb: update incompatible charger warning reason
  ...

 Conflicts:
	device.mk

Change-Id: I3e4ae1e4aebe25a1d14ced1f99cfdfc16955d21c
2024-03-10 09:20:14 +02:00
Michael Bestas
91d7cf5d05 gs201: Squashed revert of inline kernel build
Revert "gs201: Add kernel dependency"

This reverts commit 21e31e937a.

Revert "Build kernel with clang r450784e"

This reverts commit f518943284.

Revert "gs201: Inline kernel building"

This reverts commit af5951eef5.

Change-Id: I780cedbab50ba946633b220f6f3818be47097831
2024-02-08 00:12:58 +02:00
Devika Krishnadas
7a4af20680 Revert^3 "Use graphics allocator 2"
4217a458ba

Reverting to comply with the Allocator VTS for 24Q1, do not merge to main.

Bug: 310046460
Test: VtsHalGraphicsAllocatorAidl_TargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2470105392a2a220b2cffd9c7dd4da0693a481d6)
Merged-In: I322cdf9452a80e5da87f1808b324ac2e499fe9cd
Change-Id: I322cdf9452a80e5da87f1808b324ac2e499fe9cd
2024-01-11 22:17:08 +00:00
Michael Bestas
a94238c410 Merge tag 'android-14.0.0_r20' into staging/lineage-21_merge-android-14.0.0_r20
Android 14.0.0 release 20

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZZXyBQAKCRDorT+BmrEO
# eAvqAKCQEBK7YcuKGulZhDtox4EMWVzcSQCfYMYllTDWhXK1MfXCrAcRqvgedlc=
# =pmkj
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu Jan  4 01:47:17 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2228 signatures in the past
#      2 years.  Encrypted 4 messages in the past 24 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Hungyen Weng
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r20':
  config: Use carrier config in ROM by default

Change-Id: I70f50993a7d4821f976f45ee7df688c54cfa6d31
2024-01-06 15:00:02 +02:00
Hungyen Weng
6fa3ccb524 config: Use carrier config in ROM by default am: 8dbc173f2b am: 26e7f60254
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25616534

Change-Id: Ieb8260a470929777b3fad60cc6c66e480a9ffee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 05:45:01 +00:00
Hungyen Weng
26e7f60254 config: Use carrier config in ROM by default am: 8dbc173f2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/25616534

Change-Id: Icb4bdc42888cbd41d71387574affabc6607f4745
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 05:10:55 +00:00
Hungyen Weng
89b5f3fca3 config: Use carrier config in ROM by default
Bug: 314890118

Test: Flash ROM and confirm the carrier config follows the ROM.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8dbc173f2bf04255ce22dd1e13e888050aad36ca)
Merged-In: Id0407802e2027397ca7a409345c51273b75079e7
Change-Id: Id0407802e2027397ca7a409345c51273b75079e7
2023-12-12 05:00:28 +00:00
Hungyen Weng
8dbc173f2b config: Use carrier config in ROM by default
Bug: 314890118

Test: Flash ROM and confirm the carrier config follows the ROM.
Change-Id: Id0407802e2027397ca7a409345c51273b75079e7
2023-12-11 11:23:16 -08:00
Michael Bestas
6d49eb094d Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17
Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eCoeAKCMl4tu2uBiBg4bJRWlUY4yWJP62ACffzqUwXKRgfOiCdUcO/rAck5EXDk=
# =0jpY
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2194 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By qinyiyan (3) and others
# Via Automerger Merge Worker (142) and Android Build Coastguard Worker (61)
* tag 'android-14.0.0_r17': (51 commits)
  Run fsck to resolve possible data corruption
  Revert "gs201: Enable SkiaVk as RenderEngine backend"
  usb.rc: Advertise 360p and 480p support through UVC
  Usb.cpp: Fix typos when unable to disable USB data
  [SELinux] Add gyotaku_app doamin to Pixel 2022.
  UsbGadget: Update SDP enum timeout when gadget is pulled up
  usb: Modify sdp enumeration timeout value in charger mode
  init.gs201.rc: Disable util-awareness
  Disable variable refresh rate when typing on gs201
  gs201: ffu: add lifeC and activated date as condition
  wifi: Update p2p overlay config
  gs201: update media_codecs_performance_c2.xml based on UQ1A.230911.001
  gs201: tweak memory management
  Grant default permissions to PCS for camera connectivity
  Revert "Enable small dirty detection for variable refresh rate"
  Enable small dirty detection for variable refresh rate
  Support variable refresh rate when typing on gs201
  Set USF SoC from board makefile.
  Enable dimming in gamma space in screenshots for adaptive mode
  suspend: enable adaptive suspend
  ...

 Conflicts:
	BoardConfig-common.mk
	device.mk

Change-Id: Ib822c3f6b53087a800eb32a537cd764c1abf0e63
2023-12-10 16:27:06 +02:00
Jason Chiu
a509a4b067 gs201: use android.hardware.boot aidl interface
Bug: 314215524
Change-Id: Id6e4083674e8e42572952ea516eae244d4d5e8e7
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-06 02:39:05 +00:00
Jason Chiu
ca538bb2b4 gs201: include bootctrl_hidl_1.2.mk from gs-common
Bug: 265063384
Change-Id: I2e00ddafe970dcda873da691bd64908f5ef1c0f9
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 02:30:54 +00:00
Jason Chiu
2baf1d63eb gs201: move bootctrl service declaration to gs-common
Bug: 265063384
Change-Id: If265211d9b433eef789d0d68df1cae7cc369cfa1
2023-12-05 02:30:54 +00:00
Devika Krishnadas
4217a458ba Revert^2 "Use graphics allocator 2"
d2adab192e
Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest

Change-Id: I8e43a268441416af28631777f560352bc56b2773
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-08 23:21:06 +00:00
Michael Bestas
af5951eef5 gs201: Inline kernel building
Change-Id: I5cdfc16b5537541b0eb930d7dc02860994d89619
2023-10-29 23:23:11 +02:00
Neel Chauhan
cdff2a709f Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
cheetah/panther.

This reverts commit 2bfa6d3ba01856d99c6ffdb64627c6e9391c4a41.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2023-10-29 23:23:10 +02:00
LuK1337
6345542a06 gs201: add 'tablet' to product characteristics when needed
Change-Id: I20105565a1b313fe6ff8499b49d3691f776f9267
2023-10-29 23:23:10 +02:00
LuK1337
437b2a63af gs201: don't explicitly build messaging
It's included via aosp_base_telephony.mk.

Change-Id: Ic260cc12fb63cf804fab1f842fad7d68b622785d
2023-10-29 23:23:10 +02:00
Michael Bestas
adce9b34d8 gs201: exclude telephony components if BOARD_WITHOUT_RADIO
Change-Id: I0298d04c1ca814417aef275d3f6a144101d2f7a6
2023-10-29 23:23:10 +02:00
Ethan Chen
7e2cd8f092 Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2023-10-18 16:51:58 +03:00
Bruno BELANYI
131a635fe9 Enable HDR shader priming in SurfaceFlinger
Bug: 295257834
Test: manual - check that HDR shaders are generated after applying
Change-Id: Icf67e64500aa8982dae0cf4a5540389da62cbf26
2023-10-18 12:44:02 +00:00
Chirayu Desai
a9e08f01d3 Allow building vendor image
* We don't have access to these files, but we still want to
  build vendor images without errors

Change-Id: I4c09f7134b218b5fc10d180a6ef05015cad54f5d
2023-10-12 16:26:25 +03:00
mydongistiny
376bea3228 Use Google's wifi_ext service
* Use vendor.google.wifi_ext@1.0-service
  that is in the vendor partition instead
  of the AOSP WiFi service.

Change-Id: Ia0fff6ffc532cc6b5e41f8ac242d00e64627cee8
2023-10-12 16:25:50 +03:00
Minchan Kim
66608337b7 gs201: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: I0a37a3bb9470884c0522bc471704031ccaba4247
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 20:44:43 -07:00
Snehal
076b774f9e Add trusty code coverage controller daemon
Bug: 289523068

Change-Id: Ia385a7d4173f72cfefcd69c61455ea89b6d1e879
2023-09-29 09:13:25 +00:00
Ian Elliott
fc6c1c9837 Revert "gs201: Enable SkiaVk as RenderEngine backend" am: ac76fcf025 am: 8aa21312f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24864821

Change-Id: I829c2f4e38b69a33ffab2fe3644f77c88e8334bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 19:16:08 +00:00
Ian Elliott
8aa21312f5 Revert "gs201: Enable SkiaVk as RenderEngine backend" am: ac76fcf025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24864821

Change-Id: I75ee999893328ad08b0921fdb6d1194995092913
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 18:19:03 +00:00
Ian Elliott
ac76fcf025 Revert "gs201: Enable SkiaVk as RenderEngine backend"
This reverts commit db1a72ccdb.

Reason for revert: Increased jank reported, especially on the Pixel tablet

Bug: 301846142
Bug: 298975477
Change-Id: I81726fdd164b48dc72756e35e4dadd755909cb91
2023-09-26 17:41:07 +00:00
Klines Jiang
b334db6588 [SELinux] Add gyotaku_app doamin to Pixel 2022. am: 45b53c05d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24741373

Change-Id: I28655c5758c84b002de6d5bc5dc5fe0d69322bc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 05:14:22 +00:00
Klines Jiang
45b53c05d0 [SELinux] Add gyotaku_app doamin to Pixel 2022.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I39a8aea20281f83f90657306b8de0233054cb60a
Merged-In: I39a8aea20281f83f90657306b8de0233054cb60a
2023-09-20 18:03:39 +00:00
Woody Lin
89b9a50820 init.debug.rc: enable etm/etm2dram when SJTAG is unlocked
Enables the debug features required an unlocked SJTAG to the section
`on property:ro.vendor.sjtag_ap_is_unlocked=true`, so they can be
enabled when 1. PD is available on non-fused device on boot, or 2. PD is
available after betterbug acquires it from the corp service.

Bug: 298314432
Change-Id: Ie834b587c130d749a33a87801113df03d5b3d29a
2023-09-13 04:10:09 +00:00
Martin Liu
ddcc5d1185 gs201: tweak memory management am: f7a71debb7 am: 022af82011
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24728928

Change-Id: I5f9cd6611a16aed49a479fe7d4e889b4e531dd35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 22:03:25 +00:00
Martin Liu
022af82011 gs201: tweak memory management am: f7a71debb7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24728928

Change-Id: I5e7bdeb8fadb47abe42428e48ede8b098df2cd77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 21:12:20 +00:00
Martin Liu
f7a71debb7 gs201: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

This tweak also aligns the policy with P23.

Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Klines Jiang
d5151d65db [SELinux] Add gyotaku_app doamin to Pixel 2022.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I39a8aea20281f83f90657306b8de0233054cb60a
2023-09-08 07:15:04 +00:00
Jorim Jaggi
717a64df0f Revert "Enable small dirty detection for variable refresh rate" am: 679cf27ac4 am: 67027aeb51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24679217

Change-Id: Ifafab858cfbaf8434848ba7fda91720c95df8090
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 20:32:47 +00:00
Jorim Jaggi
67027aeb51 Revert "Enable small dirty detection for variable refresh rate" am: 679cf27ac4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24679217

Change-Id: I5548f73c125566bc583d5cf26522b6fa286a2f98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 19:43:44 +00:00
Jorim Jaggi
679cf27ac4 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I1d21a42726ba36f7f21a56bbc28c40befa7a5270
2023-09-07 17:48:31 +00:00
Arthur Hung
4876fe6fca Enable small dirty detection for variable refresh rate am: 7b31924b74 am: 7ddb21de73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24409478

Change-Id: I25971c12405a445adebd2d575f2fe44aed0c1982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 07:08:07 +00:00
Arthur Hung
7ddb21de73 Enable small dirty detection for variable refresh rate am: 7b31924b74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24409478

Change-Id: Id562c418d3889a1447cf947929ba33c696d040ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 06:14:02 +00:00
Arthur Hung
7b31924b74 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:22:06 +00:00
Krzysztof Kosiński
981f4ad5c5 Set USF SoC from board makefile. am: 9f82f3b251 am: 61e7a0b9ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24546433

Change-Id: I1769106222f7ec2a55f5737e88e07e8bf2dd67e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 23:17:41 +00:00
Krzysztof Kosiński
61e7a0b9ce Set USF SoC from board makefile. am: 9f82f3b251
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24546433

Change-Id: Ib76f69ab1720c909601b470e10ba577a455ac3c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 22:32:20 +00:00
Krzysztof Kosiński
9f82f3b251 Set USF SoC from board makefile.
Bug: 296943650
Test: presubmit
Change-Id: I020eec4f355b4977ff1194a7f146f814874aeb55
2023-08-25 02:52:20 +00:00
Alec Mouri
4242f509ee Enable dimming in gamma space in screenshots for adaptive mode am: 11e675bb97
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24486018

Change-Id: I61830eb21827132d8bca06b557f7fdccad2a1c1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 20:31:44 +00:00
joonhunshin
9c4a788de9 Removing TestRcsApp userdebug application from the system image.
RCS has a low priority and will not be used in the future, remove it from the system image.

Bug: 295403727
Test: Make sure the TestRcsApp is removed from the system image.
Change-Id: I5b8d35e4386182bd78974a358351d1861d238223
2023-08-21 00:52:37 +00:00
Alec Mouri
11e675bb97 Enable dimming in gamma space in screenshots for adaptive mode
This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33171da4fbae416c9243dc6d036988418dd4f4fd)
Merged-In: I30cc2373acc089bac066c731bdd48632a7a79da3
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
2023-08-18 20:48:23 +00:00
Alec Mouri
33171da4fb Enable dimming in gamma space in screenshots for adaptive mode
This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
2023-08-18 20:45:31 +00:00
Kelly Rossmoyer
d63536c89c suspend: enable adaptive suspend am: 6ea9de413c am: 96c08c119d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24247260

Change-Id: I8804e0e918e8a30c5206b895f87705d9b14cadfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 00:46:14 +00:00
Kelly Rossmoyer
96c08c119d suspend: enable adaptive suspend am: 6ea9de413c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24247260

Change-Id: Ib8d6ea67e1f2b89aef9550d4c9f1a6dd2eccc9e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 00:03:45 +00:00
Kelly Rossmoyer
6ea9de413c suspend: enable adaptive suspend
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s.  This is the same configuration that
was deployed on the previous generation of devices.

The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.

Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior

Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
2023-08-16 23:17:16 +00:00