Commit Graph

599 Commits

Author SHA1 Message Date
Michael Bestas
29d946776c Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
# eL2HAJ9GJqXQ084waJriZMG+pKW+8L7hAgCeLGKh/diCM8fFbNP6nFkjxriBLTQ=
# =zXv6
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:17 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Herbert Xue (3) and others
# Via Android Build Coastguard Worker (32) and others
* tag 'android-15.0.0_r20': (36 commits)
  Enable WIFI_FEATURE_HOSTAPD_11AX
  dump_power: add battery caretaker dump into bugreport
  [Pixel VPN] Apply reviewed default permissions
  update health HAL dependency
  Add sched qos support
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
  Clean up unnecessary data_connection_5g_plus overlay
  init: gs201: move sched rate limit to late init
  Add soong config use_google_qns to device/google/gs201/device.mk
  Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
  init: make pmu_poll_enable node readable
  Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
  Update ldaf sensor device filename
  dump_power: gs201: correct dump path
  Move video_codec soong config variables into board config
  Use full namespace path for BOARD_WPA_SUPPLICANT_PRIVATE_LIB
  dumpstate: gs201: fix dump path
  Revert "Add IGoodixFingerprintDaemon aidl interface"
  Add IGoodixFingerprintDaemon aidl interface
  ...

Change-Id: I10f7876808a08741e1f15c8182f82ce6fb8af513
2025-03-09 11:05:56 +02:00
Michael Bestas
9b043a3e94 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eO5/AJ9rMGAZO6hpWnAQeLFKjKwpbj1qiACfVRU7e0KtnSmXfn00k3wEc2acjpo=
# =pIC7
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 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 2483 signatures in the past
#      3 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 Krzysztof Kosiński (3) and others
# Via Android Build Coastguard Worker (29) and others
* tag 'android-15.0.0_r6': (30 commits)
  Delete TARGET_CPU_VARIANT_RUNTIME.
  Add input event profile to mitigate input latency of input threads
  gs201: avoid vector<const T>
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  bcl: remove charging debugfs data logging
  Switch from the BFQ to the mq-deadline I/O scheduler
  extended_log: update directory permissions for gs201
  Revert "Add soong config use_google_qns in device/google/gs201/d..."
  Add soong config use_google_qns in device/google/gs201/device.mk
  Delete mapper4 manifest
  usb: correct sys.usb.controller sysprop
  The "messaging" package is being removed.
  Migrate dump_power_gs201.sh contents into cpp for improved speed
  Remove BCL from thermal
  Add FSTAB_OWNERS and update OWNERS to include Android.bp
  Limit hub tuning when enable_hub is enabled
  init: gs201: Mask VDROOP1 for GPU CLK Divider
  Upgrade IDisplay to V13
  BoardConfig-common.mk: Enable Lazy RCU
  Add soong config variable for PowerAnomalySitril
  ...

 Conflicts:
	device.mk
	dumpstate/dump_power_gs201.sh

Change-Id: I2b565f07529d250f57286faaba3bb694c0551222
2024-12-11 03:54:17 +02:00
kellyhung
f5e3505bc9 Add soong config use_google_qns to device/google/gs201/device.mk
Bug: 360757079
Test: lunch cheetah-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix
Change-Id: I114d13b8e610a289b3c2df60630a14241c93eb28
2024-11-27 02:04:28 +00:00
Ethan Chen
c6b2f7fb80 Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:14:20 +03:00
Neel Chauhan
aaf6b69dd2 Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
cheetah/panther.

This reverts commit 2bfa6d3ba01856d99c6ffdb64627c6e9391c4a41.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 05:14:19 +03:00
Jim Tang
617251a80a Relocate modem_svc_sit to proper places
Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Ib47ac55c504eafd32340e66a7286be48f2ea7b48
2024-10-07 08:45:10 +00:00
LuK1337
d001117f2d gs201: add 'tablet' to product characteristics when needed
Change-Id: I20105565a1b313fe6ff8499b49d3691f776f9267
2024-10-06 22:15:20 +03:00
LuK1337
9c99765f12 gs201: don't explicitly build messaging
It's included via aosp_base_telephony.mk.

Change-Id: Ic260cc12fb63cf804fab1f842fad7d68b622785d
2024-10-06 22:15:20 +03:00
Michael Bestas
bf3b0099b1 gs201: exclude telephony components if BOARD_WITHOUT_RADIO
Change-Id: I0298d04c1ca814417aef275d3f6a144101d2f7a6
2024-10-06 22:15:19 +03:00
Michael Bestas
6568956564 Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-10-06 22:15:19 +03:00
Brian Norris
3ab1329966 gs201: Copy insmod configs from kernel to vendor_dlkm
We're going to transition to using the kernel copy, not the HLOS copy.

Bug: 369686096
Test: build, flash, check /vendor_dlkm/etc/ (may or may not exist,
      depending on kernel contents)
Flag: build.RELEASE_KERNEL_CHEETAH_DIR
Flag: build.RELEASE_KERNEL_FELIX_DIR
Flag: build.RELEASE_KERNEL_LYNX_DIR
Flag: build.RELEASE_KERNEL_PANTHER_DIR
Flag: build.RELEASE_KERNEL_TANGORPRO_DIR
Change-Id: I4c4350b8f77017902b75c8c077fcefbff6012d83
2024-10-04 18:37:23 +00:00
mydongistiny
f09cb17b35 gs201: 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
2024-10-02 08:56:44 +03:00
Nishant Panwar
169b08ddfc Set dexpreopt and dexopt filter for SystemUI
Bug: 271887637
Test: Built and flashed on local device
Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE
Change-Id: I49900d45a60f9f4b3bc15a4027751be30f63e272
2024-09-30 04:40:41 +00:00
Zhengyuan Cui
991aeb89c6 Change any use case of folder name apis to tachyon_apis to avoid api review
Bug: 364390678

Change-Id: I1e8b92c694a0f5991c51a7ade623d5066a29eccf
Flag: EXEMPT refactor
2024-09-26 21:00:49 +00:00
Ocean Chen
a664dadaa8 Switch from the BFQ to the mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel.

Bug: 186902601
Test: forrest build

Change-Id: I5d336b3f146ca673c83c03304773d0ccf4c01e77
Signed-off-by: Ocean Chen <oceanchen@google.com>
2024-09-05 06:37:21 +00:00
Charlie Yang
fcc8f3875f Revert "Add soong config use_google_qns in device/google/gs201/d..."
Revert submission 28947244-grilservice

Reason for revert: b/363911795

Reverted changes: /q/submissionid:28947244-grilservice

Change-Id: I81e58d0f1190a592f388ab1031275e6f2656217b
2024-09-04 11:03:21 +00:00
kellyhung
646cc8fdcf Add soong config use_google_qns in device/google/gs201/device.mk
Bug: 360757079
Test: lunch r11-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix

Change-Id: Ia10d6d73f7349b6a5de5046236c8498f54962036
2024-08-30 07:22:52 +00:00
Elliott Hughes
6afa4bc6d1 The "messaging" package is being removed. am: 69bd3c07ab am: 053f552fae
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3241482

Change-Id: I4ef97d4b9a979aa5e242f34d7bf4b459c0b730b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 16:15:47 +00:00
Elliott Hughes
053f552fae The "messaging" package is being removed. am: 69bd3c07ab
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3241482

Change-Id: Iab4c5f6f9b720ae5147025644b22766e2291fe7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 15:39:41 +00:00
Elliott Hughes
69bd3c07ab The "messaging" package is being removed.
Change-Id: Ibbd134ec0f695ac9fbdb2831e81a6502729c96db
2024-08-26 16:03:18 +00:00
samou
11938381ec Migrate dump_power_gs201.sh contents into cpp for improved speed
Flag: EXEMPT refactor
Bug: 349935208
Test: ./dump_power
Change-Id: I7799487b0f88cf59cb46f050d87528d535f7e788
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
Herbert Xue
01383d9603 Add soong config variable for PowerAnomalySitril
Set the variable is true when USE_LASSEN_OEMHOOK is true and
BOARD_WITHOUT_RADIO is not true.

Flag: EXEMPT bugfix
Bug: 325857852
Test: m ConnectivityMonitor
Change-Id: I10d1b9b198db960d1d6af0a69044907c8043c4e6
2024-07-26 02:57:15 +00:00
Jerry Huang
338008193e gs201: video: change to use c2 "default" AIDL service
Bug: 322920559
Change-Id: Ia2e6cac052bc0ee417e179f61804eada9ae87bf5
2024-07-18 07:08:49 +00:00
Jörg Wagner
9bbd539930 Increase the max core index for protected TLS allocations to 4
Pixel has removed unnecessary allocation padding, and we now pass
dEQP with a maximum physical core index setting of 4, which allows
the driver to utilize 4 GPU cores (1111b) in the extreme tests.

Bug: 221255664
Test: L10 atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: Iee15ed0d929f648ad45f7d5fe708e8cb14296e6f
2024-07-11 12:07:49 +00:00
Jeremy Kemp
7136214409 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: Ied865d4149569b90b400b876ab29441ea2d09c06
2024-07-09 10:51:38 +00:00
Mike McTernan
32b03d0ac3 APC/TUI: remove support for APC
Flag: EXEMPT build file change
Bug: 351151445
Test: m && test on device
Change-Id: Id777192d0aff8847b28aede2e95413de6a17b3af
2024-07-04 14:55:31 +00:00
David Drysdale
76de5fed8d Reapply "Enable Secretkeeper HAL service on gs201"
(This reverts commit 9922a0fc12, ag/26704327.)

This requires that prebuilts on `main` have been updated to include the
April updates to the Secretkeeper TA (which includes fixes needed to
cope with larger and more realistic DICE chains).  Relevant devices:
- pantah
- felix
- lynx
- tangorpro

Bug: 291228655
Bug: 306364873
Bug: 341708664
Test: VtsSecretkeeperTargetTest on cheetah
Flag: build.RELEASE_AVF_ENABLE_LLPVM_CHANGES
Change-Id: I251a14221915fa8b2aaf3f1611c8c9f698596552
2024-06-12 11:28:57 +00:00
chenkris
c3eec0f7de gs201: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I988649841bf915b9af12a1b628930dc0ee80f186
2024-06-12 04:39:27 +00:00
Xin Li
d85477e3f3 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: Ib57dbaf32c2198e755e123cd894514bce5fb212e
Change-Id: I16dcd1267407af7e9f899de1cb665e0ad7c25a47
2024-06-06 20:51:05 +00:00
Jim Tang
cdb406e1b6 Make SUPPORT_MULTI_SIM recognizable in bp am: 10cd38d16e am: acfcabc8e9
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3115563

Change-Id: I675023e60a3b8e343f27fdb82f56caa872183416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00
Jim Tang
acfcabc8e9 Make SUPPORT_MULTI_SIM recognizable in bp am: 10cd38d16e
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3115563

Change-Id: Iad9f16ed55040555187d8d05039b615a72b8add7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:16:02 +00:00
Jim Tang
10cd38d16e Make SUPPORT_MULTI_SIM recognizable in bp
This commit establishes a soong config variable `sim_count` for
easier converting Android.mk to Android.bp when dealing with multiple
SIMs.

Bug: 343823190
Test: presubmit
Change-Id: Idbd52236b95e8d69516226a71a848d591f181d94
2024-06-06 15:00:28 +08:00
Jörg Wagner
23691f7a02 Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: I68aa5d2ee438739c80f2e7b3e54ad96f435d515a
2024-05-14 08:55:03 +00:00
Xin Li
64fedf02c7 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I065f8e844d13d1d6d36c36ef689ff6c34b3e3fa6
Change-Id: I3e04f83e98e907febe6820c0a1f5abd18a3bd91a
2024-05-06 12:09:15 -07:00
SaiChand Duppala
a7a56a898e Disable dumpstate strict-run flag in gs201
The change disables the dumpstate strict-run flag in gs201 devices, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 330400782

Test: Booted a gs201 device with the change. Then manually thermal throttled the device and captured bugreports. In some tests Incident report took a lot more more than 20s, and in all these cases it was succesfully captured.
Change-Id: I177bd4aebc550ade855a8abf46ce261eea94d352
2024-04-29 23:09:07 +00:00
Herbert Xue
fb954bbaab Update USES_LASSEN_MODEM soong config settings for aosp projects. am: 6cef6b07d1 am: c30b81b447
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3038856

Change-Id: Ice4ba90f3b9e5fd722e53d53c01f5c04b084143c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:59:33 +00:00
Herbert Xue
6cef6b07d1 Update USES_LASSEN_MODEM soong config settings for aosp projects.
Add the flag "use_lassen_modem" for bp to do the same checking like
"USES_LASSEN_MODEM" in mk.

Bug: 330654744
Test: 1. lunch aosp_cheetah-trunk_staging-userdebug
      2. m RilConfigService
Change-Id: Icb99b639837237b2afeea858de14669d583bf385
2024-04-29 16:23:22 +08:00
Sungtak Lee
396792798c Reapply "Enable AIDL media.c2"
This reverts commit 9517110d28.

Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: If295d690134a6fb28bb865d9f7659343ef2ec50b
2024-04-23 08:36:13 +00:00
Priyanka Advani
9517110d28 Revert "Enable AIDL media.c2"
Revert submission 26384060-c2aidl-pixel-enable

Reason for revert: Culprit for b/335892284. Will be verifying through ABTD for confirmation and before submitting the revert.

Reverted changes: /q/submissionid:26384060-c2aidl-pixel-enable

Change-Id: I4acee85037309e699e82c8f378b72381be7de316
2024-04-19 20:44:25 +00:00
Wonsik Kim
9b76510c86 Enable AIDL media.c2
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: If3cd57d4ac1e04503015e7c8dd6b69ab3c9163b5
2024-04-19 19:09:49 +00:00
Shashwat Razdan
355b8bd76d Revert "Adding android.software.contextualsearch to gs-201 devices."
Revert submission 26467635-feature_cs

Reason for revert: b/329350496 - Introducing new config with `android.*` namespace is not allowed in 24Q2.

Reverted changes: /q/submissionid:26467635-feature_cs

Change-Id: I36c1408c09a3fa73e2958216e996a8d1e0d94487
2024-04-17 22:44:00 +00:00
Hongyang Jiao
b4ab2815a5 Add betterbug.mk to gs201 am: 5e7a737f11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26987117

Change-Id: I8bc00ab617bfbaf22970e47de1d18ab3458d8eff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:56 +00:00
Daniel Chapin
da826a8393 Revert "Add betterbug mk to gs201" am: 1bd83d8170
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26631204

Change-Id: Id4d8722efeb9a9bf7ae7be0746eb59553b7f4606
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:08:41 +00:00
Hongyang Jiao
5e7a737f11 Add betterbug.mk to gs201
Test: manual test
Bug: 322543833
Change-Id: Ie1b8157c8687bc4ec9bb00feb47cbcc130d59ee0
2024-04-16 22:57:07 +00:00
Daniel Chapin
1bd83d8170 Revert "Add betterbug mk to gs201"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: 327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f5c12abada31befa0d9f869bf6628d06ee05aa4)
Merged-In: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
Change-Id: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-16 22:47:39 +00:00
Enzo Liao
1ae8911a2b Apply common SELinux policies related to ramdumps and coredumps to gs201.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Change-Id: If0f1f42dfe074bdc211e538f0aa4eb7e7494abe0
2024-04-11 02:03:11 +00:00
Dinesh Yadav
cf16a40663 TPU Janeiro Tachyon Migration
This change includes tachyon targets for edgetpu in the final image

TESTED:
Create a private build with this change and verified that the tachyon targets were present after flashing on a local device.

Bug: 307591410
Change-Id: Id584ee4ad626e28b7093e6df9a14c3e19dbe51ea
2024-04-08 16:11:19 +00:00
Herbert Xue
6008aad40e Update SOONG_NAMESPACES to include power-anomaly-sitril folder
Bug: 326175117
Test: 1. lunch lynx-trunk_staging-userdebug
      2. m PowerAnomalySitril
Change-Id: I97eb94f85ae2ab164fe0fc6b9d3429ebca5b0db5
2024-03-28 04:59:25 +00:00
David Drysdale
9922a0fc12 Revert "Enable Secretkeeper HAL service on gs201"
This reverts commit a929e8bc02.

Reason for revert: disable until gs201/main prebuilts get updated

The gs201/main prebuilts are a couple of weeks old, which means that some heap size fixes for the Secretkeeper TA are not present for these devices.

This in turn blocks:
- aosp/2997056: re-enable SK in pVMs
- aosp/3000947: add large DICE chain VTS tests

So revert for now, so we can submit those two CLs and have Secretkeeper test coverage happening on shusky.  

Then when gs201/main prebuilts are updated to something more recent (i.e. that includes aosp/3005090), we can re-enable the HAL service.

Bug: 291228655
Bug: 306364873
Change-Id: I543310092ad6430a2dee30ae0b950fadbe869e15
2024-03-25 16:39:53 +00:00
David Drysdale
a929e8bc02 Enable Secretkeeper HAL service on gs201
The prebuilts on `main` have been updated to include:
- the Secretkeeper TA in Trusty (in ab/11346410)
- the ABL changes to retrieve the Secretkeeper identity pub key.

for the relevant devices:
- pantah (http://ag/26396674 to Trusty ab/11498491)
- felix (http://ag/26385511 to Trusty ab/11498491)
- lynx (http://ag/26395689 to Trusty ab/11498491)
- tangorpro (http://ag/26396492 to Trusty ab/11498491)

So enable the corresponding HAL service for Secretkeeper when the
relevant build flag is enabled.

Bug: 291228655
Bug: 306364873
Test: VtsSecretkeeperTargetTest on cheetah
Change-Id: I42804579ab4ff5a8ac0edd48fead8631f580dc37
2024-03-22 14:22:46 +00:00