997 Commits
udc ... bka

Author SHA1 Message Date
3e8c356403 zuma: Initialize for Evolution X 11.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-26 04:50:59 +00:00
Michael Bestas
31b692924b zuma: Drop kernel copy
We are using prebuilt boot.img. If we weren't using it, we would be
using the vendor/lineage kernel.mk rules to copy the kernel.

Change-Id: Ib8ab9416b96900f008dbce9d9f41f298a1b05f30
2025-08-28 16:27:04 +03:00
Michael Bestas
27f9e5bfcf zuma: Bump SPL to 2025-08-05
Change-Id: I079629bc2b5bb728dac7fdab902ce53ffa336810
2025-08-13 03:38:10 +00:00
LuK1337
e8fafa6d78 zuma: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-08-12 22:37:10 +03:00
Michael Bestas
c52906adfc zuma: Remove dependency to gs101
Change-Id: Ib7613419cbfd0afa51b46fe6c7466b376c419884
2025-06-26 10:20:22 +03:00
Michael Bestas
962b8b904d zuma: sepolicy: Remove duplicate service label
This is defined in gs-common

Change-Id: Ib90caea46da6cc9e191efe8f04b783bba9e2691a
2025-06-26 07:32:33 +03:00
Michael Bestas
8f3b0963c5 zuma: sepolicy: Label missing display node
Change-Id: Ibadee03e8965db70b32103cdb80dc2c099d70a8a
2025-06-26 07:32:28 +03:00
Michael Bestas
d10b40cb68 zuma: sepolicy: Update tracking denials bug map from BP2A
Change-Id: Ibdfb2fa34bc43399f944ef73f6687d8e5051a2ef
2025-06-26 07:32:22 +03:00
Michael Bestas
975279feab zuma: Selectively update overlays from BP2A
Change-Id: Icfa723318c46e0674772b7138e2e83b387908a29
2025-06-26 07:32:06 +03:00
Michael Bestas
d80a00d61c zuma: Remove HIDL audio configuration
Change-Id: I45e4f8521c352fe05b247040be9001b2e0e1ae93
2025-06-26 07:31:13 +03:00
Michael Bestas
3007a1e33c zuma: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 07:31:06 +03:00
Michael Bestas
18f01e13da zuma: Remove factory configuration
Change-Id: Ib46639b684db8f0bbd42be9ffd518e62277d63f0
2025-06-26 07:30:40 +03:00
Michael Bestas
d03af2c9ae zuma: Include missing NFC sepolicy
Change-Id: Ic93f74e25694f19cfc23a86203c17e6f1d9be0ea
2025-06-26 07:30:33 +03:00
Michael Bestas
906dc11bde zuma: Move wfc-pkt-router to gs-common
Change-Id: I922b28e1bd8dc0baece89428c0032eabde5c13dc
2025-06-26 07:30:27 +03:00
Michael Bestas
2d7985d0a4 zuma: Remove unused fingerprint configuration
Change-Id: Ifd79557c81280f9e93076bc1e6824c650ea12ed7
2025-06-26 07:30:22 +03:00
Michael Bestas
09df7bcbf1 zuma: Remove userdebug/eng configuration
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-26 07:30:11 +03:00
Michael Bestas
1b8387e7e9 zuma: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 07:27:55 +03:00
Michael Bestas
6c297354b7 zuma: Remove CleanSpec.mk
Change-Id: I6af355cfbfd5fc388ca25cd25cea9df9e74c41c3
2025-06-26 07:27:46 +03:00
Michael Bestas
0c8c72084f zuma: Bump SPL to 2025-06-05
Change-Id: I8d3f5a9479d0fddd6fa79baa3e573f00ad125e9c
2025-06-26 07:27:30 +03:00
Michael Bestas
ab5177957a zuma: Update task_profiles.json from BP2A
Change-Id: I5303433e19e6e53afc0635d9a00b7467e00391cd
2025-06-26 07:27:09 +03:00
Michael Bestas
2c50db1300 zuma: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
2025-06-26 07:27:03 +03:00
Michael Bestas
6fbf59f267 zuma: Update properties from BP2A
Change-Id: I3a1fd777883e84a91f151c403b72acc6048e8715
2025-06-26 07:26:58 +03:00
Michael Bestas
20a727d3f3 zuma: Update FCM for 16
Change-Id: If85ec83e37e9d983903aed4c6f809664fd2b293e
2025-06-26 07:26:51 +03:00
Michael Bestas
5bcaf47360 zuma: Remove pixelstats-vendor
This does not build with the current hardware/google/pixel dependencies
so make it prebuilt.

Change-Id: Ifcbf49fb482164bd72ad0e1f05fa2d48ca2fbc98
2025-06-26 07:26:44 +03:00
Michael Bestas
b214980bfe Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eFyZAJ9IQBDv9E9ZB7Ppgj2kGj+Z8a8iZQCbBRcFG3AkrkG3vXd5rPxiL3uBGMs=
# =k2kR
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Nina Chen (5) and others
# Via Android Build Coastguard Worker (9) and others
* tag 'aml_tz6_351400020':
  Update SELinux error
  Consolidate SELinux for faceauth_rawimage
  RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
  Update SELinux error
  Update SELinux error
  zuma: update selinux to allow UMI on user build
  Remove sced sepolicy rule
  Update SELinux error
  Update SELinux error.
  Restrict ioctl access for appdomain to gpu_device
  Revert "Remove hal_camera_default aconfig_storage_metadata_file ..."
  Remove hal_camera_default aconfig_storage_metadata_file from bug map
  Update SELinux error
  zuma: Add selinux permission for fth

Change-Id: I4608f407b5123cae5d545e41ce717e9efe0ea7d5
2025-06-23 05:17:12 +03:00
Michael Bestas
38f8a3ecfc Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eEkiAJ4n504VudGhEfiOG7u5hXsLy3by4ACeI21Lq6nN0shbpUr8Q2v2tKRYA+Y=
# =ArGI
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Vilas Bhat (5) and others
# Via Android (Google) Code Review (28) and others
* tag 'aml_tz6_351400020': (34 commits)
  Use 2025-03-01 deqp level for GLES
  init.zuma.rc: Keep down_rate_limit_us set high on late-init
  zuma: adjust performance point of hevc decoder
  Use 2025-03-01 deqp levels for Vulkan
  [AAPM] Enable MTE support for DevicePolicyManager for zuma
  Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
  init.zuma.rc: Delete governor setup
  Use 2025-03-01 deqp levels for GLES and Vulkan
  move common init perf settings to gs_common
  usb: migrate UsbDataSessionMonitor to libpixelusb
  16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode
  16kb: zuma: Filter out unnecessary modules from 16k mode
  Move the check of 16k folder to BoardConfig-common.mk
  Revert "move common init perf settings to gs_common"
  16KB: Move CopyEfsTest to device/google/gs-common
  Revert "Revert "16KB: zuma: Move copy_efs_file_to_data script to..."
  Revert "16KB: zuma: Move copy_efs_file_to_data script to gs-common"
  16KB: zuma: Move copy_efs_file_to_data script to gs-common
  zuma: remove display_colordata for external display
  audio: fix headtracking permission for spatializer offload playback
  ...

Change-Id: I167ed62c655d898ff6bb5186f2329adebdf8a858
2025-06-23 05:16:48 +03:00
Chirayu Desai
5c49ec3043 Freeze SPL to 2025-05-05
Change-Id: I3dfa3c342582d14c1b5b89061c8a58a72dc6cbcd
2025-06-03 22:53:53 +03:00
Bruno Martins
0761e205fc zuma: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-05-06 09:54:34 +03:00
Oliver Scott
e260079088 Implement charge limit mode
Change-Id: I61d317756ae1b985a47c23c9611396428a39045b
2025-03-31 11:58:46 +00:00
Michael Bestas
8f531bba37 zuma: Include Pixel experiments
Change-Id: I6de3de0362d9b2b0e22666b7da0b3fc85c4b4fac
2025-03-09 12:21:42 +02:00
Michael Bestas
96ab4760bf 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+BmrEOeAUCZ8eo8AAKCRDorT+BmrEO
# eLroAJ94pkmmmE74kzjaEMl/1OJ/gyAKoACeMGsnkHJ+xV6knev75ebZMPJcJjY=
# =NHri
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:20 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Nina Chen (10) and others
# Via Android Build Coastguard Worker (24) and others
* tag 'android-15.0.0_r20': (23 commits)
  Update SELinux error
  modem_svc: move shared_modem_platform related sepolicy to gs-common
  Allow tachyon service to make binder calls to GCA
  Update SELinux error
  Update SELinux error
  Update SELinux error
  Add udc sysfs to udc_sysfs fs context
  Revert "modem_svc: move shared_modem_platform related sepolicy t..."
  modem_svc: move shared_modem_platform related sepolicy to gs-common
  Update SELinux error
  Update SELinux error
  Update SELinux error
  Revert^3 "Add udc sysfs to udc_sysfs fs context"
  Revert "Update SELinux error"
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  Update SELinux error
  Update SELinux error
  Allow systemui_app to set 'debug.tracing.desktop_mode_visible_tasks' system property
  Remove duplicate service entries
  Update SELinux error
  ...

 Conflicts:
	sepolicy/zuma-sepolicy.mk

Change-Id: Ic1b521b7975aacbf44e5fe4246620f6f3e34f984
2025-03-09 11:04:28 +02:00
Michael Bestas
092c467795 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+BmrEOeAUCZ8eo8AAKCRDorT+BmrEO
# eOC/AJ9s4rsd7FpAUpk4eS+rr5lZO5hc2wCghd5mHveRLTQibMeSOE3h/lksBoQ=
# =JOoB
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:20 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 (39) and others
* tag 'android-15.0.0_r20': (48 commits)
  16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode
  audio: fix headtracking permission for spatializer offload playback
  dump_power: add battery caretaker dump into bugreport
  [Pixel VPN] Apply reviewed default permissions
  modem_svc: use modem_svc_sit version sepolicy
  Add sched qos support
  update health HAL dependency
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
  Fix kasan logic
  Clean up unnecessary data_connection_5g_plus overlay
  16kb: zuma: Filter out unnecessary modules from 16k mode
  init: zuma: move sched rate limit to late init
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
  Add hardware/google/graphics/zuma/libhwc2.1 to PRODUCT_SOONG_NAMESPACES
  Allow metadata to be formatted as ext4
  Enable usb state update via udc sysfs
  Add soong config use_google_qns in zuma
  Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
  Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
  dump_power: zuma: correct dump path
  ...

Change-Id: I180526527317e61996b32ddc334cf7c8bb32c36f
2025-03-09 11:03:46 +02:00
Android Build Coastguard Worker
ceb2396a11 Snap for 13025264 from 911468b0ed to mainline-tzdata6-release
Change-Id: I91a3b6d5f31670aa87c652f415fdbfd109b1ff36
2025-02-06 14:22:27 -08:00
Android Build Coastguard Worker
26b6b370b3 Snap for 13025264 from 76b0d07956 to mainline-tzdata6-release
Change-Id: I320ee3b9404e5301cfaba17b2cb22b4c26bf05d6
2025-02-06 14:22:26 -08:00
Treehugger Robot
76b0d07956 Merge "zuma: adjust performance point of hevc decoder" into main 2025-02-04 17:20:46 -08:00
Qais Yousef
30e5b77d96 Merge "init.zuma.rc: Keep down_rate_limit_us set high on late-init" into main 2025-02-04 11:03:42 -08:00
Treehugger Robot
639e9cc673 Merge "Use 2025-03-01 deqp level for GLES" into main 2025-02-04 10:50:11 -08:00
Masha Chizhova
b76a560925 Use 2025-03-01 deqp level for GLES
Bug: 392805030
Flag: EXEMPT version updates
Test: running v2/angle-for-android/angle_deqp_git_main_presubmit_shard_00 - shard_07
https://android-build.corp.google.com/builds/abtd/run/L08100030009328742
https://android-build.corp.google.com/builds/abtd/run/L60400030009311847

Change-Id: I039019c73e24ca94c80ccfc0b511488fa3ca295e
2025-02-04 05:54:12 -08:00
Qais Yousef
1c3de8409a init.zuma.rc: Keep down_rate_limit_us set high on late-init
It helps with boot time and will be reset by powerhint.json as soon as
we are fully booted.

Bug: 393704445
Flag: EXEMPT not supported for init.rc files
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Ib121ef70f4890139c9964ebb41e6a5d8bd4e91c8
Signed-off-by: Qais Yousef <qyousef@google.com>
2025-02-04 12:50:06 +00:00
Jerry Huang
f121dfca76 zuma: adjust performance point of hevc decoder
adjust hevc decoder 352x288 peroformance point to other codec

Bug: 385249512
Test: CtsMediaDecoderTestCases android.media.decoder.cts.VideoDecoderPerfTest
Flag: EXEMPT bugfix

Change-Id: I96f7172e794d6c18e47705924fbdaa1d20302777
2025-02-04 10:24:55 +00:00
Eran Messeri
b15b4053f4 Merge "[AAPM] Enable MTE support for DevicePolicyManager for zuma" into main 2025-02-03 09:52:40 -08:00
Nina Chen
911468b0ed Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 393955151
Flag: EXEMPT bugfix
Change-Id: Ic7b9b06967a42644e9ad462deb75d4b5e9f27569
2025-02-02 19:32:03 -08:00
Treehugger Robot
ceb8fb37ad Merge "Use 2025-03-01 deqp levels for Vulkan" into main 2025-01-31 10:43:30 -08:00
Wei Wang
eaffc31cca Merge "init.zuma.rc: Delete governor setup" into main 2025-01-31 09:15:17 -08:00
Masha Chizhova
196a247014 Use 2025-03-01 deqp levels for Vulkan
Bug: 392805030
Flag: EXEMPT version updates

Test: running v2/angle-for-android/angle_deqp_git_main_presubmit_shard_00 - shard_07
https://android-build.corp.google.com/builds/abtd/run/L80300030009248380
https://android-build.corp.google.com/builds/abtd/run/L53700030009247551

Change-Id: I2e68ad25ce5e0f7abf3deb07b15764c5c058a58a
2025-01-31 08:46:22 -08:00
Eran Messeri
c9a34c68d4 [AAPM] Enable MTE support for DevicePolicyManager for zuma
Set the system property that lets the DevicePolicyManager know it can
control Memory Tagging Extension on the device.

With this property set, when the user turns on AAPM, it will turn on
MTE.

This has been enabled for zumapro, now enabling for zuma devices.

Bug: 352420507
Test: Manual
Flag: android.security.aapm_feature_memory_tagging_extension
Change-Id: I14bfdd461076a499457c5a81ed151bfaebbfb2bb
2025-01-30 23:00:17 +00:00
Priyanka Advani (xWF)
63ac282959 Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
Revert submission 31488081-deqp-2025-03-01

Reason for revert: Droidmonitor created revert due to b/393355394. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:31488081-deqp-2025-03-01

Change-Id: I606dfb4296d1eb86e4f7497b183ff262a268c8d4
2025-01-30 10:53:05 -08:00
Qais Yousef
050385884f init.zuma.rc: Delete governor setup
It is now set in the common init.rc file.

Bug: 392622882
Flag: EXEMPT not supported for init.rc files
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I3cdbd40e205d2ae9be49e97c9ef7cc32222852e9
2025-01-29 21:24:10 +00:00
Masha Chizhova
904879f5a4 Use 2025-03-01 deqp levels for GLES and Vulkan
Bug: 392805030
Flag: EXEMPT version updates

Change-Id: I732f9f1e877b51c9d1bb36c677fca1be56240ae9
2025-01-29 18:20:15 +00:00
Roy Luo
1431909327 Merge "usb: migrate UsbDataSessionMonitor to libpixelusb" into main 2025-01-28 14:54:04 -08:00
Piotr Klasa
a65ab24544 Merge "move common init perf settings to gs_common" into main 2025-01-28 03:12:08 -08:00
Vilas Bhat
8e3f985960 [automerger skipped] 16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode am: 05a6015570 am: 76223986fa -s ours
am skip reason: Merged-In I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb with SHA-1 2b06657f62 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3460393

Change-Id: Ide31074235d6a424489087c9015dd79a331399dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-24 12:37:23 -08:00
Juan Yescas
39599f0a8f [automerger skipped] 16kb: zuma: Filter out unnecessary modules from 16k mode am: b9d89057e0 am: c9d947d6e5 -s ours
am skip reason: Merged-In I237fd9cf7ca2f7972fafa08a3df65c0472e1ef03 with SHA-1 a8a6c8ff28 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3460392

Change-Id: I9abc9a34478eb9e75d395525091e9ed68a9c60b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-24 12:37:19 -08:00
Vilas Bhat
76223986fa 16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode am: 05a6015570
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3460393

Change-Id: I1cbd71a6e00e47940dbc3998c342fa3ff494aeb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-24 12:01:21 -08:00
Juan Yescas
c9d947d6e5 16kb: zuma: Filter out unnecessary modules from 16k mode am: b9d89057e0
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3460392

Change-Id: Ie2c7e067c526503d0ec6da56a3c78aa6877c8760
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-24 12:01:16 -08:00
Ilya Matyukhin
1fd52733f7 Consolidate SELinux for faceauth_rawimage
Per go/pixel-defrag, moves all related configuration from this
board-specific directory to a feature-specific directory:
  "vendor/google_devices/gs-common/proprietary/biometrics/face/" +
  "sepolicy/rawimage_heap"

Bug: 337889186
Bug: 391648492
Test: adb logcat | egrep "avc:\s+denied"
Flag: EXEMPT refactor
Change-Id: I2ee88197fe37ab276f603241520058f6ebee4a14
2025-01-23 19:18:47 +00:00
Piotr Klasa
96585a6498 move common init perf settings to gs_common
compared to ag/31352563 I did not transfer the settings for "write /sys/devices/system/cpu/cpuidle/current_governor teo", which caused the problem

Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default, verified all metrics that caused power regression in the previous commit on abtd

Bug: 335874870

Flag: EXEMPT not supported by this component yet
Change-Id: I3485325c7416fbc812eaec7da00e337840125053
2025-01-23 03:36:41 -08:00
Roy Luo
e26b52f20e usb: migrate UsbDataSessionMonitor to libpixelusb
Use the libpixelusb version of UsbDataSessionMonitor.

Bug: 388367091
Test: test on shiba
Flag: EXEMPT CP
Change-Id: I93b74fc9bb63c260e900ee5af73e66fb1559142d
2025-01-23 05:22:58 +00:00
Treehugger Robot
82ca1de8ba Merge "Move the check of 16k folder to BoardConfig-common.mk" into main 2025-01-22 20:16:09 -08:00
Android Build Coastguard Worker
3d8c05dc7e Merge cherrypicks of ['googleplex-android-review.googlesource.com/31218491'] into 25Q1-release.
Change-Id: I122db862d2b5f2a9f68974b18dc40babb6697840
2025-01-22 15:41:50 -08:00
Vilas Bhat
650bdd046c 16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode
Filtering out this module broke touchscreen functionality for Pixel 8
devices in 16 KB mode.

Bug: 388515914
Flag: EXEMPT bugfix
Test: Boot to 16KB mode using 16KB dev option and verify touchscreen
      functionality.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2b06657f62b42f81a914b59c331d017f919181fa)
Merged-In: I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb
Change-Id: I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb
2025-01-22 15:22:47 -08:00
Treehugger Robot
1cfb1e876f Merge "16KB: Move CopyEfsTest to device/google/gs-common" into main 2025-01-22 11:34:44 -08:00
Vilas Bhat
05a6015570 16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode
Filtering out this module broke touchscreen functionality for Pixel 8
devices in 16 KB mode.

Bug: 388515914
Flag: EXEMPT bugfix
Test: Built
      (i) aosp_husky-trunk_staging-userdebug
      (ii) aosp_akita-trunk_staging-userdebug
      and tested 4kb and 16kb mode.
Change-Id: I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb
Merged-In: I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb
2025-01-22 17:21:11 +00:00
Juan Yescas
b9d89057e0 16kb: zuma: Filter out unnecessary modules from 16k mode
The 16k mode does not use these modules.

Bug: 378293897
Bug: 379704287
Merged-In: I237fd9cf7ca2f7972fafa08a3df65c0472e1ef03
Change-Id: I237fd9cf7ca2f7972fafa08a3df65c0472e1ef03
Test: Built
      (i) aosp_husky-trunk_staging-userdebug
      (ii) aosp_akita-trunk_staging-userdebug
      and tested 4kb and 16kb mode.
Flag: EXEMPT bugfix
2025-01-22 17:10:09 +00:00
Nina Chen
b000f3b7b5 Move the check of 16k folder to BoardConfig-common.mk
Bug: 391282888
Flag: EXEMPT bugfix
Change-Id: I8d73365d826bc439b9b2f938afbe54cbcb48e380
2025-01-22 15:53:42 +08:00
Piotr Klasa
2f0401baf1 Merge "Revert "move common init perf settings to gs_common"" into main 2025-01-21 01:27:07 -08:00
Enzo Liao
f02227eeb1 RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
Fix it by ag/31334770 and remove the tracking bug number.

Bug: 385858590
Flag: EXEMPT bugfix
Change-Id: I29717ab8926597c5def1f3cd10a61086d3af63d3
2025-01-21 14:20:53 +08:00
Piotr Klasa
ff3222e2d3 Revert "move common init perf settings to gs_common"
Revert submission 31215196-move_common_init_perf_settings_to_gscommon

Reason for revert: Power Regression

Reverted changes: /q/submissionid:31215196-move_common_init_perf_settings_to_gscommon
Bug: 390502171
Change-Id: I1339466a8ac75666d6c0a40461d9e998e5b23f13
2025-01-20 06:52:37 -08:00
Vilas Bhat
7e848a5830 16KB: Move CopyEfsTest to device/google/gs-common
Bug: 390502355
Test: atest CopyEfsTest for Pixel 8 & 9 targets
Flag: EXEMPT bugfix
Change-Id: I59fff00454aac6e00dcec81427cd5c41efadec1d
2025-01-17 23:57:48 +00:00
Vilas Bhat
3f4f72ea35 Merge "Revert "Revert "16KB: zuma: Move copy_efs_file_to_data script to..."" into main 2025-01-17 11:04:09 -08:00
Vilas Bhat
45d085874d Revert "Revert "16KB: zuma: Move copy_efs_file_to_data script to..."
Revert submission 31345232-revert-31155502-move_copy_efs_script-IXYVMGOHBR

Reason for revert: Re-submitting with fix for breaking target

Reverted changes: /q/submissionid:31345232-revert-31155502-move_copy_efs_script-IXYVMGOHBR

Bug: 383151792
Flag: EXEMPT bugfix
Change-Id: I71d98015c530fe51f9bae2ef2907baa1d3fd657e
2025-01-16 17:09:03 -08:00
Priyanka Advani (xWF)
c0962e9f2b Merge "Revert "16KB: zuma: Move copy_efs_file_to_data script to gs-common"" into main 2025-01-16 16:59:51 -08:00
Priyanka Advani (xWF)
6c5315280f Revert "16KB: zuma: Move copy_efs_file_to_data script to gs-common"
Revert submission 31155502-move_copy_efs_script

Reason for revert: Droidmonitor created revert due to b/390502519. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:31155502-move_copy_efs_script

Change-Id: I6f7b4074a82069cc9e0b230e2ccb9379bb35c837
2025-01-16 16:50:35 -08:00
Vilas Bhat
6a640cff4b Merge "16KB: zuma: Move copy_efs_file_to_data script to gs-common" into main 2025-01-16 16:30:54 -08:00
Vilas Bhat
126ea8b775 16KB: zuma: Move copy_efs_file_to_data script to gs-common
Bug: 383151792
Flag: EXEMPT bugfix
Test: Enable16kbTest on Pixel 8 target
      Fingerprint and Phone Calls work in 16 KB mode
Change-Id: I3c4fa84887cbb46c9f171a0f0a31f4d47d5c4c6e
2025-01-16 13:46:53 -08:00
Piotr Klasa
b12377f612 Merge "move common init perf settings to gs_common" into main 2025-01-16 01:38:35 -08:00
Nina Chen
ad7475258e Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 390293495
Flag: EXEMPT bugfix
Change-Id: Iba04cf0704d2711eb92fa35eba8129e84dbf1d4f
2025-01-15 21:27:57 -08:00
Treehugger Robot
04fcf12ff5 Merge "Remove sced sepolicy rule" into main 2025-01-14 23:40:47 -08:00
Android Build Coastguard Worker
9b0364103a Merge cherrypicks of ['googleplex-android-review.googlesource.com/31237992'] into 25Q1-release.
Change-Id: I17e77492d59bcf704cff82fc7f476b61dccc52b5
2025-01-13 11:52:03 -08:00
Carter Hsu
0824da9d67 audio: fix headtracking permission for spatializer offload playback
Bug: 381405995
Test: manual

Flag: EXEMPT bugfix

Signed-off-by: Carter Hsu <carterhsu@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:26cc2347cd28ea8bf3527cfa30f86bd3b73b2805)
Merged-In: I08d52b7f4988e9cdeb38f1d0fbbbf1baa54268ed
Change-Id: I08d52b7f4988e9cdeb38f1d0fbbbf1baa54268ed
2025-01-13 11:43:31 -08:00
Xiaofan Jiang
3f8aadb455 Merge "zuma: update selinux to allow UMI on user build" into main 2025-01-10 11:37:10 -08:00
Weizhung Ding
eabec7960b Merge "zuma: remove display_colordata for external display" into main 2025-01-10 02:15:25 -08:00
Weizhung Ding
f678faaf96 zuma: remove display_colordata for external display
Bug: 376179256
Test: adaptive mode is not enabled for display 2
Flag: EXEMPT bugfix
Change-Id: I2302441ee4ccba755402bf2838425ca1ad235eac
2025-01-10 08:50:08 +00:00
Spade Lee
fdaa11b902 Merge "pixelstats: zuma: remove firmware update path" into main 2025-01-09 22:46:18 -08:00
Treehugger Robot
3bd02cc7c7 Merge "audio: fix headtracking permission for spatializer offload playback" into main 2025-01-09 22:31:10 -08:00
Carter Hsu
26cc2347cd audio: fix headtracking permission for spatializer offload playback
Bug: 381405995
Test: manual

Flag: EXEMPT bugfix

Change-Id: I08d52b7f4988e9cdeb38f1d0fbbbf1baa54268ed
Signed-off-by: Carter Hsu <carterhsu@google.com>
2025-01-09 21:37:09 -08:00
Nina Chen
5159a671f2 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Flag: EXEMPT bugfix
Bug: 388949246
Change-Id: I35755091bde97e167173375033134a78c6eb6c69
2025-01-09 19:26:00 -08:00
Xiaofan Jiang
6fb9c00880 zuma: update selinux to allow UMI on user build
Bug: 375335464

[   68.189198] type=1400 audit(1722986580.568:59): avc:  denied  { unlink } for  comm="binder:892_2" name="modem_svc_socket" dev="dm-52" ino=20239 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1
[   68.189448] type=1400 audit(1722986580.568:60): avc:  denied  { create } for  comm="binder:892_2" name="modem_svc_socket" scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1
[   68.189448] type=1400 audit(1722986580.568:60): avc:  denied  { write } for  comm="binder:892_2" name="modem_svc_socket" scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1

Flag: EXEMPT Critical modem system service
Change-Id: Id238114b40a3cb70efab1d8c88bda070b054d991
2025-01-10 03:16:04 +00:00
Spade Lee
7bd1512b8e pixelstats: zuma: remove firmware update path
Bug: 386187651
Test: local test pass
Flag: EXEMPT refactor
Change-Id: I8ea918db227992681435fa3d72a58abebc7937a2
Signed-off-by: Spade Lee <spadelee@google.com>
2025-01-09 12:15:55 -08:00
Android Build Coastguard Worker
14d45488d7 Merge cherrypicks of ['googleplex-android-review.googlesource.com/31032625'] into 25Q1-release.
Change-Id: Iba13b87e5e23552abaaecc952307cf657c3d8b03
2025-01-09 11:37:57 -08:00
Jack Wu
413efc2497 dump_power: add battery caretaker dump into bugreport
logging for AACR(+H), AAFV, AACT, AACC and AACP Version

Bug: 384737509
Test: adb bugreport
Flag: EXEMPT bugfix
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0c88c7620ae837df1078e29e48b467e7d1274072)
Merged-In: I9d36e6fcb25ee9f12b4fd2962207b1f4b592c2b3
Change-Id: I9d36e6fcb25ee9f12b4fd2962207b1f4b592c2b3
2025-01-09 11:35:27 -08:00
Piotr Klasa
4bd134b83d move common init perf settings to gs_common
Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default
Bug: 335874870
Flag: EXEMPT not supported by this component yet

Change-Id: I595d69d9fa241489e1a4b7fe407d6f74f8c62039
2025-01-09 08:58:18 -08:00
Terry Huang
6523ef55d8 Remove sced sepolicy rule
Bug: 381778782
Test: gts pass
Flag: EXEMPT bugfix

Change-Id: Ia252d9743577a0475940ff4191d337f68474989e
2025-01-09 09:11:40 +08:00
Steven Moreland
fceae7300f Merge "16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode" into main 2025-01-08 13:38:39 -08:00
Vilas Bhat
2b06657f62 16KB: zuma: Do not filter out goodix_brl_touch.ko for 16KB mode
Filtering out this module broke touchscreen functionality for Pixel 8
devices in 16 KB mode.

Bug: 388515914
Flag: EXEMPT bugfix
Test: Boot to 16KB mode using 16KB dev option and verify touchscreen
      functionality.
Change-Id: I8ba72c8eabb5522873025cf9d80aa03a53fb8cfb
2025-01-08 19:06:40 +00:00
Jiaming Liu
6c8d907660 Merge "[AE] Add system property to enable AE on Settings" into main 2025-01-08 09:20:08 -08:00
T.J. Mercier
8d8e1c7a52 Merge "Leave memcg enabled" into main 2025-01-08 08:30:16 -08:00
Rick Yiu
4043e592c8 Merge "Remove ResetUclamp profiles" into main 2025-01-06 19:16:23 -08:00
Android Build Coastguard Worker
ab95e0148e Snap for 12872597 from 417ef69506 to mainline-tzdata6-release
Change-Id: Ife96f810a815e35cda53005492cda00e3afb4696
2025-01-06 04:37:51 -08:00
Android Build Coastguard Worker
d8054dfc30 Snap for 12872597 from a1382dde25 to mainline-tzdata6-release
Change-Id: I74f6356cf8e42a4a2708fc6c289b7445e8d17112
2025-01-06 04:37:47 -08:00
Treehugger Robot
a1382dde25 Merge "Update IDisplay to V13-V14" into main 2024-12-30 14:30:51 -08:00
Hung-Yeh Lee
86e03169b4 Merge "display-dump: make display dump project-specific" into main 2024-12-29 18:31:49 -08:00
LuK1337
b95446a8d6 zuma: overlay: Provide tethering configuration
Matches PixelTetheringOverlay2021.

Change-Id: I90ef9cd9c89b1bfacf5680cb1e42bb61ad275393
2024-12-28 00:35:42 +02:00
T.J. Mercier
bc2bb6cbf9 Leave memcg enabled
This is being temporarily reverted as part of a data-collection
experiment. We expect to reapply this before the final 25Q2 TOT snap.

Bug: 384577842
Flag: NONE Beta experiment: go/android-memcgv2-exp
Change-Id: Ica5b237583f596fec8b8cb754a9ea5720f1c4ff6
2024-12-27 22:01:20 +00:00
Wilson Sung
417ef69506 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 386149375
Flag: EXEMPT update sepolicy
Change-Id: I1be4fa4b29e0e28b61c7ff1444169ab1d20fe5d5
2024-12-26 23:22:47 -08:00
Nina Chen
bdfee8a704 Update SELinux error.
Test: SELinuxUncheckedDenialBootTest
Bug: 385858590
Bug: 385858993

Bug: 385829048
Flag: EXEMPT bugfix
Change-Id: I946909b9bc1aec1728c9999d25bdccfe70443fd9
2024-12-24 19:11:28 -08:00
Chris Lu
92701b07fc Update IDisplay to V13-V14
V14 is not frozen yet. We should still allow V13 for 'next' build.

Bug: 381463038
Bug: 378407278
Test: build pass
Flag: EXEMPT bugfix
Change-Id: Ie0caca924696b90f855ef46023d53040adcde93a
2024-12-23 22:55:02 -08:00
Liz Prucka
d20b253d18 Merge "Restrict ioctl access for appdomain to gpu_device" into main 2024-12-23 09:09:24 -08:00
Rick Yiu
8221e61ddd Remove ResetUclamp profiles
Replaced with sched qos profiles.

Bug: 355612114
Flag: NONE vendor task_profiles.json does not support flag
Test: build pass
Change-Id: I91c9a45dc6fdfeb00a6d75e752f5895c03864a7e
2024-12-21 15:33:19 +00:00
Android Build Coastguard Worker
8f500f49e4 Merge cherrypicks of ['googleplex-android-review.googlesource.com/30744913'] into 25Q1-release.
Change-Id: Ifddaff1db2258b9777bbb78d6875b10e89c5ddfb
2024-12-20 14:12:59 -08:00
Daniel Lowe
a192558eb5 [Pixel VPN] Apply reviewed default permissions
Pregrantting below permissions:
READ_PHONE_STATE

Flag: EXEMPT add permission pregranted in b/337725984
Bug: 373686360
Test: presubmit, manual install on test device.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a0b5342effe86fdfa65d76a2881dd46da9f19e82)
Merged-In: If6c3dfb1a29451d7b11a3ff10ec18b4c412056ed
Change-Id: If6c3dfb1a29451d7b11a3ff10ec18b4c412056ed
2024-12-20 14:09:49 -08:00
Jack Wu
0c88c7620a dump_power: add battery caretaker dump into bugreport
logging for AACR(+H), AAFV, AACT, AACC and AACP Version

Bug: 384737509
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: I9d36e6fcb25ee9f12b4fd2962207b1f4b592c2b3
Signed-off-by: Jack Wu <wjack@google.com>
2024-12-20 18:03:37 +08:00
Liz Prucka
b2f00a1549 Restrict ioctl access for appdomain to gpu_device
Add a list of Mali-specific ioctls (ioctl_defines).
Define categories for these ioctls (ioctl_macros).
This list was gathered by the ARM GPU team.

All defined ioctls are granted access. Deprecated
ioctls and ioctls intended for GPU development are
logged to estimate the impact of their removal.

During testing, no logging was observed during the
launch of the top 100 apps. It is unlikely that such
logging would spam the device's log.

Bug: 384720119
Test: Csuite test of top 100 apps
Flag: EXEMPT uses build system flag: RELEASE_PIXEL_MALI_SEPOLICY_ENABLED
Change-Id: I49f7ffade42e1039e13601a81d814d33dfbc3e5a
2024-12-19 12:03:02 -08:00
Jiaming Liu
8fb22043f3 [AE] Add system property to enable AE on Settings
Add system property to enable AE split on Settings for devices
supporting display port.

Bug: 372200182
Test: Manual
Flag: com.android.window.flags.activity_embedding_support_for_connected_displays
Change-Id: I5678e9606be3a91a5bf91e5bd00ed09c2e538124
2024-12-18 04:33:47 +00:00
Rios Kao
deeb36e5e9 Merge "zuma: recorder selinux configuration" into main 2024-12-17 01:36:58 -08:00
Timmy Li
29cd1c7a2d Revert "Remove hal_camera_default aconfig_storage_metadata_file ..."
Revert submission 30893287-hal_camera_default_ aconfig_storage_metadata_file

Reason for revert: b/384580942

Reverted changes: /q/submissionid:30893287-hal_camera_default_+aconfig_storage_metadata_file

Change-Id: I8bed2f61c7fc0ee6f0fb8cfc15bdb435d30dc70d
2024-12-16 16:32:22 -08:00
Paulsu Su
9af98c8d86 Merge "Set initial value for foreground_window group" into main 2024-12-16 04:24:06 -08:00
timmyli
d077655445 Remove hal_camera_default aconfig_storage_metadata_file from bug map
Bug: 383013471
Test: manual test to see no avc denial
Flag: EXEMPT bug fix
Change-Id: I1958da80539ae17ab48c3aa9f70f7ea3707ea2db
2024-12-15 19:44:03 -08:00
Xin Li
037487ca08 [automerger skipped] Merge 24Q4 into AOSP main am: 61061b74ae -s ours am: 2543f5b16d -s ours
am skip reason: Merged-In I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced with SHA-1 1a173d6997 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3391984

Change-Id: Iabf8df4e7c1a5c05033d6da866f7357ac362c838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 21:08:21 -08:00
Xin Li
d25f090a34 [automerger skipped] Merge 24Q4 into AOSP main am: c5a0418122 -s ours am: 46f147f372 -s ours
am skip reason: Merged-In I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3 with SHA-1 f03cc7ce1c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/29525402

Change-Id: I5dc79c2c48b24078aae4f34b5c0a68aa493500cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:45:16 -08:00
Xin Li
2543f5b16d [automerger skipped] Merge 24Q4 into AOSP main am: 61061b74ae -s ours
am skip reason: Merged-In I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced with SHA-1 1a173d6997 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3413724

Change-Id: Ie99645db6be25d30257a7df2209f1d6664d761e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:30:55 -08:00
Xin Li
46f147f372 [automerger skipped] Merge 24Q4 into AOSP main am: c5a0418122 -s ours
am skip reason: Merged-In I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3 with SHA-1 f03cc7ce1c is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3413723

Change-Id: I8b8c13745cfbffbf29411e410fef24fa284aa070
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 18:42:00 -08:00
Xin Li
61061b74ae Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
Change-Id: I94bb03744bc0fbe5e8706aae30c366266ae770de
2024-12-13 11:15:10 -08:00
Xin Li
c5a0418122 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3
Change-Id: I1f96c1fc29847035394513fad852d1bacbc43296
2024-12-13 11:15:10 -08:00
Nina Chen
e408d5681e Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Flag: EXEMPT sepolicy
Bug: 383949325
Change-Id: I3392bafe7873812b2e7df6ecec5725097eb085ab
2024-12-12 22:40:45 -08:00
Paulsu Su
4d63a708a3 Set initial value for foreground_window group
For multi-window foreground app group.

Bug: 200769420
Change-Id: I2b65feb4732e33b27155dcfaf0b64a38b1b01026
Test: build pass
Flag: NONE vendor init file does not support flag
2024-12-12 22:14:22 -08:00
Piotr Klasa
8cff6f64fa Merge "Move all vendor_sched parameters and permissions to init.pixel.perf.rc" into main 2024-12-12 04:08:58 -08:00
chenkris
9ea8cdc64f zuma: Add selinux permission for fth
Fix the following avc denials:
avc:  denied  { open } for  path="/dev/fth_fd" dev="tmpfs" ino=1575 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
avc:  denied  { read } for  name="wakeup96" dev="sysfs" ino=101698 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0

Bug: 383048849
Test: ls -lZ /sys/devices/platform/odm//odm:fps_touch_handler/wakeup
Test: authenticate fingerprint
Flag: EXEMPT NDK
Change-Id: Iec9de84c8faa6790f9f27c5875b5a822a02fcee9
2024-12-12 00:15:56 -08:00
Chungkai Mei
2716f03d7d set input to 100 explicitly in task_profile
instead of using ADPF, let's use task_profile to boost input tasks'
priroity

Bug: 378761104
Flag: EXEMPT new task_profile behavior
Change-Id: Ice311b1abcf3d629917e16f1490d4cb63fd83796
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-12 05:54:44 +00:00
Rios Kao
0ec0752893 zuma: recorder selinux configuration
note:
      Access Hal property permission.

Test: end-to-end test
Bug: 383647553
Flag: EXEMPT porting existed feature.

Change-Id: I6ac6ea5f573c45e999d81c08aa512b902527d5ef
2024-12-11 19:43:10 -08:00
Daniel Lowe
d822ead370 Merge "[Pixel VPN] Apply reviewed default permissions" into main 2024-12-11 10:38:55 -08:00
Piotr Klasa
3e803739bb Move all vendor_sched parameters and permissions to init.pixel.perf.rc
Bug: 335874870
Test: Checked that permissions and values ​​for all affected files are correct (ls -l, cat)
Flag: EXEMPT not supported by this component yet
Change-Id: Ifbea91bce20e046a6e1b92295814a27e99f41dbe
2024-12-11 15:29:57 +01:00
Michael Bestas
d06bae7ee7 zuma: Update linker.config from AP4A.241205.013
These libraries are used in camera HAL APEX.

Change-Id: I40a7ff722ae55a4ca9fd77f97a2b5e73af1898e2
2024-12-11 04:15:24 +02:00
Michael Bestas
d97db5601b 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-----
#
# iFwEABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eMmQAJj8v6hZUtdtQwD+swBc8Ai58HICAJ9XVGRsPwZXj4SxZGaw88jxJvza7A==
# =Sdzw
# -----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 Daniel Chapin (3) and others
# Via Android Build Coastguard Worker (30) and others
* tag 'android-15.0.0_r6': (32 commits)
  Make android.framework.stats-v2-ndk app reachable
  Update SELinux error
  Change vendor_fingerprint_prop to vendor_restricted_prop
  Update SELinux error
  storage: move storage related device type to common folder
  Update SELinux error
  Revert^2 "Add udc sysfs to udc_sysfs fs context"
  Label sysfs node power_mode as sysfs_display.
  Revert^2 "zuma: update modem_svc sepolicy for UMI"
  Revert "zuma: update modem_svc sepolicy for UMI"
  Update SELinux error
  zuma: update modem_svc sepolicy for UMI
  Revert "trusty: storageproxy: add fs_ready_rw property context"
  DisplayPort Stats: add sysfs access permission on Zuma devices
  Revert "trusty: storageproxy: add fs_ready_rw property context"
  Revert "trusty: storageproxy: add fs_ready_rw property context"
  Correct the path of tcpm-source-psy device
  add hal_graphics_composer to access thermal temperature
  Revert "Add udc sysfs to udc_sysfs fs context"
  Add udc sysfs to udc_sysfs fs context
  ...

Change-Id: I0f827d7ab63b0cea6e3dfd3c3d28b03f53673a1e
2024-12-11 03:49:13 +02:00
Michael Bestas
164cd2f026 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
# eGMPAJ0QCkI3LO8goenx8IVscY5slyvypwCfZPPsAYYuAObV7/M/d1gUi/BEM6k=
# =igbk
# -----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 Herbert Xue (6) and others
# Via Android Build Coastguard Worker (48) and others
* tag 'android-15.0.0_r6': (72 commits)
  Set auto prefer idle task name
  Delete TARGET_CPU_VARIANT_RUNTIME.
  Add input event profile to mitigate input latency of input threads
  zuma: avoid vector<const T>
  16kb: Filter out zram.ko for dev options
  Support 16KB data reset
  Deprecate preloaded_nanoapps.json
  Revert "Disable incremental boot_otas"
  Add persist to CopyEfsTest
  Fix CopyEfsTest for symlinks
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  Switch from the BFQ to the mq-deadline I/O scheduler
  extended_log: update directory permissions for zuma
  Revert "Add soong config use_google_qns in device/google/zuma/de..."
  Control the "init_dpm.sh" to be built in zuma devices
  Add soong config use_google_qns in device/google/zuma/device.mk
  Control GoogleDialer built from zuma/proprietary/GoogleDialer
  Restore preferred_idle_mask to the default setting
  audio: set util_clamp_min for s/w spatializer to avoid glitches
  ...

Change-Id: Ib335f5799d9c86adc8f9e9c9d1764814f00dc5ca
2024-12-11 03:48:59 +02:00
Android Build Coastguard Worker
d5c536a064 Snap for 12770256 from 2e5674bd21 to 25Q1-release
Change-Id: Ie91e6537c66b2d2445d88dccbd3320ed51be9acd
2024-12-10 00:33:40 +00:00
Android Build Coastguard Worker
bb3e2fd1c0 Snap for 12770256 from 0651bb2055 to 25Q1-release
Change-Id: Ic648c49f4bd9f2e3ad8ac8d52bb7ba5204c0871c
2024-12-10 00:33:39 +00:00
Eileen Lai
0651bb2055 Merge "modem_svc: use modem_svc_sit version sepolicy" into main 2024-12-09 15:09:37 +00:00
Eileen Lai
2e5674bd21 Merge "modem_svc: move shared_modem_platform related sepolicy to gs-common" into main 2024-12-09 15:09:36 +00:00
Nina Chen
b81b3428d8 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 383013471
Flag: EXEMPT sepolicy
Change-Id: Ia8c27c5031bb14d77f581b4569a8d39a5613244f
2024-12-09 03:32:09 +00:00
Daniel Lowe
a0b5342eff [Pixel VPN] Apply reviewed default permissions
Pregrantting below permissions:
READ_PHONE_STATE

Flag: EXEMPT add permission pregranted in b/337725984
Bug: 373686360
Test: presubmit, manual install on test device.
Change-Id: If6c3dfb1a29451d7b11a3ff10ec18b4c412056ed
2024-12-09 02:47:29 +00:00
Eileen Lai
4b9ca7c0a7 modem_svc: move shared_modem_platform related sepolicy to gs-common
Bug: 372400955

Change-Id: I3570cf0e90ceebc1ac6d19850e53df6c721b0020
Flag: NONE local testing only
2024-12-08 04:44:23 +00:00
Android Build Coastguard Worker
e6c5403be7 Snap for 12765415 from 5cd7ab9f96 to 25Q1-release
Change-Id: I383a642376e3b00c863c418de1d82782d6e69ed1
2024-12-07 23:06:13 +00:00
Eileen Lai
b6c6a96ce1 modem_svc: use modem_svc_sit version sepolicy
For solving sepolicy conflicts for different AP version, modem_svc_sit will support devices from gs101 to zuma_pro.

Bug: 372400955

Change-Id: Icef24314461008651230779358b253429c277b76
Flag: NONE local testing only
2024-12-07 17:06:11 +00:00
Daniel Zheng
5cd7ab9f96 Merge "update health HAL dependency" into main 2024-12-07 06:50:56 +00:00
Android Build Coastguard Worker
0fe5296007 Snap for 12763142 from 6e4418cacd to 25Q1-release
Change-Id: I93f1a5648c7425eff3b6fdbd27401c9b49a9ec9a
2024-12-07 02:05:49 +00:00
Android Build Coastguard Worker
5a42a2dc11 Snap for 12763142 from f2f02c5df6 to 25Q1-release
Change-Id: Id2a60f78a1ed593cb6bdb09f6e97e0eafc4c077a
2024-12-07 02:05:48 +00:00
Dinesh Yadav
6e4418cacd Merge "Allow tachyon service to make binder calls to GCA" into main 2024-12-06 16:20:42 +00:00
Rick Yiu
f2f02c5df6 Merge "Add sched qos support" into main 2024-12-06 08:20:09 +00:00
Dinesh Yadav
1b7a5a0078 Allow tachyon service to make binder calls to GCA
This permission is needed for tachyon service to call callbacks.

AVC Error seen when tachyon tries accessing GCA:
12-02 11:40:03.212  6987  6987 W com.google.edge: type=1400 audit(0.0:17): avc:  denied  { call } for  scontext=u:r:edgetpu_tachyon_server:s0 tcontext=u:r:google_camera_app:s0:c145,c256,c512,c768 tclass=binder permissive=0
12-03 07:12:26.424  4166  4166 W com.google.edge: type=1400 audit(0.0:254): avc:  denied  { call } for  scontext=u:r:edgetpu_tachyon_server:s0 tcontext=u:r:debug_camera_app:s0:c67,c257,c512,c768 tclass=binder permissive=0

Bug: 381787911
Flag: EXEMPT updates device sepolicy only
Change-Id: I5544fbc11cea0d98dfdeffd9d2871fc037d87c61
2024-12-06 04:13:42 +00:00
Rick Yiu
9cc872da8f Add sched qos support
Add task profiles and set permissions.

Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I4b285a95b5a9d3934a5b95ba57424a89a98f9b2a
2024-12-06 02:08:57 +00:00
Nelson Li
c9e16ea272 [automerger skipped] Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma am: 2620d19ec0 am: c89be9a29c -s ours
am skip reason: Merged-In I2912cbc905ff0ee716c293021c29061e3b6d3dca with SHA-1 d1cf23e6f7 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3391984

Change-Id: I48b292a241f1ee1b8531850190b174f6b9b8dea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:46:49 +00:00
Nelson Li
c89be9a29c Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma am: 2620d19ec0
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3391984

Change-Id: Ibf09f5a3214be084579feed71414fff0e6fb0f5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:35:49 +00:00
Android Build Coastguard Worker
d32502fc89 Snap for 12755599 from 9f0f02d33e to 25Q1-release
Change-Id: I2fc6c59f454635b424c71c7fcd38a237a8fe3e09
2024-12-06 00:04:25 +00:00
Android Build Coastguard Worker
32d4d59f81 Snap for 12755599 from 188ed581cd to 25Q1-release
Change-Id: I21321831564d66be4b3eeec2e38e8979770b8684
2024-12-06 00:04:24 +00:00
Daniel Zheng
f130ff4e49 update health HAL dependency
Bug: 381926253
Test: th
Change-Id: I1938e9f53a1ceec8f351cca10c97285a4b9588ed
2024-12-05 14:50:09 -08:00
Nina Chen
9f0f02d33e Update SELinux error
Remove b/376602341, b/314054292 and b/367943515 as they are closed

Flag: EXEMPT sepolicy
Test: SELinuxUncheckedDenialBootTest
Bug: 382362125
Change-Id: I7911102a96cdb602fecf8dae5f87c41448b7e6ba
2024-12-05 12:53:03 +08:00
Nelson Li
2620d19ec0 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext
Merged-In: I2912cbc905ff0ee716c293021c29061e3b6d3dca
Change-Id: I2912cbc905ff0ee716c293021c29061e3b6d3dca
2024-12-05 03:33:40 +00:00
Treehugger Robot
188ed581cd Merge "Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma" into main 2024-12-05 02:39:17 +00:00
Android Build Coastguard Worker
421c286e6d Snap for 12748980 from 18df6c5e6f to 25Q1-release
Change-Id: I0c5f8708cf387f5df55d3e3b87a4d9e5a3207a1c
2024-12-05 00:04:48 +00:00
Android Build Coastguard Worker
2db10c5813 Snap for 12748980 from 443c13a172 to 25Q1-release
Change-Id: I2affef0445fc11e7f0f92dde7c3fd690a06bdb73
2024-12-05 00:04:47 +00:00
Hung-Yeh Lee
0bab5d4ca8 display-dump: make display dump project-specific
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I3eedbd7bd2ad4574f6ac23ef509d57ebda4fb79d
2024-12-04 14:58:22 +08:00
Juan Yescas
443c13a172 Merge "16kb: zuma: Filter out unnecessary modules from 16k mode" into main 2024-12-04 04:49:34 +00:00
Roy Luo
18df6c5e6f Merge "Add udc sysfs to udc_sysfs fs context" into main 2024-12-04 03:31:01 +00:00
Roy Luo
2a8046a033 Merge "Enable usb state update via udc sysfs" into main 2024-12-04 03:31:01 +00:00
Chaohui Wang
feb420904b Merge "Clean up unnecessary data_connection_5g_plus overlay" into main 2024-12-04 01:21:44 +00:00
Android Build Coastguard Worker
81fcc1c7ad Snap for 12742097 from 7fd5197191 to 25Q1-release
Change-Id: I665ee40d1612bb9f6d3cbe87272c7b615aa9ff13
2024-12-04 00:04:54 +00:00
Nick Kralevich
7463e548bf Fix kasan logic
The command line "kasan=off" should be unconditionally set when we're
compiling for a normal (non-_fullmte) build. The current logic
sets "kasan=off" for a normal ENG build only, which is insufficent.

Test: _fullmte userdebug/eng: "sanitizer-status mte" shows MTE enabled.
Test: _fullmte userdebug/eng: "kasan=off" IS NOT present in /proc/cmdline
Test: !_fullmte userdebug: "sanitizer-status mte" shows MTE disabled.
Test: !_fullmte eng: "sanitizer-status mte" shows MTE enabled
Test: !_fullmte userdebug/eng: "kasan=off" IS present in /proc/cmdline
Change-Id: Idd61747156daa135e919ce71fd63bfab1f4d9239
Bug: 381940217
Flag: EXEMPT bugfix
2024-12-03 10:33:59 -08:00
Xin Li
7fd5197191 [automerger skipped] Merge ab/AP4A.241205.013 into aosp-main-future am: e589918368 -s ours
am skip reason: Merged-In I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced with SHA-1 a6c71987d5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/30626095

Change-Id: I49afe6d3367ef8da752021f4e6cf39a44d89de07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-03 18:22:10 +00:00
Chaohui Wang
e9866ccdbf Clean up unnecessary data_connection_5g_plus overlay
This string is not device specific, and already set at,
frameworks/base/packages/SettingsLib/res/values-mcc311-mnc480/strings.xml
frameworks/base/packages/SettingsLib/res/values-mcc310-mnc004/strings.xml

Bug: 377907543
Flag: EXEMPT clean up
Test: m
Change-Id: I3bd290c8839ac510a0b11c70a7aaa55d58591964
2024-12-03 17:30:34 +08:00
Juan Yescas
a8a6c8ff28 16kb: zuma: Filter out unnecessary modules from 16k mode
The 16k mode does not use these modules.

Bug: 378293897
Bug: 379704287 
Change-Id: I237fd9cf7ca2f7972fafa08a3df65c0472e1ef03
Test: Built husky-trunk_staging target and tested
      4kb and 16kb mode.
Flag: EXEMPT bugfix
2024-12-03 04:41:56 +00:00
Android Build Coastguard Worker
fd25d1d998 Snap for 12727401 from 9f5ced1134 to 25Q1-release
Change-Id: I3bd6f4de4603b7ed55cee5e4a3b8f28ccd97ee36
2024-11-29 00:04:30 +00:00
Android Build Coastguard Worker
842a7b6fa7 Snap for 12727401 from 4bc8926b8f to 25Q1-release
Change-Id: I9fceb835be450156a409cb6e4dd8a7ac3fc0201d
2024-11-29 00:04:29 +00:00
Nina Chen
9f5ced1134 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 381326735
Flag: EXEMPT sepolicy
Change-Id: I8381703d4a44d7bce9ead55437e269684f0d5530
2024-11-28 02:59:26 +00:00
Treehugger Robot
4bc8926b8f Merge "Add hardware/google/graphics/zuma/libhwc2.1 to PRODUCT_SOONG_NAMESPACES" into main 2024-11-28 02:07:55 +00:00
Android Build Coastguard Worker
4ca1a7e3b0 Snap for 12722466 from 730daed470 to 25Q1-release
Change-Id: I5f841272bad2593e9eb52b52eb0ab88b92243a8c
2024-11-28 00:04:29 +00:00
Xin Li
e589918368 Merge ab/AP4A.241205.013 into aosp-main-future
Bug: 370570306
Merged-In: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
Change-Id: Ie5037f28c6b829fc7915f48fb9e787865a0e9a11
2024-11-27 12:53:10 -08:00
Jenhao Chen
730daed470 Merge "init: zuma: move sched rate limit to late init" into main 2024-11-27 14:58:17 +00:00
Will Song
ff7717d54c init: zuma: move sched rate limit to late init
Since pixel performance has a shared configuration,
we need to move override values into late init.

Bug: 381100494
Test: Boot
Flag: EXEMPT bug fix
Change-Id: I20d38e481d43d1068a6faebec298446929812ffb
2024-11-27 02:46:28 -08:00
Nelson Li
d1cf23e6f7 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext
Change-Id: I2912cbc905ff0ee716c293021c29061e3b6d3dca
2024-11-27 06:27:58 +00:00
Treehugger Robot
d2151ffde1 Merge "Add soong config use_google_qns in zuma" into main 2024-11-27 02:04:32 +00:00
Android Build Coastguard Worker
39d4ed3421 Snap for 12710726 from b7ab33d829 to 25Q1-release
Change-Id: I71ceaa3f9070a402255f21b27fe5e19fea5ddfa2
2024-11-26 02:04:43 +00:00
Android Build Coastguard Worker
d1c34a432e Snap for 12710726 from fbfb744edd to 25Q1-release
Change-Id: Ifc9281c9ca7b269b8f20bdb972c271f11a603ced
2024-11-26 02:04:42 +00:00
Kelvin Zhang
fbfb744edd Merge "Allow metadata to be formatted as ext4" into main 2024-11-25 18:39:33 +00:00
Nina Chen
b7ab33d829 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 380756119
Flag: EXEMPT NDK
Change-Id: I252d772efcdc0b27467c6de41c685fb903e5a62d
2024-11-25 02:49:21 +00:00
Bill Yang
1f92d2a96e Add hardware/google/graphics/zuma/libhwc2.1 to PRODUCT_SOONG_NAMESPACES
For zumapro it shares the same libacryl_plugins in zuma but for
libexynosdisplay it still has different version between zuma and
zumapro. In ag/30508311 it already split
hardware/google/graphics/zuma/libhwc2.1 to it's own soong_namespace
which need to add it to product config for zuma.

Bug: 357500180
Test: lunch aosp_husky-trunk_staging-userdebug; \
      m libexynosdisplay
Flag: EXEMPT refactor
Change-Id: I8adc95085067456aa2a29822e89f9777ece241f3
2024-11-23 23:52:52 +00:00
Kelvin Zhang
2908e979a6 Allow metadata to be formatted as ext4
This does not convert /metadata to ext4, the default is still f2fs.
EXT4 would only be used if we are on 16KB mode

Flag: EXEMPT bugfix
Bug: 379759696

Change-Id: I91c114f476b6894361523a5bc8b66930df9f49a5
2024-11-22 18:10:52 +00:00
Roy Luo
3c17e28269 Add udc sysfs to udc_sysfs fs context
Meeded for system server to monitor usb gadget state.
Grant hal_usb_impl read access as it's needed by UsbDataSessionMonitor.
Starting at board level api 202504 due to its dependency on aosp/3337514

10956 10956 W android.hardwar: type=1400 audit(0.0:327): avc:  denied  { read } for  name="state" dev="sysfs" ino=84394 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_udc:s0 tclass=file permissive=0

Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: Ied2d669df74a2f71771e672e27327b60e7687168
2024-11-22 02:07:21 +00:00
Android Build Coastguard Worker
03c1247ea8 Snap for 12695596 from fcfaec8bea to 25Q1-release
Change-Id: I11413d61abe9c82b42114b9bc526deb69da19641
2024-11-22 00:04:23 +00:00
Roy Luo
74ccf54701 Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I1e741ab5e857dd706346967773eb0e17550eaaba
2024-11-21 22:37:56 +00:00
Liana Kazanova (xWF)
fcfaec8bea Merge "Revert "modem_svc: move shared_modem_platform related sepolicy t..."" into main 2024-11-21 20:16:06 +00:00
Liana Kazanova (xWF)
9880272db8 Revert "modem_svc: move shared_modem_platform related sepolicy t..."
Revert submission 30519089-move_modem_sepolicy

Reason for revert: DroidMonitor: Potential culprit for http://b/380274930 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:30519089-move_modem_sepolicy

Change-Id: I7fc88068835f662d1f1827488089f5898e88ff9d
2024-11-21 17:54:05 +00:00
Eileen Lai
e1b7b090e5 Merge "modem_svc: move shared_modem_platform related sepolicy to gs-common" into main 2024-11-21 17:03:11 +00:00
Eileen Lai
41e0d7662d modem_svc: move shared_modem_platform related sepolicy to gs-common
Bug: 372400955


Flag: NONE local testing only
Change-Id: I5502d8aeae7ca11b301bb8183201cf8294c811f9
2024-11-21 08:25:08 +00:00
Android Build Coastguard Worker
91b28245cf Snap for 12680993 from 2047505a62 to 25Q1-release
Change-Id: Iec170f4ef556b2f935a0b226edbf1ac99dd1f202
2024-11-20 00:05:24 +00:00
kellyhung
43c6cf5ada Add soong config use_google_qns in zuma
Bug: 360757079
Test: Presubmits
Flag: EXEMPT bugfix
Change-Id: Ic3dcfbbeb62f5c152f0d43c9182e98a5b2bc74f0
2024-11-19 10:01:29 +00:00
Herbert Xue
d827c45f63 Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: I7926d494df871bda7e7572a4743b4b04343e8b7e
2024-11-19 15:14:46 +08:00
Android Build Coastguard Worker
df1a756db0 Snap for 12673321 from 80c32be9f1 to 25Q1-release
Change-Id: I02ef0cfa727287e2caa415a95a10a308199062dd
2024-11-19 00:08:25 +00:00
Android Build Coastguard Worker
bc9d87e623 Snap for 12664851 from 5515229d16 to 25Q1-release
Change-Id: Id14c9e91514ef3673d16c3cf130867c7c8f0c6b4
2024-11-16 02:05:07 +00:00
Nina Chen
80c32be9f1 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 379245855
Bug: 379246064
Bug: 379245771
Bug: 379245754
Change-Id: I2b8b5c74f406d59e5ac17280e365dd6733100719
2024-11-15 18:29:14 +08:00
Nina Chen
5515229d16 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 379207041
Bug: 379207101
Flag: EXEMPT NDK
Change-Id: Icf0da01e2bcf1f57d9048ac601a94d04db00e754
2024-11-15 06:54:19 +00:00
Android Build Coastguard Worker
e7ae95cc53 Snap for 12658558 from e547b08ebd to 25Q1-release
Change-Id: I57559c5e7d98810f06868b3e853c1027f8c1ba09
2024-11-15 00:04:35 +00:00
Android Build Coastguard Worker
b82beda257 Snap for 12658558 from 977c5514f0 to 25Q1-release
Change-Id: I6f71f9a16aa2d88e257c2bfa1152a4889c72b053
2024-11-15 00:04:34 +00:00
Herbert Xue
2047505a62 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: Ida44710eb53376d12f3e26b8bf55b26ade49cd07
2024-11-14 12:35:47 +08:00
Xin Li
977c5514f0 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: d3c951fe56 -s ours
am skip reason: Merged-In I3977722564241817575d94b2d2023eac6939ce1c with SHA-1 f42925e978 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/30284975

Change-Id: Icd021cbd1b5384ff22e2913d053fb96006fbd4bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:02:58 +00:00
Xin Li
e547b08ebd [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: cf6b23c473 -s ours
am skip reason: Merged-In I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3 with SHA-1 f03cc7ce1c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/30283793

Change-Id: I064b667d35ba392523f55d4a00ef31ffa462cad9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 00:31:46 +00:00
Android Build Coastguard Worker
4d4742dff6 Snap for 12651823 from 1512f42354 to 25Q1-release
Change-Id: Ibcdcaf7066678037b94fa0fa705408a73f938079
2024-11-14 00:04:17 +00:00
Spade Lee
1512f42354 Merge "dump_power: zuma: correct dump path" into main 2024-11-13 17:00:10 +00:00
Spade Lee
bc4963632b dump_power: zuma: correct dump path
- add pca9468 logbuffer
- move fg registers dump from debugfs to sysfs
- remove dual fg path
- remove max77779fg path
- remove maxfg history path
- remove unused ln8411 path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: I6aab8119e029ccc45f5da827a119249b07aed8dd
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-12 16:49:30 +00:00
Android Build Coastguard Worker
0e0c9211b5 Snap for 12630846 from 6f8fb2f094 to 25Q1-release
Change-Id: Ia4173091541b314367ca4c7a71b807ff552548da
2024-11-09 02:04:47 +00:00
Treehugger Robot
6f8fb2f094 Merge "Move video_codec soong config variables into board config" into main 2024-11-08 03:29:59 +00:00
Android Build Coastguard Worker
60daa343ba Snap for 12623742 from 1172ae7a1b to 25Q1-release
Change-Id: I9db1c1f4b22cb6ee1929133f7870c9feb2833799
2024-11-08 00:04:36 +00:00
Michael Bestas
6bfcb2c45c Merge tag 'android-15.0.0_r4' into staging/lineage-22.0_merge-android-15.0.0_r4
Android 15.0.0 release 4

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZyveQgAKCRDorT+BmrEO
# eJM2AJ9qMKzVt1NzhtprBRWqM3A11xgkyACfcOmtzhEb5maHBfy6HN4RrZV298A=
# =A3nx
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Nov  6 23:23:14 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 2340 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 gilliu
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r4':
  add hal_graphics_composer to access thermal temperature

Change-Id: I7d332857715494aa6a38a96ed26258d2853fb44a
2024-11-07 14:59:07 +02:00
Allen Jiang
1172ae7a1b Merge "bcl: fix ocp_gpu_lvl in init.zuma.rc" into main 2024-11-06 22:53:09 +00:00
Xin Li
cf6b23c473 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3
Change-Id: Ic9f5cbcae1fdd40d57ca6d958adeb4b355339f68
2024-11-06 11:19:03 -08:00
Xin Li
d3c951fe56 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I3977722564241817575d94b2d2023eac6939ce1c
Change-Id: Ifdc2acba1138fd79b5f26ffc07e7024149440872
2024-11-06 11:05:05 -08:00
Herbert Xue
ca66ae1b2a Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: I76847c362ab1b257b90c610c84b00221c2a4ce84
2024-11-06 11:10:40 +08:00
Android Build Coastguard Worker
f7c611fb96 Snap for 12605939 from 6f1672a387 to mainline-tzdata6-release
Change-Id: Ibd6a5a3dd066bbb595d83274102c77edfd2762a0
2024-11-05 10:12:52 +00:00
Android Build Coastguard Worker
05f094f8f8 Snap for 12605939 from 8873769456 to mainline-tzdata6-release
Change-Id: Ibfae41063bec17e41ebfdc21a6c867b684e9ab74
2024-11-05 10:12:48 +00:00
Allen Jiang
cc52939a8a bcl: fix ocp_gpu_lvl in init.zuma.rc
Bug: 377376692
Flag: EXEMPT bugfix
Test: Manually
Change-Id: I9fcf505572cced516628bdaf34bfde23fa950b8c
Signed-off-by: Allen Jiang <alljiang@google.com>
2024-11-05 00:15:16 +00:00
Android Build Coastguard Worker
103b384570 Snap for 12594757 from 6f1672a387 to 25Q1-release
Change-Id: I884052a347711cfdbdc3f2485bb249948fe7d3d4
2024-11-02 01:04:33 +00:00
Android Build Coastguard Worker
56d32791cd Snap for 12594757 from 8873769456 to 25Q1-release
Change-Id: Ie6b443fbddacdc5503422f740b54879ad2101777
2024-11-02 01:04:32 +00:00
Nina Chen
6f1672a387 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 376602341
Flag: EXEMPT NDK
Change-Id: I6b3a9d802022ace579de13dc03e1738ee31f7b6f
2024-11-01 08:13:03 +00:00
Android Build Coastguard Worker
02fa56dd31 Snap for 12587146 from 841ad6da33 to 25Q1-release
Change-Id: Ia46a9b350cec61dc1a2d3d2d5abbfb4680d9131a
2024-10-31 23:03:52 +00:00
Android Build Coastguard Worker
e3c848329d Snap for 12587146 from 820c3750ac to 25Q1-release
Change-Id: I924ffd579330cc7b179adb47415ad7389fefc048
2024-10-31 23:03:51 +00:00
Daniel Rosenberg
8873769456 Reland "Add detailed error log to efs test"
Corrected order of Assert Equals, and moved awk parsing into the
java code. executeShellV2Command does not handle single quoted awk
strings well.

Flag: TEST_ONLY
Bug: 376164007
Test: atest CopyEfsTest
Change-Id: Idea19467ec2f08b1365a2389a1dd3b1db8d429e4
2024-10-31 14:04:49 -07:00
Daniel Rosenberg
820c3750ac Merge "Revert "Add detailed error log to efs test"" into main 2024-10-31 01:40:53 +00:00
Android Build Coastguard Worker
a1d583d1b9 Snap for 12580585 from 0ca2ed53c5 to 25Q1-release
Change-Id: I45d916da1fa4ee048640f18c1867e3cda004c6f3
2024-10-30 23:04:34 +00:00
Daniel Rosenberg
42abd953a8 Revert "Add detailed error log to efs test"
This reverts commit b7cc955763.

Reason for revert: Breaks CopyEfsTest

Change-Id: I2522ceeda3f4e77c1102c50a6c0110aca814a4d8
Bug: 376164007
2024-10-30 22:01:11 +00:00
Roy Luo
841ad6da33 Merge "Revert^3 "Add udc sysfs to udc_sysfs fs context"" into main 2024-10-30 18:51:30 +00:00
Roy Luo
ad7fee2f13 Merge "Revert^3 "Enable usb state update via udc sysfs"" into main 2024-10-30 18:51:30 +00:00
Priyanka Advani (xWF)
0ca2ed53c5 Revert "Add IGoodixFingerprintDaemon aidl interface"
Revert submission 30066446-goodix-ext-service-aidl

Reason for revert: Droidmonitor created revert due to b/376465180. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:30066446-goodix-ext-service-aidl

Change-Id: I25cf72f9acbfcce57182aeb8f95a5711af9899b4
2024-10-30 16:32:55 +00:00
chenkris
082fc23cbd Add IGoodixFingerprintDaemon aidl interface
Flag: EXEMPT NDK
Bug: 370671685
Test: authenticate fingerprint.
Change-Id: I3612ab313a2b9d330da3d39f09073f3ff9eebcd6
2024-10-30 02:52:05 +00:00
Android Build Coastguard Worker
5cfa68eb04 Snap for 12573674 from af7eb3fa7f to 25Q1-release
Change-Id: I6de666c807856dada7c075b3d250044c59817977
2024-10-29 23:05:10 +00:00
Bill Yang
38baf92a28 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_shiba-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I253ce1254450385e83ecaa75acbee5e70df3a930
2024-10-30 00:47:32 +02:00
Roy Luo
d0bdf1d61b Revert^3 "Enable usb state update via udc sysfs"
13756199db

Bug: 339241080
Change-Id: Id040eb4fd0ff7f70a9f7872f383fbc37fc0742ea
2024-10-29 21:36:21 +00:00
Roy Luo
139f5304a3 Revert^3 "Add udc sysfs to udc_sysfs fs context"
371f678632

Bug: 339241080
Change-Id: Ia1355fca00339bce7ba5554680b62509558c2b4f
2024-10-29 21:36:05 +00:00
Bill Yang
af7eb3fa7f Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 32b6825bf1 am: eb26e6bf3b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3288011

Change-Id: Id1d4dfb8a5b28ce88a7f0c1b392b0c9356f11bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Bill Yang
eb26e6bf3b Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 32b6825bf1
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3288011

Change-Id: Idb52ede4f32cffeecd805f3c8690779e74bdf96c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Android Build Coastguard Worker
f489229784 Snap for 12565212 from 5d474b0c3d to 25Q1-release
Change-Id: Ia7ca24b9e739dbb08f9b4068425873de1a5ba994
2024-10-28 23:04:47 +00:00
Nick Kralevich
d37a6e5050 Merge "Enable MTE in -eng builds on zuma devices." into main 2024-10-28 17:52:11 +00:00
Jeff Chang
5d474b0c3d Merge "Update display dim configuration" into main 2024-10-28 15:45:09 +00:00
Nick Kralevich
2676f4bf00 Enable MTE in -eng builds on zuma devices.
MTE is a low overhead tool which enables detection of memory
safety bugs in interactive workloads. See
https://source.android.com/docs/security/test/memory-safety/arm-mte
for background and information.

This change enables MTE by default on -eng builds on zuma
builds.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Test: sanitizer-status mte
Bug: 316398899
Change-Id: Iff5ab9d7031d8b97bf762d85f6760a092631e121
2024-10-25 15:45:21 -07:00
Bill Yang
32b6825bf1 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_shiba-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I253ce1254450385e83ecaa75acbee5e70df3a930
2024-10-25 03:37:18 +00:00
Android Build Coastguard Worker
46c283a53e Snap for 12551711 from bb0ccb1c08 to 25Q1-release
Change-Id: I8bc2bd21a78fcd95b656770eac4d75f45443ebeb
2024-10-24 23:04:29 +00:00
Richard Chang
bb0ccb1c08 Merge "zuma: MCP: Set the vendor customized max cached processes to 1024." into main 2024-10-24 00:50:20 +00:00
Kelvin Zhang
b7cc955763 Add detailed error log to efs test
Flag: TEST_ONLY
Bug: 374502267
Test: th
Change-Id: I15fea97417331b34a4e5ae9861d169b29ef932a9
2024-10-23 14:14:35 -07:00
Richard Chang
03b2a5a84f zuma: MCP: Set the vendor customized max cached processes to 1024.
Bug: 374891496
Change-Id: I00f8758197836dedc94755ce60e6f97b2de1190a
Test: adb shell dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Flag: EXEMPT config XML change
2024-10-23 04:11:20 +00:00
Android Build Coastguard Worker
cd39311d12 Snap for 12537680 from c730cbb2ba to 25Q1-release
Change-Id: I52d2e388b9b4a4a87f667d4928f6d932b63b2953
2024-10-22 23:04:53 +00:00
Jeff Chang
4170eb8b55 Update display dim configuration
Revert the configuration from I79939290b6a355cf for benchmark
regression.

Flag: EXEMPT bug fix
Bug: 357187828
Test: presubmit
Change-Id: I214689dd98248cbe460ea84ac8f5affde3b8ad20
2024-10-22 09:06:58 +00:00
Robin Peng
c730cbb2ba [automerger skipped] 16k: Ignore 16k kernel settings if 16kb folder doesn't exist am: 9e1bb10e89 am: edd87c421e -s ours
am skip reason: Merged-In I2f6c1f3365f624502366b883dbcd1066ed166cdb with SHA-1 8cd5a64cd7 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313596

Change-Id: I1b21593ad06460ec23201fe6a8a782061649294c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:16 +00:00
Vilas Bhat
cf9990784c [automerger skipped] 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk am: fbedb6f26f am: 399ba7d977 -s ours
am skip reason: Merged-In Ibd060eae8f4e97ae8ff800f765e2310c984e5796 with SHA-1 354b984c0d is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313595

Change-Id: Ic0b905682b77dbd0eafe3bb2d15b21e0e6a74752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:13 +00:00
Juan Yescas
d90423cf24 [automerger skipped] 16kb: Use TARGET_BOOTS_16K to select the efs config files am: e192e6f56e am: bf8283c053 -s ours
am skip reason: Merged-In I1e0bea52de09fe3c9ee2f52b0803882456943833 with SHA-1 bf9f082f67 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312654

Change-Id: I57cdaca2cfcf165bc19e4cca72b37567f6b63039
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:10 +00:00
Juan Yescas
520360dfe6 [automerger skipped] 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab am: 0420e6dfff am: c03be2441d -s ours
am skip reason: Merged-In I4dba20518925a176f1e1e66596e2bb1e8ade7c26 with SHA-1 98f2222e27 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312653

Change-Id: I3c24c5efd189d3b7b499719137e40fbfeaacf85b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:06 +00:00
Robin Peng
edd87c421e 16k: Ignore 16k kernel settings if 16kb folder doesn't exist am: 9e1bb10e89
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313596

Change-Id: Ib075b276396597229c654a1c55bd5bcfa7d2d3d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:29 +00:00
Vilas Bhat
399ba7d977 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk am: fbedb6f26f
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313595

Change-Id: I9b1ea72ed2253ed68608e2a64b98a5705fd7df4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:26 +00:00
Juan Yescas
bf8283c053 16kb: Use TARGET_BOOTS_16K to select the efs config files am: e192e6f56e
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312654

Change-Id: I476a3217cc8f10d3786eb21fa45c3b3aa8dc80ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:23 +00:00
Juan Yescas
c03be2441d 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab am: 0420e6dfff
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3312653

Change-Id: I9f5abbdd5f6432e0430d300fe120526e99b6200b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:15 +00:00
Ethan Chen
8699f5f0e3 Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 06:12:21 +03:00
basamaryan
b7086dc544 zuma: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-10-20 06:12:21 +03:00
Michael Bestas
10b09f1a12 zuma: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
2024-10-20 06:12:21 +03:00
Scott Warner
f2e10b642f Add lineage.dependencies
Change-Id: I5337e8d48f3a468362c936de9a545ddec46446d0
2024-10-20 06:12:21 +03:00
Michael Bestas
a98ea968ac zuma: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-10-20 06:12:21 +03:00
Rashed Abdel-Tawab
3c3fbf4f00 zuma: Build a disabled vbmeta image
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097
2024-10-20 06:12:20 +03:00
Neel Chauhan
54afad7544 Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
zuma devices.

This reverts commit 2bfa6d3ba01856d99c6ffdb64627c6e9391c4a41.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 06:12:20 +03:00
Michael Bestas
09b49ecdcf zuma: sepolicy: Don't label SystemUI as systemui_app
While this might be useful on Pixel stock ROM, this serves no purpose
anywhere else. In fact, it makes it more fragile, as we'd need to track
platform SystemUI related SELinux changes ourselves.

Change-Id: I205df902649fd712a89f21f51099e088c5bdef2e
2024-10-20 06:12:20 +03:00
Michael Bestas
45c8c75d83 Label additional UWB service
Change-Id: Ia938529497a5b274354366e6d8c8579184be491c
2024-10-20 06:12:20 +03:00
Michael Bestas
e99ff8f6aa Label vendor.dolby.media.c2@1.0-service
Change-Id: I89fb4c149aed94cf2f7c3d34f7fde5877175b1e2
2024-10-20 06:12:20 +03:00
Michael Bestas
74fd7f5340 Include missing vendor sepolicy
Change-Id: Id35fb4b22e2ee8dfafdfb8ae601ab823435d2b94
2024-10-20 06:12:20 +03:00
Chirayu Desai
1813c18ef8 Allow radio access to IOemSlsiRadioExternal
Change-Id: Ib5d57b199b3e8288cd3de0c12898f0c1d679be4a
2024-10-20 06:12:20 +03:00
Danny Lin
2d094a50a4 Update seapp certificates to match stock presigned apps
Certificates extracted from stock vendor_mac_permissions.xml using
adevtool: https://github.com/kdrag0n/adevtool

Change-Id: Iaf59f1548905d16fe7ad231c039ba43941c15710
2024-10-20 06:12:20 +03:00
Michael Bestas
a45a739bba Unset PRODUCT_BROKEN_VERIFY_USES_LIBRARIES
Change-Id: I6f61d58e2dd419cb11f2aeb4f0faf54145c6a5ce
2024-10-20 06:12:20 +03:00
ReallySnow
7ff103b28c zuma: Add AiAi allowlist
* In Android 12, Android System Intelligence (com.google.android.as) uses
  some of the Private Compute Service (com.google.android.as.oss) services.
  The absence of these Allowlists will cause Android System Intelligence
  to fail to connect to the network and cause collapse.
* We don't need to extract google.xml to fix it, just extract the AiAi part

Change-Id: I446ae5d243cff134901094f82c90a0bbf3bb4381
2024-10-20 06:12:20 +03:00
Danny Lin
f16e622872 overlay: Import AiAi configs
Extracted from stock shiba AP3A.241005.015

Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I78bd7d04cbd0b35f6a8c01df3a8c1013d99bbf42
2024-10-20 06:12:04 +03:00
razorloves
a4ad3b854b overlay: Hide user facing crash dialog for EUICC app
The GoogleParts app disables the EUICC app when there's no GMS, but it
doesn't happen quick enough. The crash dialog pops up a few times right
after initial boot up. There's no need to alarm the user, so hide it.

Change-Id: Ia06b336b30a8886bae522c6e8a76a1ca15da5edd
2024-10-20 06:04:55 +03:00
Peter Cai
7339c72526 zuma: Disable Euicc when GMS and GSF are not installed
* This avoids EuiccGoogle / GoogleCarrierServices crashing, taking the
  whole telephony stack with them when no GMS or GSF is installed.
* Compared to change 274251, this approach is no-op when GAPPS add-on is
  flashed before the first boot, and thus should not cause issues with
  eSIM when GAPPS is flashed.
* With microG, this also works after installing the microG GMS & GSF
  packages and rebooting, although manual activation of the eSIM is
  needed via Settings - Network.
* The only downside is that users will still see one or two crashes
  during the first boot because our application only starts after the
  device is booted.

Change-Id: I4a11c93e855978abbf8d84fdbe4ffc8b2aedc27c
2024-10-20 06:04:55 +03:00
Michael Bestas
31ab22b7e6 Include missing ConnectivityThermalPowerManager sepolicy
Change-Id: I1e0f05159a6797251ed85360966aa45246005bbd
2024-10-20 06:04:55 +03:00
Danny Lin
e3999833b4 overlay: Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal
mitigation.

Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
2024-10-20 06:04:55 +03:00
Danny Lin
027e440e48 overlay: Configure ConnectivityThermalPowerManager
Extracted from stock shiba AP3A.241005.015

Change-Id: I71ad5adf9bf64bb1e30354446220d5769a9d44ca
2024-10-20 06:04:06 +03:00
Android Build Coastguard Worker
22f6d72875 Snap for 12517605 from d46376319b to 25Q1-release
Change-Id: Ic9ed9c907eab90b688f688545b0dfb3bf1750851
2024-10-18 01:04:13 +00:00
Robin Peng
9e1bb10e89 16k: Ignore 16k kernel settings if 16kb folder doesn't exist
to avoid build breakage with test kernel prebuilts (e.g. ag/28525733)
that doesn't have 16kb artifacts in it.

Bug: 370842132
Bug: 349877551
Flag: EXEMPT bugfix
Change-Id: I2f6c1f3365f624502366b883dbcd1066ed166cdb
Merged-In: I2f6c1f3365f624502366b883dbcd1066ed166cdb
2024-10-17 23:28:59 +00:00
Vilas Bhat
fbedb6f26f 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 370842132
Bug: 349877551
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
Merged-In: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-10-17 23:28:48 +00:00
Juan Yescas
e192e6f56e 16kb: Use TARGET_BOOTS_16K to select the efs config files
Test: Build and test pgagnostic targets
Bug: 370842132
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: I1e0bea52de09fe3c9ee2f52b0803882456943833
Merged-In: I1e0bea52de09fe3c9ee2f52b0803882456943833
2024-10-17 23:28:34 +00:00
Juan Yescas
0420e6dfff 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab
The build flag PRODUCT_BOOTS_16K will be used to select
the proper efs rc file and fstab:

- When PRODUCT_BOOTS_16K := true, 16k rc files and fstab will be used.
- When PRODUCT_BOOTS_16K := false, 4k rc files and fstab will be used.

Bug: 370842132
Bug: 346868433
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
Merged-In: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
2024-10-17 23:28:10 +00:00
Thiébaud Weksteen
d46376319b Merge "Remove duplicate service entries" into main 2024-10-17 02:59:51 +00:00
Android Build Coastguard Worker
35b61d361a Merge cherrypicks of ['googleplex-android-review.googlesource.com/29773030'] into 24Q4-release.
Change-Id: I9d54790eb1b73b75eed71eafc51831159fd03f8e
2024-10-17 00:33:05 +00:00
Rick Yiu
1a173d6997 Set auto prefer idle task name
Set InputDispatche and InputReader prefer idle explicitly, which is a
workaround and should be removed after they become ADPF.

Bug: 366146314
Flag: NONE init rc file change does not support flags
Test: tasks set as expected
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6c71987d597d0d575b62f6a65807c1bcd08ee87)
Merged-In: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
Change-Id: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
2024-10-17 00:28:18 +00:00
Android Build Coastguard Worker
a250d0f9a5 Snap for 12508860 from d3a5c9f8d8 to 25Q1-release
Change-Id: Ib658fab491af1e1271f56af69f767e098a8cd369
2024-10-16 23:04:11 +00:00
Android Build Coastguard Worker
1c9a25d61e Snap for 12508860 from 3b75642fc2 to 25Q1-release
Change-Id: Ib17470f4cf27acf6b3d156b0097de91f3d9ea641
2024-10-16 23:04:10 +00:00
Treehugger Robot
d3a5c9f8d8 Merge "Revert "Update SELinux error"" into main 2024-10-16 11:04:36 +00:00
Robert Luo
3b75642fc2 Merge "[Pixel RR] Apply reviewed default permissions" into main 2024-10-16 08:42:35 +00:00
Android Build Coastguard Worker
61ba0b3b8b Snap for 12502765 from 41b461c238 to 25Q1-release
Change-Id: Id42d9cb16a89253b6509d294180915b557be6ea2
2024-10-15 23:04:54 +00:00
Treehugger Robot
41b461c238 Merge "Fix LE Audio sysprops typos in makefiles" into main 2024-10-15 16:56:06 +00:00
Krzysztof Kosiński
bf1d975910 Revert "Update SELinux error"
This reverts commit a6eb3139fe.

Reason for revert: Caused by b/372273614, relevant CL was reverted

Fix: 372348756
Change-Id: I1ca54668c33b80d5139526f6ecf8dd65864787e4
2024-10-15 06:31:33 +00:00
Android Build Coastguard Worker
8ff6641fa6 Snap for 12496712 from bc3e73c6b5 to 25Q1-release
Change-Id: Ia76a0ab6a0ad815afaf6c388e7113bcc61a86845
2024-10-14 23:04:28 +00:00
Android Build Coastguard Worker
08999fde05 Snap for 12496712 from c07e594a12 to 25Q1-release
Change-Id: I111e4dbe933c1c7e2040ea11a0b45ea6ef2bb601
2024-10-14 23:04:27 +00:00
Eileen Lai
bc3e73c6b5 Merge "modem_svc: use shared_modem_platform to replace all modem_svc_sit" into main 2024-10-14 07:27:51 +00:00
Eileen Lai
c07e594a12 Merge "modem_svc: use shared_modem_platform to replace all modem_svc_sit" into main 2024-10-14 07:27:51 +00:00
Android Build Coastguard Worker
3166aff890 Snap for 12488717 from a6c71987d5 to 25Q1-release
Change-Id: Ifd29e724a8ddc6bae01b2aac8c5ef0baabb15aed
2024-10-12 01:04:50 +00:00
Robert Luo
d2b83392a7 [Pixel RR] Apply reviewed default permissions
Pregrantting below permission(s):
CALL_PHONE

Flag: EXEMPT add pregranted permission in b/371912006
Bug: 336203918
Test: presubmit
Change-Id: I96d2fd462172e2e176e5c8e0d4add7e98c36bb84
2024-10-11 17:59:59 +08:00
Andrew Cheng
9106927757 Fix LE Audio sysprops typos in makefiles
Makefile contain the following sysprops

bluetooth.profile.bap.unicast.server.enabled
bluetooth.profile.tbs.server.enabled
bluetooth.profile.vc.server.enabled

However, CS indicates the above sysprops aren't defined anywhere
nor read anywhere? Given how the following LE Audio sysprops are
missing from the makefile, and the similarities in naming, we
suspect there was a typo?

bluetooth.profile.bap.unicast.client.enabled
bluetooth.profile.ccp.server.enabled
bluetooth.profile.vcp.controller.enabled

Bug: 372711861
Test: builds
Flag: EXEMPT bugfix
Change-Id: I3b1be96531ffa6639647e0240dfc0f07ad1843a3
2024-10-10 14:11:43 -07:00
Rick Yiu
a6c71987d5 Set auto prefer idle task name
Set InputDispatche and InputReader prefer idle explicitly, which is a
workaround and should be removed after they become ADPF.

Bug: 366146314
Flag: NONE init rc file change does not support flags
Test: tasks set as expected
Change-Id: I38afa16f8f85e6aea31ddd5367c2e2d4a3249ced
2024-10-10 08:47:15 +00:00
Android Build Coastguard Worker
f7901c01ee Snap for 12477291 from a6eb3139fe to 25Q1-release
Change-Id: I11587a75d56d2f2895b401aea34897e2d05979bd
2024-10-09 21:04:00 +00:00
Android Build Coastguard Worker
c0410c3725 Snap for 12477291 from 23cee311f9 to 25Q1-release
Change-Id: I16202fbc4e8cfc1f4fd0f8c9e88facddb6f3aaf4
2024-10-09 21:03:59 +00:00
Eileen Lai
c2660d9ba4 modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: I9a9ff83d2bf3cf55b4c8806d808efde03ca2de70
2024-10-09 08:34:45 +00:00
Kuen-Han Tsai
23cee311f9 Usb: Add status check to prevent NPE
This patch prevents a Null Pointer Exception in
queryMoistureDetectionStatus() when getPortStatusHelper() fails to open
the /sys/class/typec file. The failure results in an empty
currentPortStatus vector, causing the NPE when accessing its first
element.

Bug: 361097811
Flag: EXEMPT bugfix
Test: NPE does not occur when getPortStatusHelper() fails
Change-Id: I2cbe70d3b00cb2cf8c28a28d91a18fbf7c326ea7
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-10-09 15:59:20 +08:00
Nina Chen
a6eb3139fe Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 372348756
Bug: 372348383
Bug: 372348502
Flag: EXEMPT NDK
Change-Id: I126496a25529a73293430c9a1e7009e82b161331
2024-10-09 03:24:11 +00:00
Android Build Coastguard Worker
da93b469aa Snap for 12470893 from d898a7a787 to 25Q1-release
Change-Id: Ia444c06a47f8094f8f48f0aa1a090e400c5efba2
2024-10-08 23:04:37 +00:00
Android Build Coastguard Worker
09cdb30474 Snap for 12470893 from c730474f5e to 25Q1-release
Change-Id: I54abc3a5a52a6554012bcd6ab73852f084314484
2024-10-08 23:04:37 +00:00
Nina Chen
d898a7a787 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 372121912
Test: scanBugreport
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428180
Flag: EXEMPT NDK
Change-Id: I88cf70ace59b6ca4cf66a4b0ffaf3bc8220f932b
2024-10-08 03:31:04 +00:00
Madhav Iyengar
c730474f5e Merge "[chre-hal-xport] Give permissions for new xport" into main 2024-10-07 21:45:41 +00:00
Madhav Iyengar
1df1b01bdd [chre-hal-xport] Give permissions for new xport
Bug: 369883034
Flag: android.chre.flags.refactor_hal_xport_agnostic
Change-Id: Ibea491792b6539820bc833f4662d84eb68e113ea
2024-10-07 21:45:14 +00:00
Danny Lin
8976e6eb3d overlay: Enable Adaptive Connectivity setting
This feature is provided by the ConnectivityThermalPowerManager app that
we extract as a proprietary blob, so we can expose it.

Change-Id: I407e9e2235531fbca0b2c0e48b68105b1e77ad1f
2024-10-07 14:35:47 +03:00
Michael Bestas
83fe2e51a6 overlay: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-10-07 14:35:06 +03:00
razorloves
170f4b4190 overlay: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-10-07 14:34:59 +03:00
razorloves
04d1ac798d Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-10-07 14:34:43 +03:00
razorloves
d157210edf overlay: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-10-07 14:34:19 +03:00
Michael Bestas
a4c909cf33 Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-10-07 14:33:59 +03:00
Alessandro Astone
4af6dc5566 Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2024-10-07 14:33:38 +03:00
Michael Bestas
8b5e3dbb57 Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-10-07 14:30:42 +03:00
Michael Bestas
ddf641562d Add lib_aion_buffer.so to vendor linker config
This lets com.google.pixel.camera.hal.apex access it.

Change-Id: Ic01ce043eeecbc3bcc71c04f49a7c348e2b10886
2024-10-07 14:30:31 +03:00
LuK1337
0c470b4e65 Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2024-10-07 14:30:27 +03:00
Nolen Johnson
303f5f65cb Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2024-10-07 14:29:56 +03:00
LuK1337
82aa2fe368 overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-10-07 14:29:21 +03:00
Jesse Chan
1f92ef3c24 overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-10-07 14:28:46 +03:00
Danny Baumann
e9ef933bb5 overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2024-10-07 14:24:56 +03:00
Michael Bestas
ce1740ee88 overlay: Remove quick_qs_{offset,total}_height overlays
Commit 49895bb361e74ffe92a3c0b76f988c8e4697b5c1 in device/google/gs101
failed to remove these overlays. Since this tree was created from
device/google/gs101, this results in the following issue on pantah:
* Pull down status bar
* Try to adjust brightness, network settings open instead

This is caused by the 171px offset that causes the status bar
to overlap the brightness slider.

Test: Reliably adjust brightness, confirm with "Show layout bounds"
      from developer settings.
Change-Id: I1b97a28c257cb5b0faba830f29e9058d2dbe50fa
2024-10-07 14:24:32 +03:00
Michael Bestas
47a31a778d overlay: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-10-07 14:24:25 +03:00
Danny Lin
5177b92654 overlay: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-10-07 14:24:03 +03:00
Dan Pasanen
e33a347e59 overlay: enable config_vibrateOnIconAnimation
* need those sexy vibes

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-10-07 14:23:55 +03:00
Danny Lin
5d1e250c2d overlay: Settings: Enable multiple vibration strength levels
All production zuma devices have CS40L2x haptic driver ICs that support
multiple intensities, so expose the Off/Low/Medium/High vibration
strength options like stock.

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I72645b5bd5772e182592a630df86f9b6166b4923
2024-10-07 14:23:10 +03:00
Danny Lin
74584d51fa overlay: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 6 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-10-07 14:22:52 +03:00
Bruno Martins
f5c7e6ba5c overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2024-10-07 14:22:44 +03:00
Chirayu Desai
2bab0af328 Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-10-07 14:22:34 +03:00
Chirayu Desai
93e2662428 Add device manifest for radio & keymint
Change-Id: Ib6c4b28d33fb64cb05c715d86a96a829a498beac
2024-10-07 14:16:23 +03:00
Chirayu Desai
03c1dac51c Build vbmeta_vendor
Change-Id: I74c028a2e5ade8830526e95f8ec90b1a1da35afb
2024-10-07 14:16:18 +03:00
Chirayu Desai
242d6f22ca Build vendor
Change-Id: I08dff42223ae54386a5ed050b51aa4a39e08bdb6
2024-10-07 14:16:14 +03:00
Chirayu Desai
99ecae283d Build vendor_dlkm
Change-Id: Ic2a0e4cdfdcc448a73bef41e0d2140e9d0aefcf0
2024-10-07 14:16:09 +03:00
mydongistiny
89d5d4172d 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-07 14:15:56 +03:00
Chirayu Desai
720d936cc6 Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-10-07 14:14:59 +03:00
Herbert Xue
af939d7802 Remove unused device/google/zuma/Android.mk
There is no other Android.mk under subdirectory of device/google/zuma.

Bug: 347619275
Test: NA
Change-Id: I7a5e9afb1ccb75ed66e947a3fa1e0bda2c2223b6
2024-10-07 14:14:10 +03:00
Michael Bestas
62371207c2 zuma: Update sepolicy path
Change-Id: Ie2d420cd25e1a8b65977504ed987df57b525dc5f
2024-10-07 14:13:13 +03:00
Michael Bestas
90f03e1f0b Add .gitupstream
Change-Id: I79747ef989659c069386a6ed34a59bba2e8ea860
2024-10-07 14:10:48 +03:00
Michael Bestas
1f12b7b750 Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 5ac4bfe691
git-subtree-split: 8c9dd0dbcd
Change-Id: If7ab7a231c42edd022de4786d0e0d92c6e77eef0
2024-10-07 14:08:35 +03:00
Android Build Coastguard Worker
5dae66b79e Snap for 12462067 from ce7cdaa39f to mainline-tzdata6-release
Change-Id: Ibcaab6adad8beea9982ba11a162b8929162e290e
2024-10-07 09:03:23 +00:00
Android Build Coastguard Worker
d6d70e5696 Snap for 12462067 from 72b12b913c to mainline-tzdata6-release
Change-Id: I0bf0391b7be24bbcbd14acfd8dc6e9e8046fe732
2024-10-07 09:03:20 +00:00
Eileen Lai
115208a81c modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: I3d4007714e48cdabe010b4d740fe472024966270
2024-10-07 08:28:30 +00:00
Android Build Coastguard Worker
2c92e6a760 Snap for 12458821 from ce7cdaa39f to 25Q1-release
Change-Id: I0903a95cb863a30c91f150d91f8cb45153802a27
2024-10-05 01:04:28 +00:00
Ben Murdoch
ce7cdaa39f Allow systemui_app to set 'debug.tracing.desktop_mode_visible_tasks' system property
See also: Iad8dc7a66765856ee7affb707f2dba6c1bbfbf49

Bug: 363893429
Flag: EXEMPT, SEPolicy
Test: Verified on device.
Change-Id: I4916370be55d4d5fd5c53ac5418b8a2bd99e9b37
2024-10-03 15:01:54 +00:00
Android Build Coastguard Worker
13dccaa7b5 Snap for 12445464 from 72b12b913c to 25Q1-release
Change-Id: I8806eb0b5615e10991b34a247aa2e58ae067f0e0
2024-10-02 23:04:43 +00:00
Jimmy Shiu
72b12b913c Merge "[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile." into main 2024-10-02 03:13:56 +00:00
Jimmy Shiu
0911e1e72c [task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: Iab14bf54c75911fcb48b316f66bc0293d5faf76c
2024-10-01 11:41:45 +00:00
Thiébaud Weksteen
f688a56d8e Remove duplicate service entries
These entries are defined in the platform policy.

Flag: EXEMPT bugfix
Bug: 367832910
Test: TH
Change-Id: I34e04111d74d0b7b4d9e3e4e359feb1b92b40593
2024-10-01 14:48:00 +10:00
Android Build Coastguard Worker
86d5bedb50 Snap for 12433810 from 42cb622a74 to 25Q1-release
Change-Id: Ib0f0f3a47c62bf34d3212068d89b8fad010d064e
2024-09-30 23:04:33 +00:00
Shikha Panwar
42cb622a74 Zuma: Enable Secretkeeper on aosp targets am: 72946bd429 am: bb3fb6aa85
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3287155

Change-Id: I81a6e406ccf40cf13b65d7c57b88c24fe2101a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-30 16:08:26 +00:00
Shikha Panwar
bb3fb6aa85 Zuma: Enable Secretkeeper on aosp targets am: 72946bd429
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3287155

Change-Id: I7e161f139f098fb1f2d15569eb93484139cd67a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-30 15:42:59 +00:00
Shikha Panwar
72946bd429 Zuma: Enable Secretkeeper on aosp targets
These are used for testing, enable Secretkeeper on these devices.

Test: get_build_var SECRETKEEPER_ENABLED
Bug: 341708664
Change-Id: I0fd0e3d5a16cab352c79228e89f9d2fdd6f886b7
2024-09-30 12:13:56 +00:00
Android Build Coastguard Worker
74369d515c Snap for 12426030 from e9f1e61a35 to 25Q1-release
Change-Id: I2d91c55659e00cbc76d899dd561d31add3944174
2024-09-28 01:04:25 +00:00
Android Build Coastguard Worker
0cfafcb4ff Snap for 12420652 from bab0ee8b25 to 25Q1-release
Change-Id: Ia4caa9cea338dddaecbad6ecea1f021575b3708f
2024-09-26 23:03:43 +00:00
Android Build Coastguard Worker
d6e1445f90 Snap for 12420652 from ce26f3aab9 to 25Q1-release
Change-Id: I345d2baf27990039b8e97da0c8e22d34a001a222
2024-09-26 23:03:42 +00:00
Zhengyuan Cui
e9f1e61a35 Merge "Change any use case of folder name apis to tachyon_apis to avoid api review" into main 2024-09-26 21:00:59 +00:00
Baltazar Ortiz
8921faa915 Merge "dumpstate: Use generic dc_mains for all parallel chargers" into main 2024-09-26 20:14:40 +00:00
Treehugger Robot
bab0ee8b25 Merge "Fix error in systemui when toggling airplane mode" into main 2024-09-26 16:11:38 +00:00
Wesley Lee
ce26f3aab9 Merge "use 80x80 as the minimal resolution" into main 2024-09-26 01:40:26 +00:00
Baltazar Ortiz
7a32e9dcdd dumpstate: Use generic dc_mains for all parallel chargers
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: I00e7a60bfcefb6d68879d0a301cd126134e8b3a1
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:12 +00:00
Android Build Coastguard Worker
d2c73ac75f Snap for 12415101 from c6822be533 to 25Q1-release
Change-Id: I7dfd7ced08ddf1610edfbb92617b7876d29ce76b
2024-09-25 23:04:19 +00:00
Yi Shiou (Les) Lee
22b71710a1 Merge "wifi: Upgrade vendor hal version" into main 2024-09-25 21:33:48 +00:00
Wilson Sung
c6822be533 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 369540836
Test: scanBugreport
Bug: 369540673
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428180
Flag: EXEMPT NDK
Change-Id: I096e8d513a393d70fc70edf658dcdf7650072c9a
2024-09-25 12:46:23 +00:00
Wilson Sung
e40a281856 Fix error in systemui when toggling airplane mode
avc:  denied  { read } for  name="u:object_r:radio_cdma_ecm_prop:s0" dev="tmpfs" ino=321 scontext=u:r:systemui_app:s0:c3,c257,c512,c768 tcontext=u:object_r:radio_cdma_ecm_prop:s0 tclass=file

Bug: 197722115
Bug: 359381748
Test: make selinux_policy
Flag: EXEMPT bugfix
Change-Id: I96d17e562ac1cc0e0e0597ce332e94be95652026
2024-09-25 08:40:47 +00:00
Nina Chen
e6639e9e9f Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 369475700
Test: scanBugreport
Bug: 369475363
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 369475225
Bug: 359428180
Flag: EXEMPT NDK
Change-Id: I154c0c347aa62a5eb262c2a8174ad3b3f2ba03aa
2024-09-25 06:30:51 +00:00
Android Build Coastguard Worker
2784c2ffed Snap for 12410317 from cd06811f33 to 25Q1-release
Change-Id: I67943033a77ec6c790dfc385563320d579ff5cfd
2024-09-24 23:03:51 +00:00
Zhengyuan Cui
a53df11883 Change any use case of folder name apis to tachyon_apis to avoid api review
Bug: 364390678

Change-Id: Icc42a31cf00f09e1c86f147376c276c9a657822f
Flag: EXEMPT refactor
2024-09-24 21:52:28 +00:00
Treehugger Robot
cd06811f33 Merge "Update sepolicy for nfc antenna selftest values" into main 2024-09-24 07:34:38 +00:00
Android Build Coastguard Worker
0a154fe6fa Snap for 12404440 from f03cc7ce1c to 24Q4-release
Change-Id: I93033348990a1497376704a3716c77a0fb97d418
2024-09-23 23:03:43 +00:00
Android Build Coastguard Worker
96bda820a1 Snap for 12399304 from 438d6d7c70 to 25Q1-release
Change-Id: Ibb9a72802d81097aca815c183bae390a18f27f0a
2024-09-21 23:03:00 +00:00
Android Build Coastguard Worker
df44ec5501 Snap for 12399304 from 57a8d79710 to 25Q1-release
Change-Id: Icd25356a916bbe6e45f652ff3a5e6622570b708e
2024-09-21 23:02:57 +00:00
Tej Singh
f03cc7ce1c Make android.framework.stats-v2-ndk app reachable
For libedgetpu

Test: TH
Bug: 354763040
Flag: EXEMPT bugfix
Change-Id: I1c2fb12e09ffe8083d6b14b0ee5aa957e031ddf3
2024-09-20 21:39:59 -07:00
Android Build Coastguard Worker
d991c351d8 Snap for 12397640 from 57a8d79710 to 24Q4-release
Change-Id: If5342a2d21e125e1093d48c2dc316b6d74847b43
2024-09-21 01:03:12 +00:00
Wesley Lee
5e2b322b5b use 80x80 as the minimal resolution
Bug: 367425615

Flag: EXEMPT bugfix

Change-Id: I19f87ebf6dae28369612e26db064bd2709f68094
Signed-off-by: Wesley Lee <szuweilee@google.com>
2024-09-20 16:32:53 -07:00
Krzysztof Kosiński
57a8d79710 Delete TARGET_CPU_VARIANT_RUNTIME. am: 48f1c2182c am: 7cd5c7d047
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3274367

Change-Id: I8c5b866a0114073ce6a4252cd265dce8f3b1cb82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:48:38 +00:00
Krzysztof Kosiński
7cd5c7d047 Delete TARGET_CPU_VARIANT_RUNTIME. am: 48f1c2182c
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3274367

Change-Id: Ieb3853b09bfbc56d955a88fc4c78b3fb0ff5f3e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:33:17 +00:00
Krzysztof Kosiński
48f1c2182c Delete TARGET_CPU_VARIANT_RUNTIME.
This variable only does something when it differs from
TARGET_CPU_VARIANT. Setting it to the same values doesn't do
anything.

Bug: 368635026
Test: presubmit
Change-Id: I1e16c5b9244eca4d69909bb1caefebfc17e54a70
2024-09-20 19:19:37 +00:00
Android Build Coastguard Worker
a114cdfa9a Merge cherrypicks of ['googleplex-android-review.googlesource.com/28544368'] into 24Q3-release.
Change-Id: Ibf362c531e5bd47f4be1f20efe74f414f72d60fc
2024-09-20 18:41:22 +00:00
gilliu
22c17673b0 add hal_graphics_composer to access thermal temperature
type=1400 audit(0.0:77): avc:  denied  { search } for  name="thermal"
dev="tmpfs" ino=1618 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:thermal_link_device:s0 tclass=dir permissive=0

type=1400 audit(0.0:74): avc:  denied  { search } for  name="thermal"
dev="sysfs" ino=21594 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0

type=1400 audit(0.0:74): avc:  denied  { read } for  name="temp"
dev="sysfs" ino=73536 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0

type=1400 audit(0.0:74): avc:  denied  { getattr } for
path="/sys/devices/virtual/thermal/thermal_zone12/temp" dev="sysfs"
ino=73537 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0

Bug: 343141590
Test: check no avc pattern on logcat from test image
Flag: NONE add permission
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1dde3ea2ff33bdf253fbbfb609ec21eaccffeaf4)
Cherry-pick temp_rr_regamma to 24Q3
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c0fa5fcc6da5545982c8293c644aa1adccbc270f)
Merged-In: I87fce47644b07342d756e7594685eea0dded1926
Change-Id: I87fce47644b07342d756e7594685eea0dded1926
2024-09-20 18:35:27 +00:00
Android Build Coastguard Worker
fbcec90b66 Snap for 12391343 from f42925e978 to 24Q4-release
Change-Id: Ic28357cfffa3286f1c41a1c41bffbe998d8dd700
2024-09-19 23:03:07 +00:00
Android Build Coastguard Worker
9473391c4f Snap for 12385180 from 438d6d7c70 to 24Q4-release
Change-Id: If3e7295ccd6c8593e38a3b0752569cf1d6343dea
2024-09-18 23:03:15 +00:00
Jerry Chang
f42925e978 Add input event profile to mitigate input latency of input threads
Bug: 347122505
Test: check the priority and latency of input thread in Perffeto
Flag: NONE early device setting updates
Change-Id: I3977722564241817575d94b2d2023eac6939ce1c
2024-09-18 12:06:53 +00:00
Nina Chen
438d6d7c70 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 367943515
Test: scanBugreport
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428180
Flag: EXEMPT NDK
Change-Id: I06481594dae66cb89f8b3ac8be6d254760771f61
2024-09-18 11:56:11 +00:00
Android Build Coastguard Worker
5f235a3cd4 Snap for 12373988 from 6afb3f9858 to 24Q4-release
Change-Id: Ie5996b138804ca32b105b38ac65c0b829b0a9fa2
2024-09-16 23:03:05 +00:00
Ryan Prichard
6afb3f9858 zuma: avoid vector<const T> am: 4ed3c2fb25 am: 6556da1b96
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3264354

Change-Id: Ia70eb3e1e0be69674ecf56f8f846570d3b65b5f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 20:13:39 +00:00
Ryan Prichard
6556da1b96 zuma: avoid vector<const T> am: 4ed3c2fb25
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3264354

Change-Id: Ie2eba8ae7c5010573e70e780e1c957f046e7d6ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 19:53:10 +00:00
Prochin Wang
9ba73f1d79 Change vendor_fingerprint_prop to vendor_restricted_prop
This is to allow the fingerprint HAL to access the property.

Bug: 366105474
Flag: build.RELEASE_PIXEL_BOOST_DATALAYER_PSA_ENABLED
Test: mm
Change-Id: I021c004ca0153d2995fae6b3d6208d6cd6c799ef
2024-09-16 01:45:31 +00:00
Android Build Coastguard Worker
a3dbc662f0 Snap for 12370120 from 4bb5ee3796 to 25Q1-release
Change-Id: I88bba3f83d25d18ca8ae8872d80d6fc681b89821
2024-09-14 23:02:31 +00:00
Android Build Coastguard Worker
0b95feea38 Snap for 12370120 from c46756b74a to 25Q1-release
Change-Id: I0ec8941a0f91e75cfd4d64340eb9fe6aab7d01c3
2024-09-14 23:02:30 +00:00
Android Build Coastguard Worker
6b7f4d2b8e Snap for 12369952 from 4bb5ee3796 to 24Q4-release
Change-Id: I8977183ce148e33e23f96e2bcde3c899a998a296
2024-09-14 22:37:51 +00:00
Android Build Coastguard Worker
7db473226c Snap for 12368321 from c46756b74a to 24Q4-release
Change-Id: I9178d97eb1d5011f76a12170a02fb0a040edbb7e
2024-09-14 01:03:13 +00:00
Ryan Prichard
4ed3c2fb25 zuma: avoid vector<const T>
std::vector<const T> uses std::allocator<const T>, which is an
undocumented libc++ extension to the C++ standard library. The extension
was removed in llvm.org/PR96319. Use an ordinary non-const T instead.

Bug: http://b/349681543
Test: m android.hardware.power.stats-impl.zuma
Flag: EXEMPT, refactor to fix build failure
Change-Id: I47d0b3a441ab4ec8dd2ad8e794ae84f184d0d40f
2024-09-13 09:25:49 -07:00
Nina Chen
4bb5ee3796 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 366116488
Test: scanBugreport
Bug: 359428180
Bug: 364446415
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428180
Flag: EXEMPT NDK
Change-Id: I0c808f3c6aa441c0bfad23e0d8d2f0b987d09ed7
2024-09-13 06:45:09 +00:00
Android Build Coastguard Worker
a256642e8c Snap for 12361654 from 7b5da7c4d5 to 24Q4-release
Change-Id: If037a0c12c150e370a9575be4c7e6564a7636fad
2024-09-12 23:02:53 +00:00
Pawan Wagh
c46756b74a 16kb: Filter out zram.ko for dev options
Test: atest Enable16KbTest
Flag: EXEMPT bugfix
Bug: 363412208
Change-Id: Ib1e135889186eeccb21448e16660701967c92c5c
2024-09-12 20:23:14 +00:00
Nattharat Jariyanuntanaet
1492b4913a Update sepolicy for nfc antenna selftest values
Allow persist.vendor.nfc.antenna. to be vendor public values for NFC
companion app to access from userdebug or eng builds

avc:  denied  { read } for  name="u:object_r:vendor_nfc_antenna_prop:s0" dev="tmpfs" ino=414 scontext=u:r:untrusted_app:s0:c79,c257,c512,c768 tcontext=u:object_r:vendor_nfc_antenna_prop:s0 tclass=file permissive=0 app=com.google.android.apps.internal.nfcassistancetool

Bug: 361050657
Test: m selinux_policy
Flag: NONE add permission
Change-Id: I47c54642dbc801dfcaee8330e75a29d11030337c
2024-09-12 20:17:39 +00:00
Android Build Coastguard Worker
d8426dbe90 Snap for 12354992 from f18a5cb789 to 24Q4-release
Change-Id: I70d3fe05a103c443d82ce4ccc6ab7c14fc5ae8c4
2024-09-11 23:02:54 +00:00
Kelvin Zhang
7b5da7c4d5 Merge "Support 16KB data reset" into main 2024-09-11 22:31:02 +00:00
Chia-Chi Teng
f18a5cb789 Merge "Deprecate preloaded_nanoapps.json" into main 2024-09-11 18:41:22 +00:00
Android Build Coastguard Worker
d7fbb34f66 Snap for 12348750 from 54f83f2d07 to 24Q4-release
Change-Id: I798f4a0fd86b38da7ae433f968f157931ec13cf9
2024-09-10 23:03:50 +00:00
Kelvin Zhang
2dbe6e6fd2 Support 16KB data reset
We didn't add the formattable flag to ext4 fstab entry because init
only uses the first entry for re-formatting, but now init can choose
the right fs type base on page size, we can add the formattable flag.
Now data resets in 16KB mode would go back to ext4.

Test: th
Bug: 356202847
Change-Id: Ieb01c2592b3bb8e3342b2b6178ee73c0fb8a4288
2024-09-10 21:01:30 +00:00
David Li
54f83f2d07 Merge "audio: set util_clamp_min for s/w spatializer to avoid glitches" into main 2024-09-10 07:14:08 +00:00
Chia-Chi Teng
f52ee80ff6 Deprecate preloaded_nanoapps.json
Flag: EXEMPT resource only update
Bug: 350102369
Test: on device and presubmit
Change-Id: I5b5c3fe3a37199f3a55cb6e0e31f0ce141bc0dda
2024-09-10 01:56:29 +00:00
Android Build Coastguard Worker
5e300be87f Snap for 12342105 from e32a7f759b to 24Q4-release
Change-Id: I9665ed25d464aaf90f0e137618c3a2aaef5cbef7
2024-09-09 23:03:34 +00:00
Pawan Wagh
847ea2b1b0 Merge "Revert "Disable incremental boot_otas"" into main 2024-09-09 22:47:41 +00:00
Pawan Wagh
dd3eec8677 Revert "Disable incremental boot_otas"
This reverts commit 8bb0da99a9.

Reason for revert: Incremental ota support is now available: b/339658378
Fixes disk size regression issue now that OTA signing issues are resolved.

Change-Id: Id897a60473e6ea99522d9ab372511e7c2ebdd757
2024-09-09 21:37:42 +00:00
Steven Moreland
175979b0ca Add persist to CopyEfsTest
Change-Id: I8e12b0ac5e529e15697f35b88ac8b43c798fedd1
Test: atest CopyEfsTest
Flag: TEST_ONLY
Bug: 352567354
2024-09-09 20:50:56 +00:00
Daniel Rosenberg
069a8098b3 Fix CopyEfsTest for symlinks
Use the -L flag to preserve symlinks.
Fixed various flags to ensure we handle symlinks right,
and adjusted the awk string to handle difference in how dates are
represented.

Test: atest CopyEfsTest
Flag: TEST_ONLY
Bug: 352567354
Change-Id: I686c16fc1d771bf00bdc7465beb29a91eaef9e46
2024-09-09 20:50:40 +00:00
Treehugger Robot
e32a7f759b [automerger skipped] Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 8c1ec1b9e0 am: 3e64c07a4b -s ours
am skip reason: Merged-In I181937f9e49d4b9e1088fc92df7681d1a39e3d26 with SHA-1 c8436d8183 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3254799

Change-Id: I90a90a60fa55277d8b8f5061f33e8cbc7d015d4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 19:09:43 +00:00
Treehugger Robot
3e64c07a4b Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 8c1ec1b9e0
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3254799

Change-Id: If245fe61ad9ab7012b25681d1d37fc6cbb4219f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 19:01:27 +00:00
Treehugger Robot
8c1ec1b9e0 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 18:55:05 +00:00
Treehugger Robot
ffa9cd13fe Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 17:51:17 +00:00
Krzysztof Kosiński
54ceb87f8e Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zuma devices (Pixel 8)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
Merged-In: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
2024-09-09 17:05:00 +00:00
Krzysztof Kosiński
c8436d8183 Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zuma devices (Pixel 8)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
2024-09-09 17:03:22 +00:00
Android Build Coastguard Worker
9dcf5a3ddc Snap for 12337407 from 5b80168d54 to 25Q1-release
Change-Id: I0882cc8a938df7083460477fae953baf09a5d1b5
2024-09-07 23:05:45 +00:00
Android Build Coastguard Worker
557b92116e Snap for 12337407 from 8fd1accc1e to 25Q1-release
Change-Id: Ic83802ce28d627d3b1e43f5a7be97d7896c850be
2024-09-07 23:05:42 +00:00
Android Build Coastguard Worker
2e706c20d9 Snap for 12337246 from 5b80168d54 to 24Q4-release
Change-Id: Id8be2e2151e5c3fc73709fa92bfb198599c1758b
2024-09-07 21:03:03 +00:00
Android Build Coastguard Worker
eb71245c16 Snap for 12337246 from 8fd1accc1e to 24Q4-release
Change-Id: I419ba6690d110cbf3c1112c80c2b8607fbad645b
2024-09-07 21:03:01 +00:00
Xin Li
8fd1accc1e [automerger skipped] Merge 24Q3 to AOSP main am: 7e18ab81e1 -s ours am: d8ea5d3412 -s ours
am skip reason: Merged-In I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3 with SHA-1 2d0a254101 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3258122

Change-Id: I8bf59b12c6f440cb32f7df35d151ef2eb77155ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:49:31 +00:00
Xin Li
5b80168d54 [automerger skipped] Merge 24Q3 to AOSP main am: 39d96988e3 -s ours am: d1f03df8fc -s ours
am skip reason: Merged-In I9181b2344f2448b9debe1522528545ce90de8768 with SHA-1 fb98394c54 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3258561

Change-Id: I411d96644364dcb9efdea5c1fe708b9651f8c12d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:29:31 +00:00
Xin Li
d8ea5d3412 [automerger skipped] Merge 24Q3 to AOSP main am: 7e18ab81e1 -s ours
am skip reason: Merged-In I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3 with SHA-1 2d0a254101 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3258122

Change-Id: I22de6d889530896c87c8be5e914e80acb5223765
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:53:34 +00:00
Xin Li
d1f03df8fc [automerger skipped] Merge 24Q3 to AOSP main am: 39d96988e3 -s ours
am skip reason: Merged-In I9181b2344f2448b9debe1522528545ce90de8768 with SHA-1 fb98394c54 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3258561

Change-Id: Iedc2cb039f534e4d1e7b873bec0f4f4d41fb4ab6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:51:35 +00:00
Xin Li
39d96988e3 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I9181b2344f2448b9debe1522528545ce90de8768
Change-Id: Ic5351ce6b46a46820c6d73d4f924c6b92d30b06d
2024-09-05 17:02:39 -07:00
Xin Li
7e18ab81e1 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
Change-Id: I56e1840b7862737c84f36c73296253726437d1ca
2024-09-05 17:02:39 -07:00
Android Build Coastguard Worker
10ea56e689 Snap for 12327203 from cb4745e9e8 to 24Q4-release
Change-Id: I9a584af2644302c8555704aa8326187f7c2445b9
2024-09-05 23:02:54 +00:00
Ocean Chen
cb4745e9e8 Merge "Switch from the BFQ to the mq-deadline I/O scheduler" into main 2024-09-05 06:37:40 +00:00
Ocean Chen
87bf601c9c 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: I51605b32afb4340d416fe4923570bb3f4af24ab8
Signed-off-by: Ocean Chen <oceanchen@google.com>
2024-09-05 12:39:25 +08:00
Carmen Yip
9079afec14 Merge "extended_log: update directory permissions for zuma" into main 2024-09-05 04:02:12 +00:00
Les Lee
7512629d19 wifi: Upgrade vendor hal version
Bug: 362355566
Flag: EXEMPT HAL interface change
Test: Build
Change-Id: Idfc752d4f8186b710d6ae33ed29daf22157601cc
2024-09-05 03:48:47 +00:00
carmenyip
5c93636708 extended_log: update directory permissions for zuma
Bug: 336638376

Test: $ cd data/vendor/radio
$ ls -la
Flag: NONE changing directory permissions only

Change-Id: I89d003f286868fa2a593aa627e8d89a721395d79
2024-09-05 02:59:13 +00:00
Android Build Coastguard Worker
d7f913bfc7 Snap for 12319997 from a73414799e to 24Q4-release
Change-Id: I07172b9ae176c7f16f32ac78bfd87d63f44cbeda
2024-09-04 23:03:30 +00:00
Android Build Coastguard Worker
e1cb0e023e Snap for 12319997 from 9e6992ba0b to 24Q4-release
Change-Id: I16a2849157a9beb82ae19f95aaf8c31078dfa9f0
2024-09-04 23:03:29 +00:00
Charlie Yang
9e6992ba0b Merge "Revert "Add soong config use_google_qns in device/google/zuma/de..."" into main 2024-09-04 13:05:41 +00:00
Charlie Yang
20b924373f Revert "Add soong config use_google_qns in device/google/zuma/de..."
Revert submission 28947244-grilservice

Reason for revert: b/363911795

Reverted changes: /q/submissionid:28947244-grilservice

Change-Id: Iec8b16c4322a6e1a245c4bca22802ab29fe042a5
2024-09-04 11:02:53 +00:00
Treehugger Robot
d2e551958d Merge "Control the "init_dpm.sh" to be built in zuma devices" into main 2024-09-04 06:54:42 +00:00
Randall Huang
a73414799e storage: move storage related device type to common folder
Bug: 364225000
Test: forrest build
Change-Id: I60597a3ad6f674b93267f41b3a27fdee6e923e59
Signed-off-by: Randall Huang <huangrandall@google.com>
2024-09-04 10:44:21 +08:00
Herbert Xue
6aabc9bd28 Control the "init_dpm.sh" to be built in zuma devices
Flag: EXEMPT bugfix
Bug: 360757643
Test: lunch husky-trunk_staging-eng && m init_dpm.sh
Change-Id: Ie9822ca65d875c120bc38707aee54353aac5a8b5
2024-09-03 10:25:54 +08:00
Android Build Coastguard Worker
4f396416ed Snap for 12309590 from 8297fee02b to 24Q4-release
Change-Id: If58ee653816b60f1378c48e32c8a959c0a2b6e9d
2024-09-02 23:02:52 +00:00
Android Build Coastguard Worker
01eb70db58 Snap for 12309590 from 094d5d6d51 to 24Q4-release
Change-Id: Ibba56eb0df906ad10da59ebf0c730b3492bfe5f4
2024-09-02 23:02:51 +00:00
Attis Chen
8297fee02b Merge "Label sysfs node power_mode as sysfs_display." into main 2024-09-02 04:54:18 +00:00
Treehugger Robot
094d5d6d51 Merge "Control GoogleDialer built from zuma/proprietary/GoogleDialer" into main 2024-09-02 03:12:37 +00:00
Android Build Coastguard Worker
4b93cb5c4b Snap for 12304452 from e9d6cf25c8 to 24Q4-release
Change-Id: I413b4bb70b0bf4336f5f2779c20e0dbdb5c7816f
2024-08-31 01:03:04 +00:00
Treehugger Robot
e9d6cf25c8 Merge "Add soong config use_google_qns in device/google/zuma/device.mk" into main 2024-08-30 07:22:56 +00:00
kellyhung
75edad5f45 Add soong config use_google_qns in device/google/zuma/device.mk
Bug: 360757079
Test: lunch r11-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix
Change-Id: Id783f65e12bc93d7db308d15b8440e6ea5007906
2024-08-30 06:39:05 +00:00
Herbert Xue
7d3cb7808c Control GoogleDialer built from zuma/proprietary/GoogleDialer
For PDK build, the "vendor/unbundled_google" path doesn't exist.
"GoogleDialer" will be built from vendor/google_devices/zuma/proprietary/GoogleDialer.

Flag: EXEMPT bugfix
Bug: 358012156
Test: export USES_GOOGLE_DIALER_CARRIER_SETTINGS=true; m GoogleDialer
Change-Id: If2aab058f23cebc5a25862c69deda508f5f9c37e
2024-08-30 10:11:17 +08:00
Treehugger Robot
26ed4214b8 Merge "Delete mapper4 manifest" into main 2024-08-30 01:30:01 +00:00
Rick Yiu
e739e3b254 Restore preferred_idle_mask to the default setting
The preferred_idle_mask is changed during boot time, but it does not
restore to the default setitng as in powerhint, so some node may keep
the wrong value when framework restarts.

Bug: 248621289
Test: build pass
Flag: NONE init rc file change does not support flags
Change-Id: I892b99b79ff2dd9c02cc874026b43b06bded6f59
2024-08-30 00:07:18 +00:00
David Li
fd92ecb65c audio: set util_clamp_min for s/w spatializer to avoid glitches
- power measurement result is on b/262803152#comment5

Bug: 355912013
Test: spatial audio
Flag: EXEMPT bugfix
Change-Id: I324288f219b2fecbc0ae4f3ce3c11ea6e93f4b2e
2024-08-29 11:06:25 +00:00
Ankit Goyal
507675bc2c Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: Ibb66f97523545a2228c443aa8a08d1d853ed0ccd
2024-08-28 22:56:25 -07:00
Android Build Coastguard Worker
5d7b560e4d Snap for 12283639 from 879130bc35 to 24Q4-release
Change-Id: Icb860dac2402bab9fe8cade6c576ca1b3d6c827b
2024-08-27 23:03:28 +00:00
Android Build Coastguard Worker
2639243982 Snap for 12278291 from 432980a323 to 24Q4-release
Change-Id: Ie0a73e274c9e2ac52e19bdacf3cc79a056a6e298
2024-08-26 23:02:51 +00:00
Elliott Hughes
879130bc35 The "messaging" package is being removed. am: bc6bb134b9 am: d19b0c3942
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3241223

Change-Id: Id831f9ba819b6478b2b9f02e36a15a2f7165207d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-26 21:13:01 +00:00
Elliott Hughes
d19b0c3942 The "messaging" package is being removed. am: bc6bb134b9
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3241223

Change-Id: I28aaa9dcc65b92db914834d4f2d835d420c7533a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-26 20:48:25 +00:00
Elliott Hughes
bc6bb134b9 The "messaging" package is being removed.
Change-Id: Ib952aa3798af0cd39f745991064433700b178e14
2024-08-26 16:06:18 +00:00
Android Build Coastguard Worker
a9dcebffaf Snap for 12272146 from 5ba25e00d7 to 24Q4-release
Change-Id: Ib04552bca1c01de0206687672d7a62eb406e779b
2024-08-24 01:02:49 +00:00
Sam Ou
5ba25e00d7 Merge changes from topic "kernel5_revision" into main
* changes:
  bcl: correct ocp threshold
  bcl: support thismeal binary
2024-08-23 10:58:35 +00:00
Wilson Sung
432980a323 Update SELinux error
Test: scanBugreport
Bug: 361725982
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428180
Flag: EXEMPT bugFix
Change-Id: I7e3ce34fdc02932250bcbd71e0a8864cfffaadff
2024-08-23 09:46:52 +00:00
Android Build Coastguard Worker
75b9e64c7b Snap for 12265118 from 371f678632 to 24Q4-release
Change-Id: I9331891359938c3c6658e63cdb7af82363acf750
2024-08-22 23:03:25 +00:00
Android Build Coastguard Worker
886c31bc0f Snap for 12265118 from 5b1ae0048d to 24Q4-release
Change-Id: I6fd6868ef993205d05ef908188cc824042c26715
2024-08-22 23:03:24 +00:00
Roy Luo
5b1ae0048d Merge "Revert^2 "Enable usb state update via udc sysfs"" into main 2024-08-21 22:19:16 +00:00
Roy Luo
371f678632 Revert^2 "Add udc sysfs to udc_sysfs fs context"
This reverts commit 66ba3214b8.

Reason for revert: fix breakage in next build with build-time flag in
selinux policy.

Fixed the following audit logs:
[  285.983545] type=1400 audit(1724270284.724:31): avc:  denied  { read } for  comm="android.hardwar" name="state" dev="sysfs" ino=85740 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_udc:s0 tclass=file permissive=0

Bug: 339241080
Test: tested on Shiba trunk_staging and next builds
Flag: build.RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED
Change-Id: Ie4979f408a5bca0bb9b9762048ab716ddeeb4d2f
2024-08-21 22:15:22 +00:00
attis
5bf0b2bd07 Label sysfs node power_mode as sysfs_display.
Label power_mode to sysfs_panel to let it be allowed in dumpstate.

avc log:
08-20 20:24:11.292  9339  9339 W dump_display: type=1400 audit(0.0:2372): avc:  denied  { read } for  name="power_mode" dev="sysfs" ino=85501 scontext=u:r:dump_display:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Test: ls -Z, adb bugreport.
Flag: EXEMPT bugfix
Bug: 358505990
Change-Id: I7b6051de3e8f1b2813c681a176266fe3c7518991
Signed-off-by: attis <attis@google.com>
2024-08-21 17:08:49 +08:00
Android Build Coastguard Worker
3bec1a8590 Snap for 12253386 from a9271c85ed to 24Q4-release
Change-Id: I76765c8619adcf0b6fb2a910543cbe949eb54aec
2024-08-20 23:03:01 +00:00
Android Build Coastguard Worker
56bc4aeee0 Snap for 12247339 from 22ca32df91 to 24Q4-release
Change-Id: I1f8758463034bd05d8359495823f9ef558e02c57
2024-08-19 23:03:16 +00:00
Daniel Rosenberg
a9271c85ed Add -L to copy_efs_files_to_data.sh
This flag preserves symlinks on the copied images.
With support for this flag, we no longer need to fix up symlinks after
the fact.

Bug: 352567354
Test: atest EfsCopyEfsTest
Flag: EXEMPT bug fix
Change-Id: If26e38856672f6a4b6c55b7921b3aa6268ca9964
2024-08-19 14:38:37 -07:00
Wilson Sung
22ca32df91 Merge "Update SELinux error" into main 2024-08-19 06:14:28 +00:00
Android Build Coastguard Worker
f98c602ae0 Snap for 12241618 from 390674b749 to 24Q4-release
Change-Id: I25ea415a6f1de8f83f614521b15bee7aaa4c06e5
2024-08-17 01:03:09 +00:00
Android Build Coastguard Worker
10f34ede56 Snap for 12241618 from afb0dfa68a to 24Q4-release
Change-Id: I3eb1761dd0db77754ce5102a532c27329373ee03
2024-08-17 01:03:08 +00:00
Treehugger Robot
afb0dfa68a Merge "persist.sys.hdcp_checking: make default drm-only" into main 2024-08-16 15:39:06 +00:00
Android Build Coastguard Worker
e7c77043b5 Snap for 12238800 from 390674b749 to mainline-tzdata6-release
Change-Id: I9e44575c50a85bd07da801880715a28f5eb45e46
2024-08-16 13:02:53 +00:00
Android Build Coastguard Worker
4e275d5264 Snap for 12238800 from 3725da4142 to mainline-tzdata6-release
Change-Id: I08b14da0e96cafaa8d26f574d7c6bbea34fe3286
2024-08-16 13:02:53 +00:00
Ji Soo Shin
8995732118 persist.sys.hdcp_checking: make default drm-only
In case of always, we always enable hdcp regardless of drm status.

Bug: 359951297
Flag: EXEMPT bugfix
Change-Id: I04b5174be296d93a9f898929706785d50116d7a7
Signed-off-by: Ji Soo Shin <jisshin@google.com>
2024-08-16 11:17:46 +00:00
Android Build Coastguard Worker
7640337af6 Snap for 12235414 from dac2c5438b to 24Q4-release
Change-Id: I9c7699f942226e7a46b1e81c52a7a34c340b49f5
2024-08-15 23:03:03 +00:00
Xiaofan Jiang
390674b749 Merge "Revert^2 "zuma: update modem_svc sepolicy for UMI"" into main 2024-08-15 20:44:27 +00:00
Xiaofan Jiang
515a102ac8 Revert^2 "zuma: update modem_svc sepolicy for UMI"
c653101290

Change-Id: Ib1d18e33b87f03ee52bcbdff129c6d56b8a63a61
2024-08-15 19:25:35 +00:00
Priyanka Advani (xWF)
61ddb69d2c Merge "Revert "zuma: update modem_svc sepolicy for UMI"" into main 2024-08-15 18:30:35 +00:00
Priyanka Advani (xWF)
c653101290 Revert "zuma: update modem_svc sepolicy for UMI"
Revert submission 28762313

Reason for revert: Droidmonitor created revert due to b/360059249.

Reverted changes: /q/submissionid:28762313

Change-Id: I88cd8603351f5c5e1a546872f4f3aa1cae75dcd5
2024-08-15 16:14:57 +00:00
Wilson Sung
e24c2a8265 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 360060606
Test: scanBugreport
Bug: 360060992
Bug: 359428180
Test: scanAvcDeniedLogRightAfterReboot
Bug: 360060606
Bug: 359428180
Flag: EXEMPT bugFix
Change-Id: I3dfb16fdb309f01f543c826b155fc774b76faade
2024-08-15 09:25:35 +00:00
Xiaofan Jiang
dac2c5438b Merge "zuma: update modem_svc sepolicy for UMI" into main 2024-08-15 04:01:13 +00:00
Xiaofan Jiang
08b3cf20a7 zuma: update modem_svc sepolicy for UMI
Bug: 357139752

Flag: EXEMPT sepolicy

[   68.189198] type=1400 audit(1722986580.568:59): avc:  denied  { unlink } for  comm="binder:892_2" name="modem_svc_socket" dev="dm-52" ino=20239 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1
[   68.189448] type=1400 audit(1722986580.568:60): avc:  denied  { create } for  comm="binder:892_2" name="modem_svc_socket" scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1

Change-Id: I7cccb22ef31e88eebae664dcd937553c7ed9428f
2024-08-15 03:53:07 +00:00
Android Build Coastguard Worker
26ab3b716e Snap for 12229688 from 3725da4142 to 24Q4-release
Change-Id: I7a69b67905e33125687f730fabd5132dcb63dc57
2024-08-14 23:03:10 +00:00
samou
9da8594109 bcl: correct ocp threshold
Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I2922ca198d6a47f613ecc2c9902256112457fe31
Signed-off-by: samou <samou@google.com>
2024-08-14 12:30:34 +00:00
samou
07a17f736e bcl: support thismeal binary
Test: ./dump_power
Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I74f565133d39ece19b29a036d7b236a754b422d3
Signed-off-by: samou <samou@google.com>
2024-08-14 12:30:13 +00:00
Android Build Coastguard Worker
f994a94939 Snap for 12224018 from 0a827a5572 to 24Q4-release
Change-Id: I44096a0b37459e920672fb71625fe03f05014833
2024-08-13 23:03:40 +00:00
Herbert Xue
3725da4142 Control the modules built from vendor/google_devices/zuma/prebuilts/gpu
For PDK build, the "vendor/arm" path doesn't exist. The modules will be
built from vendor/google_devices/zuma/prebuilts/gpu.

Flag: EXEMPT bugfix
Bug: 357770476
Test: 1. lunch akita-trunk_staging-eng
      2. m libGLES_mali vulkan.mali libOpenCL libgpudataproducer
Change-Id: I97631ffdc98b77b747f0abbc7e376d8fbe2a576d
2024-08-13 12:11:51 +08:00
Android Build Coastguard Worker
a0d6b55502 Snap for 12217053 from e06a2b30e2 to 24Q4-release
Change-Id: I544cecf3a179d701b139b048ea725d2e962086e1
2024-08-12 23:07:43 +00:00
Xin Li
0a827a5572 [automerger skipped] Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future am: ac39e0aa98 -s ours
am skip reason: Merged-In I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3 with SHA-1 73a68dd6d3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/28718326

Change-Id: Iafcd808a44a8c523e7794511199b3beac15986df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:03:20 +00:00
Xin Li
443cb51973 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 868dc34238 -s ours
am skip reason: Merged-In I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3 with SHA-1 73a68dd6d3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/28718326

Change-Id: I699825561908f5438031d19aae47b00e62359e85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:32 +00:00
Xin Li
ac39e0aa98 Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future 2024-08-12 17:14:31 +00:00
Spade Lee
e06a2b30e2 dump_power: zuma: add FG dump registers path
Bug: 355756379
Test: adb bugreport verify ok
Flag: EXEMPT bugfix
Change-Id: I653a2d0bebe340a16917c30fa2c883f250456aa3
Signed-off-by: Spade Lee <spadelee@google.com>
2024-08-12 14:01:50 +00:00
Sam Ou
7b194e244f Merge "Remove BCL from thermal" into main 2024-08-12 12:32:36 +00:00
Android Build Coastguard Worker
07bbd31be0 Snap for 12210778 from 891557370f to 24Q4-release
Change-Id: I7aecc8f80cc8ca1f68ecf9f71648d7390ff083e4
2024-08-10 01:07:41 +00:00
Cyan_Hsieh
891557370f Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 4c5e386a84 am: a385f17c95
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3211864

Change-Id: Iea1eccfe42e54be1a2b1392f586b64519e8d1cb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
a385f17c95 Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 4c5e386a84
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3211864

Change-Id: Ie8d81638daa40c9bf4201fbb441e64d487ccc5ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:02 +00:00
Cyan_Hsieh
4c5e386a84 Add FSTAB_OWNERS and update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c28299c722226798388ceeade9859f05c6d33a1)
Merged-In: I473ff74c06daabcd635eb464766f04725a2c2fbd
Change-Id: I473ff74c06daabcd635eb464766f04725a2c2fbd
2024-08-09 08:34:33 +00:00
Treehugger Robot
482b053892 Merge "Control the build path of mali_csffw.bin" into main 2024-08-09 04:36:51 +00:00
Roy Luo
13756199db Revert^2 "Enable usb state update via udc sysfs"
This reverts commit 70087f4c9e.

Reason for revert: fix breakage in next build with build-time flag in
selinux policy.

Bug: 339241080
Test: tested on Shiba trunk_staging and next builds
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: Ifb7764be792494810388858b8672ac7793ed0d42
2024-08-09 00:54:51 +00:00
Xin Li
868dc34238 Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
Change-Id: I25d1a1793cc9eb7df743d1e6e9bc84e5f75fbd7d
2024-08-08 11:16:10 -07:00
Herbert Xue
5126f46c8a Control the build path of mali_csffw.bin
Flag: EXEMPT bugfix
Bug: 357770476
Test: 1. lunch akita-trunk_staging-eng
      2. m csffw_image_prebuilt__firmware_prebuilt_ttux_mali_csffw.bin
Change-Id: I80d2820f24dadf09ada1e090e9588bd8a0e7c453
2024-08-08 17:53:39 +08:00
Android Build Coastguard Worker
d74aa63101 Snap for 12199973 from 03c1b56797 to 24Q4-release
Change-Id: I22eb870f0d5e48c135036ee3613782967e3a542a
2024-08-08 01:03:01 +00:00
Treehugger Robot
03c1b56797 Merge "dumpstate: Modify dumpTcpc path and content" into main 2024-08-07 03:21:40 +00:00
Android Build Coastguard Worker
5ab1d0bce5 Snap for 12190349 from f303b8b036 to 24Q4-release
Change-Id: Id6a13de0fa8d3b6efbdcb3cca8bcf42552597c45
2024-08-06 23:03:23 +00:00
Qais Yousef
f303b8b036 Merge "Revert "init.zuma.rc: Disable teo util awareness completely"" into main 2024-08-06 08:11:20 +00:00
samou
dd57f0973d Remove BCL from thermal
Flag: EXEMPT tuning changes
Bug: 349935208
Change-Id: Ib14b34e8185bdbb71c84a4de4ac104282af71d3c
Signed-off-by: samou <samou@google.com>
2024-08-06 02:53:02 +00:00
Treehugger Robot
185213c210 Merge "DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zuma devices" into main 2024-08-06 00:16:50 +00:00
Qais Yousef
5c12ee2039 Revert "init.zuma.rc: Disable teo util awareness completely"
Revert submission 28549770-disable-teo-util-threshold

Reason for revert: Causes increase in Late Present frames

Reverted changes: /q/submissionid:28549770-disable-teo-util-threshold

Bug: 356992601
Bug: 356967550
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I0aaca9b1369ffeb08a06e987001a336577223650
2024-08-05 14:56:44 +00:00
Kyle Tso
48b994ba16 dumpstate: Modify dumpTcpc path and content
Ported from I248fb250b94cbd4078e7f3c44da83f62002b53fb with some
modifications.

Bug: 357537483
Test: checked the content in dumpstate
Flag: EXEMPT bugfix
Change-Id: I06ce369b90d8ba0ff2ee31723890001c37db9227
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:06:51 +00:00
Android Build Coastguard Worker
e015f4a575 Snap for 12177962 from 6ea466f90b to 24Q4-release
Change-Id: Ia351312139501ba3a9f2b5300d6d1a814e0be1e1
2024-08-03 03:02:51 +00:00
Treehugger Robot
6ea466f90b Merge "16k: Ignore 16k kernel settings if 16kb folder doesn't exist" into main 2024-08-02 10:29:35 +00:00
Robin Peng
8cd5a64cd7 16k: Ignore 16k kernel settings if 16kb folder doesn't exist
to avoid build breakage with test kernel prebuilts (e.g. ag/28525733)
that doesn't have 16kb artifacts in it.

Bug: 349877551
Flag: EXEMPT bugfix
Change-Id: I2f6c1f3365f624502366b883dbcd1066ed166cdb
2024-08-02 09:15:09 +00:00
Treehugger Robot
486667cee8 Merge "Upgrade IDisplay to V13" into main 2024-08-02 08:08:40 +00:00
Chris Lu
22eeae1c3a Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I960990b161b82e497d5e1f3b891d6cde09384d87
2024-08-02 04:32:11 +00:00
Android Build Coastguard Worker
db860248c6 Snap for 12173239 from 4c5aff1313 to 24Q4-release
Change-Id: I24c7081668fceb5c3f42f84316d786b644c9207a
2024-08-02 01:08:05 +00:00
Treehugger Robot
4c5aff1313 Merge "Update display dim configuration" into main 2024-08-01 12:10:16 +00:00
Android Build Coastguard Worker
a40d604516 Snap for 12164422 from 26f76a3da4 to 24Q4-release
Change-Id: I65e0a703741816efa601d5b02ac26f662f46b172
2024-07-31 23:02:59 +00:00
Qais Yousef
26f76a3da4 init.zuma.rc: Disable teo util awareness completely
Bug: 355085234
Flag: EXEMPT boot time init script configuration
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Id5e92a6bc7d949b89f657364ca392287430255b5
2024-07-31 12:29:43 +00:00
Android Build Coastguard Worker
e759cdb178 Snap for 12158986 from e18057e16e to 24Q4-release
Change-Id: I3df660d3ce6bbf20691bed98144e393b23a138f1
2024-07-30 23:03:30 +00:00
Qais Yousef
e18057e16e BoardConfig-common.mk: Enable Lazy RCU
Bug: 340860065
Flag: EXEMPT this is a boot time parameter
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1d45f155db9537ff176c50d36bf9c4ccb00317a5
2024-07-30 18:04:30 +00:00
Android Build Coastguard Worker
64677f7038 Snap for 12153359 from cab53ff9d9 to 24Q4-release
Change-Id: I18ed3e1064c7e3a2741b8c8071a598d6ce69f711
2024-07-29 23:03:10 +00:00
Gil Liu
cab53ff9d9 Merge "add hal_graphics_composer to access thermal temperature" into main 2024-07-29 06:10:29 +00:00
Android Build Coastguard Worker
4a78288f7f Snap for 12147630 from 6dd8b82b22 to 24Q4-release
Change-Id: I2ee51ccb6954cc1fca5121768e19cbc34ee6f9d3
2024-07-27 01:03:19 +00:00
Android Build Coastguard Worker
e4ba1d4353 Snap for 12147630 from f175d9d506 to 24Q4-release
Change-Id: Idc16bf461c6d06e7bd6967a3884f8a7c7dcfa8be
2024-07-27 01:03:17 +00:00
Treehugger Robot
f175d9d506 Merge "Add soong config variable for PowerAnomalySitril" into main 2024-07-26 02:57:19 +00:00
Treehugger Robot
6dd8b82b22 Merge "Correct the path of tcpm-source-psy device" into main 2024-07-26 02:04:31 +00:00
Mike Wang
a689f70d3c Merge "Add the selinux policy to allow the gril get/set vendor log properties." into main 2024-07-26 01:15:34 +00:00
Android Build Coastguard Worker
22fd0a6d9a Snap for 12140224 from faaaf11fd9 to 24Q4-release
Change-Id: I0d318b7091e69b50508f3a4589128ec098dc28d8
2024-07-25 23:03:03 +00:00
Manali Bhutiyani
faaaf11fd9 Merge "DisplayPort Stats: add sysfs access permission on Zuma devices" into main 2024-07-25 15:46:01 +00:00
Android Build Coastguard Worker
b6e27c63f4 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28469518'] into 24Q4-release.
Change-Id: Ia6954ff1f9f485c2787e92eb132c28c85d259ab0
2024-07-25 00:33:45 +00:00
Daniel Chapin
1a430facff Revert "trusty: storageproxy: add fs_ready_rw property context"
Revert submission 28318041-rw_storage

Reason for revert: Droidfood blocking bug b/355163562

Reverted changes: /q/submissionid:28318041-rw_storage
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6d6f71b74a93ed80f72cbb70ceaf89676251e3a2)
Merged-In: I0fa3edda88677966d42576d76616b837a4bbe70b
Change-Id: I0fa3edda88677966d42576d76616b837a4bbe70b
2024-07-25 00:32:37 +00:00
Carlos Rodriguez
6e54536670 DisplayPort Stats: add sysfs access permission on Zuma devices
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:48): avc:  denied  { read } for  name="fec_dsc_supported" dev="sysfs" ino=71618 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:49): avc:  denied  { read } for  name="fec_dsc_not_supported" dev="sysfs" ino=71619 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:50): avc:  denied  { read } for  name="max_res_other" dev="sysfs" ino=71617 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:51): avc:  denied  { read } for  name="max_res_1366_768" dev="sysfs" ino=71607 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:52): avc:  denied  { read } for  name="max_res_1440_900" dev="sysfs" ino=71608 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:53): avc:  denied  { read } for  name="max_res_1600_900" dev="sysfs" ino=71609 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:54): avc:  denied  { read } for  name="max_res_1920_1080" dev="sysfs" ino=71610 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:55): avc:  denied  { read } for  name="max_res_2560_1080" dev="sysfs" ino=71611 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-24 18:17:43.428 W/pixelstats-vend( 7494): type=1400 audit(0.0:56): avc:  denied  { read } for  name="max_res_2560_1440" dev="sysfs" ino=71612 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
.....

Bug: 343602691
Bug: 317486088

Flag: EXEMPT bugfix
Test: Built and flashed, errors are gone.

Change-Id: I49d177d2a997698b05f27bd4c448847ed3110e59
2024-07-24 23:49:52 +00:00
Android Build Coastguard Worker
efcc1ddac6 Snap for 12135134 from b188015fba to 24Q4-release
Change-Id: I8adb8ec692e7496b94ce0eada70713523847d962
2024-07-24 23:03:11 +00:00
Daniel Chapin
cfbbd040df Merge "Revert "trusty: storageproxy: add fs_ready_rw property context"" into main 2024-07-24 21:48:57 +00:00
Android Build Coastguard Worker
b421a28e2d Merge cherrypicks of ['googleplex-android-review.googlesource.com/28469518'] into 24Q4-release.
Change-Id: I7cbb2e6b41faee7d65fb7038c83c606108580695
2024-07-24 21:02:24 +00:00
Daniel Chapin
7ae91b1650 Revert "trusty: storageproxy: add fs_ready_rw property context"
Revert submission 28318041-rw_storage

Reason for revert: Droidfood blocking bug b/355163562

Reverted changes: /q/submissionid:28318041-rw_storage
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6d6f71b74a93ed80f72cbb70ceaf89676251e3a2)
Merged-In: I0fa3edda88677966d42576d76616b837a4bbe70b
Change-Id: I0fa3edda88677966d42576d76616b837a4bbe70b
2024-07-24 21:01:27 +00:00
Daniel Chapin
6d6f71b74a Revert "trusty: storageproxy: add fs_ready_rw property context"
Revert submission 28318041-rw_storage

Reason for revert: Droidfood blocking bug b/355163562

Reverted changes: /q/submissionid:28318041-rw_storage

Change-Id: I0fa3edda88677966d42576d76616b837a4bbe70b
2024-07-24 20:17:33 +00:00
Kyle Tso
4358dc4f7e Correct the path of tcpm-source-psy device
Bug: 353804370
Flag: EXEMPT bugfix
Change-Id: I059a652d13ffdf186fb36edb11ef4c1dc6ac8648
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-07-24 02:13:54 +00:00
Carlos Rodriguez
7e6d2aa325 DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zuma devices
Bug: 343602691
Flag: EXEMPT bugfix
Test: Built Android

Change-Id: Ia0882aa8a3750e4f3bf96c3f94f843b18356f046
2024-07-24 01:24:43 +00:00
Android Build Coastguard Worker
3abed13498 Snap for 12129055 from b188015fba to 24Q4-release
Change-Id: I6c2dc68512451287ee97dc448ac36bc095d3c6a9
2024-07-23 23:03:20 +00:00
Mike McTernan
b188015fba Merge "trusty: storageproxy: add fs_ready_rw property context" into main 2024-07-23 10:02:28 +00:00
gilliu
1dde3ea2ff add hal_graphics_composer to access thermal temperature
type=1400 audit(0.0:77): avc:  denied  { search } for  name="thermal"
dev="tmpfs" ino=1618 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:thermal_link_device:s0 tclass=dir permissive=0

type=1400 audit(0.0:74): avc:  denied  { search } for  name="thermal"
dev="sysfs" ino=21594 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0

type=1400 audit(0.0:74): avc:  denied  { read } for  name="temp"
dev="sysfs" ino=73536 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0

type=1400 audit(0.0:74): avc:  denied  { getattr } for
path="/sys/devices/virtual/thermal/thermal_zone12/temp" dev="sysfs"
ino=73537 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0

Bug: 343141590
Test: check no avc pattern on logcat from test image
Flag: NONE add permission
Change-Id: I87fce47644b07342d756e7594685eea0dded1926
2024-07-23 09:05:16 +00:00
Android Build Coastguard Worker
f692e379f4 Snap for 12116631 from 66ba3214b8 to 24Q4-release
Change-Id: I14053f84c47b37fdfa9ab6e7c5cf2b2caed74f9e
2024-07-20 01:03:05 +00:00
Android Build Coastguard Worker
d5265169f3 Snap for 12116631 from 480be09cc2 to 24Q4-release
Change-Id: I15647a39b02620d196b162019767efd550103742
2024-07-20 01:03:04 +00:00
Robert Luo
480be09cc2 Merge "[Pixel RR] Apply reviewed default permissions" into main 2024-07-19 06:25:05 +00:00
Robert Luo
77b55efb0f [Pixel RR] Apply reviewed default permissions
Pregrantting below permissions:
READ_CONTACTS
WRITE_CONTACTS
READ_CALL_LOG

Flag: EXEMPT add pregranted permission in b/337725984, b/337802920
Bug: 337725984, 337802920
Test: presubmit
Change-Id: Ie9d3558991557dff92f38cf37b0c7b43d822afb5
2024-07-19 10:00:20 +08:00
Roy Luo
f305e5a559 Merge "Revert "Enable usb state update via udc sysfs"" into main 2024-07-19 01:38:10 +00:00
Roy Luo
66ba3214b8 Revert "Add udc sysfs to udc_sysfs fs context"
Revert submission 27445245-339241080

Reason for revert: break husky-next-user (linux) build 12111903

Reverted changes: /q/submissionid:27445245-339241080
Bug: 339241080
Change-Id: If558e5bef47a0e617e4b4997f0ad9c8154b43ee9
2024-07-19 01:16:47 +00:00
Roy Luo
70087f4c9e Revert "Enable usb state update via udc sysfs"
Revert submission 27445245-339241080

Reason for revert: break husky-next-user (linux) build 12111903

Reverted changes: /q/submissionid:27445245-339241080
Bug: 339241080
Change-Id: I95e08c1959b64551a1c15963c13d7c4cdb7bce46
2024-07-19 01:16:43 +00:00
Roy Luo
5304df00c1 Merge "Enable usb state update via udc sysfs" into main 2024-07-19 00:43:39 +00:00
Android Build Coastguard Worker
af4e4ba84d Snap for 12110738 from 7c7ec16cad to 24Q4-release
Change-Id: I59adebc8d27108abef2e5d7bde3fb5fd28607666
2024-07-18 23:03:04 +00:00
Android Build Coastguard Worker
1f2e25a764 Snap for 12110738 from 8248828f30 to 24Q4-release
Change-Id: I24afc216153eefaa2bfb8e5a4eb623a73ea5e4cf
2024-07-18 23:03:03 +00:00
Roy Luo
eb5a3cd47a Add udc sysfs to udc_sysfs fs context
This is needed for system server to monitor usb gadget state.
Grant hal_usb_impl read access as it's needed by UsbDataSessionMonitor.

Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: Iab3c20569cb22d7524ca303f6cb3eaf40aa2161d
2024-07-18 22:56:15 +00:00
Vishvam Mazumdar
8248828f30 Merge "Defaultly enable cpu idle histogram stats collection for dumpstate." into main 2024-07-18 18:47:17 +00:00
Sergey Volk
7c7ec16cad [automerger skipped] Add sepolicy for DisplayPort wakeup node am: fb98394c54 -s ours
am skip reason: Merged-In I9181b2344f2448b9debe1522528545ce90de8768 with SHA-1 77518a2614 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/28360816

Change-Id: I2bda43ad3b6983cae7aa2e7dd4dfb836ebee226c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-18 13:08:49 +00:00
Jerry Huang
8715f4e919 Merge "zuma: video: change to use c2 "default" AIDL service" into main 2024-07-18 07:08:55 +00:00
Treehugger Robot
0c13c9f6db Merge "Disable incremental boot_otas" into main 2024-07-18 06:19:41 +00:00
Pawan Wagh
8bb0da99a9 Disable incremental boot_otas
Boot otas for 16kb developer option are failing on builds signed with release keys are failing due verification issues. Turning off the incremental otas

Test: atest Enable16KbTest
Bug: 339658378
Change-Id: Idfc3efc796b599de66ddc52cbee37ca3d74d11b6
2024-07-18 04:56:33 +00:00
Mike Wang
ef8937f64c Add the selinux policy to allow the gril get/set vendor log properties.
avc logs:
2024-07-17 06:00:41.024 8674-8674 binder:8674_1 com.google.android.grilservice W type=1400 audit(0.0:96): avc: denied { read } for name="u:object_r:vendor_logger_prop:s0" dev="tmpfs" ino=416 scontext=u:r:grilservice_app:s0:c238,c256,c512,c768 tcontext=u:object_r:vendor_logger_prop:s0 tclass=file permissive=0 app=com.google.android.grilservice
2024-07-17 06:00:41.024 8674-8674 binder:8674_1 com.google.android.grilservice W type=1400 audit(0.0:97): avc: denied { read } for name="u:object_r:vendor_modem_prop:s0" dev="tmpfs" ino=418 scontext=u:r:grilservice_app:s0:c238,c256,c512,c768 tcontext=u:object_r:vendor_modem_prop:s0 tclass=file permissive=0 app=com.google.android.grilservice
2024-07-17 06:00:49.592 8674-8674 binder:8674_1 com.google.android.grilservice W type=1400 audit(0.0:99): avc: denied { write } for name="property_service" dev="tmpfs" ino=861 scontext=u:r:grilservice_app:s0:c238,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.google.android.grilservice

2024-07-17 16:46:54.748 1-1 /system/bin/init init I type=1107 audit(0.0:103): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.verbose_logging_enabled pid=2152 uid=10238 gid=10238 scontext=u:r:grilservice_app:s0:c238,c256,c512,c768 tcontext=u:object_r:vendor_logger_prop:s0 tclass=property_service permissive=1'
2024-07-17 16:49:33.256 1-1 /system/bin/init init I type=1107 audit(0.0:116): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.modem.extensive_logging_enabled pid=2152 uid=10238 gid=10238 scontext=u:r:grilservice_app:s0:c238,c256,c512,c768 tcontext=u:object_r:vendor_modem_prop:s0 tclass=property_service permissive=1'


Bug: 293947661
Change-Id: Iec1cc221a543543da28416a5bc7d7ddacde959c5
2024-07-17 20:23:43 +00:00
Steven Moreland
c97e120d74 copy_efs_files_to_data.sh: handle symlinks
Temporary fix, until dump.f2fs is fixed to handle these as well.

Bug: 352567354
Change-Id: I3fd1815cfca6438a61a26f8afaada77b771e871c
Flag: BUGFIX
Test: husky:/ # getconf PAGE_SIZE
      16384
      husky:/ # ls -l /mnt/vendor/persist/ss/
      total 3044
      lrwxrwxrwx 1 system system      55 2024-07-17 15:12 0 ->
            /dev/block/platform/13200000.ufs/by-name/trusty_persist
      -rwxrwxrwx 1 system system      55 2024-07-17 15:12 0_backup
      -rw-r-x--- 1 system system 3106816 2024-07-17 15:12 nsp
2024-07-17 19:25:08 +00:00
Sergey Volk
fb98394c54 Add sepolicy for DisplayPort wakeup node
Bug: 348125717
Test: ls -Z /sys/devices/platform/110f0000.drmdp/wakeup
Flag: NONE (follow up fix for merged non-flagged CL pa/2839256)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77518a261471f7884e5b7c8ca73442df5c11e48e)
Merged-In: I9181b2344f2448b9debe1522528545ce90de8768
Change-Id: I9181b2344f2448b9debe1522528545ce90de8768
2024-07-17 14:37:46 +00:00
Android Build Coastguard Worker
9d27496828 Snap for 12091711 from 489a6e7843 to 24Q4-release
Change-Id: Iccf6e2bf04cde5f35499ded65c2a0119a2602047
2024-07-15 23:03:01 +00:00
Mike McTernan
49c9c8c3d7 trusty: storageproxy: add fs_ready_rw property context
Flag: EXEMPT bug fix
Bug: 350362101
Test: ABTD
Change-Id: I397a89ceb5a6a832043abb3792b0101ad89c97a7
2024-07-15 10:13:47 +01:00
Herbert Xue
f4be9acaab 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: lunch akita-trunk_staging-userdebug && m ConnectivityMonitor
Change-Id: I44df84ade1c8394a562b523264d5f3f08cb5b5b3
2024-07-15 16:06:25 +08:00
Android Build Coastguard Worker
6294518ec7 Snap for 12085179 from 7334ac44b3 to 24Q4-release
Change-Id: If4e82c0a8e00bf79f594134d65dac4775abd64f0
2024-07-13 01:03:11 +00:00
Aaron Tsai
489a6e7843 Add permission for setting gril property
05-22 18:20:50.608   914   914 I auditd  : type=1400 audit(0.0:97): avc:  denied  { write } for  comm="radioext@1.0-se" name="property_service" dev="tmpfs" ino=849 scontext=u:r:hal_radioext_default:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 343012301
Bug: 203824024
Test: manual test
Flag: EXEMPT bugfix
Change-Id: Ic08a1e1c6a0db29e329f121c813bebadbee5a5e9
2024-07-12 03:17:06 +00:00
Liana Kazanova
7334ac44b3 [automerger skipped] Revert "Delete sepolicy for legacy VR services." am: 6b8e432e3e am: 8bb7844138 -s ours
am skip reason: Merged-In I79bc66b80c36df398fe872f4e99b86e9a828479c with SHA-1 09d569ecde is already in history. Merged-In was found from reverted change.

Reverted change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3163729

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3168500

Change-Id: I154da94bae3e3abd483c0f586820589937b424af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 23:32:22 +00:00
Liana Kazanova
8bb7844138 Revert "Delete sepolicy for legacy VR services." am: 6b8e432e3e
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3168500

Change-Id: I8a7841bfc2b850111a3688b18fb11eb260fd4a40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 23:06:02 +00:00
Android Build Coastguard Worker
19c6dc65d0 Snap for 12078078 from 2bbbc8b955 to 24Q4-release
Change-Id: Ibe65dba0742f1dfd8c019bb17993c4c026cfae98
2024-07-11 23:03:18 +00:00
Android Build Coastguard Worker
ff78b99dc6 Snap for 12078078 from b75cadc54b to 24Q4-release
Change-Id: I56750704028f5acf78c1c9a55d4f7e8061306d4d
2024-07-11 23:03:17 +00:00
Liana Kazanova
6b8e432e3e Revert "Delete sepolicy for legacy VR services."
This reverts commit 8a81e8bf61.

Reason for revert: Droidmonitor created revert due to b/352465601. Will be verifying through ABTD before submission

Change-Id: I7543fe9078e88300d12c8a09867bdd1ecf5c8005
2024-07-11 20:56:43 +00:00
PODISHETTY KUMAR
2bbbc8b955 Merge "Revert "Delete sepolicy for legacy VR services."" into main 2024-07-11 14:50:32 +00:00
PODISHETTY KUMAR
62fd727327 Revert "Delete sepolicy for legacy VR services."
This reverts commit 09d569ecde.

Reason for revert: <Droidmonitor created revert due to b/352465601. Will be verifying through ABTD before submission.>

Change-Id: Ia71e697e180b569480be9f029d9e729f42d5f855
2024-07-11 14:43:27 +00:00
Joerg Wagner
b75cadc54b Merge "Increase the max core index for protected TLS allocations to 4" into main 2024-07-11 12:07:57 +00:00
Jörg Wagner
86d54846b6 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 2 GPU cores (1001b) in the extreme tests.

Bug: 221255664
Test: HK3 atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: I96a38a6070968100ce3adf01da7235a807bf31ab
2024-07-11 09:30:22 +00:00
Krzysztof Kosiński
2b44cfa2c1 [automerger skipped] Delete sepolicy for legacy VR services. am: 8a81e8bf61 am: e7a890e411 -s ours
am skip reason: Merged-In I79bc66b80c36df398fe872f4e99b86e9a828479c with SHA-1 09d569ecde is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3163729

Change-Id: I3aef53b57d614687bd9e20985541a2256018cdd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 08:58:24 +00:00
Krzysztof Kosiński
e7a890e411 Delete sepolicy for legacy VR services. am: 8a81e8bf61
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3163729

Change-Id: I42d710d82d1e43c88df080460be760c59ba50d4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 08:24:38 +00:00
Krzysztof Kosiński
8a81e8bf61 Delete sepolicy for legacy VR services.
None of the zuma devices include these services.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:09d569ecdeaba2951e005a713ec82bded4be234e)
Merged-In: I79bc66b80c36df398fe872f4e99b86e9a828479c
Change-Id: I79bc66b80c36df398fe872f4e99b86e9a828479c
2024-07-11 07:25:53 +00:00
Krzysztof Kosiński
edca08572b Merge "Delete PDX sockets for legacy VR services." into main 2024-07-11 04:41:55 +00:00
Treehugger Robot
d49d60035c Merge "Delete sepolicy for legacy VR services." into main 2024-07-11 03:56:40 +00:00
Android Build Coastguard Worker
4c7f8cb4e7 Snap for 12072601 from c802ed6d63 to 24Q4-release
Change-Id: I0016c43206394890d901c9eda006c4fee91892a3
2024-07-11 01:03:39 +00:00
Android Build Coastguard Worker
9972c6b711 Snap for 12072601 from 8f5e900a88 to 24Q4-release
Change-Id: I5f6b9d4367a6b9d94337984bb48a0a144581983c
2024-07-11 01:03:38 +00:00
Krzysztof Kosiński
09d569ecde Delete sepolicy for legacy VR services.
None of the zuma devices include these services.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I79bc66b80c36df398fe872f4e99b86e9a828479c
2024-07-10 22:19:13 +00:00
Krzysztof Kosiński
ca3e5096da Delete PDX sockets for legacy VR services.
Remove irrelevant copy and paste content. None of the zuma
devices ever included these services and these sockets are
not doing anything.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I8664262708b89016227d7df076e7c8d70a53de07
2024-07-10 22:13:23 +00:00
Vishvam Mazumdar
8f5e900a88 Merge "Add CPU Idle Histogram Stats to dumpstate board file." into main 2024-07-10 21:41:10 +00:00
Vishvam Mazumdar
c802ed6d63 Merge "Add SELinux policy to allow CPU Idle Histogram Stats in dumpstate." into main 2024-07-10 21:41:10 +00:00
Vishvam Mazumdar
5a0aedaec9 Add CPU Idle Histogram Stats to dumpstate board file.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: Build/Flash
Test: adb bugreport
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: I9c31b4fbaf8adb35df27f4d19a7bf87ac33b05d3
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:40:07 +00:00
Vishvam Mazumdar
1dac9a1726 Add SELinux policy to allow CPU Idle Histogram Stats in dumpstate.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: build/flash
Test: adb bugreport
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: Ic1096564423a009a0180d7f771da8184688c1842
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:39:07 +00:00
Vishvam Mazumdar
569092bc54 Defaultly enable cpu idle histogram stats collection for dumpstate.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: Build/Flash
Test: Collect histogram log
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: Ib6e4772737a8c1f22ac8ba31c40099baeab43853
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:38:00 +00:00
Roy Luo
b386375b3c [automerger skipped] Use absolute path for udc device am: 0c18eacf8f am: b7c25ccbc3 -s ours
am skip reason: Merged-In Iad74cae0d6ad6887d79d705dc8478f1b44532503 with SHA-1 12f2e55257 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3164638

Change-Id: Id46e979b5ca60952cadf16b596ed5227325339a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 20:12:41 +00:00
Roy Luo
b7c25ccbc3 Use absolute path for udc device am: 0c18eacf8f
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3164638

Change-Id: Ib83ba7a01082822e5eac2d9a311f8ad06b65a19f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 19:46:12 +00:00
Roy Luo
0c18eacf8f Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on Shiba
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
Merged-In: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-07-10 18:11:50 +00:00
Wesley Lee
b9defeca54 Merge "enable Zuma AV1 HDR editing" into main 2024-07-10 16:05:58 +00:00
Qais Yousef
a4caac8bdf Merge "init.zuma.rc: Apply sched tuning to improve sched latencies" into main 2024-07-10 11:49:55 +00:00
Android Build Coastguard Worker
5ac4bfe691 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27906354', 'googleplex-android-review.googlesource.com/27956012'] into 24Q3-release.
Change-Id: Ifa6c5d849423bf2cf03ad8a3bddb1a0a3ded8a87
2024-07-10 05:23:53 +00:00
Kelvin Zhang
2d0a254101 Mount persist partition in early-init
The graphics hal might need to access /persist early in the boot
process. So mount persist early for 4K devices.

Test: boot 4K device
Bug: 338504890
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:73a68dd6d3794ed8a4e791f2c86c4e55a61ea2aa)
Merged-In: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
Change-Id: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
2024-07-10 05:10:21 +00:00
Kelvin Zhang
9d0f747603 Only copy efs files to /data if device is 16K page size
Test: Boot device, test dev options
Bug: 341216848
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:763984677a0630a2100b150c057c3d128a8f6c3d)
Merged-In: I0bf328b8ff90e125dcbca5261fb8dd4e0ad458d8
Change-Id: I0bf328b8ff90e125dcbca5261fb8dd4e0ad458d8
2024-07-10 05:10:05 +00:00
Android Build Coastguard Worker
47cc7287e7 Snap for 12065372 from 846652c1b9 to 24Q4-release
Change-Id: Ia43fa3cdd2051d71b760dc9732aa04fd15632d39
2024-07-09 23:08:22 +00:00
Juan Yescas
846652c1b9 Merge "16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk" into main 2024-07-09 19:12:23 +00:00
Qais Yousef
a39d3b0832 init.zuma.rc: Apply sched tuning to improve sched latencies
Bug: 340860065
Flag: NONE not supported for init.rc scripts
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iac58746eba35820bab69ef742a1078b93e9bbad8
2024-07-09 14:04:00 +00:00
Jeremy Kemp
29e4c4c53a Merge "Add Mali OpenCL ICD to PRODUCT_PACKAGES" into main 2024-07-09 10:51:44 +00:00
Roy Luo
9601e0f266 Merge "Use absolute path for udc device" into main 2024-07-09 03:03:37 +00:00
Vilas Bhat
354b984c0d 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 349877551
Test: $ lunch shiba-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb
      $ get_build_var BOARD_KERNEL_PATH_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb/Image.lz4
      $ get_build_var BOARD_16K_OTA_USE_INCREMENTAL
      true
      $ get_build_var BOARD_16K_OTA_MOVE_VENDOR
      true
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-07-09 00:15:38 +00:00
Dmitry Skiba
4caa08f2cc Reland "Restrict kcompactd thread to middle/little cores."
This reverts commit 721a8358c6.

Reason for revert: 24Q3 has been cut, relanding the original commit ef68e9b578.

Change-Id: I7882ebafd66d126df9ccbe2124617fbf4ed73eb5
Bug: 347272991
2024-07-08 23:30:54 +00:00
Android Build Coastguard Worker
84a074ca3b Snap for 12058995 from 1744a12bc4 to 24Q4-release
Change-Id: I2198d5a2e5a8c669dada13f7cd6181e1ad2b7268
2024-07-08 23:08:35 +00:00
Daniel Rosenberg
3f3e5d37cf Merge "Run fsck in CopyEfsTest" into main 2024-07-08 20:50:13 +00:00
Daniel Rosenberg
044dead5b6 Run fsck in CopyEfsTest
We're copying from a live r/w image, so the picture we get may be a bit
distorted. Running fsck over the image first should help with
reliability, but f2fs does some fixes on mount as well, so we mount and
unmount the image before running dump.f2fs.

Change-Id: Ibb15388c55b6f909a1d1b849f9760f248644d9e9
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 349120101
Test: atest CopyEfsTest
Flag: TEST_ONLY
2024-07-08 20:49:57 +00:00
Jeremy Kemp
f1eb38d169 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: I4ca9b0d9854d6b94e128d40eba0910a1303a0a96
2024-07-08 17:10:56 +01:00
Treehugger Robot
1744a12bc4 Merge "APC/TUI: remove support for APC" into main 2024-07-08 15:34:38 +00:00
Shikha Panwar
21f55b92ea Zuma: Disable Secretkeeper HAL for aosp build am: 91d8fcccea am: 696ed20840
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3161976

Change-Id: Iba7300b26e100b1ac5e26a0d44c93e1a064e8e0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-08 13:38:54 +00:00
Shikha Panwar
696ed20840 Zuma: Disable Secretkeeper HAL for aosp build am: 91d8fcccea
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3161976

Change-Id: I335c38558c0ea53476e5d077ccb249086aff1161
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-08 13:21:34 +00:00
Shikha Panwar
91d8fcccea Zuma: Disable Secretkeeper HAL for aosp build
The AOSP builds do not have a compatible BL for Secretkeeper (24Q3+).
This leads the crashing of HAL since the backing trusty is not updated
with the TA.

Test: lunch aosp & non-aosp targets -> get_build_var SECRETKEEPER_ENABLED
Bug: 350482613
Change-Id: I49d30914bc7a4b2b752a6d9eb7db0e7959638d98
2024-07-08 10:26:16 +00:00
Mike McTernan
84d0877511 APC/TUI: remove support for APC
Flag: EXEMPT build file change
Bug: 351151445
Test: m && test on device
Change-Id: I927fd5063cd12b94d63fff3057ae54cee75e908d
2024-07-04 14:55:39 +00:00
Android Build Coastguard Worker
9b9156dd6c Snap for 12048319 from ea95f2b4a4 to 24Q4-release
Change-Id: I5cfb3c384cc97616f1affc3ddd85a2c9acdd34f4
2024-07-03 23:03:40 +00:00
Android Build Coastguard Worker
7eabd98af6 Snap for 12048319 from bf9f082f67 to 24Q4-release
Change-Id: I65bc18d29c6510d9eb6466b6461564ada93451ec
2024-07-03 23:03:39 +00:00
Juan Yescas
bf9f082f67 16kb: Use TARGET_BOOTS_16K to select the efs config files
Test: Build and test pgagnostic targets
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: I1e0bea52de09fe3c9ee2f52b0803882456943833
2024-07-03 03:00:32 +00:00
Wilson Sung
ea95f2b4a4 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 350832030
Bug: 350832258
Change-Id: Idd45bcee641af96f442ec2cd4443a3964d73f429
2024-07-03 02:05:06 +00:00
Android Build Coastguard Worker
78eb115a94 Snap for 12042346 from bb51950bad to 24Q4-release
Change-Id: I87496aebd9a9ea014264a2c63dd469ce1f6fc46f
2024-07-02 23:04:22 +00:00
liangjlee
bb51950bad zuma: Include power/power.mk am: 94babd7bcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/28060256

Change-Id: I0d8850ec9ce7e2519f87c1455429a0e139d1568c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:36:37 +00:00
Android Build Coastguard Worker
6ef0665975 Snap for 12034474 from a44d754cfa to mainline-tzdata6-release
Change-Id: I55fafdb470df5970b25d122f5a93b7adb196c81d
2024-07-01 08:38:37 +00:00
Android Build Coastguard Worker
a547a6fcf1 Snap for 12034474 from 2fa3c6b55d to mainline-tzdata6-release
Change-Id: Ic93ac2ce74d764000c2a1840e53cd203edde8f14
2024-07-01 08:38:35 +00:00
Android Build Coastguard Worker
528d9e8512 Snap for 12032182 from a44d754cfa to 24Q4-release
Change-Id: I8b4d55680e18482cf3246db8314bbc7a51abe906
2024-06-29 03:03:33 +00:00
Android Build Coastguard Worker
07dde346f1 Snap for 12032182 from 2fa3c6b55d to 24Q4-release
Change-Id: I42b3215834e5d4a00705e849244742af700d928f
2024-06-29 03:03:32 +00:00
Treehugger Robot
2fa3c6b55d Merge "16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab" into main 2024-06-28 23:29:29 +00:00
Android Build Coastguard Worker
4b4d45dee1 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28051077'] into 24Q3-release.
Change-Id: Iae0bff35c67755063410c2758d47c13229fc864a
2024-06-28 23:16:37 +00:00
liangjlee
3e96ca1dcf zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:48c79683bcac4b697cfa08949dfa4c4c7daed683)
Merged-In: I370cd115855b43d890dd488de65572593b238efb
Change-Id: I370cd115855b43d890dd488de65572593b238efb
2024-06-28 23:08:36 +00:00
Juan Yescas
98f2222e27 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab
The build flag PRODUCT_BOOTS_16K will be used to select
the proper efs rc file and fstab:

- When PRODUCT_BOOTS_16K := true, 16k rc files and fstab will be used.
- When PRODUCT_BOOTS_16K := false, 4k rc files and fstab will be used.

Bug: 346868433
Test: Built Pixel 8 targets
      $ source build/envsetup.sh
      $ lunch husky_pgagnostic-trunk_staging-userdebug
      $ get_build_var DEVICE_PAGE_AGNOSTIC
      $ get_build_var TARGET_KERNEL_DIR
      device/google/shusky-kernels/6.1/trunk-12010727/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/shusky-kernels/6.1/trunk-12010727/kernel-headers
      $ get_build_var PRODUCT_BOOTS_16K
      true
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
2024-06-28 18:50:20 +00:00
Treehugger Robot
a44d754cfa Merge "Give bthal permission to read AoC version." into main 2024-06-28 05:50:59 +00:00
Madhav Iyengar
00484704f8 Give bthal permission to read AoC version.
Bug: 349661931
Flag: com.android.bluetooth.hal.flags.pixel_bt_aoc_offload_efw_xport
Test: Allows bthal to choose between USF and EFW transports to
communicate with AoC based on version.

Change-Id: I3edbcafd4ee5d0c875618c1a1c1b89e1bbd4d1ec
2024-06-28 01:15:50 +00:00
Sergey Volk
e406b07a85 Merge "Add sepolicy for DisplayPort wakeup node" into main 2024-06-28 00:30:01 +00:00
Android Build Coastguard Worker
5ae5ce3bb7 Snap for 12025384 from 48c79683bc to 24Q4-release
Change-Id: If5430ff8135e97903252053e3d4526eeb05f4e5b
2024-06-27 23:03:36 +00:00
liangjlee
94babd7bcc zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: I370cd115855b43d890dd488de65572593b238efb
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:27:19 +00:00
Roy Luo
12f2e55257 Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on Shiba
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-06-26 22:59:30 +00:00
Sergey Volk
77518a2614 Add sepolicy for DisplayPort wakeup node
Bug: 348125717
Test: ls -Z /sys/devices/platform/110f0000.drmdp/wakeup
Flag: NONE (follow up fix for merged non-flagged CL pa/2839256)
Change-Id: I9181b2344f2448b9debe1522528545ce90de8768
2024-06-26 20:53:57 +00:00
liangjlee
48c79683bc zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: I370cd115855b43d890dd488de65572593b238efb
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:16:51 +08:00
Roy Luo
92d50a76d3 Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I203e06e4416c5811ded7b7aaccbe7680693f2080
2024-06-25 23:46:10 +00:00
Android Build Coastguard Worker
753f41a586 Snap for 12014005 from c42244bfb6 to 24Q4-release
Change-Id: I986362f4c3ab83e5abcd69dccd45367157214f06
2024-06-25 23:03:51 +00:00
Juan Yescas
c42244bfb6 Merge "Change CopyEfsTest to test contents" into main 2024-06-25 16:37:46 +00:00
Julien Desprez
dca09aa056 Tag CopyEfsTest as device-pixel-tests
This will allow to run the tests out of the pixel tests set rather than the super large device-tests set. Which will save build resources.

Flag: TEST_ONLY
Change-Id: I7d902662dff05dfdc88808c5647793ff5bde6107
Test: presubmit
Bug: 342232954
2024-06-25 14:55:06 +00:00
Daniel Rosenberg
3319a13fee Change CopyEfsTest to test contents
4k mode devices no longer set up redirection, so the old test would fail
now. Instead, this tests that the contents of the copied partitions will
match. Since the partitions are mounted and could change, we work off of
a copy.

Change-Id: Ia98517bb4ede9cb3416132e815da9b87728423a6
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Flag: TEST_ONLY
Bug: 347744178
Test: atest CopyEfsTest
2024-06-24 17:20:54 -07:00
Android Build Coastguard Worker
c27fc764e8 Snap for 12007880 from 48ca1bcab6 to 24Q4-release
Change-Id: Ie7626a87637d0466d28b0bd08e7823842706a6a7
2024-06-24 23:03:45 +00:00
Kelvin Zhang
48ca1bcab6 Merge "Mount persist partition in early-init" into main 2024-06-24 17:47:29 +00:00
Android Build Coastguard Worker
cc147f0569 Snap for 12002618 from cb368db9b8 to 24Q4-release
Change-Id: I75f45220c8d7fa571992a21e2885b83fd1e12123
2024-06-22 01:03:32 +00:00
YiKai Peng
cb368db9b8 Merge "zuma: wlc: add authstart permission" into main 2024-06-21 04:05:42 +00:00
Kelvin Zhang
73a68dd6d3 Mount persist partition in early-init
The graphics hal might need to access /persist early in the boot
process. So mount persist early for 4K devices.

Test: boot 4K device
Bug: 338504890
Change-Id: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
2024-06-20 21:04:40 -07:00
Android Build Coastguard Worker
2bd2cf975e Snap for 11996894 from 6794f8de27 to 24Q4-release
Change-Id: I80e6beb229ca79e51427039b9cb34fc040762acb
2024-06-20 23:03:50 +00:00
Android Build Coastguard Worker
4004d9bdf6 Snap for 11996894 from 23c385e7da to 24Q4-release
Change-Id: I9e30ac9b749ed813fb4ad4e5409b76fb97f96f5e
2024-06-20 23:03:49 +00:00
Xin Li
23c385e7da [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 80cfd703d6 -s ours
am skip reason: Merged-In I38eef1dff949c4275bf0b355582238678a6894a7 with SHA-1 120974a4b1 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27908527

Change-Id: I7c7aba2e51fdcb33140f33d5e648a238e5b2988a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:16:39 +00:00
Xin Li
6794f8de27 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 1398498663 -s ours
am skip reason: Merged-In Ief591d28aaea4223f05917d29bc896edec065613 with SHA-1 5ff76196c8 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27908528

Change-Id: I9417fe46a2e10ad3d4231520cd43976e442835fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 19:56:58 +00:00
Kelvin Zhang
763984677a Only copy efs files to /data if device is 16K page size
Test: Boot device, test dev options
Bug: 341216848

Change-Id: I0bf328b8ff90e125dcbca5261fb8dd4e0ad458d8
2024-06-20 11:13:41 -07:00
YiKai Peng
579a541f26 zuma: wlc: add authstart permission
Bug: 348272247
Test: Build/Flash
Flag: EXEMPT bugfix
Change-Id: I881dd032c7dbcc8bca55c1346e02d21b1f2c0145
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-06-20 06:29:49 +00:00
Android Build Coastguard Worker
cfed47ef14 Snap for 11987757 from 528ffcec22 to 24Q4-release
Change-Id: Ia5f4e1c3d84d55c56f9cd7fcd712c352d9edf141
2024-06-18 23:03:40 +00:00
Android Build Coastguard Worker
24acfc9849 Snap for 11987757 from 2720a57023 to 24Q4-release
Change-Id: Idd8f384d8f3f4903c81dad6ccec793b7ab597028
2024-06-18 23:03:39 +00:00
Xin Li
1398498663 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Ief591d28aaea4223f05917d29bc896edec065613
Change-Id: I67f7818f77210af410f58ed070b0443af4dbcf56
2024-06-18 14:13:25 -07:00
Xin Li
80cfd703d6 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: I38eef1dff949c4275bf0b355582238678a6894a7
Change-Id: I46d9c1d5e2e949cdb9e262921d2f1f4d220d7cba
2024-06-18 14:13:24 -07:00
Treehugger Robot
2720a57023 Merge "Remove unused device/google/zuma/Android.mk" into main am: 60384da8cb am: ba186ad62c
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3135713

Change-Id: I729eac86f45d142a7e07cbbb9166ef8eb2e3e39a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 10:02:14 +00:00
Treehugger Robot
ba186ad62c Merge "Remove unused device/google/zuma/Android.mk" into main am: 60384da8cb
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3135713

Change-Id: Ic86a2eaaf957d7f9a52cafb7ba11c440ca1f280b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 09:27:42 +00:00
Treehugger Robot
60384da8cb Merge "Remove unused device/google/zuma/Android.mk" into main 2024-06-18 09:09:15 +00:00
Xin Li
528ffcec22 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 9af99be0b2 -s ours am: 00177acdd0 -s ours
am skip reason: Merged-In I61f611a2fcb900fcb4bb035c2abfbb19a840fddb with SHA-1 42aa8de219 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3131996

Change-Id: I8702f8ff010a643436cbab8689384bf2e3833c86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:56:06 +00:00
Xin Li
54f9d0f7b0 Merge Android 14 QPR3 to AOSP main am: c3387ab656 am: 1aade33ca5
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3132134

Change-Id: Id0a170bed1efab623f82bba624849ef71356a29a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:36 +00:00
Android Build Coastguard Worker
2c3f33edf0 Snap for 11981331 from 7969077e3b to 24Q4-release
Change-Id: I0b7920b8d94ee646e9ad8c8371ae3fb2f43a0523
2024-06-17 23:04:27 +00:00
Android Build Coastguard Worker
c7a783220e Snap for 11981331 from 735afdceb3 to 24Q4-release
Change-Id: I1819d1a8632a7fa9719a9b2020e94edca78abec3
2024-06-17 23:04:26 +00:00
Xin Li
00177acdd0 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 9af99be0b2 -s ours
am skip reason: Merged-In I61f611a2fcb900fcb4bb035c2abfbb19a840fddb with SHA-1 42aa8de219 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/3131996

Change-Id: Ica9df917ccf440e316760fae33ed9beff3f7bf27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:42:11 +00:00
Xin Li
1aade33ca5 Merge Android 14 QPR3 to AOSP main am: c3387ab656
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3132134

Change-Id: Ib7a8ed951ffe015060bb9ba2f69171fad85243b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:21 +00:00
Treehugger Robot
735afdceb3 Merge "Remove CopyEfsTest from test mapping" into main 2024-06-17 19:02:12 +00:00
Kelvin Zhang
cf0619c40d Remove CopyEfsTest from test mapping
treehugger does not have any test suite setup for zuma target,
and CopyEfsTest should only be run on zuma targets. So remove
from test mapping to unbreak tests.

Test: th
Bug: 347396961
Change-Id: I079d24cae4808d3370c3821412640f7fef1d0cc7
2024-06-17 11:13:53 -07:00
Jerry Huang
fe63fa4236 zuma: video: change to use c2 "default" AIDL service
Bug: 322920559
Change-Id: Ia2e6cac052bc0ee417e179f61804eada9ae87bf5
2024-06-17 08:05:37 +00:00
Herbert Xue
2c8e3651e4 Remove unused device/google/zuma/Android.mk
There is no other Android.mk under subdirectory of device/google/zuma.

Bug: 347619275
Test: NA
Change-Id: I7a5e9afb1ccb75ed66e947a3fa1e0bda2c2223b6
2024-06-17 13:48:03 +08:00
Android Build Coastguard Worker
1a0e33236c Snap for 11975806 from d17f068362 to 24Q3-release
Change-Id: Ic3830a2992458b6bbfd8c8fefe3cd0ba1037d53f
2024-06-15 21:03:25 +00:00
Android Build Coastguard Worker
5cc832e4e7 Snap for 11973804 from d17fdff5f8 to 24Q3-release
Change-Id: I8b384c229281b36e39d2361148e093d81c48593f
2024-06-15 01:03:32 +00:00
Treehugger Robot
d17f068362 Merge "Add test for copy_efs_files_to_data script" into main 2024-06-14 21:37:11 +00:00
Kelvin Zhang
120974a4b1 Add test for copy_efs_files_to_data script
Test: atest CopyEfsTest
Bug: 346551655
Change-Id: I38eef1dff949c4275bf0b355582238678a6894a7
2024-06-14 13:12:19 -07:00
Android Build Coastguard Worker
0562582075 Snap for 11967491 from a9b7137ea9 to 24Q3-release
Change-Id: I033bb919c5dc1fb879e77b5e03b01b819c5f111c
2024-06-13 23:03:29 +00:00
Xin Li
9af99be0b2 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: I61f611a2fcb900fcb4bb035c2abfbb19a840fddb
Change-Id: I01a531331e180880cca379ac6f4b6199f2bebd5e
2024-06-13 10:49:16 -07:00
Xin Li
c3387ab656 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In:
Change-Id: I6e2d2db806623c6e6676d852eb62af6b426e9438
2024-06-13 10:49:16 -07:00
Kyle Tso
d17fdff5f8 usb: Log for retry on role switch
Add a log for the retry. Also define the sleep time in the header file.

Bug: 341996696
Change-Id: Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-06-13 16:54:37 +08:00
Joey Poomarin Phloyphisut
a9b7137ea9 Merge "pixelstats: add speaker_version sysfs for VendorSpeakerStatsReported" into main 2024-06-13 05:53:30 +00:00
Kyle Tso
9500db736e Merge "usb: Add retry on role switch" into main 2024-06-13 03:32:21 +00:00
Treehugger Robot
866d218686 Merge "Enable copy efs files support on pgagnotic target" into main 2024-06-13 02:46:40 +00:00
Android Build Coastguard Worker
8c9dd0dbcd Snap for 11959661 from 7969077e3b to 24Q3-release
Change-Id: I01c3e835b1a3e15068320f89aa7ec3d0460ff794
2024-06-12 23:03:51 +00:00
Android Build Coastguard Worker
a134922ea9 Snap for 11959661 from 6432f05383 to 24Q3-release
Change-Id: Ib639adf8cb2c09216c824e26ffa0f6589c5d1975
2024-06-12 23:03:50 +00:00
Salmax Chang
6432f05383 Merge "Restore permission of efs/efs_backup/modem_userdata after mount" into main 2024-06-12 10:25:58 +00:00
Kyle Tso
ef5856a447 usb: Add retry on role switch
Bug: 341996696
Change-Id: I8caa65288af1588d24fea4aa6c5768d45d69bbd5
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-06-12 09:16:17 +00:00
Cheng Chang
7969077e3b gps: Move hal_gnss_pixel declaration to device folder am: 5ff76196c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27576137

Change-Id: Ic16f628926a47350f0e0caf7293e1cfa4521a7fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 07:27:17 +00:00
KRIS CHEN
654485385c Merge "zuma: build fingerprint dump" into main 2024-06-12 04:39:32 +00:00
Treehugger Robot
4e845d9517 Merge "Update IDisplay to V12" into main 2024-06-12 03:20:59 +00:00
Kelvin Zhang
d45d697ded Enable copy efs files support on pgagnotic target
pgagnotic targets might boot into 16KB directly(w/o dev options),
in which case it would need copy efs files support to be enabled.

Test: boot device with dev option disabled, check efs
Bug: 346275905
Change-Id: If18bfa0b0646da8008c6d92bec094b236273cbfc
2024-06-11 16:25:52 -07:00
Kelvin Zhang
d3ce2b9873 Restore permission of efs/efs_backup/modem_userdata after mount
Test: Boot device, erase EFS, check selinux labels
Bug: 345803836
Change-Id: Ia511731e001d74409b40b087432e3535ca5cfc8f
2024-06-11 09:13:27 -07:00
Cheng Chang
5ff76196c8 gps: Move hal_gnss_pixel declaration to device folder
Bug: 343280252
Test: b/343280252 compile and abtd test
Change-Id: Ief591d28aaea4223f05917d29bc896edec065613
2024-06-11 06:23:21 +00:00
Poomarin Phloyphisut
f3a1a067f1 pixelstats: add speaker_version sysfs for VendorSpeakerStatsReported
Bug: 326342880
Test: Local Test
Change-Id: Ib8c93e9297a7afb61005fb523fd664be0a00b459
2024-06-11 05:49:20 +00:00
chenkris
48e1f2418a zuma: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I83f64cb3aa46007dd41674309a811d5f4c5a52a4
2024-06-11 02:51:37 +00:00
Android Build Coastguard Worker
a7cb6a266f Snap for 11947112 from 667f2a4670 to mainline-tzdata6-release
Change-Id: I94356064035f9ba0cc70b386b5e826d316e1e1fc
2024-06-10 10:14:00 +00:00
Android Build Coastguard Worker
c4f18159a7 Snap for 11947112 from 4ade1a2615 to mainline-tzdata6-release
Change-Id: Ib0d9dbd0b27b29916ee1448c06a4d6b9de655f5d
2024-06-10 10:13:59 +00:00
Android Build Coastguard Worker
83d4a1011f Snap for 11944020 from 4ade1a2615 to 24Q3-release
Change-Id: I0b2c2c5aac0a992b845ae8d011eeca6f01b49d86
2024-06-08 01:03:57 +00:00
Dennis Shen
4ade1a2615 Merge "switch over to use new storage read api instead of server_configurable_flags, this new read api lib will be needed for new codegened aconfig flag lib." into main 2024-06-07 14:16:53 +00:00
Dennis Shen
1b3d66a9fb switch over to use new storage read api instead of
server_configurable_flags, this new read api lib will be needed for new
codegened aconfig flag lib.

Bug: 321077378
Test m and avd

Change-Id: I99307a4ad8f133232cfd8b47058f936445cb7cce
2024-06-07 13:07:42 +00:00
Android Build Coastguard Worker
69a598cb70 Snap for 11938003 from 7b5d247687 to 24Q3-release
Change-Id: I916ed10111bd857712360dda6ea2e6b398e31351
2024-06-06 23:03:31 +00:00
Xin Li
4dfbd6fc86 [automerger skipped] Merge "Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future" into aosp-main-future am: 646c59ec64 -s ours
am skip reason: Merged-In I7582ba278abcb30cebe041f775efe45633a58bad with SHA-1 82bb1a5112 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27555815

Change-Id: I6987b6972a4afa8958e54879bfcaaad2362946e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:37:33 +00:00
Xin Li
b8afbb8234 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: afc3cc5de2 -s ours
am skip reason: Merged-In I7582ba278abcb30cebe041f775efe45633a58bad with SHA-1 82bb1a5112 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27555815

Change-Id: I82ad8f2cbd2af63d183af86c30924e70b0a54f38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:12 +00:00
Xin Li
646c59ec64 Merge "Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future" into aosp-main-future 2024-06-06 20:54:41 +00:00
Utku Utkan
7b5d247687 Merge "Remove ACCESS_FINE_LOCATION permission pregrant for PCS on Zuma" into main 2024-06-06 17:37:00 +00:00
Jim Tang
4afe14cec9 Make SUPPORT_MULTI_SIM recognizable in bp am: 1f43d128df am: df858c9c6b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3115579

Change-Id: Ie33600690bfe61b8e867a9cda62361e7e13ece0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00
Jim Tang
df858c9c6b Make SUPPORT_MULTI_SIM recognizable in bp am: 1f43d128df
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3115579

Change-Id: I738f8061af6233116654c1a3f0af121b90308e89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:16:01 +00:00
Jim Tang
1f43d128df 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: I93d355e30771868f1c4664eebbce579e1e37cdcb
2024-06-06 15:02:16 +08:00
Android Build Coastguard Worker
f82350775f Snap for 11931036 from 667f2a4670 to 24Q3-release
Change-Id: Ic2fcc14b412ecc37c4af6ebece36aac9be32843f
2024-06-05 23:08:22 +00:00
Android Build Coastguard Worker
bbdbad2c7c Snap for 11931036 from ba06b04b9e to 24Q3-release
Change-Id: I3a3af357084ffda402d0fc075c206826c853c70d
2024-06-05 23:08:21 +00:00
Wesley Lee
cda0de8c3b enable Zuma AV1 HDR editing
Bug: 345301797

Change-Id: I06ceeaadd67e5c3bf5118ab33217b2fcfb554b2b
Signed-off-by: Wesley Lee <szuweilee@google.com>
2024-06-05 15:43:20 -07:00
Xin Li
afc3cc5de2 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad
Change-Id: I687291c5b9c17cb27f13fde59370d91ced06ee09
2024-06-05 14:12:12 -07:00
Kelvin Zhang
ba06b04b9e Merge "Use dump.f2fs to extract files from efs partitions" into main 2024-06-05 16:05:21 +00:00
Utku Utkan
e2155d5cc4 Remove ACCESS_FINE_LOCATION permission pregrant for PCS on Zuma
FLAG: EXEMPT Cleanup of obsolete permission pregrant

Bug: 345021501
Test: m && flashall
Change-Id: Ia59acea79baadb45083adc76f52d62a0fb184762
2024-06-05 05:00:19 +00:00
Kelvin Zhang
667f2a4670 Allow copy_efs_files_to_data to read efs block devices
Previously, we rely on mount points to copy files out of
efs partitions. Switch over to dump.f2fs to read directly
from block device without mounting. This allows us to copy
files out of efs partition in both 4K and 16K mode.

Test: Boot ext4 device with dev option enabled
Bug: 340965747
Change-Id: Ie3108319cfdb5d922a18863de7431c3cfcc4cf16
2024-06-04 16:49:42 -07:00
Kelvin Zhang
e3ed1eabdf Use dump.f2fs to extract files from efs partitions
Previously, we rely on mount points to copy files out of
efs partitions. Switch over to dump.f2fs to read directly
from block device without mounting. This allows us to copy
files out of efs partition in both 4K and 16K mode.

Test: Boot dev option enabled ext4 device
Bug: 340965747
Change-Id: I9d3f3d5200adc31f13298488b5be068b0fe7c7f4
2024-06-04 10:02:36 -07:00
Android Build Coastguard Worker
02e10c2506 Snap for 11919022 from 79e1531622 to mainline-tzdata6-release
Change-Id: I21925366a2af76b48de9a4a92bb4e26bbb3c8938
2024-06-03 15:32:05 +00:00
Android Build Coastguard Worker
45eb025190 Snap for 11919022 from e0129184f3 to mainline-tzdata6-release
Change-Id: Idc4d4252c1d000416000f291e09a43d4799685fb
2024-06-03 15:32:05 +00:00
Android Build Coastguard Worker
fafd41772c Snap for 11914274 from e0129184f3 to 24Q3-release
Change-Id: I53a69c86f29b71f2bd2fddd5acd8e03a9b9b5fa3
2024-06-01 01:03:32 +00:00
Android Build Coastguard Worker
380a00046a Snap for 11915075 from 79e1531622 to 24Q4-release
Change-Id: I33710600a44bc9372a6e2d8f33e0e21a4d797728
2024-06-01 01:03:23 +00:00
Android Build Coastguard Worker
492a60f283 Snap for 11915075 from e0129184f3 to 24Q4-release
Change-Id: I311430e4a163db4abad5b113cb13a799022bc828
2024-06-01 01:03:22 +00:00
Treehugger Robot
e0129184f3 Merge "Add BT offload AOC services for Zuma" into main 2024-05-31 08:45:20 +00:00
Treehugger Robot
db78dab97e Merge "Only copy EFS files if /data is on ext4" into main 2024-05-30 23:52:34 +00:00
Kelvin Zhang
5978809ae7 Only copy EFS files if /data is on ext4
This reduces the amount of computation needed on critical
boot path for F2FS devices. Boot time is expected to improve
with this patch.

Bug: 341216848
Test: boot device with ext4 and f2fs
Change-Id: I7311a22a7bf9773d3909656d98cc578a43cb9477
2024-05-30 16:08:24 -07:00
Android Build Coastguard Worker
2a661c558a Snap for 11908474 from 79e1531622 to 24Q3-release
Change-Id: I38da6fde5b6332366a927e30ed83a61081cf3cb6
2024-05-30 23:03:35 +00:00
Android Build Coastguard Worker
1d78a43cab Snap for 11908474 from 905072c846 to 24Q3-release
Change-Id: I4c873a28044659fee8f8fa11653116f16676a813
2024-05-30 23:03:34 +00:00
Dmitry Skiba
905072c846 Merge "Revert "Restrict kcompactd thread to middle/little cores."" into main 2024-05-30 18:50:17 +00:00
Madhav Iyengar
5cdbd02063 Add BT offload AOC services for Zuma
Bug: 342415506
Test: Works with other CLs in topic.

Change-Id: Iadf8bc7baedf0b798de673735a6925f60b992646
2024-05-30 18:11:31 +00:00
Dmitry Skiba
721a8358c6 Revert "Restrict kcompactd thread to middle/little cores."
This reverts commit ef68e9b578.

Reason for revert: avoid 24Q3 (will reland later)

Bug: 340872453
Change-Id: Ia217c0e0f03035267a5b53e3dadaffc4e8febfd3
2024-05-30 16:38:22 +00:00
Zining Jiang
a45c09e380 Merge "[Scone] add BLUETOOTH_CONNECT to SCONE default permission" into main 2024-05-30 08:58:55 +00:00
jiangzining
ed630d88aa [Scone] add BLUETOOTH_CONNECT to SCONE default permission
MBA Approval: b/330640278
Bug: b/343608940
Test: Build and Flash

Change-Id: I93c68928990985244993b0d66edcfc4e05a669be
2024-05-30 15:20:22 +08:00
Android Build Coastguard Worker
e3a178da81 Snap for 11902131 from 090928722e to 24Q3-release
Change-Id: Ic24673ab0c63239952bf61b92e634b8b7fdb9cce
2024-05-29 23:03:42 +00:00
Dmitry Skiba
5e26ee65f8 Merge "Restrict kcompactd thread to middle/little cores." into main 2024-05-29 22:54:36 +00:00
Cyan_Hsieh
0f8c1340d4 Switch makefile owners to MK_OWNERS am: 86e9f51a58 am: 750d77c19f
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3106782

Change-Id: Idf76a53bdeca73ccd83c968548784a8d9dc19153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:00:00 +00:00
Xin Li
edd718893b [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: dd443fbb75 -s ours
am skip reason: Merged-In Ifd5f1b609c0bf5fa98677f9880bfa29496add95d with SHA-1 45b0145f0c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27270053

Change-Id: I3ff1268af0f6cf0a7a236b8151770d6e7a3670a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:48:24 +00:00
Xin Li
79e1531622 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 42aa8de219 -s ours
am skip reason: Merged-In I56143303453cce01d812997ed4a06d815f2a6859 with SHA-1 97a16aff57 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27273322

Change-Id: Ib48cb1570130e89e98ce755f22b4b222be981e69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 19:46:13 +00:00
Cyan_Hsieh
750d77c19f Switch makefile owners to MK_OWNERS am: 86e9f51a58
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3106782

Change-Id: If1a015f6f3bba24c4f5e2fa3b8f2f610d57a7903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:14 +00:00
Cyan_Hsieh
86e9f51a58 Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:621df82f7af10ff85fa290af75c729f734cb2938)
Merged-In: I7c3083ad4d881334c6f8f78d89b6a31fcd46c42e
Change-Id: I7c3083ad4d881334c6f8f78d89b6a31fcd46c42e
2024-05-29 10:00:58 +00:00
chenkris
090928722e Add sepolicy for fingerprint HAL to check NSP file
Fix the following avc denials:
avc:  denied  { search } for  name="copied" dev="dm-58" ino=428
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:modem_efs_image_file:s0 tclass=dir

avc:  denied  { search } for  name="persist" dev="dm-58" ino=443
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_file:s0 tclass=dir

avc:  denied  { search } for  name="ss" dev="dm-58" ino=445
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=dir

avc:  denied  { read } for  name="nsp" dev="dm-58" ino=15500
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=file

avc:  denied  { open } for  path="/data/vendor/copied/persist/ss/nsp"
dev="dm-58" ino=15500
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=file

Bug: 335525798
Test: Use UDFPS repair tool to update calibration files
Change-Id: Ic233a07ced8fd828c0e4b4ae1cffa93763a83b42
2024-05-29 04:39:37 +00:00
Dmitry Skiba
ef68e9b578 Restrict kcompactd thread to middle/little cores.
Bug: 340872453
Test: Confirmed kcompactd affinity with taskset -p
Change-Id: I1cc92927dfc22d878819010aa2e9f01b5a3b8851
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-05-28 23:50:44 +00:00
Leo Chen
7c30487eff Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: I5f6fb353f1096d600ddbe3a985bd30caf1df97b6
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-23 06:42:16 +00:00
Android Build Coastguard Worker
804c39b6fc Snap for 11859356 from ba614b35b9 to 24Q3-release
Change-Id: Ifa43f35c8f6cf58642f140f1e7ffb2557a0cb641
2024-05-18 03:03:23 +00:00
Sungtak Lee
ba614b35b9 Merge "Remove codec2 hidl fragments" into main 2024-05-17 06:25:28 +00:00
Android Build Coastguard Worker
3271f0670d Snap for 11853201 from 80cb09b4c4 to 24Q3-release
Change-Id: I08bec837c6023583099ae9f028ba742cb0a43833
2024-05-17 01:03:18 +00:00
Sungtak Lee
629eabc6c5 Remove codec2 hidl fragments
Bug: 321808716
Change-Id: Iaf80f2c61cb3d9f1b1761e33ecf92ccc27ad3423
2024-05-16 21:31:54 +00:00
Jerry Huang
80cb09b4c4 Merge "zuma: update performance point based on AP3A.240513.001" into main 2024-05-16 06:34:42 +00:00
Android Build Coastguard Worker
5ddd7b5615 Snap for 11847214 from cdc4acc647 to 24Q3-release
Change-Id: I92a3c51fda5a9033640caa6fdfecd5577b58a8f9
2024-05-16 01:03:55 +00:00
Android Build Coastguard Worker
0145d37546 Snap for 11847214 from ab17b46c51 to 24Q3-release
Change-Id: Id969f480868fbd9f08ead7b3f9d94798ca9dfa0b
2024-05-16 01:03:54 +00:00
Kelvin Zhang
ab17b46c51 Merge "Allow devices to pick ext4 as default fs at build time" into main 2024-05-15 06:08:46 +00:00
Wilson Sung
cdc4acc647 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 340722729
Change-Id: I8f11ea5848724f18765cca2dda91a7d916b82f72
2024-05-15 03:50:08 +00:00
Treehugger Robot
1f3594dafe Merge "Split zuma fstab into two files" into main 2024-05-14 23:05:08 +00:00
Android Build Coastguard Worker
95a907c784 Snap for 11840485 from b15e00e8f5 to 24Q3-release
Change-Id: Iea27b67ac59b9aafefc8ac6951eb4e971c7d7249
2024-05-14 23:03:43 +00:00
Kelvin Zhang
5a679bbf76 Allow devices to pick ext4 as default fs at build time
Products using 16KB kernel may wish to boot into 16KB mode
directly. To do this, these targets would need to use ext4
as their default fs type for /data and /metadata . Add
a build time flag which would install ext4 fstabs.

Test: th
Bug: 339337171
Change-Id: I53de1599bbff583b45ca2bf6d3e3efb83957913e
2024-05-14 15:42:14 -07:00
Kelvin Zhang
c542bcfd03 Split zuma fstab into two files
Common fstab entries(everything but /metadata and /data) are
moved to a separate fstab file.
This allows us to create an ext4 variant of the same fstab later.

Test: device boots
Bug: 339337171
Change-Id: I3129551c98b14473c776f2cf3dee1b81fc0c84b3
2024-05-14 10:03:27 -07:00
Jerry Huang
f6025c54da zuma: update performance point based on AP3A.240513.001
Bug: 335350051
Test: CtsMediaDecoderTestCases android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: I54a234ec6f3b1ed59087aacb0e2855477492584e
2024-05-14 09:25:51 +00:00
Joerg Wagner
b15e00e8f5 Merge "Use 2024-03-01 deqp levels for GLES and Vulkan" into main 2024-05-14 08:55:11 +00:00
Treehugger Robot
fe169c6406 Merge "Set default pin amount for home app" into main 2024-05-13 22:59:01 +00:00
Edgar Arriaga
f8a1670819 Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: I86a1bd0a82513e8b45247b6fc12d4cd7a552d7db
2024-05-13 19:55:06 +00:00
Android Build Coastguard Worker
7d3783cafd Snap for 11828632 from 213da03c2b to 24Q3-release
Change-Id: Ic9661412ad8dd5fd52d5bee81a4ccc61244e2fc0
2024-05-11 01:03:49 +00:00
Pawan Wagh
213da03c2b Use lzo-rle for 16kb page kernel
Test: Checked zram compression with 4KB and 16KB kernel
======== Using 4KB kernel================
$ adb shell getconf PAGE_SIZE
4096
$ adb shell cat  /sys/block/zram0/comp_algorithm
[lz77eh] zstd deflate lz4 lzo-rle lzo
======== Using 16KB kernel================
$ adb root
restarting adbd as root
$ adb shell cat  /sys/block/zram0/comp_algorithm
lz77eh zstd deflate lz4 [lzo-rle] lzo
$ adb shell getconf PAGE_SIZE
16384

Bug: 316158358
Change-Id: I068cf4f9ab9a1fdc36f141a1de6f4ea293db9d6f
2024-05-10 01:13:39 +00:00
Android Build Coastguard Worker
3cf66743b8 Snap for 11822896 from 0455a656b7 to 24Q3-release
Change-Id: I0fde4ac1f034c84f2816e6a93e1b2fb149bdbeeb
2024-05-09 23:08:20 +00:00
Android Build Coastguard Worker
76b26c58c0 Snap for 11822896 from 0f9fe30938 to 24Q3-release
Change-Id: I70540a24dca25195966a4087120cfb70075cebbf
2024-05-09 23:08:20 +00:00
Shiyong Li
0f9fe30938 Merge "Add sepolicy for power_state node" into 24D1-dev am: eaa2a2ee8c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27056931

Change-Id: Ib3a211c40b3ce8fbade8ceb2c72b99ef2277191c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 05:21:44 +00:00
Shiyong Li
0455a656b7 Merge "Add sepolicy for power_state node" into 24D1-dev am: 7107af6af0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27057168

Change-Id: Iebbdf2275b4d0460ac58100db1ab1b865ed63d04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 05:21:38 +00:00
Shiyong Li
eaa2a2ee8c Merge "Add sepolicy for power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Shiyong Li
7107af6af0 Merge "Add sepolicy for power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Android Build Coastguard Worker
484aa51f46 Snap for 11816316 from 3cbe2de42c to 24Q3-release
Change-Id: Ie8473a1799c576146469fb16e1b69fee74368d13
2024-05-08 23:03:38 +00:00
Android Build Coastguard Worker
e6a84d76eb Snap for 11816316 from b41d97bc37 to 24Q3-release
Change-Id: I175dae19ad4c205f92add3c661c769eac9029607
2024-05-08 23:03:38 +00:00
Jörg Wagner
76717decdc Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: If76465a473a582a7c5f2502872876b3a682eacc0
2024-05-08 18:46:13 +00:00
Treehugger Robot
fbf479dae5 Merge changes from topic "revert-27206172-revert-26822004-SXUPLCUANW-MLEHIGOHIM" into main
* changes:
  Reland: Copy persist partition files to /data on boot
  Reland: Copy files on EFS partition to /data on boot
2024-05-08 16:13:27 +00:00
Treehugger Robot
bc68fdd684 Merge "Reland: Add necessary sepolicy for convert_modem_to_ext4" into main 2024-05-08 16:13:27 +00:00
Treehugger Robot
b41d97bc37 Merge "Update IDisplay to V11-V12" into main 2024-05-08 10:02:13 +00:00
Leo Chen
388bdee3f5 Update IDisplay to V11-V12
V12 is not frozen yet. We should still allow V11 for `next` build.

Test: trigger test build
Bug: 309897479
Bug: 303162192
Change-Id: I14582a51cde66698013b275ec1d668f858ad7cba
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-08 08:48:46 +00:00
KRIS CHEN
3cbe2de42c Merge "Allow fingerprint to access the folder /data/vendor/fingerprint" into main 2024-05-08 08:46:30 +00:00
chenkris
4035d467ad Allow fingerprint to access the folder /data/vendor/fingerprint
Fix the following avc denial:
android.hardwar: type=1400 audit(0.0:20): avc:  denied  { write } for  name="fingerprint" dev="dm-56" ino=36703 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=dir permissive=0

Bug: 267766859
Test: Tested fingerprint under enforcing mode
Change-Id: Iadd058432b7db8c20a949aeda1df5f8309663004
2024-05-08 06:48:41 +00:00
Kelvin Zhang
4bc3f5a338 Reland: Copy persist partition files to /data on boot
Since /persisit was previously mounted during eraly-init stage,
this CL delays the /persist mount to post-fs-data stage.
Actions which depends on the /persist partition are also moved.

Bug: 319335586
Change-Id: I6bcc775f16331905c6896f3a2ec5bbea9e20744f
2024-05-07 21:31:13 -07:00
Kelvin Zhang
b08f8dbf23 Reland: Copy files on EFS partition to /data on boot
During boot, this CL adds the following sequence of actions:

1. mount original efs partitions(most likely f2fs) on /mnt/vendor/efs
2. copy files in /mnt/vendor/efs to /data/vendor/copied/efs.img
3. fsync all the files in /data/vendor/copied/efs.img
4. rename /data/vendor/copied/efs.img to /data/vendor/copied/efs
5. bind-mount /data/vendor/copied/efs to /mnt/vendor/efs
6. repeat 1-5 for efs_backup and modem_userdata

The original EFS partitions are mounted and only used for file
copying, no destructive action done on original efs partitions.

Test: reformat /data as ext4, boot the device
Bug: 319335586
Change-Id: Ide78be316778acfc5c582c4a7b78853796cf4c1e
2024-05-07 21:31:13 -07:00
Android Build Coastguard Worker
285014e29f Snap for 11811809 from 7c7e028271 to 24Q3-release
Change-Id: Ibab44877c605889491073f4547e5ccd70ded8270
2024-05-07 23:03:59 +00:00
Android Build Coastguard Worker
fe3d51e4fe Snap for 11811809 from 4053a85fe7 to 24Q3-release
Change-Id: Icab9527fb8247df2b17ebe1b4697d5e98934fc66
2024-05-07 23:03:58 +00:00
Kelvin Zhang
be41aa688e Reland: Add necessary sepolicy for convert_modem_to_ext4
The original CL was reverted because it references
enable_16k_pages_prop, which is only available on board API level >
202504.

This reland removes enable_16k_pages_prop usage, and worked around it by
reading PRODUCT_16K_DEVELOPER_OPTION at build time.

Test: reformat data as ext4, reboot
Bug: 293313353
Change-Id: Ibd8f57d1ef4fd2b0fd8b4170153d57fe9a9cefc2
2024-05-07 13:24:15 -07:00
Pechetty Sravani
7c7e028271 Merge "Revert "Add necessary sepolicy for convert_modem_to_ext4"" into main 2024-05-07 13:08:44 +00:00
Pechetty Sravani
2bf59857da Revert "Add necessary sepolicy for convert_modem_to_ext4"
Revert submission 26822004

Reason for revert: <Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:26822004

Change-Id: I90e3bf5ecbdf6c058c56293cfba59c628ccc7aba
2024-05-07 08:50:45 +00:00
Pechetty Sravani
4053a85fe7 Revert "Copy files on EFS partition to /data on boot"
Revert submission 26822004

Reason for revert: Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:26822004

Change-Id: Ie9598a3b3b56c8ce26f475079798c44314696f44
2024-05-07 07:19:37 +00:00
Pechetty Sravani
327973016e Revert "Copy persist partition files to /data on boot"
Revert submission 26822004

Reason for revert: Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:26822004

Change-Id: I744fccbf1aacd817ca1a0c6f4a121393307c8797
2024-05-07 07:19:37 +00:00
Treehugger Robot
20f1383abd Merge "Add necessary sepolicy for convert_modem_to_ext4" into main 2024-05-06 23:19:28 +00:00
Android Build Coastguard Worker
84c5f5e3b5 Snap for 11806096 from 76caf6b954 to 24Q3-release
Change-Id: Ibfcb4a23bbb9d2fe1a0c6512ec65ef2c95ef360e
2024-05-06 23:03:44 +00:00
Kelvin Zhang
62b3d171c7 Copy persist partition files to /data on boot
Since /persisit was previously mounted during eraly-init stage,
this CL delays the /persist mount to post-fs-data stage.
Actions which depends on the /persist partition are also moved.

Bug: 319335586
Change-Id: I0e70f672b9a5f4b05b95dd30b0a74bb8f91f399a
2024-05-06 15:27:46 -07:00
Kelvin Zhang
7251274bee Copy files on EFS partition to /data on boot
During boot, this CL adds the following sequence of actions:

1. mount original efs partitions(most likely f2fs) on /mnt/vendor/efs
2. copy files in /mnt/vendor/efs to /data/vendor/copied/efs.img
3. fsync all the files in /data/vendor/copied/efs.img
4. rename /data/vendor/copied/efs.img to /data/vendor/copied/efs
5. bind-mount /data/vendor/copied/efs to /mnt/vendor/efs
6. repeat 1-5 for efs_backup and modem_userdata

The original EFS partitions are mounted and only used for file
copying, no destructive action done on original efs partitions.

Test: reformat /data as ext4, boot the device
Bug: 319335586
Change-Id: I4c4024b4cad18199226f5644f98254b2230574d6
2024-05-06 15:27:46 -07:00
Xin Li
42aa8de219 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I56143303453cce01d812997ed4a06d815f2a6859
Change-Id: I61f611a2fcb900fcb4bb035c2abfbb19a840fddb
2024-05-06 12:09:17 -07:00
Xin Li
dd443fbb75 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Ifd5f1b609c0bf5fa98677f9880bfa29496add95d
Change-Id: I15da0840ac7291b41519ae4ae82b09b3c6b5148f
2024-05-06 12:09:17 -07:00
Kelvin Zhang
39eccba58f Support booting on ext4 for zuma devices
When a user opts into 16K developer option, we would need to convert the
/data and /metadata partition into ext4. Add necessary fstab entries for
ext4 so that zuma devices can boot on ext4.

This CL does not automatically switch existing devices to ext4, the
newly added fstab entries are intentionally marked as "non-formattable",
so that we don't accidentally format a wiped device as ext4. This CL
merely allows the device to boot if the /data partition is already
formatted as ext4.

Test: adb shell cmd recovery wipe ext4 , make sure device boots
Bug: 293313353
Change-Id: I3a2a2e9d09cdea884f58b509a06c6829938dc369
2024-05-06 09:05:09 -07:00
Android Build Coastguard Worker
eae37991ed Snap for 11800966 from 736faaf9d3 to 24Q3-release
Change-Id: I7452f786627ecefc4827afc6859c57aae7bf9edb
2024-05-04 01:03:49 +00:00
Jaegeuk Kim
76caf6b954 Adjust the fstab option for ZUFS
Bug: 336319772
Change-Id: Ic3088e693d4dd9f784215da27a5c4b6c47759ef2
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-05-03 09:58:17 -07:00
Spade Lee
736faaf9d3 pixelstats: zuma: add all logbuffer paths am: 17b87611d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27101371

Change-Id: I05911df01e73efd658b4a45f325ff2254ddc1e6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 05:24:16 +00:00
Android Build Coastguard Worker
6e0d641ac1 Snap for 11778614 from 104dda15e3 to 24Q3-release
Change-Id: I836b6b4b0b97dc18c148576405a56f93ba434a2a
2024-04-29 23:03:36 +00:00
Treehugger Robot
104dda15e3 Merge "Update USES_LASSEN_MODEM soong config settings for aosp projects." into main am: fca2c9d122 am: 646464efa7
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3037358

Change-Id: I2520734af8b8bacbd30d07064f6bc71f2b8cd020
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:59:33 +00:00
Treehugger Robot
646464efa7 Merge "Update USES_LASSEN_MODEM soong config settings for aosp projects." into main am: fca2c9d122
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3037358

Change-Id: I34b248f1d76b8b90079f775a9c6c76bf3265fea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:42:17 +00:00
Treehugger Robot
fca2c9d122 Merge "Update USES_LASSEN_MODEM soong config settings for aosp projects." into main 2024-04-29 09:25:56 +00:00
Herbert Xue
34b4efdcc8 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: I4ef0fe469e98fa6315896bbe8c422f741e207664
2024-04-29 16:26:24 +08:00
Qian-Hao Huang
52494655a6 zuma: Change the path of prebuilt fips140.ko
Placing the fips140.ko at the same level as other kernel modules makes
it easier for automation tools to handle all of them.

Bug: 331791671
Change-Id: Id6d978afbd18f98f2a07d418c405699885c05bf0
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-04-29 06:49:55 +00:00
Spade Lee
17b87611d9 pixelstats: zuma: add all logbuffer paths
Bug: 335934710
Change-Id: I79f65bc1069402a721bf75f97d6973c066a002a9
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-29 01:39:04 +00:00
Android Build Coastguard Worker
bf1b178808 Snap for 11766482 from 2247b84115 to 24Q3-release
Change-Id: Iaf95c2df7159aac26fbfb251c75fb9d784e4ded5
2024-04-25 23:03:42 +00:00
Android Build Coastguard Worker
995e522871 Snap for 11766482 from b823c7afcb to 24Q3-release
Change-Id: If406253dc3fa4d0a811f713211b673faa24862e0
2024-04-25 23:03:41 +00:00
Enzo Liao
b823c7afcb [automerger skipped] Merge "Apply common SELinux policies related to ramdumps and coredumps to zuma." into 24D1-dev am: b149c66beb -s ours
am skip reason: Merged-In I9f0d29ef69dc88cb8e876e37aac09ed7331c79b7 with SHA-1 f8c54e9912 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27046269

Change-Id: Ifa42ada09fb3d458c02ab9e9f4e3e582b9bc2969
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:31:23 +00:00
Enzo Liao
2247b84115 [automerger skipped] Merge "Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common." into 24D1-dev am: c3c5b0fb90 -s ours
am skip reason: Merged-In Id42c4de6c29d4a95f8a68a5732c4732edfb71da8 with SHA-1 df85139d17 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27046738

Change-Id: I74a2603921e024818214cdd40206f83cadcb6b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:31:17 +00:00
Enzo Liao
1f246cdd5a [automerger skipped] Apply common SELinux policies related to ramdumps and coredumps to zuma. am: 54d3a9babc -s ours
am skip reason: Merged-In I9f0d29ef69dc88cb8e876e37aac09ed7331c79b7 with SHA-1 f8c54e9912 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27046269

Change-Id: I19412558e18de4d9c4ea4db61abefb24250ab092
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:31:15 +00:00
Enzo Liao
146d62c821 [automerger skipped] Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common. am: 7c420c0703 -s ours
am skip reason: Merged-In Id42c4de6c29d4a95f8a68a5732c4732edfb71da8 with SHA-1 df85139d17 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27046738

Change-Id: Ic8c15dba652af326c8860b4de81f42ea204c93b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:31:13 +00:00
Enzo Liao
b149c66beb Merge "Apply common SELinux policies related to ramdumps and coredumps to zuma." into 24D1-dev 2024-04-25 08:22:07 +00:00
Enzo Liao
c3c5b0fb90 Merge "Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common." into 24D1-dev 2024-04-25 08:22:06 +00:00
Spade Lee
6efbf8b937 [automerger skipped] pixelstats: zuma: add history validation path am: e5daed552d -s ours
am skip reason: Merged-In Ia134e6b6b8dc0c9db35bcf36bed700b67466f353 with SHA-1 a4b4967c03 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27095803

Change-Id: I9dd62a738903955b528b09043c52f6c4d6375b26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:20:31 +00:00
Spade Lee
9d059a073d [automerger skipped] pixelstats_vendor: add logbuffer_device r_file_perms am: 52df1a478b -s ours
am skip reason: Merged-In Ieca53f3092355c72784d4216c138cbb7cc9c7fa4 with SHA-1 3f707d13c2 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27094861

Change-Id: I27d28e4e8b14f71a16aba5f7de9b8874d205e708
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:20:29 +00:00
Chungro Lee
40688b57ec [automerger skipped] pixelstats: move learning/model load path to sysfs am: b9d89f2a98 -s ours
am skip reason: Merged-In I91039ce3a8ee4630a76113ef7ae6be3bc6908f64 with SHA-1 c0f9207cf5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27095802

Change-Id: I467d0bf7a406567daacc4331ad5ff246e3142279
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 08:20:29 +00:00
Spade Lee
52df1a478b pixelstats_vendor: add logbuffer_device r_file_perms
avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=1034 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:logbuffer_device:s0 tclass=chr_file permissive=0

Bug: 329174074
Test: no denied log, and able to read logbuffer in pixelstats_vendor
Signed-off-by: Spade Lee <spadelee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f707d13c29300fab31a1ba6a8657771ba4946a8)
Merged-In: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4
Change-Id: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4
2024-04-25 06:11:20 +00:00
Spade Lee
e5daed552d pixelstats: zuma: add history validation path
Bug: 329174074
Signed-off-by: Spade Lee <spadelee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a4b4967c038aad263bc75f9248a7850355af62a1)
Merged-In: Ia134e6b6b8dc0c9db35bcf36bed700b67466f353
Change-Id: Ia134e6b6b8dc0c9db35bcf36bed700b67466f353
2024-04-25 06:11:11 +00:00
Chungro Lee
b9d89f2a98 pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Signed-off-by: Chungro Lee <chungro@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c0f9207cf5ad3b04ac4c64c844ab85c4a6803aab)
Merged-In: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
2024-04-25 06:11:02 +00:00
Kevin Ying
a78ae51ef1 Add sepolicy for power_state node
Bug: 329703995
Test: manual - used camera
Change-Id: I1f156fe7f10210b933f360fef771cb37ff3cbedb
Signed-off-by: Kevin Ying <kevinying@google.com>
2024-04-24 19:10:19 +00:00
Android Build Coastguard Worker
5030b5c5eb Snap for 11753769 from c1341de4c3 to 24Q3-release
Change-Id: I6c311ef3f98c6606be02e00a72754bfb027ecfbf
2024-04-23 23:03:53 +00:00
Android Build Coastguard Worker
7cd10f70c5 Snap for 11753769 from 6e58e58324 to 24Q3-release
Change-Id: I7b5e449ddd14b5ab65e353ecbfba9cadc53c7141
2024-04-23 23:03:52 +00:00
Sungtak Lee
6e58e58324 Merge "Reapply "Enable AIDL media.c2"" into main 2024-04-23 19:58:23 +00:00
Sungtak Lee
bfc4292c11 Reapply "Enable AIDL media.c2"
This reverts commit 4f00775b4e.

Bug: 321808716
Change-Id: I5f0b50b5e55924ea7c25f3bcfeabc0a4d5b32ffa
2024-04-23 08:50:23 +00:00
Kevin Ying
52be8e937c Add sepolicy for power_state node
Bug: 329703995
Test: manual - use camera
Change-Id: If9f14980e15a3b936bf2117f066e734ee122d72d
Signed-off-by: Kevin Ying <kevinying@google.com>
2024-04-22 22:20:42 +00:00
Kelvin Zhang
276b386b6f Add necessary sepolicy for convert_modem_to_ext4
Test: reformat data as ext4, reboot
Bug: 293313353
Change-Id: Iede84b1827166f1581d80077fe1c4d93d01a815b
2024-04-22 10:14:13 -07:00
Kelvin Zhang
c1341de4c3 Add necessary sepolicy for ro.vendor.persist.status
This prop will be set to "mounted" after /mnt/vendor/persist mounts.
Need this prop to synchronize different actions in init.rc script.

Test: th
Bug: 319335586
Change-Id: I9e8bd5e875956393d610b7def6be713565543d05
2024-04-22 10:14:12 -07:00
Enzo Liao
7c420c0703 Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common.
New paths (ag/26620507):
  RamdumpService: device/google/gs-common/ramdump_app
  SSRestartDetector: device/google/gs-common/ssr_detector_app

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:df85139d173644b7ec44cb7151845026872a1648)
Merged-In: Id42c4de6c29d4a95f8a68a5732c4732edfb71da8
Change-Id: Id42c4de6c29d4a95f8a68a5732c4732edfb71da8
2024-04-22 03:02:53 +00:00
Enzo Liao
54d3a9babc Apply common SELinux policies related to ramdumps and coredumps to zuma.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f8c54e99126678b4147885dbcddf7f0a25f1f3a3)
Merged-In: I9f0d29ef69dc88cb8e876e37aac09ed7331c79b7
Change-Id: I9f0d29ef69dc88cb8e876e37aac09ed7331c79b7
2024-04-22 03:02:41 +00:00
Kelvin Zhang
bb210c9c43 Move EFS/persist mount to a separate fstab
Next CLs in this stack will make changes to persist/efs mount process
This CL will first move relevant code to a separate file for easier
review.

To support booting under 16K page size, we need to copy files on
persist partition(F2FS, which does not support 16K page size)
to data partition(which will would be EXT4 for dev option enabled
devices).

Bug: 319335586
Change-Id: I2750eb8b53431037cecc972448799409345f5ca3
2024-04-19 20:22:56 -07:00
Android Build Coastguard Worker
3777402d69 Snap for 11740859 from e028d802db to 24Q3-release
Change-Id: I9c405e3dd289cfc6e83fd57f9cd532a4ef9ff29b
2024-04-20 01:03:18 +00:00
Android Build Coastguard Worker
76e980e515 Snap for 11740859 from 831f38051d to 24Q3-release
Change-Id: Ic08ca931ec86076a5873edd06758aa21beec7459
2024-04-20 01:03:17 +00:00
Priyanka Advani
831f38051d Merge "Revert "Enable AIDL media.c2"" into main 2024-04-19 21:40:43 +00:00
Priyanka Advani
4f00775b4e 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: I7b331a48f64b89a19fcedeeae783fe8fc83c22c2
2024-04-19 20:44:19 +00:00
Treehugger Robot
deb2358c5b Merge "Enable AIDL media.c2" into main 2024-04-19 19:09:52 +00:00
Android Build Coastguard Worker
2a14a3a1ee Snap for 11733120 from 76bcb83719 to 24Q3-release
Change-Id: I6841e403508a10493b01313148c18ea3df1fdaaa
2024-04-18 23:03:16 +00:00
Martin Liu
2c344ad3fa move common MM settings to gs common folder
Bug: 332916849
Bug: 309409009
Test: boot
Change-Id: If5515f107b4fb2490d83c2d48c78727bd6f2e51f
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-18 03:49:46 +00:00
Martin Liu
e028d802db move common MM policy to gs common folder
Bug: 332916849
Bug: 309409009
Test: boot
Change-Id: I05803943752f7b021c9d4f97b475b493f6ceadcb
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-18 01:59:46 +00:00
Android Build Coastguard Worker
f773dea246 Snap for 11728787 from 7ba8751e39 to 24Q3-release
Change-Id: Icd30fba115ab9bd9210434bbce5fec831667d580
2024-04-17 23:04:46 +00:00
Shashwat Razdan
76bcb83719 Merge "Revert "Adding android.software.contextualsearch to zuma devices."" into main 2024-04-17 22:44:18 +00:00
Hongyang Jiao
7ba8751e39 Add betterbug.mk to zuma am: 0725eeb711
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26988195

Change-Id: Id9f23929eeabae57d7c88786388405cad46a3e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:56 +00:00
Hongyang Jiao
c14d0d9f3d Merge "Revert "Add betterbug mk to zuma"" into 24D1-dev am: d83bf30cf8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26631135

Change-Id: I7552511fe6da836a99d40d786d9397ce060ff2ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:08:41 +00:00
Android Build Coastguard Worker
e30c178598 Snap for 11722130 from d4f04d19cc to 24Q3-release
Change-Id: Id93a911c4a36da3823ab3fe9d05fb64f32681228
2024-04-16 23:03:38 +00:00
Android Build Coastguard Worker
bb667d5fe9 Snap for 11722130 from 93b48f5934 to 24Q3-release
Change-Id: I09bda9ba5e541c840b4eb7b397d99b52a9bef0c8
2024-04-16 23:03:38 +00:00
Hongyang Jiao
0725eeb711 Add betterbug.mk to zuma
Test: manual test
Bug: 322543833
Change-Id: Ibd314393d11b2552b79a7f73cd7ed888e08934b2
2024-04-16 22:57:07 +00:00
Hongyang Jiao
d83bf30cf8 Merge "Revert "Add betterbug mk to zuma"" into 24D1-dev 2024-04-16 22:47:42 +00:00
Android Build Coastguard Worker
010b4d30ba Snap for 11717025 from 99c5c3dc9e to 24Q3-release
Change-Id: Ia28d393a0e96cc5f683a750de017678e3a5ee613
2024-04-15 23:04:08 +00:00
Krzysztof Kosiński
d4f04d19cc Remove rlsservice sepolicy. am: 41c22587a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/26948256

Change-Id: I60d0c43786dc869f9d69ce7c95e2199652efda3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 21:58:31 +00:00
Brian Egizi
93b48f5934 [manual merge] Update health AIDL HAL to V3
Change-Id: I276d38e4085707eaf56e72d848f6906d1f35d2d1
2024-04-15 20:52:16 +00:00
David Lin
bdf13ab632 Merge "Update health AIDL HAL to V3" into 24D1-dev 2024-04-15 10:05:53 +00:00
Kadi Narmamatov
99c5c3dc9e Merge "rsfd: add get_prop for cbd property" into main 2024-04-15 07:36:23 +00:00
Android Build Coastguard Worker
03e8d4cec1 Snap for 11710546 from 32ce8f9878 to 24Q3-release
Change-Id: I6f1ceb11bb6061c3baecc7653ea47488c564eca1
2024-04-13 01:03:44 +00:00
Android Build Coastguard Worker
7f04d5f6ec Snap for 11710546 from 18b05dee0e to 24Q3-release
Change-Id: Ic16b06b46ab63de1e633d41bb06a47337fd13fe8
2024-04-13 01:03:43 +00:00
Krzysztof Kosiński
41c22587a2 Remove rlsservice sepolicy.
rlsservice is not included on zuma and later, only gs101/gs201.
Relevant code search link:
https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:vendor/google/services/LyricCameraHAL/src/apex/Android.bp;l=26;drc=e4b49a6d945df6d5210c35251de8046b162d799d

Bug: 278627483
Test: presubmit
Change-Id: I15398ddeea8c0a10920c987e55789ba4a8322774
2024-04-12 22:03:22 +00:00
Treehugger Robot
18b05dee0e Merge "Disable proactive compaction" into main 2024-04-12 15:03:00 +00:00
Treehugger Robot
32ce8f9878 Merge "allow vendor init to access compaction_proactiveness" into main 2024-04-12 15:03:00 +00:00
David Lin
5fdc059a2f [automerger skipped] Merge "Update health AIDL HAL to V3" into 24D1-dev am: ab17ee2548 -s ours
am skip reason: Merged-In I7582ba278abcb30cebe041f775efe45633a58bad with SHA-1 40f89b2d46 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26744569

Change-Id: I50e8d53be6e5c869b50eb6e31493b3a4ce36785a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 05:27:35 +00:00
Jack Wu
a06bf9cb25 [automerger skipped] Update health AIDL HAL to V3 am: c59a55ffc8 -s ours
am skip reason: Merged-In I7582ba278abcb30cebe041f775efe45633a58bad with SHA-1 40f89b2d46 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26744569

Change-Id: Ib776182bbe6868745bca2a4a66b9480bca2df3ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 05:27:29 +00:00
David Lin
ab17ee2548 Merge "Update health AIDL HAL to V3" into 24D1-dev 2024-04-12 05:08:32 +00:00
Jack Wu
c59a55ffc8 Update health AIDL HAL to V3
Bug:<b/328327545>
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:40f89b2d464071389d395f39928ef0e6d99bf2fb)
Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-12 05:08:15 +00:00
Android Build Coastguard Worker
69508f7e60 Snap for 11704135 from 4104efb34f to 24Q3-release
Change-Id: I0cbb8ce7b17dc084e4ac1143b50303e876b949aa
2024-04-11 23:03:30 +00:00
Android Build Coastguard Worker
2d635d6485 Snap for 11704135 from f8a4bd6ce1 to 24Q3-release
Change-Id: Ib0a179e89389eee1a86b1f9bad9c6ed3185e7df4
2024-04-11 23:03:28 +00:00
Treehugger Robot
c462243219 Merge "Zuma: disable compression on apex" into main 2024-04-11 21:58:15 +00:00
Jaegeuk Kim
6f61b2f689 Zuma: disable compression on apex
Compression on apex disables direct IO for loopback, which introduces
double buffering and longer latency.

Bug: 298717358
Change-Id: I3b1de10f17931bec7769947bad62a22637a8a528
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-04-11 21:57:05 +00:00
Enzo Liao
f8a4bd6ce1 Merge "Apply common SELinux policies related to ramdumps and coredumps to zuma." into main 2024-04-11 02:03:27 +00:00
Enzo Liao
4104efb34f Merge "Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common." into main 2024-04-11 02:03:26 +00:00
Martin Liu
625450137c Disable proactive compaction
From field data, sometimes kcompactd is
pretty activated and can impact critical
CUJs. Disable it first to mitigate the
impact.

Bug: 332916849
Test: boot
Change-Id: I87cdcf184afb5fe10e873162b94bd3bf54b1acbd
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-11 00:14:29 +00:00
Martin Liu
fb44539d8d allow vendor init to access compaction_proactiveness
Bug: 332916849
Test: boot
Change-Id: If1930fe0f174f2794296ded69d29420f2e59f6c2
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-10 23:34:49 +00:00
Android Build Coastguard Worker
55a014e1c8 Snap for 11697857 from 13c3ad1dc2 to 24Q3-release
Change-Id: Ifcf7e77c68aefc39e2ea285a50691068ddec66f7
2024-04-10 23:03:28 +00:00
Wen Chang Liu
13c3ad1dc2 Merge "update odd resolution support in vpx and av1 codecs" into main 2024-04-10 11:20:37 +00:00
kadirpili
22844d59ca rsfd: add get_prop for cbd property
Bug: 323086582

Test: flash ROM and check for rfsd sepolicy logs

Change-Id: I6f8c555614386fda784b4532a4b004d5fe857bc6
2024-04-10 05:52:54 +00:00
Enzo Liao
df85139d17 Move SELinux policies of RamdumpService and SSRestartDetector to /gs-common.
New paths (ag/26620507):
  RamdumpService: device/google/gs-common/ramdump_app
  SSRestartDetector: device/google/gs-common/ssr_detector_app

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Change-Id: Id42c4de6c29d4a95f8a68a5732c4732edfb71da8
2024-04-08 19:21:13 +08:00
Daniel Chapin
e47d4c3767 Revert "Add betterbug mk to zuma"
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:fe980182cc8f21d7af154271d58aff971f72132c)
Merged-In: I83de6f389e4ce5113afd751871e0e10e67fb0b4f
Change-Id: I83de6f389e4ce5113afd751871e0e10e67fb0b4f
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-08 06:20:23 +00:00
Android Build Coastguard Worker
9bcf8ff08e Snap for 11679388 from 7c575c770f to 24Q3-release
Change-Id: Id59a18cdded903e06e7b7273c2dcaa8e1a33a029
2024-04-06 01:03:17 +00:00
Dinesh Yadav
7c575c770f Merge "TPU Rio Tachyon Migration" into main 2024-04-05 04:03:45 +00:00
Android Build Coastguard Worker
213249b4df Snap for 11672362 from 2ab2661048 to 24Q3-release
Change-Id: I033a159e359ca80b23a52ece65ec9fa7c1e6258d
2024-04-04 23:03:26 +00:00
Dinesh Yadav
0a091afcbc TPU Rio 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: Id531f0941d043319771e2b10fd3cb6c93c9a7a24
2024-04-04 12:44:15 +00:00
Treehugger Robot
2ab2661048 Merge "display: low-light blocking zone support" into 24D1-dev am: 0a3562a15c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/26800869

Change-Id: Ic14a269756206f63e9978bc453d68163fef6d868
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 03:27:45 +00:00
Treehugger Robot
0a3562a15c Merge "display: low-light blocking zone support" into 24D1-dev 2024-04-04 02:46:42 +00:00
Android Build Coastguard Worker
5553e06b93 Snap for 11666018 from 5a4b459eff to 24Q3-release
Change-Id: I9f57423da8b81b2049801f410032397ef503a4d1
2024-04-03 23:03:20 +00:00
Android Build Coastguard Worker
b0a2ed6547 Snap for 11666018 from 90fc27fe79 to 24Q3-release
Change-Id: I8641d8c210bcedad3ef2b4b5a4f05a578853d919
2024-04-03 23:03:19 +00:00
Enzo Liao
f8c54e9912 Apply common SELinux policies related to ramdumps and coredumps to zuma.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Change-Id: I9f0d29ef69dc88cb8e876e37aac09ed7331c79b7
2024-04-03 16:02:30 +08:00
Spade Lee
5a4b459eff sepolicy: allow kernel to search vendor debugfs am: 0ac2d9f7bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/26738853

Change-Id: Ic8f63f4bbda165e07ea150a2f5a9cfc7211f5c07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:24:44 +00:00
Android Build Coastguard Worker
6e92ddab6a Snap for 11661060 from 2a01ceedb9 to 24Q3-release
Change-Id: Ieef0d9ba68a3471db0829d6ca548a0abe69e590f
2024-04-02 23:03:33 +00:00
Ziyi Yang
90fc27fe79 Merge "Adding post notification to gca default permissions" into main 2024-04-02 19:54:46 +00:00
cweichun
495b0120ea display: low-light blocking zone support
Bug: 315876417
Test: verify the functionality works
Change-Id: Id8972d4c9057aa76f72dd32d47a5d07c0822645b
2024-04-02 15:25:43 +00:00
Spade Lee
0ac2d9f7bc sepolicy: allow kernel to search vendor debugfs
audit: type=1400 audit(1710259012.824:4): avc:  denied  { search } for  pid=128 comm="kworker/3:1" name="max77779fg" dev="debugfs" ino=24204 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=0
audit: type=1400 audit(1710427790.680:2): avc:  denied  { search } for  pid=10 comm="kworker/u16:1" name="gvotables" dev="debugfs" ino=10582 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_votable_debugfs:s0 tclass=dir permissive=1
audit: type=1400 audit(1710427790.680:3): avc:  denied  { search } for  pid=211 comm="kworker/u16:4" name="google_charger" dev="debugfs" ino=16673 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_charger_debugfs:s0 tclass=dir permissive=1

Bug: 328016570
Bug: 329317898
Test: check all debugfs folders are correctly mounted
Change-Id: I0e0c2fee4d508cc4e76714df0efbe5eca7ca5966
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-02 07:35:39 +00:00
Treehugger Robot
2a01ceedb9 Merge "display: low-light blocking zone support" into main 2024-04-02 04:21:29 +00:00
Android Build Coastguard Worker
8064c063c9 Snap for 11654651 from ff1c6fe2ba to 24Q3-release
Change-Id: Ie2da9cda33623a83848c1234e62415f1b391309d
2024-04-01 23:03:12 +00:00
cweichun
e9c8f2af69 display: low-light blocking zone support
Bug: 315876417
Test: verify the functionality works
Change-Id: Id8972d4c9057aa76f72dd32d47a5d07c0822645b
2024-04-01 22:31:48 +00:00
wenchangliu
da4eb5e611 update odd resolution support in vpx and av1 codecs
[VSR-4.2.004.001] MUST support the smallest width/height alignment allowed
by the video standard. For AVC/HEVC/VCC, this requires 2x2 pixel alignment
for YUV 4:2:0 profiles, and 2x1 pixel alignment for YUV 4:2:2 profiles.
For VP8/VP9/AV1, this requires 1x1 pixel alignment for any profiles.
Note: This is usually stored as the crop rectangle in the bitstream.

Bug: 329378524
Test: CtsMediaV2TestCases
Change-Id: I0e84a342bf1093c74c712d2c811b37eca9c7908c
2024-04-01 04:18:51 +00:00
Treehugger Robot
ff1c6fe2ba Merge "usb: correct the xhci wakeup path" into main 2024-04-01 04:00:20 +00:00
Android Build Coastguard Worker
e7ac1387f9 Snap for 11650815 from 2c21455b27 to 24Q3-release
Change-Id: Ia7fafe083f1d6296a9f00fc39b3f6fc1bd6883fe
2024-03-30 21:03:43 +00:00
Android Build Coastguard Worker
0ffe19499b Snap for 11648291 from aa7749fb7b to 24Q3-release
Change-Id: Ib0121aee0bcba057aef29481f2a72b8e173ab47c
2024-03-30 01:03:31 +00:00
Android Build Coastguard Worker
46140e09b9 Snap for 11648291 from 29b78ff858 to 24Q3-release
Change-Id: Idc77c56237c3f353d34f8f68fa64b01d00f17f4b
2024-03-30 01:03:30 +00:00
Treehugger Robot
2c21455b27 Merge "usb: handle displayport debounce timer empty reads" into main 2024-03-30 00:41:50 +00:00
Ziyi Yang
6531ad3c81 Adding post notification to gca default permissions
Bug: 331677590
Test: Build and flash. Permission was pregranted to gca.
Change-Id: Id358ad4ad34b700409e157345a43a93729009af5
2024-03-30 00:10:05 +00:00
Mike Wang
aa7749fb7b Merge "Add the selinux policy for MDS to access modem_state file" into main 2024-03-29 15:16:19 +00:00
Android Build Coastguard Worker
c6e447ea3a Snap for 11641371 from 1b6df46381 to 24Q3-release
Change-Id: I69803fd614ac7d46816aca0d3f12dc275f9bce0e
2024-03-28 23:03:16 +00:00
Chris Lu
29b78ff858 zuma: upgrade IDisplay to V11 am: 3a14c951a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26482877

Change-Id: Ic3c7f4af6f69eabaf4e0d501bece99613e173d46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 21:37:16 +00:00
mikeyuewang
6546398c27 Add the selinux policy for MDS to access modem_state file
Add the selinux policy for MDS to access modem_state file

avc deny:
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:14): avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:15): avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:16): avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds

Bug: 331202327

Change-Id: I5e0088d274bc4f45010a19631ecbaece7cc3cc42
2024-03-28 20:28:10 +00:00
Shashwat Razdan
5032fc7cb5 Revert "Adding android.software.contextualsearch to zuma 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: Icee16ce2f1d8b4971f9db615b862ba36588a9f65
2024-03-28 18:59:22 +00:00
Jack Wu
82bb1a5112 Update health AIDL HAL to V3
Bug: 328327545
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:40f89b2d464071389d395f39928ef0e6d99bf2fb)
Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-03-28 07:26:43 +00:00
Treehugger Robot
1b6df46381 Merge "Update SOONG_NAMESPACES to include power-anomaly-sitril folder" into main 2024-03-28 04:59:30 +00:00
Android Build Coastguard Worker
145974cf0e Snap for 11635697 from c8c92bd593 to 24Q3-release
Change-Id: I5594e3d074394fcb78574fed16191b1aeb403cbf
2024-03-27 23:03:41 +00:00
Albert Wang
c24ead7ce9 usb: correct the xhci wakeup path
Error log:
Error opening kernel wakelock stats for: wakeup177 (...xhci-hcd-exynos.5.auto/usb1/1-1/wakeup/wakeup177): Permission denied

bug: 311087938
Test: boot to home and host mode works well
Change-Id: I8bdd38499dec3852ba33510f40e58cebd3a4560f
2024-03-27 10:26:45 +00:00
Android Build Coastguard Worker
93e292bba3 Snap for 11629448 from 336cc78bd9 to 24Q3-release
Change-Id: Ib67f14d788e7daddfb348a9c9aed64b4ce3427fa
2024-03-27 01:04:37 +00:00
Megha Patil
c8c92bd593 Sepolicy for the new property to switch Modem Binary
Sepolicy Rules added for telephony.TnNtn.image_switch

BUG: b/298322438
Bug: 323087490

Test: Test Binding sequence of Service
Change-Id: Ie79aff94159d79a573ec92546a5d3e390b802b22
2024-03-26 08:44:51 +00:00
Vilas Bhat
336cc78bd9 Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main am: 9f46e1bc8a am: 19eefd7be5
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009017

Change-Id: I18dcbc4200bbded295cbf3084a6c2c54d3a49a69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 00:58:45 +00:00
Vilas Bhat
19eefd7be5 Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main am: 9f46e1bc8a
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009017

Change-Id: I62eeed1a5d24504c67c9b11a8e07c4874a4c95f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 00:32:26 +00:00
Vilas Bhat
9f46e1bc8a Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main 2024-03-26 00:11:12 +00:00
Vilas Bhat
2c6de7bc7a 16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default
b/300367402 has been resolved and PRODUCT_MAX_PAGE_SIZE_SUPPORTED
override is not needed anymore as the default value is set to 16384.

Bug: 310232825
Bug: 300367402
Change-Id: I0a319a2ede0897bcde97214c70ebf099062bac0d
2024-03-26 00:06:22 +00:00
Herbert Xue
f655891870 Update SOONG_NAMESPACES to include power-anomaly-sitril folder
Bug: 326175117
Test: lunch husky-trunk_staging-userdebug && m PowerAnomalySitril
Change-Id: Icdaf363a37c29d9bc7b07b3ee552440fa723f80d
2024-03-25 16:11:14 +08:00
Android Build Coastguard Worker
6b04b83dfa Snap for 11617975 from e0e63c38d7 to 24Q3-release
Change-Id: I8ca8225ca1d57ca765379053aa6a9fd888814af3
2024-03-23 01:03:05 +00:00
Android Build Coastguard Worker
672de8fd30 Snap for 11617975 from 4f08475886 to 24Q3-release
Change-Id: I6d2397b900639a9852289f5a4b2531574bd61c96
2024-03-23 01:03:04 +00:00
Hungyen Weng
e0e63c38d7 Merge "Allow modem_svc to access modem files and perfetto" into main 2024-03-22 23:52:52 +00:00
Jack Wu
4f08475886 Update health AIDL HAL to V3 am: 40f89b2d46 am: b3ae3a6b85
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009648

Change-Id: Ibfa39e6ef8eff1cf6e967226a8677b026e97aafd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:59:05 +00:00
Jack Wu
b3ae3a6b85 Update health AIDL HAL to V3 am: 40f89b2d46
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009648

Change-Id: Ia38afc00d2ea7b36cdb40c6500ac6ce7becb6800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:43:36 +00:00
Jack Wu
40f89b2d46 Update health AIDL HAL to V3
Bug: 328327545
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
Signed-off-by: Jack Wu <wjack@google.com>
2024-03-22 21:38:07 +08:00
Spade Lee
dbc39c622b Merge "pixelstats_vendor: add logbuffer_device r_file_perms" into main 2024-03-22 07:30:31 +00:00
Spade Lee
ea61856798 Merge "pixelstats: zuma: add history validation path" into main 2024-03-22 07:30:31 +00:00
Hungyen Weng
1db18cf4b3 Allow modem_svc to access modem files and perfetto
Bug: 330730987

Test: Confirmed that modem_svc is able to access token db files in modem partition
Test: Confiemed that modem_svc can send traces to perfetto

Change-Id: Ic8b724e0e8d72f5ead83e75ab85471bcbdaf8749
2024-03-22 00:29:41 +00:00
Wesley Lee
2aff27d3e4 Merge "Adjust 720P and below performance point" into main 2024-03-21 23:18:15 +00:00
Android Build Coastguard Worker
fb74d71c36 Snap for 11610847 from 920bae7e33 to 24Q3-release
Change-Id: I75f5034f369d7c9f8c3939fa6554ba202cf97590
2024-03-21 23:03:13 +00:00
Android Build Coastguard Worker
d5d9ed7547 Snap for 11610847 from e723942c69 to 24Q3-release
Change-Id: Ifdaa2160dbadd311dba111fe8d13859f656612f7
2024-03-21 23:03:13 +00:00
Wesley Lee
b80719b25f Adjust 720P and below performance point
Bug: 325950790

Change-Id: I3038b4056819e55fff9171f809ff66d6ada969ab
Signed-off-by: Wesley Lee <szuweilee@google.com>
2024-03-21 10:15:50 -07:00
Android Build Coastguard Worker
e23649f40c Snap for 11607654 from 6ad6fb5edb to mainline-tzdata6-release
Change-Id: Ifb954813e906558e695ec24b2b1ca87c62106800
2024-03-21 12:28:27 +00:00
Oleg Blinnikov
920bae7e33 Merge "persist.sys.hdcp_checking property added" into main 2024-03-21 12:21:30 +00:00
Oleg Blinnikov
e723942c69 Merge "persist.sys.hdcp_checking controls max hdcp" into main 2024-03-21 12:21:30 +00:00
Chris Lu
3a14c951a2 zuma: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: I538f57a0d67f9e8d248e8a1d46e4be46889f0d42
2024-03-21 07:30:11 +00:00
Spade Lee
6ad6fb5edb sepolicy: allow kernel to search vendor debugfs
audit: type=1400 audit(1710259012.824:4): avc:  denied  { search } for  pid=128 comm="kworker/3:1" name="max77779fg" dev="debugfs" ino=24204 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=0
audit: type=1400 audit(1710427790.680:2): avc:  denied  { search } for  pid=10 comm="kworker/u16:1" name="gvotables" dev="debugfs" ino=10582 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_votable_debugfs:s0 tclass=dir permissive=1
audit: type=1400 audit(1710427790.680:3): avc:  denied  { search } for  pid=211 comm="kworker/u16:4" name="google_charger" dev="debugfs" ino=16673 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_charger_debugfs:s0 tclass=dir permissive=1

Bug: 328016570
Bug: 329317898
Test: check all debugfs folders are correctly mounted
Change-Id: I0e0c2fee4d508cc4e76714df0efbe5eca7ca5966
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-20 18:16:41 +00:00
Oleg Blinnikov
3248117d06 persist.sys.hdcp_checking controls max hdcp
Change-Id: Ibe2554019449b6f958fc6e0168ae0deccc9f589d
Bug: 321344894
Test: set persist.sys.hdcp_checking, check the file is updated
2024-03-20 11:10:41 +00:00
Android Build Coastguard Worker
80a8bb82bb Snap for 11597038 from 45dbae1b7a to 24Q3-release
Change-Id: I57b35dcbf82e3c703b7c7312bc6282319a964607
2024-03-19 23:03:37 +00:00
RD Babiera
523717b768 usb: handle displayport debounce timer empty reads
If the device is unplugged then plugged before
mDisplayPortDebounceTimer triggers, then the new
displayPortPollWork could process the trigger
in the intial epoll handling loop. Because the
timer can be rearmed, the timerfd read results
in -EAGAIN because no data is ready, but stale
data was ready to begin with.

Disarm the debounce timer when displayPortPollWork
closes to prevent new work threads from reading
timer when not ready. Also log debounce read
errors as a warning and not an error.

Test: manual test on device
Bug: 328553922
(cherry-picked from 94c9c1ac86f398c22ddc446f17bd7ab3fddb675c)
Change-Id: Icf3dbe929eb9f0520941a4efe3dcea79a71d46c3
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-03-19 18:35:19 +00:00
Android Build Coastguard Worker
260ab26cc2 Snap for 11595244 from 45dbae1b7a to mainline-tzdata6-release
Change-Id: I5ee30e30db8178ef64e0d8743eb37c9c6d2d8589
2024-03-19 17:14:03 +00:00
Oleg Blinnikov
57d222ff5f persist.sys.hdcp_checking property added
Change-Id: I518db2909d2356a42421a626288365bb7458cc9c
Bug: 321344894
Test: modify property, see that max_ver file modified
2024-03-19 16:06:51 +00:00
Shashwat Razdan
45dbae1b7a [automerger skipped] Adding android.software.contextualsearch to zuma devices. am: df92ac07bd -s ours
am skip reason: Merged-In I4ee1ecd9e292d6e1807ba1f77851e53380db0a07 with SHA-1 3ceb5170ce is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26574570

Change-Id: I564a51efb5e1dfa0e3bd84876dc500c0b9c21659
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-19 08:29:05 +00:00
Treehugger Robot
7a6899664e Merge "zuma: Set max supported page size to 65536" into main 2024-03-19 02:09:56 +00:00
Android Build Coastguard Worker
b1bed8612e Snap for 11591048 from 110a712be9 to 24Q3-release
Change-Id: I5b3e60bca391d8a161a94856872b3d2885960a79
2024-03-18 23:03:33 +00:00
Wilson Sung
110a712be9 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 330081782
Change-Id: I43805cda5b66b30999578b7a842fda6fe296003d
2024-03-18 03:23:52 +00:00
Spade Lee
3f707d13c2 pixelstats_vendor: add logbuffer_device r_file_perms
avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=1034 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:logbuffer_device:s0 tclass=chr_file permissive=0

Bug: 329174074
Test: no denied log, and able to read logbuffer in pixelstats_vendor
Change-Id: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-14 03:31:14 +00:00
Shashwat Razdan
df92ac07bd Adding android.software.contextualsearch to zuma devices.
Bug: 326143814
Test: Built and tested on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ceb5170ce03587387eaf794a4ee5d0c68540664)
Merged-In: I4ee1ecd9e292d6e1807ba1f77851e53380db0a07
Change-Id: I4ee1ecd9e292d6e1807ba1f77851e53380db0a07
CP feature CLs to 24d1-dev
2024-03-13 23:58:37 +00:00
Android Build Coastguard Worker
5d09d2e375 Snap for 11571437 from 593127ec47 to 24Q3-release
Change-Id: I47d115855221d0fec9c0f5c55536779a507392ba
2024-03-13 23:03:16 +00:00
Hongyang Jiao
593127ec47 Merge "Add betterbug.mk to zuma" into main 2024-03-13 04:30:07 +00:00
Spade Lee
a4b4967c03 pixelstats: zuma: add history validation path
Bug: 329174074
Change-Id: Ia134e6b6b8dc0c9db35bcf36bed700b67466f353
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-13 02:00:22 +00:00
Chungro Lee
c0f9207cf5 pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Signed-off-by: Chungro Lee <chungro@google.com>
2024-03-13 01:29:18 +00:00
Android Build Coastguard Worker
4150a19d37 Snap for 11565217 from c2eee26906 to 24Q3-release
Change-Id: I043d03a92a80678c14f006c22eae50ed36507300
2024-03-12 23:03:34 +00:00
Thiébaud Weksteen
c2eee26906 [automerger skipped] Remove persist.bootanim.color property definitions am: ac4d47214b am: 7767f1bb0c -s ours
am skip reason: Merged-In Ie7fcd37eeb176334e36a86d6ad3d66f42c1b841e with SHA-1 f75e76f913 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2995438

Change-Id: Iedd2a37983afb9a0d9d397e565160261b59ae65b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 06:40:17 +00:00
Thiébaud Weksteen
7767f1bb0c Remove persist.bootanim.color property definitions am: ac4d47214b
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2995438

Change-Id: I19b71f0efb55352fa9e0f651b9bb639946fcd850
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 05:57:12 +00:00
Android Build Coastguard Worker
43c66ec0d2 Snap for 11551442 from ebf753dab2 to 24Q3-release
Change-Id: Ibbd2efbeabbdc99eb34cee0010b444febdaba7f5
2024-03-09 02:03:32 +00:00
John Chang
ebf753dab2 display: change vrr.enabled to xrr.version am: 28e6526f84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/26502093

Change-Id: Ia643b13f2e001d1c9d6c6bdd60e8a2221dfafc95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 11:17:09 +00:00
Thiébaud Weksteen
ac4d47214b Remove persist.bootanim.color property definitions
These now belong to the platform policy.

Bug: 321088135
Test: build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f75e76f91370231072cf8bb11621a9dfc12d4f08)
Merged-In: Ie7fcd37eeb176334e36a86d6ad3d66f42c1b841e
Change-Id: Ie7fcd37eeb176334e36a86d6ad3d66f42c1b841e
2024-03-08 01:38:44 +00:00
Shiyong Li
1a6dfa6e0d Merge "display: change vrr.enabled to xrr.version" into main 2024-03-08 01:28:49 +00:00
Android Build Coastguard Worker
efb24dfa4d Snap for 11545716 from 9ecaa34575 to 24Q3-release
Change-Id: If8264b69645123144236dfbc1104b3708b1866d9
2024-03-08 00:03:10 +00:00
Android Build Coastguard Worker
2b5f4cc3be Snap for 11545716 from 329687e7b5 to 24Q3-release
Change-Id: I9390e25fe92de507a16135fd7a36b0228ea5e6ef
2024-03-08 00:03:09 +00:00
John Chang
28e6526f84 display: change vrr.enabled to xrr.version
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: Ide6493d77a6047023f20fbd9c5723a36033e3691
2024-03-07 22:19:51 +00:00
Yabin Cui
3694b1a7f1 Add SOC specific ETE sysfs paths
Also remove deprecated ETE sysfs paths.

Bug: 321061072
Test: run profcollectd on device
Change-Id: If56e9c4c51dc0e5f3f36e8c80671d67e910510c9
2024-03-07 19:53:47 +00:00
Xin Li
9ecaa34575 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: c05d3b75cc -s ours am: 5d9dcfb7b9 -s ours
am skip reason: Merged-In I44d74dbe5baa23c7b90c7a6703dee5e856801942 with SHA-1 a05a0cb116 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2990820

Change-Id: I7a88a2a2ff5e0a90bb104e3ba1f03b6884a2196b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:51 +00:00
Xin Li
329687e7b5 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 9410b32a49 -s ours am: 51173b9d7a -s ours
am skip reason: Merged-In I32eb36d69c485eaab1d138a6271e08660bfe39b0 with SHA-1 b3d1357a39 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2990636

Change-Id: I3bef0bebcd271340ccedbd7e5db1ae2b9bd9bfa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:30 +00:00
Xin Li
5d9dcfb7b9 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: c05d3b75cc -s ours
am skip reason: Merged-In I44d74dbe5baa23c7b90c7a6703dee5e856801942 with SHA-1 a05a0cb116 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2990820

Change-Id: I36a9af16819ae09fbd7085313759076c1a5905e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:27 +00:00
Xin Li
51173b9d7a [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 9410b32a49 -s ours
am skip reason: Merged-In I32eb36d69c485eaab1d138a6271e08660bfe39b0 with SHA-1 b3d1357a39 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2990636

Change-Id: If32942ee0ddb855af378568ac6ea8be6982155fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:05 +00:00
Android Build Coastguard Worker
3d1fb4197f Snap for 11540345 from 791a68939f to 24Q3-release
Change-Id: I49e09f7b237f717c2b34c7df546c4950aff91334
2024-03-07 01:52:56 +00:00
Xin Li
9410b32a49 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I32eb36d69c485eaab1d138a6271e08660bfe39b0
Change-Id: Ie1a388e0381897e4b0522ffad710449f9ad465e4
2024-03-06 09:29:51 -08:00
Xin Li
c05d3b75cc Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I44d74dbe5baa23c7b90c7a6703dee5e856801942
Change-Id: Ia8b2507fd10774dd2889295a0ffab6bef0730c37
2024-03-06 09:29:51 -08:00
Shashwat Razdan
791a68939f Merge "Adding android.software.contextualsearch to zuma devices." into main 2024-03-06 16:33:04 +00:00
John Chang
7baab4b7e7 display: change vrr.enabled to xrr.version
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: Ide6493d77a6047023f20fbd9c5723a36033e3691
2024-03-06 16:13:39 +00:00
Shashwat Razdan
3ceb5170ce Adding android.software.contextualsearch to zuma devices.
Bug: 326143814
Test: Built and tested on device
Change-Id: I4ee1ecd9e292d6e1807ba1f77851e53380db0a07
2024-03-05 23:46:52 -08:00
Android Build Coastguard Worker
1150f8bcd0 Snap for 11533280 from 10dcc53e99 to 24Q3-release
Change-Id: Ibdeaf0eb5a812727441f90d59f992ab1fa2670bb
2024-03-06 00:03:15 +00:00
Android Build Coastguard Worker
dfe9f3e3a8 Snap for 11533280 from 738d2aa5db to 24Q3-release
Change-Id: I080c2da96a6f735caaadc54c1387f7c60eb8537c
2024-03-06 00:03:14 +00:00
Hongyang Jiao
590a555cb9 Add betterbug.mk to zuma
Test: manual test
Bug: 322543833
Change-Id: Ibd314393d11b2552b79a7f73cd7ed888e08934b2
2024-03-05 23:30:04 +00:00
Bart Sears
738d2aa5db Merge "Revert "Add betterbug mk to zuma"" into main 2024-03-05 20:38:11 +00:00
Daniel Chapin
fe980182cc Revert "Add betterbug mk to zuma"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: b/327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc

Change-Id: I83de6f389e4ce5113afd751871e0e10e67fb0b4f
2024-03-05 20:37:25 +00:00
Treehugger Robot
10dcc53e99 Merge "Add AIDL media.c2 into service_contexts" into main 2024-03-05 06:17:02 +00:00
Treehugger Robot
3cfbf4bec2 Merge "Add media.c2 aidl fragments" into main 2024-03-05 06:17:02 +00:00
Mark Chang
f1794b994b Merge "Add sepolicy include to zuma." into main 2024-03-05 05:31:47 +00:00
Treehugger Robot
1793e986cc Merge "Move Gralloc packages to gs-common" into main 2024-03-04 22:13:55 +00:00
Android Build Coastguard Worker
c41b83d6bf Snap for 11520864 from ad60710ab1 to 24Q3-release
Change-Id: I931f5f67abef4f3910ce4e82bc454e8b72ec9785
2024-03-02 02:03:41 +00:00
Juan Yescas
eb1c1ce936 zuma: Set max supported page size to 65536
Set the max page size on zuma devices to 65536.

Bug: 300367402
Test: readelf -Wl /system/bin/init
Change-Id: I4d3e45f5da1cfc50c639aea44d5670a936ca47a8
2024-02-29 13:11:48 -08:00
Android Build Coastguard Worker
7f480deeaa Snap for 11510413 from 18f3b37824 to 24Q3-release
Change-Id: I01a0c2ae4b96c7fc3a2b3f60a5293e142059a9ea
2024-02-29 00:03:53 +00:00
Mark Chang
47cbecc736 Add sepolicy include to zuma.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: Ibbf4fd4f0eab82589915933d5c298839bc0c7f01
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-28 13:37:07 +00:00
Android Build Coastguard Worker
805e2a1a96 Snap for 11504269 from 28a906e86a to 24Q3-release
Change-Id: Id8cd3f58fee06428f145c83bc8688924e604daad
2024-02-28 00:03:58 +00:00
Android Build Coastguard Worker
07ad60d733 Snap for 11504269 from 48a81fa140 to 24Q3-release
Change-Id: I8a607192700e39afafb371ff285b2caded30bc2e
2024-02-28 00:03:55 +00:00
Sungtak Lee
84531ff361 Add AIDL media.c2 into service_contexts
Bug: 321808716
Change-Id: I7c79bc46112b8330c6d2a62db030ecc13d1cece4
2024-02-27 18:05:41 +00:00
Sungtak Lee
7847851d6c Enable AIDL media.c2
Bug: 321808716
Change-Id: I2c2d7d3d7539a65aa82125ab13f1498c6defdebf
2024-02-27 17:49:13 +00:00
Sungtak Lee
d19f4e8c95 Add media.c2 aidl fragments
Bug: 321808716
Change-Id: I0540df5a15d2186f511fac64de195f7656a78e3d
2024-02-27 17:28:23 +00:00
Devika Krishnadas
1fa8bf5885 Move Gralloc packages to gs-common
Bug: 275906497
Test: Boot succeeds

Change-Id: I879a5ef8365abe018c501cdb0b06c9753e0e5902
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-02-26 17:58:11 +00:00
Android Build Coastguard Worker
3ca8e14773 Snap for 11494049 from 1433ffe9e2 to 24Q3-release
Change-Id: If335761049eb5e8b1dc6ba72abc01cc3cc598a9b
2024-02-24 22:03:15 +00:00
Android Build Coastguard Worker
26617f9caf Snap for 11492556 from 0d051585be to 24Q3-release
Change-Id: Iff2741d71b0224563939319cdb58417628422eac
2024-02-24 02:17:52 +00:00
Android Build Coastguard Worker
24744214c5 Snap for 11486189 from 1d8864cdee to 24Q3-release
Change-Id: I7b02a3744cf08637bd708c6b7c98e7ce1cbeb263
2024-02-23 00:03:54 +00:00
Android Build Coastguard Worker
19c02e62d4 Snap for 11479750 from 6f86f154f7 to 24Q3-release
Change-Id: Ia61749815d4a09b3a88f9cdc838ebe55650e1ed4
2024-02-22 00:04:05 +00:00
Android Build Coastguard Worker
b2c86e3bb1 Merge "Snap for 11455877 from 34c969d4c5 to 24Q3-release" into 24Q3-release 2024-02-16 01:30:13 +00:00
Android Build Coastguard Worker
16e7b8d668 Snap for 11455877 from 34c969d4c5 to 24Q3-release
Change-Id: Ib278e2936c98fef8aeae57de75e399740378557e
2024-02-16 00:24:24 +00:00
Android Build Coastguard Worker
a48b5cd4b5 Snap for 11455651 from 34c969d4c5 to 24Q3-release
Change-Id: Icc840847d41b903b9113ca7f99dc7e88e490ec1f
2024-02-16 00:15:17 +00:00
Android Build Coastguard Worker
f4a5076626 Snap for 11449429 from d2ec488c9d to 24Q3-release
Change-Id: I1f8d764b475672ef5c07894de64927be55fbce21
2024-02-15 00:03:43 +00:00
Android Build Coastguard Worker
3043906aed Snap for 11444718 from ce338d50ef to 24Q3-release
Change-Id: I8b02142fd0410d0933dd6880e47dabfd2a1cfbef
2024-02-14 00:04:17 +00:00
Android Build Coastguard Worker
02ec4c58b0 Snap for 11438798 from 57df3553b6 to 24Q3-release
Change-Id: Iacb41a00482e39e4fec16e50011c75fd2d6ec851
2024-02-13 00:04:26 +00:00
Android Build Coastguard Worker
2fe98e254c Snap for 11434705 from 15fda1a501 to 24Q3-release
Change-Id: I8756780b85b736dc79d31bc017561e8c8f085fca
2024-02-10 22:03:35 +00:00
Android Build Coastguard Worker
736b882b89 Snap for 11434705 from 437d99e265 to 24Q3-release
Change-Id: I28efc1fac15611447d9cca442a6eae737d75a290
2024-02-10 22:03:34 +00:00
Android Build Coastguard Worker
acc0894fea Snap for 11432142 from 4e66878b19 to 24Q3-release
Change-Id: I71284d4d75eb794e47cadfca872d5dbd047557cc
2024-02-10 02:03:52 +00:00
Android Build Coastguard Worker
5d9d38e13f Snap for 11432142 from 934294ce06 to 24Q3-release
Change-Id: I799c5abe3f463c674cecfad6b533210f40bd7b57
2024-02-10 02:03:51 +00:00
Android Build Coastguard Worker
1985cb2eca Snap for 11426397 from 514452495e to 24Q3-release
Change-Id: I57dff6b514ee384765ff0f42e3d96bafa3f9a1af
2024-02-09 00:04:19 +00:00
Jeff Chang
da7e85e6c0 Update display dim configuration
To extend battery life, modify the display dim configuration to enter
the dimming state more aggressively. The screen should dim at
minimum(20 seconds, timeout * 0.33) before the screen actually timing
out.
 Screen timeout (secs) | Dim duration before | Dim duration After
              15                    3                      4.95
              30                    6                      9.9
              60                    7                     19.8
             120                    7                     20
             300                    7                     20
             600                    7                     20
Bug: 315246849
Test: Build & Verify the dim duration with each setting.
Change-Id: I79939290b6a355cf41d43f54a653c533ea833d26
2024-01-16 00:32:48 +00:00
152 changed files with 1761 additions and 2560 deletions

View File

@@ -1,30 +0,0 @@
#
# Copyright (C) 2011 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the universal, and the SDK. Modules must be uniquely
# named (liblights.panda), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
# if some modules are built directly from this directory (not subdirectories),
# their rules should be written here.
ifeq ($(USES_DEVICE_GOOGLE_ZUMA),true)
include $(call first-makefiles-under,$(LOCAL_PATH))
endif

48
BoardConfig-16k-common.mk Normal file
View File

@@ -0,0 +1,48 @@
#
# Copyright (C) 2024 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
ifeq ($(TARGET_BOOTS_16K),true)
# Configures the 16kb kernel directory.
TARGET_KERNEL_DIR := $(TARGET_KERNEL_DIR)/16kb
else ifeq ($(PRODUCT_16K_DEVELOPER_OPTION),true)
# Configures the 16kb kernel and modules for OTA updates.
TARGET_KERNEL_DIR_16K := $(TARGET_KERNEL_DIR)/16kb
BOARD_KERNEL_PATH_16K := $(TARGET_KERNEL_DIR_16K)/Image.lz4
BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/vendor_kernel_boot.modules.load)
BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/system_dlkm.modules.load)
BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/vendor_dlkm.modules.load)
BOARD_KERNEL_MODULES_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(TARGET_KERNEL_DIR_16K)/$(notdir $(module)))
BOARD_PREBUILT_DTBOIMAGE_16KB := $(TARGET_KERNEL_DIR_16K)/dtbo.img
# The 16kb mode does not use these modules.
BOARD_KERNEL_MODULES_16K := $(filter-out %/aoc_unit_test_dev.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/bcm_dbg.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/gnssif.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/gnss_spi.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/mali_kutf.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/mali_kutf_clk_rate_trace_test_portal.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/rt6160_regulator.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/sec_touch.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/sscoredump_sample_test.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/sscoredump_test.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_16K := $(filter-out %/zram.ko,$(BOARD_KERNEL_MODULES_16K))
BOARD_KERNEL_MODULES_LOAD_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(notdir $(module)))
BOARD_16K_OTA_USE_INCREMENTAL := true
BOARD_16K_OTA_MOVE_VENDOR := true
endif

View File

@@ -16,8 +16,10 @@
include build/make/target/board/BoardConfigMainlineCommon.mk
include build/make/target/board/BoardConfigPixelCommon.mk
# Should be uncommented after fixing vndk-sp violation is fixed.
PRODUCT_FULL_TREBLE_OVERRIDE := true
# Include settings for 16k developer option, if enabled
ifneq ($(wildcard $(TARGET_KERNEL_DIR)/16kb/),)
include device/google/zuma/BoardConfig-16k-common.mk
endif
# HACK : To fix up after bring up multimedia devices.
TARGET_SOC := zuma
@@ -30,18 +32,19 @@ TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-2a
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_VARIANT := cortex-a55
TARGET_CPU_VARIANT_RUNTIME := cortex-a55
BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10870000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on
BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y
BOARD_KERNEL_CMDLINE += cgroup_disable=memory
BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all
BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all rcutree.enable_rcu_lazy
BOARD_KERNEL_CMDLINE += swiotlb=1024
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
BOARD_KERNEL_CMDLINE += sysctl.kernel.sched_pelt_multiplier=4
# Normal (non-_fullmte) builds should disable kasan
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
BOARD_KERNEL_CMDLINE += kasan=off
endif
BOARD_BOOTCONFIG += androidboot.boot_devices=13200000.ufs
TARGET_NO_BOOTLOADER := true
@@ -65,7 +68,7 @@ TARGET_RECOVERY_FSTAB_GENRULE := gen_fstab.zuma-sw-encrypt
TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
TARGET_RECOVERY_UI_LIB := \
librecovery_ui_pixel \
//hardware/google/pixel/recovery:librecovery_ui_pixel \
libfstab
AB_OTA_UPDATER := true
@@ -205,6 +208,17 @@ BOARD_USE_BLOB_ALLOCATOR := false
BOARD_SUPPORT_MFC_ENC_BT2020 := true
BOARD_SUPPORT_FLEXIBLE_P010 := true
BOARD_SUPPORT_MFC_VERSION := 1660
$(call soong_config_set,video_codec,target_soc_name,$(TARGET_SOC_NAME))
$(call soong_config_set_bool,video_codec,board_use_codec2_hidl_1_2,$(BOARD_USE_CODEC2_HIDL_1_2))
$(call soong_config_set_bool,video_codec,board_use_csc_filter,$(BOARD_USE_CSC_FILTER))
$(call soong_config_set_bool,video_codec,board_use_dec_sw_csc,$(BOARD_USE_DEC_SW_CSC))
$(call soong_config_set_bool,video_codec,board_use_enc_sw_csc,$(BOARD_USE_ENC_SW_CSC))
$(call soong_config_set_bool,video_codec,board_support_mfc_enc_rgb,$(BOARD_SUPPORT_MFC_ENC_RGB))
$(call soong_config_set_bool,video_codec,board_use_blob_allocator,$(BOARD_USE_BLOB_ALLOCATOR))
$(call soong_config_set_bool,video_codec,board_support_mfc_enc_bt2020,$(BOARD_SUPPORT_MFC_ENC_BT2020))
$(call soong_config_set_bool,video_codec,board_support_flexible_p010,$(BOARD_SUPPORT_FLEXIBLE_P010))
$(call soong_config_set_bool,video_codec,board_use_codec2_aidl,$(if $(BOARD_USE_CODEC2_AIDL),true,false))
$(call soong_config_set,video_codec,board_support_mfc_version,$(BOARD_SUPPORT_MFC_VERSION))
########################
BOARD_SUPER_PARTITION_SIZE := 8531214336
@@ -237,12 +251,6 @@ BOARD_USES_GENERIC_AUDIO := true
$(call soong_config_set,aoc_audio_func,ext_hidl,true)
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call soong_config_set,aoc_audio_func,dump_usecase_data,true)
$(call soong_config_set,aoc_audio_func,hal_socket_control,true)
$(call soong_config_set,aoc_audio_func,record_tuning_keys,true)
endif
ifneq (,$(filter aosp_%,$(TARGET_PRODUCT)))
$(call soong_config_set,aoc_audio_func,aosp_build,true)
endif
@@ -277,6 +285,8 @@ BOARD_USES_EXYNOS_AFBC_FEATURE := true
BOARD_LIBACRYL_DEFAULT_COMPOSITOR := fimg2d_zuma
BOARD_LIBACRYL_G2D_HDR_PLUGIN := libacryl_hdr_plugin
$(call soong_config_set,acryl,libacryl_g2d_hdr_plugin,//hardware/google/graphics/zuma/libacryl_plugins:libacryl_hdr_plugin)
$(call soong_config_set,acryl,libacryl_c_include,hardware/google/graphics/$(TARGET_BOARD_PLATFORM)/libcap)
# HWCServices
BOARD_USES_HWC_SERVICES := true
@@ -390,11 +400,19 @@ KERNEL_MODULES := $(wildcard $(KERNEL_MODULE_DIR)/*.ko)
BOARD_SYSTEM_KERNEL_MODULES_BLOCKLIST_FILE := $(KERNEL_MODULE_DIR)/system_dlkm.modules.blocklist
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(KERNEL_MODULE_DIR)/vendor_dlkm.modules.blocklist
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(KERNEL_MODULE_DIR)/vendor_kernel_boot.modules.load))
ifndef BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD
# Prebuilt kernel modules that are *not* listed in vendor_kernel_boot.modules.load
BOARD_PREBUILT_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES = fips140.ko
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA = $(foreach k,$(BOARD_PREBUILT_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES),$(if $(wildcard $(KERNEL_MODULE_DIR)/$(k)), $(k)))
# Kernel modules that are listed in vendor_kernel_boot.modules.load
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_FILE := $(strip $(shell cat $(KERNEL_MODULE_DIR)/vendor_kernel_boot.modules.load))
ifndef BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_FILE
$(error vendor_kernel_boot.modules.load not found or empty)
endif
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES := $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD)))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD := $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_FILE)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES := $(addprefix $(KERNEL_MODULE_DIR)/, $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_FILE)))
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(KERNEL_MODULE_DIR)/vendor_dlkm.modules.load))
ifndef BOARD_VENDOR_KERNEL_MODULES_LOAD
@@ -422,8 +440,5 @@ BOARD_KERNEL_CMDLINE += log_buf_len=1024K
# Protected VM firmware
BOARD_PVMFWIMAGE_PARTITION_SIZE := 0x00100000
# pick up library for cleaning digital car keys on factory reset
-include vendor/google_devices/gs-common/proprietary/BoardConfigVendor.mk
include device/google/zuma/BoardConfigLineage.mk
include device/google/zuma/BoardConfigEvolution.mk

View File

@@ -1,9 +1,10 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-License-Identifier: Apache-2.0
#
BUILD_BROKEN_DUP_RULES := true
DISABLE_ARTIFACT_PATH_REQUIREMENTS := true
SPOOF_FIRST_API_LEVEL_32 := true

View File

@@ -1,15 +1,10 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE := true
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE := false
# Manifests
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += vendor/lineage/config/device_framework_matrix.xml
DEVICE_MANIFEST_FILE += \
device/google/zuma/android.hardware.security.rkp-service.citadel.xml \
device/google/zuma/manifest_radio_ds.xml

View File

@@ -1,85 +0,0 @@
# Copyright (C) 2012 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If you don't need to do a full clean build but would like to touch
# a file or delete some intermediate files, add a clean step to the end
# of the list. These steps will only be run once, if they haven't been
# run before.
#
# E.g.:
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list. E.g., if a change
# that you made last week required touching a file and a change you
# made today requires touching the same file, just copy the old
# touch step and add it to the end of the list.
#
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
# For example:
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
$(call add-clean-step, find $(PRODUCT_OUT) -name "*.apk" | xargs rm)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libui_intermediates)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/root/default.prop)
$(call add-clean-step, rm -f $(TARGET_OUT)/build.prop)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/etc/mixer_paths_lb.xml)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/etc/permissions/android.hardware.camera.xml)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/root/*)
# Power HAL 1.0
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/init/android.hardware.power@1.0-service.rc)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.power@1.0-service)
# Power HAL HIDL
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/init/android.hardware.power@1.3-service.pixel-libperfmgr.rc)
# Health storage HAL
$(call add-clean-step, find $(PRODUCT_OUT) -type f -name "*android.hardware.health.storage@1.0*" -print0 | xargs -0 rm -f)
# Update to USB HAL 1.3
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.usb@1.2-service.slider)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.usb@1.2-service.slider.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.usb@1.2-service.slider.xml)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.usb@1.3-service.slider)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.usb@1.3-service.slider.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.usb@1.3-service.slider.xml)
# Power Stats HAL 1.0 to AIDL
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.power.stats@1.0-service.zuma)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/init/android.hardware.power.stats@1.0-service.zuma.rc)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.power.stats@1.0-service.zuma.xml)
# Health HAL to AIDL
$(call add-clean-step, find $(PRODUCT_OUT)/system -type f -name "*charger*" -print0 | xargs -0 rm -f)
$(call add-clean-step, find $(PRODUCT_OUT)/vendor -type f -name "*health@*" -print0 | xargs -0 rm -f)
$(call add-clean-step, find $(PRODUCT_OUT)/recovery/root -type f -name "*charger*" -print0 | xargs -0 rm -f)
$(call add-clean-step, find $(PRODUCT_OUT)/recovery/root -type f -name "*health@*" -print0 | xargs -0 rm -f)

2
OWNERS
View File

@@ -1,2 +0,0 @@
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
per-file *.mk=file:device/google/gs-common:main:/OWNERS

View File

@@ -1,2 +0,0 @@
[Builtin Hooks]
jsonlint = true

View File

@@ -42,7 +42,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
#$(call inherit-product, device/google/zuma/device.mk)
#$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
# TODO: fix
# PRODUCT_RESTRICT_VENDOR_FILES := all

View File

@@ -14,16 +14,6 @@
* limitations under the License.
*/
// By default this device uses hardware-wrapped keys for storage encryption,
// which is intended to offer increased security over the traditional method
// (software keys). However, hardware-wrapped keys aren't compatible with
// FIPS-140 certification of the encryption hardware, and hence we have to
// disable the use of them in FIPS mode. This requires having two fstab files:
// one for the default mode, and one for FIPS mode selectable via
// androidboot.fstab_suffix on the kernel command line. These fstabs should be
// identical with the exception of the encryption settings, so to keep them in
// sync the rules below generate them from a template file.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
@@ -33,52 +23,7 @@ package {
default_applicable_licenses: ["device_google_zuma_license"],
}
genrule {
name: "gen_fstab.zuma-hw-encrypt",
srcs: ["fstab.zuma.in"],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=:wrappedkey_v0/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-sw-encrypt",
srcs: ["fstab.zuma.in"],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts:aes-256-hctr2/" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@/metadata_encryption=/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-no-encrypt",
srcs: ["fstab.zuma.in"],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@//" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@// $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-fips",
srcs: ["fstab.zuma.in"],
out: ["fstab.zuma-fips"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=aes-256-xts/ $(in) > $(out)",
}
prebuilt_etc {
name: "fstab.zuma",
src: ":gen_fstab.zuma-hw-encrypt",
vendor: true,
vendor_ramdisk_available: true,
}
prebuilt_etc {
name: "fstab.zuma-fips",
src: ":gen_fstab.zuma-fips",
vendor: true,
vendor_ramdisk_available: true,
}
filegroup {
name: "fstab.zuma.common",
srcs: ["fstab.zuma.common"],
}

102
conf/ext4/Android.bp Normal file
View File

@@ -0,0 +1,102 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// By default this device uses hardware-wrapped keys for storage encryption,
// which is intended to offer increased security over the traditional method
// (software keys). However, hardware-wrapped keys aren't compatible with
// FIPS-140 certification of the encryption hardware, and hence we have to
// disable the use of them in FIPS mode. This requires having two fstab files:
// one for the default mode, and one for FIPS mode selectable via
// androidboot.fstab_suffix on the kernel command line. These fstabs should be
// identical with the exception of the encryption settings, so to keep them in
// sync the rules below generate them from a template file.
soong_namespace {
imports: [
"device/google/zuma",
],
}
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["device_google_zuma_license"],
}
genrule {
name: "gen_fstab.zuma-hw-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.ext4",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=:wrappedkey_v0/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-sw-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.ext4",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts:aes-256-hctr2/" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@/metadata_encryption=/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-no-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.ext4",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@//" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@// $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-fips",
srcs: [
":fstab.zuma.common",
"fstab.zuma.ext4",
],
out: ["fstab.zuma-fips"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=aes-256-xts/ $(in) > $(out)",
}
prebuilt_etc {
name: "fstab.zuma",
src: ":gen_fstab.zuma-hw-encrypt",
vendor: true,
vendor_ramdisk_available: true,
}
prebuilt_etc {
name: "fstab.zuma-fips",
src: ":gen_fstab.zuma-fips",
vendor: true,
vendor_ramdisk_available: true,
}

10
conf/ext4/fstab.zuma.ext4 Normal file
View File

@@ -0,0 +1,10 @@
# Android fstab file.
#
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/platform/13200000.ufs/by-name/userdata /data ext4 noatime,nosuid,nodev,@inlinecrypt@ latemount,wait,check,quota,formattable,reservedsize=128M,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption
/dev/block/platform/13200000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,compress_extension=apk,compress_extension=so,compress_extension=vdex,compress_extension=odex,@inlinecrypt@,atgc,checkpoint_merge,compress_cache latemount,wait,check,quota,sysfs_path=/dev/sys/block/bootdevice,checkpoint=fs,reservedsize=128M,fscompress,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption,device=zoned:/dev/block/by-name/zoned_device
/dev/block/platform/13200000.ufs/by-name/metadata /metadata ext4 noatime,nosuid,nodev,data=journal,commit=1 wait,check,formattable,first_stage_mount,metadata_csum
/dev/block/platform/13200000.ufs/by-name/metadata /metadata f2fs noatime,nosuid,nodev,sync wait,check,first_stage_mount

102
conf/f2fs/Android.bp Normal file
View File

@@ -0,0 +1,102 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// By default this device uses hardware-wrapped keys for storage encryption,
// which is intended to offer increased security over the traditional method
// (software keys). However, hardware-wrapped keys aren't compatible with
// FIPS-140 certification of the encryption hardware, and hence we have to
// disable the use of them in FIPS mode. This requires having two fstab files:
// one for the default mode, and one for FIPS mode selectable via
// androidboot.fstab_suffix on the kernel command line. These fstabs should be
// identical with the exception of the encryption settings, so to keep them in
// sync the rules below generate them from a template file.
soong_namespace {
imports: [
"device/google/zuma",
],
}
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["device_google_zuma_license"],
}
genrule {
name: "gen_fstab.zuma-hw-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.f2fs",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=:wrappedkey_v0/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-sw-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.f2fs",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts:aes-256-hctr2/" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@/metadata_encryption=/ $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-no-encrypt",
srcs: [
":fstab.zuma.common",
"fstab.zuma.f2fs",
],
out: ["fstab.zuma"],
cmd: "sed -e s/@fileencryption@//" +
" -e s/@inlinecrypt@// " +
" -e s/@metadata_encryption@// $(in) > $(out)",
}
genrule {
name: "gen_fstab.zuma-fips",
srcs: [
":fstab.zuma.common",
"fstab.zuma.f2fs",
],
out: ["fstab.zuma-fips"],
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts/" +
" -e s/@inlinecrypt@/inlinecrypt/ " +
" -e s/@metadata_encryption@/metadata_encryption=aes-256-xts/ $(in) > $(out)",
}
prebuilt_etc {
name: "fstab.zuma",
src: ":gen_fstab.zuma-hw-encrypt",
vendor: true,
vendor_ramdisk_available: true,
}
prebuilt_etc {
name: "fstab.zuma-fips",
src: ":gen_fstab.zuma-fips",
vendor: true,
vendor_ramdisk_available: true,
}

10
conf/f2fs/fstab.zuma.f2fs Normal file
View File

@@ -0,0 +1,10 @@
# Android fstab file.
#
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/platform/13200000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,compress_extension=apk,compress_extension=so,compress_extension=vdex,compress_extension=odex,@inlinecrypt@,atgc,checkpoint_merge,compress_cache latemount,wait,check,quota,formattable,sysfs_path=/dev/sys/block/bootdevice,checkpoint=fs,reservedsize=128M,fscompress,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption,device=zoned:/dev/block/by-name/zoned_device
/dev/block/platform/13200000.ufs/by-name/userdata /data ext4 noatime,nosuid,nodev,@inlinecrypt@ latemount,wait,check,quota,formattable,reservedsize=128M,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption
/dev/block/platform/13200000.ufs/by-name/metadata /metadata f2fs noatime,nosuid,nodev,sync wait,check,formattable,first_stage_mount
/dev/block/platform/13200000.ufs/by-name/metadata /metadata ext4 noatime,nosuid,nodev,data=journal,commit=1 wait,check,formattable,first_stage_mount,metadata_csum

6
conf/fstab.efs Normal file
View File

@@ -0,0 +1,6 @@
# Android fstab file.
# <src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# Create the specific fstab file for efs partitions for flexibility
/dev/block/platform/13200000.ufs/by-name/efs /mnt/vendor/efs f2fs noatime,sync wait,check,formattable
/dev/block/platform/13200000.ufs/by-name/efs_backup /mnt/vendor/efs_backup f2fs noatime,sync wait,check,formattable
/dev/block/platform/13200000.ufs/by-name/modem_userdata /mnt/vendor/modem_userdata f2fs noatime,sync wait,check,formattable

10
conf/fstab.efs.from_data Normal file
View File

@@ -0,0 +1,10 @@
# Android fstab file.
# <src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# Create the specific fstab file for efs partitions for flexibility
/data/vendor/copied/efs /mnt/vendor/efs none bind latemount
/data/vendor/copied/efs_backup /mnt/vendor/efs_backup none bind latemount
/data/vendor/copied/modem_userdata /mnt/vendor/modem_userdata none bind latemount
/data/vendor/copied/persist /mnt/vendor/persist none bind latemount

View File

@@ -14,12 +14,7 @@ vendor /vendor
vendor_dlkm /vendor_dlkm ext4 noatime,ro wait,slotselect,avb=vbmeta,avb_keys=no_such_key,logical,first_stage_mount
/dev/block/platform/13200000.ufs/by-name/boot /boot emmc defaults slotselect,avb=boot,first_stage_mount
/dev/block/platform/13200000.ufs/by-name/init_boot /init_boot emmc defaults slotselect,avb=init_boot,first_stage_mount
/dev/block/platform/13200000.ufs/by-name/efs /mnt/vendor/efs f2fs noatime,sync wait,check,formattable
/dev/block/platform/13200000.ufs/by-name/efs_backup /mnt/vendor/efs_backup f2fs noatime,sync wait,check,formattable
/dev/block/platform/13200000.ufs/by-name/modem_userdata /mnt/vendor/modem_userdata f2fs noatime,sync wait,check,formattable
/dev/block/platform/13200000.ufs/by-name/misc /misc emmc defaults wait
/dev/block/platform/13200000.ufs/by-name/metadata /metadata f2fs noatime,nosuid,nodev,sync wait,check,formattable,first_stage_mount
#/dev/block/platform/13200000.ufs/by-name/pvmfw /pvmfw emmc defaults wait,slotselect,avb=pvmfw,first_stage_mount
/dev/block/platform/13200000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,compress_extension=apk,compress_extension=apex,compress_extension=so,compress_extension=vdex,compress_extension=odex,@inlinecrypt@,atgc,checkpoint_merge,compress_cache latemount,wait,check,quota,formattable,sysfs_path=/dev/sys/block/bootdevice,checkpoint=fs,reservedsize=128M,fscompress,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption,zoned_device
/dev/block/platform/13200000.ufs/by-name/vbmeta /vbmeta emmc defaults slotselect,first_stage_mount
/devices/platform/11210000.usb* auto vfat defaults voldmanaged=usb:auto

View File

@@ -1,52 +0,0 @@
# SJTAG
on init
chown system system /sys/devices/platform/sjtag_ap/interface/access_lvl
chown system system /sys/devices/platform/sjtag_ap/interface/auth
chown system system /sys/devices/platform/sjtag_ap/interface/begin
chown system system /sys/devices/platform/sjtag_ap/interface/dbg_domain
chown system system /sys/devices/platform/sjtag_ap/interface/dbg_itvl
chown system system /sys/devices/platform/sjtag_ap/interface/end
chown system system /sys/devices/platform/sjtag_ap/interface/pubkey
chown system system /sys/devices/platform/sjtag_gsa/interface/access_lvl
chown system system /sys/devices/platform/sjtag_gsa/interface/auth
chown system system /sys/devices/platform/sjtag_gsa/interface/begin
chown system system /sys/devices/platform/sjtag_gsa/interface/dbg_domain
chown system system /sys/devices/platform/sjtag_gsa/interface/dbg_itvl
chown system system /sys/devices/platform/sjtag_gsa/interface/end
chown system system /sys/devices/platform/sjtag_gsa/interface/pubkey
on property:vendor.debug.ramdump.force_crash=true
write /sys/kernel/pixel_debug/trigger "null"
on property:power.battery_input.suspended=true
write /sys/kernel/debug/google_charger/input_suspend 1
on property:power.battery_input.suspended=false
write /sys/kernel/debug/google_charger/input_suspend 0
# Bluetooth
on post-fs-data
chown bluetooth system /dev/logbuffer_btlpm
chown bluetooth system /dev/logbuffer_tty18
# pKVM performance is different on A0 and B0 chips.
# Add extra tag to metrics collected on A0 to separate the results.
on property:ro.revision=PROTO1.0
setprop debug.hypervisor.metrics_tag "hwrev_a0"
on property:ro.revision=PROTO1.1
setprop debug.hypervisor.metrics_tag "hwrev_a0"
on property:ro.revision=EVT1.0
setprop debug.hypervisor.metrics_tag "hwrev_a0"
# A0 chips require pKVM for a hardware issue workaround. Set pKVM to 'enabled'
# in /misc partition on first boot to signal to tests that this device should
# not be booted with pKVM disabled.
service vendor.force_pkvm /vendor/bin/misc_writer --set-enable-pkvm
disabled
oneshot
on property:persist.sys.device_provisioned=1 && property:ro.revision=PROTO1.0
start vendor.force_pkvm
on property:persist.sys.device_provisioned=1 && property:ro.revision=PROTO1.1
start vendor.force_pkvm
on property:persist.sys.device_provisioned=1 && property:ro.revision=EVT1.0
start vendor.force_pkvm

24
conf/init.efs.16k.rc Normal file
View File

@@ -0,0 +1,24 @@
service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
user root
group root radio system audio media graphics camera
stdio_to_kmsg
oneshot
disabled
on post-fs-data && property:ro.boot.hardware.cpu.pagesize=16384
mkdir /data/vendor/copied 0775 radio system
restorecon_recursive /data/vendor/copied
exec_start copy_efs_files_to_data
mount_all /vendor/etc/fstab.efs.from_data
restorecon_recursive /mnt/vendor/persist
restorecon_recursive /data/vendor/ss
setprop ro.vendor.persist.status mounted
on early-init && property:ro.boot.hardware.cpu.pagesize=4096
mount_all /vendor/etc/fstab.persist --early
setprop ro.vendor.persist.status mounted
on late-fs && property:ro.boot.hardware.cpu.pagesize=4096
mount_all /vendor/etc/fstab.efs --early

6
conf/init.efs.4k.rc Normal file
View File

@@ -0,0 +1,6 @@
on early-init
mount_all /vendor/etc/fstab.persist --early
setprop ro.vendor.persist.status mounted
on late-fs
mount_all /vendor/etc/fstab.efs --early

47
conf/init.persist.rc Normal file
View File

@@ -0,0 +1,47 @@
on property:ro.vendor.persist.status=mounted
# for modem related functions
restorecon_recursive /mnt/vendor/efs
chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs_backup
chown radio system /mnt/vendor/efs_backup
restorecon_recursive /mnt/vendor/modem_userdata
chown radio system /mnt/vendor/modem_userdata
# for battery defender
mkdir /mnt/vendor/persist/battery 0700 system system
# Factory calibration files
chmod 0771 /mnt/vendor/persist/camera
chmod 0771 /mnt/vendor/persist/camera/OTP_calibration
chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data
mkdir /mnt/vendor/persist/camera/rear 0771 system camera
chmod 0771 /mnt/vendor/persist/camera/rear
restorecon_recursive /mnt/vendor/persist
restorecon_recursive /mnt/vendor/persist/aoc
restorecon_recursive /mnt/vendor/persist/audio
restorecon_recursive /mnt/vendor/persist/sensors
restorecon_recursive /mnt/vendor/persist/battery
restorecon_recursive /mnt/vendor/persist/camera
restorecon_recursive /mnt/vendor/persist/modem
# Set up display-related directories and permissions
# Add restorecon_recursive command to make sure the restorecon label is persist_display_file.
restorecon_recursive /mnt/vendor/persist/display
mkdir /mnt/vendor/persist/data/sfs 0700 system system
mkdir /mnt/vendor/persist/data/tz 0700 system system
mkdir /mnt/vendor/persist/touch 0770 system system
on property:ro.fstype.data=* && property:ro.vendor.persist.status=mounted
# Proxy for Secure Storage
mkdir /data/vendor/rebootescrow 0770 hsm hsm
mkdir /data/vendor/ss 0770 root system
mkdir /mnt/vendor/persist/ss 0770 root system
restorecon_recursive /mnt/vendor/persist/ss
symlink /mnt/vendor/persist/ss /data/vendor/ss/persist
chown root system /data/vendor/ss/persist
chmod 0770 /data/vendor/ss/persist
symlink /dev/block/platform/13200000\.ufs/by-name/trusty_persist /data/vendor/ss/persist/0
chown system system /data/vendor/ss/persist/0
chown system system /data/vendor/ss/persist/nsp
restart storageproxyd

View File

@@ -1,9 +1,9 @@
import /vendor/etc/init/hw/init.zuma.storage.rc
import /vendor/etc/init/hw/init.zuma.usb.rc
import android.hardware.drm@1.2-service.widevine.rc
import init.exynos.sensorhub.rc
on early-init
mount_all /vendor/etc/fstab.persist --early
write /proc/sys/kernel/sched_pelt_multiplier 1
write /sys/kernel/mm/lru_gen/enabled n
@@ -16,38 +16,6 @@ on init
# Disable util-awareness for mids and bigs
write /proc/vendor_sched/teo_util_threshold "2 1024 1024"
# Boot time fs tuning
write /sys/block/sda/queue/scheduler bfq
write /sys/block/sda/queue/iosched/slice_idle 0
chown system system /proc/vendor_sched/groups/bg/set_task_group
chown system system /proc/vendor_sched/groups/cam/set_task_group
chown system system /proc/vendor_sched/groups/fg/set_task_group
chown system system /proc/vendor_sched/groups/nnapi/set_task_group
chown system system /proc/vendor_sched/groups/sys/set_task_group
chown system system /proc/vendor_sched/groups/sys_bg/set_task_group
chown system system /proc/vendor_sched/groups/ta/set_task_group
chown system system /proc/vendor_sched/groups/rt/set_task_group
chown system system /proc/vendor_sched/groups/sf/set_task_group
chown system system /proc/vendor_sched/groups/dex2oat/set_task_group
chown system system /proc/vendor_sched/groups/cam_power/set_task_group
chown system system /proc/vendor_sched/groups/ota/set_task_group
chown system system /proc/vendor_sched/groups/bg/set_proc_group
chown system system /proc/vendor_sched/groups/cam/set_proc_group
chown system system /proc/vendor_sched/groups/fg/set_proc_group
chown system system /proc/vendor_sched/groups/nnapi/set_proc_group
chown system system /proc/vendor_sched/groups/sys/set_proc_group
chown system system /proc/vendor_sched/groups/sys_bg/set_proc_group
chown system system /proc/vendor_sched/groups/ta/set_proc_group
chown system system /proc/vendor_sched/groups/rt/set_proc_group
chown system system /proc/vendor_sched/groups/sf/set_proc_group
chown system system /proc/vendor_sched/groups/dex2oat/set_proc_group
chown system system /proc/vendor_sched/groups/cam_power/set_proc_group
chown system system /proc/vendor_sched/groups/ota/set_proc_group
chown system system /proc/vendor_sched/prefer_idle_set
chown system system /proc/vendor_sched/prefer_idle_clear
chown system system /proc/vendor_sched/pmu_poll_enable
chown system system /proc/vendor_sched/pmu_poll_time
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency
@@ -71,44 +39,11 @@ on init
chown system system /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/memlat_cpuidle_state_aware
chown system system /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu8_memlat@17000010/memlat_cpuidle_state_aware
chmod 0220 /proc/vendor_sched/groups/bg/set_task_group
chmod 0220 /proc/vendor_sched/groups/cam/set_task_group
chmod 0220 /proc/vendor_sched/groups/fg/set_task_group
chmod 0220 /proc/vendor_sched/groups/nnapi/set_task_group
chmod 0220 /proc/vendor_sched/groups/sys/set_task_group
chmod 0220 /proc/vendor_sched/groups/sys_bg/set_task_group
chmod 0220 /proc/vendor_sched/groups/ta/set_task_group
chmod 0220 /proc/vendor_sched/groups/rt/set_task_group
chmod 0220 /proc/vendor_sched/groups/sf/set_task_group
chmod 0220 /proc/vendor_sched/groups/dex2oat/set_task_group
chmod 0220 /proc/vendor_sched/groups/cam_power/set_task_group
chmod 0220 /proc/vendor_sched/groups/ota/set_task_group
chmod 0220 /proc/vendor_sched/groups/bg/set_proc_group
chmod 0220 /proc/vendor_sched/groups/cam/set_proc_group
chmod 0220 /proc/vendor_sched/groups/fg/set_proc_group
chmod 0220 /proc/vendor_sched/groups/nnapi/set_proc_group
chmod 0220 /proc/vendor_sched/groups/sys/set_proc_group
chmod 0220 /proc/vendor_sched/groups/sys_bg/set_proc_group
chmod 0220 /proc/vendor_sched/groups/ta/set_proc_group
chmod 0220 /proc/vendor_sched/groups/rt/set_proc_group
chmod 0220 /proc/vendor_sched/groups/sf/set_proc_group
chmod 0220 /proc/vendor_sched/groups/dex2oat/set_proc_group
chmod 0220 /proc/vendor_sched/groups/cam_power/set_proc_group
chmod 0220 /proc/vendor_sched/groups/ota/set_proc_group
chmod 0220 /proc/vendor_sched/prefer_idle_set
chmod 0220 /proc/vendor_sched/prefer_idle_clear
chmod 0660 /proc/vendor_sched/pmu_poll_enable
chmod 0220 /proc/vendor_sched/pmu_poll_time
start vendor.keymaster-4-0
# ZRAM setup
write /sys/block/zram0/comp_algorithm lz77eh
write /proc/sys/vm/page-cluster 0
# adjust PCP high level
write /proc/sys/vm/percpu_pagelist_high_fraction 430
# Some user code relies on ro.boot.hardware.revision
setprop ro.boot.hardware.revision ${ro.revision}
@@ -143,16 +78,6 @@ on init
write /sys/class/net/rmnet6/queues/rx-0/rps_cpus fe
write /sys/class/net/rmnet7/queues/rx-0/rps_cpus fe
# Create UDS structure for base VR services.
mkdir /dev/socket/pdx 0775 system system
mkdir /dev/socket/pdx/system 0775 system system
mkdir /dev/socket/pdx/system/buffer_hub 0775 system system
mkdir /dev/socket/pdx/system/performance 0775 system system
mkdir /dev/socket/pdx/system/vr 0775 system system
mkdir /dev/socket/pdx/system/vr/display 0775 system system
mkdir /dev/socket/pdx/system/vr/pose 0775 system system
mkdir /dev/socket/pdx/system/vr/sensors 0775 system system
# Boot time 183626384
write /proc/vendor_sched/groups/ta/uclamp_min 221
write /proc/vendor_sched/groups/ta/prefer_idle 1
@@ -161,18 +86,6 @@ on init
write /proc/vendor_sched/groups/sys/uclamp_min 221
write /proc/vendor_sched/groups/sys/prefer_idle 1
# governor setting
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor sched_pixel
write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/up_rate_limit_us 500
write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us 5000
write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_scale_pow 2
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor sched_pixel
write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/up_rate_limit_us 500
write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor sched_pixel
write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/up_rate_limit_us 500
write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us 20000
# memlat cpuidle awareness setting
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu0_memlat@17000010/memlat_cpuidle_state_aware 2
@@ -185,15 +98,6 @@ on init
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/memlat_cpuidle_state_aware 2
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu8_memlat@17000010/memlat_cpuidle_state_aware 2
# RT uclamp setting
write /proc/sys/kernel/sched_util_clamp_min_rt_default 0
# change permissions and default values for camera-daemon cpu controller
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.min
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.max
chown root root /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive
chown system system /dev/cpuctl/camera-daemon/cgroup.procs
mkdir /dev/cpuset/camera-daemon-high-group
write /dev/cpuset/camera-daemon-high-group/cpus 0-8
write /dev/cpuset/camera-daemon-high-group/mems 0
@@ -212,11 +116,6 @@ on init
chown system system /dev/cpuset/camera-daemon-mid-high-group/tasks
chmod 0664 /dev/cpuset/camera-daemon-mid-high-group/tasks
write /proc/vendor_sched/groups/cam/prefer_idle 1
write /proc/vendor_sched/groups/cam/uclamp_min 1
chown system system /dev/cpuset/cgroup.procs
# nanohub sensor
chmod 0664 /dev/nanohub
chmod 0664 /dev/nanohub_comms
@@ -262,6 +161,7 @@ on init
chown system system /sys/class/power_supply/wireless/device/version
chown system system /sys/class/power_supply/wireless/device/features
chown system system /sys/class/power_supply/wireless/device/authtype
chown system system /sys/class/power_supply/wireless/device/authstart
# Adaptive charge
chown system system /sys/class/power_supply/battery/charge_deadline
@@ -302,10 +202,6 @@ on init
# Power Stats HAL
chown system system /dev/bbd_pwrstat
# Add a boost for NNAPI HAL
write /proc/vendor_sched/groups/nnapi/prefer_idle 0
write /proc/vendor_sched/groups/nnapi/uclamp_min 512
# Add memlat governor settings
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu0_memlat@17000010/polling_interval 10
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu1_memlat@17000010/polling_interval 10
@@ -365,6 +261,15 @@ on init
chown root system /sys/devices/platform/16490000.gsa-ns/log_main
chown root system /sys/devices/platform/16490000.gsa-ns/log_intermediate
# Enable CPU Idle histograms
write /sys/kernel/metrics/cpuidle_histogram/enable 1
on init && property:ro.boot.hardware.cpu.pagesize=4096
write /sys/block/zram0/comp_algorithm lz77eh
on init && property:ro.boot.hardware.cpu.pagesize=16384
write /sys/block/zram0/comp_algorithm lzo-rle
on post-fs
# Ensure device is ready and start storageproxyd
wait /dev/sg1
@@ -378,6 +283,11 @@ on late-fs
# Mount RW partitions which need run fsck
mount_all --late
on late-init
write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us 5000
write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us 20000
on post-fs-data
# Modem temperature driver
chown radio system /sys/devices/platform/cp-tm1/cp_temp
@@ -399,7 +309,7 @@ on post-fs-data
mkdir /data/vendor/radio/logs/always-on 777 system radio
# Modem extended log folder
mkdir /data/vendor/radio/extended_logs 0770 radio system
mkdir /data/vendor/radio/extended_logs 0771 radio system
# Log Mask Library Mask storage paths
mkdir /data/vendor/radio/log_masks 777 system system
@@ -443,15 +353,8 @@ on post-fs-data
chown system system /dev/ispolin_ranging
chmod 0660 /dev/ispolin_ranging
# Factory calibration files
chmod 0771 /mnt/vendor/persist/camera
chmod 0771 /mnt/vendor/persist/camera/OTP_calibration
chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data
mkdir /mnt/vendor/persist/camera/rear 0771 system camera
chmod 0771 /mnt/vendor/persist/camera/rear
# Audio dump and debug
mkdir /data/vendor/audio 0770 audio audio
mkdir /data/vendor/audio 0770 system audio
# Create the directories for Darwinn HAL.
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
@@ -543,9 +446,9 @@ on early-boot
chown system system /dev/logbuffer_usbpd
chown system system /dev/logbuffer_wireless
chown system system /dev/logbuffer_pca9468
chown system system /dev/logbuffer_dc_mains
chown system system /dev/logbuffer_cpm
chown system system /dev/logbuffer_wc68
chown system system /dev/logbuffer_ln8411
chown system system /dev/logbuffer_pcie0
chown system system /dev/logbuffer_pcie1
chown system system /dev/logbuffer_bd
@@ -611,34 +514,11 @@ on property:persist.vendor.radio.no_modem_board=1
on fs
mount_all --early
restorecon_recursive /mnt/vendor/efs
chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs_backup
chown radio system /mnt/vendor/efs_backup
restorecon_recursive /mnt/vendor/modem_userdata
chown radio system /mnt/vendor/modem_userdata
# Mount modem partition
mount_all /vendor/etc/fstab.modem --early
restorecon_recursive /mnt/vendor/modem_img
# for battery defender
mkdir /mnt/vendor/persist/battery 0700 system system
restorecon_recursive /mnt/vendor/persist
restorecon_recursive /mnt/vendor/persist/aoc
restorecon_recursive /mnt/vendor/persist/audio
restorecon_recursive /mnt/vendor/persist/sensors
restorecon_recursive /mnt/vendor/persist/battery
restorecon_recursive /mnt/vendor/persist/camera
restorecon_recursive /mnt/vendor/persist/modem
# Set up display-related directories and permissions
# Add restorecon_recursive command to make sure the restorecon label is persist_display_file.
restorecon_recursive /mnt/vendor/persist/display
mkdir /mnt/vendor/persist/data/sfs 0700 system system
mkdir /mnt/vendor/persist/data/tz 0700 system system
mkdir /mnt/vendor/persist/touch 0770 system system
# Permissions for ION
chmod 0660 /sys/class/ion_cma/ion_video_ext/isolated
chown system system /sys/class/ion_cma/ion_video_ext/isolated
@@ -657,6 +537,8 @@ on fs
chown system system /sys/devices/platform/exynos-drm/primary-panel/panel_need_handle_idle_exit
chown system system /sys/devices/platform/exynos-drm/primary-panel/op_hz
chown system system /sys/devices/platform/exynos-drm/primary-panel/refresh_ctrl
chown system system /sys/devices/platform/exynos-drm/primary-panel/power_state
chown system system /sys/devices/platform/exynos-drm/displayport/drm-displayport/hdcp_negotiation
chown system system /sys/module/drm/parameters/vblankoffdelay
chown system system /sys/module/drm/parameters/debug
chown system system /sys/class/dqe0/atc/ambient_light
@@ -762,6 +644,9 @@ on property:sys.boot_completed=1
# Set kswapd affinity
write /sys/kernel/vendor_mm/kswapd_cpu_affinity ff
# Set kcompactd affinity
write /sys/kernel/vendor_mm/kcompactd_cpu_affinity ff
# Adjust watermark level
write /proc/sys/vm/watermark_scale_factor 200
@@ -773,9 +658,9 @@ on property:sys.boot_completed=1
write /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/exynos_data/cancel_boot_freq 1
# Restore prefer idle
write /proc/vendor_sched/groups/ta/preferred_idle_mask_low 0x1ff
write /proc/vendor_sched/groups/ta/preferred_idle_mask_mid 0x1ff
write /proc/vendor_sched/groups/ta/preferred_idle_mask_high 0x1ff
write /proc/vendor_sched/groups/ta/preferred_idle_mask_low 0xff
write /proc/vendor_sched/groups/ta/preferred_idle_mask_mid 0xff
write /proc/vendor_sched/groups/ta/preferred_idle_mask_high 0xff
write /proc/vendor_sched/groups/fg/preferred_idle_mask_low 0x1ff
write /proc/vendor_sched/groups/fg/preferred_idle_mask_mid 0x1ff
write /proc/vendor_sched/groups/fg/preferred_idle_mask_high 0x1ff
@@ -786,27 +671,13 @@ on property:sys.boot_completed=1
# Setup final cpuset
write /dev/cpuset/top-app/cpus 0-8
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground_window/cpus 0-7
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/restricted/cpus 0-3
write /dev/cpuset/camera-daemon/cpus 0-8
setprop vendor.powerhal.init 1
# Setup final cpu.uclamp
write /proc/vendor_sched/groups/ta/uclamp_min 1
write /proc/vendor_sched/groups/fg/uclamp_min 0
write /proc/vendor_sched/groups/sys/prefer_idle 0
# Set ug group
write /proc/vendor_sched/groups/bg/ug 0
write /proc/vendor_sched/groups/sys_bg/ug 0
write /proc/vendor_sched/groups/ota/ug 0
write /proc/vendor_sched/groups/dex2oat/ug 1
write /proc/vendor_sched/groups/ta/ug 1
# Set bg group throttle
write /proc/vendor_sched/ug_bg_group_throttle ${persist.device_config.vendor_system_native.ug_bg_group_throttle:-308}
# Set uclamp.max for some groups, which could indicate cpu importance used in scheduling
write /proc/vendor_sched/auto_uclamp_max "130 130 130 130 512 512 512 512 670"
write /proc/vendor_sched/groups/bg/uclamp_max 130
@@ -830,12 +701,6 @@ on property:sys.boot_completed=1
write /sys/devices/system/cpu/cpufreq/policy8/sched_pixel/limit_frequency 2363000
write /proc/vendor_sched/pmu_poll_time 10
# Disable PMU freq limit
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/pmu_limit_enable 1
write /sys/devices/system/cpu/cpufreq/policy4/sched_pixel/pmu_limit_enable 1
write /sys/devices/system/cpu/cpufreq/policy8/sched_pixel/pmu_limit_enable 1
write /proc/vendor_sched/pmu_poll_enable 0
# Make devices on the critical path for suspend/resume asynchronous
write /sys/devices/platform/fixedregulator@0/regulator/regulator.2/power/async "enabled"
write /sys/devices/platform/fixedregulator@0/power/async "enabled"
@@ -843,18 +708,6 @@ on property:sys.boot_completed=1
write /sys/devices/platform/10840000.pinctrl/power/async "enabled"
write /sys/devices/platform/13060000.pinctrl/power/async "enabled"
# Setup cpu.shares to throttle background groups (bg ~ 5% sysbg ~ 5% dex2oat ~2.5%)
write /dev/cpuctl/background/cpu.shares 1024
write /dev/cpuctl/system-background/cpu.shares 1024
write /dev/cpuctl/dex2oat/cpu.shares 512
write /dev/cpuctl/system/cpu.shares 20480
# We only have system and background groups holding tasks and the groups below are empty
write /dev/cpuctl/camera-daemon/cpu.shares 20480
write /dev/cpuctl/foreground/cpu.shares 20480
write /dev/cpuctl/nnapi-hal/cpu.shares 20480
write /dev/cpuctl/rt/cpu.shares 20480
write /dev/cpuctl/top-app/cpu.shares 20480
# gvotables for dumpstate
chown system system /sys/kernel/debug/gvotables
@@ -937,20 +790,6 @@ service bugreport /system/bin/dumpstate -d -p -z
oneshot
keycodes 114 115 116
# Proxy for Secure Storage
on post-fs-data
mkdir /data/vendor/rebootescrow 0770 hsm hsm
mkdir /data/vendor/ss 0770 root system
mkdir /mnt/vendor/persist/ss 0770 root system
restorecon_recursive /mnt/vendor/persist/ss
symlink /mnt/vendor/persist/ss /data/vendor/ss/persist
chown root system /data/vendor/ss/persist
chmod 0770 /data/vendor/ss/persist
symlink /dev/block/platform/13200000\.ufs/by-name/trusty_persist /data/vendor/ss/persist/0
chown system system /data/vendor/ss/persist/0
chown system system /data/vendor/ss/persist/nsp
restart storageproxyd
service storageproxyd /vendor/bin/storageproxyd -d /dev/trusty-ipc-dev0 \
-r /dev/sg1 -p /data/vendor/ss -t ufs
@@ -1016,38 +855,14 @@ on property:vendor.thermal.link_ready=1
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/soft_ocp_cpu2_lvl 12000
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/soft_ocp_gpu_lvl 9000
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/soft_ocp_tpu_lvl 8500
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/ocp_cpu2_lvl 12000
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/ocp_gpu_lvl 9000
write /sys/devices/virtual/pmic/mitigation/triggered_lvl/ocp_tpu_lvl 12000
write /sys/devices/virtual/pmic/mitigation/clock_div/tpu_clk_div 0x1
write /sys/devices/virtual/pmic/mitigation/clock_div/gpu_clk_div 0x1
write /sys/devices/virtual/pmic/mitigation/clock_div/cpu2_clk_div 0x1
write /sys/devices/platform/cpupm/cpupm/cpd_cl1 1 #Enable power down
write /sys/devices/platform/cpupm/cpupm/cpd_cl2 1 #Enable power down
chown system system /dev/thermal/tz-by-name/soc/mode
chown system system /dev/thermal/tz-by-name/vdroop2/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/vdroop2/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/vdroop1/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/vdroop1/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/smpl_gm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/smpl_gm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/ocp_cpu1/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/ocp_cpu1/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/ocp_cpu2/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/ocp_cpu2/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/ocp_tpu/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/ocp_tpu/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/ocp_gpu/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/ocp_gpu/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soft_ocp_cpu1/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soft_ocp_cpu1/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soft_ocp_cpu2/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soft_ocp_cpu2/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soft_ocp_tpu/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soft_ocp_tpu/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soft_ocp_gpu/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soft_ocp_gpu/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/batoilo/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/batoilo/trip_point_0_hyst
# Thermal
chown system system /dev/thermal/tz-by-name/soc_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc_therm/trip_point_0_hyst
@@ -1157,3 +972,14 @@ on property:persist.device_config.runtime_native_boot.mode_override=asymm
write /sys/devices/system/cpu/cpu6/mte_tcf_preferred asymm
write /sys/devices/system/cpu/cpu7/mte_tcf_preferred asymm
write /sys/devices/system/cpu/cpu8/mte_tcf_preferred asymm
# Battery health
on property:persist.vendor.pulsar.opt_out=1
write /sys/class/power_supply/battery/aacp_opt_out 1
on property:persist.vendor.pulsar.opt_out=0
write /sys/class/power_supply/battery/aacp_opt_out 0
# NFC
on post-fs-data
mkdir /data/vendor/nfc 0770 nfc nfc

View File

@@ -75,7 +75,7 @@ on early-boot
mkdir /config/usb_gadget/g1/functions/uvc.0
write /config/usb_gadget/g1/functions/uvc.0/function_name "Android Webcam"
write /config/usb_gadget/g1/functions/uvc.0/streaming_maxpacket 3072
# write /config/usb_gadget/g1/functions/uvc.0/streaming_maxburst 5
write /config/usb_gadget/g1/functions/uvc.0/streaming_maxburst 1
# write /config/usb_gadget/g1/functions/uvc.0/streaming_interval 2
# setup control params
mkdir /config/usb_gadget/g1/functions/uvc.0/control/header/h
@@ -423,3 +423,12 @@ on property:persist.vendor.usb.displayport.enabled=1
on property:persist.vendor.usb.displayport.enabled=0
write /sys/module/exynos_drm/parameters/dp_enabled 0
write /sys/class/typec/port0/port0.0/mode1/active "no"
on property:persist.sys.hdcp_checking=always
write /sys/module/exynos_hdcp2/parameters/max_ver 3
on property:persist.sys.hdcp_checking="drm-only"
write /sys/module/exynos_hdcp2/parameters/max_ver 2
on property:persist.sys.hdcp_checking=never
write /sys/module/exynos_hdcp2/parameters/max_ver 0

View File

@@ -97,6 +97,7 @@
/dev/acd-mel_processor 0660 system audio
/dev/amcs 0660 system audio
/dev/acd-audio_rtp_* 0660 system radio
/dev/acd-mc_headpos 0660 system audio
# Secure MEM driver
/dev/s5p-smem 0660 drm drmrpc
@@ -155,10 +156,20 @@
/dev/acd-com.google.chre 0660 system system
/dev/acd-com.google.chre.non_wake_up 0660 system system
# CHRE (EFW transport)
/dev/acd-chre_ctl 0660 system system
/dev/acd-chre_data_tx 0220 system system
/dev/acd-chre_data_rx 0440 system system
# BT
/dev/acd-com.google.bt 0660 system system
/dev/acd-com.google.bt.non_wake_up 0660 system system
# AoC Bluetooth Offload
/dev/acd-chre_bt_offload_ctl 0660 bluetooth bluetooth
/dev/acd-chre_bt_offload_data_tx 0220 bluetooth bluetooth
/dev/acd-chre_bt_offload_data_rx 0440 bluetooth bluetooth
# LWIS
/dev/lwis* 0660 system system
@@ -245,4 +256,4 @@
/sys/bus/aoc/devices/control udfps_get_disp_freq 0440 system system
# USB Alt Modes
/sys/devices/platform/10cb0000.hsi2c/i2c-*/*-0025/typec/port0/port0-partner/port0-partner.* mode1/active 0664 system system
/sys/devices/platform/10cb0000.hsi2c/i2c-*/*-0025/typec/port0/port0-partner/port0-partner.* mode1/active 0664 system system

View File

@@ -51,11 +51,14 @@
<permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/>
</exception>
<exception package="com.google.android.GoogleCamera">
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
<exception package="com.google.android.apps.camera.services">
<!-- Camera -->
<permission name="android.permission.CAMERA" fixed="false"/>
<!-- Camera Connectivity -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
<permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/>
<permission name="android.permission.BLUETOOTH_SCAN" fixed="false"/>
@@ -75,6 +78,8 @@
<permission name="android.permission.ACTIVITY_RECOGNITION" fixed="false"/>
<!-- Notifications -->
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
<!-- Used by Bluetooth Module to collect bluetooth info -->
<permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/>
</exception>
<exception package="com.google.android.apps.setupwizard.searchselector">
@@ -162,5 +167,16 @@
<!-- Notifications -->
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
<exception package="com.google.android.apps.pixel.relationships">
<permission name="android.permission.CALL_PHONE" fixed="false"/>
<permission name="android.permission.READ_CALL_LOG" fixed="false"/>
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
</exception>
<exception
package="com.google.android.apps.privacy.wildlife">
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
</exceptions>

View File

@@ -14,7 +14,6 @@
# limitations under the License.
#
-include vendor/google_devices/zuma/proprietary/telephony/device-vendor.mk
include device/google/zuma/device.mk
# Telephony
@@ -44,23 +43,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.thermal_warmreset = true
# Set the max page size to 4096 (b/300367402)
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 4096
# Trigger fsck on upgrade (305658663)
PRODUCT_PRODUCT_PROPERTIES += \
ro.preventative_fsck = 1
# Indicate that the bootloader supports the MTE developer option switch
# (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that
# force enable MTE.
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
PRODUCT_PRODUCT_PROPERTIES += ro.arm64.memtag.bootctl_supported=1
# N.B. persist properties in product Makefiles aren't actually persisted to the data
# partition, so they will actually go away if we remove them here, or if the user
# flashes from a normal build to a fullmte build.
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.android.se=off
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.google.android.bluetooth=off
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.android.nfc=off
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.system_server=off
endif

346
device.mk
View File

@@ -16,7 +16,7 @@
include device/google/gs-common/device.mk
include device/google/gs-common/gs_watchdogd/watchdog.mk
include device/google/gs-common/ramdump/ramdump.mk
include device/google/gs-common/ramdump_and_coredump/ramdump_and_coredump.mk
include device/google/gs-common/soc/soc.mk
include device/google/gs-common/modem/modem.mk
include device/google/gs-common/aoc/aoc.mk
@@ -26,11 +26,12 @@ include device/google/gs-common/storage/storage.mk
include device/google/gs-common/thermal/dump/thermal.mk
include device/google/gs-common/thermal/thermal_hal/device.mk
include device/google/gs-common/performance/perf.mk
include device/google/gs-common/power/power.mk
include device/google/gs-common/pixel_metrics/pixel_metrics.mk
include device/google/gs-common/soc/freq.mk
include device/google/gs-common/gps/dump/log.mk
include device/google/gs-common/bcmbt/dump/dumplog.mk
include device/google/gs-common/display/dump.mk
include device/google/gs-common/display/dump_exynos_display.mk
include device/google/gs-common/display_logbuffer/dump.mk
include device/google/gs-common/gxp/gxp.mk
include device/google/gs-common/camera/dump.mk
@@ -40,8 +41,12 @@ include device/google/gs-common/umfw_stat/umfw_stat.mk
include device/google/gs-common/widevine/widevine.mk
include device/google/gs-common/sota_app/factoryota.mk
include device/google/gs-common/misc_writer/misc_writer.mk
include device/google/gs-common/gyotaku_app/gyotaku.mk
include device/google/gs-common/bootctrl/bootctrl_aidl.mk
include device/google/gs-common/betterbug/betterbug.mk
include device/google/gs-common/recorder/recorder.mk
include device/google/gs-common/fingerprint/fingerprint.mk
include device/google/gs-common/nfc/nfc.mk
include device/google/gs-common/16kb/16kb.mk
include device/google/zuma/dumpstate/item.mk
@@ -55,10 +60,10 @@ AB_OTA_POSTINSTALL_CONFIG += \
POSTINSTALL_OPTIONAL_system=true
# Set Vendor SPL to match platform
VENDOR_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
VENDOR_SECURITY_PATCH := 2025-08-05
# Set boot SPL
BOOT_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
BOOT_SECURITY_PATCH := 2025-08-05
# TODO(b/207450311): Remove this flag once implemented
USE_PIXEL_GRALLOC := false
@@ -68,23 +73,10 @@ endif
PRODUCT_SOONG_NAMESPACES += \
hardware/google/av \
hardware/google/gchips \
hardware/google/gchips/gralloc4 \
hardware/google/graphics/common \
hardware/google/graphics/zuma \
hardware/google/interfaces \
hardware/google/pixel \
device/google/zuma \
device/google/zuma/powerstats \
vendor/google_devices/common/chre/host/hal \
vendor/google/whitechapel/tools \
vendor/google/interfaces \
vendor/google_devices/common/proprietary/confirmatioui_hal \
vendor/google_nos/host/android \
vendor/google_nos/test/system-test-harness \
vendor/google/camera
LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4
device/google/zuma/powerstats
# Set the environment variable to switch the Keymint HAL service to Rust
TRUSTY_KEYMINT_IMPL := rust
@@ -98,43 +90,6 @@ endif
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.oem_unlock_supported=1
# Include vendor telephony soong namespace
PRODUCT_SOONG_NAMESPACES += \
vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
#Set IKE logs to verbose for WFC
PRODUCT_PROPERTY_OVERRIDES += log.tag.IKE=VERBOSE
#Set Shannon IMS logs to debug
PRODUCT_PROPERTY_OVERRIDES += log.tag.SHANNON_IMS=DEBUG
#Set Shannon QNS logs to debug
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS=DEBUG
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS-ims=DEBUG
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS-emergency=DEBUG
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS-mms=DEBUG
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS-xcap=DEBUG
PRODUCT_PROPERTY_OVERRIDES += log.tag.ShannonQNS-HC=DEBUG
# Modem userdebug
include device/google/zuma/modem/userdebug.mk
endif
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# b/36703476: Set default log size to 1M
PRODUCT_PROPERTY_OVERRIDES += \
ro.logd.size=1M
# b/114766334: persist all logs by default rotating on 30 files of 1MiB
# change to 60 files for zuma
PRODUCT_PROPERTY_OVERRIDES += \
logd.logpersistd=logcatd \
logd.logpersistd.size=60
PRODUCT_PRODUCT_PROPERTIES += \
ro.logcat.compress=true
endif
# From system.property
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.default_network=27 \
@@ -183,7 +138,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.asha.central.enabled?=true \
bluetooth.profile.a2dp.source.enabled?=true \
bluetooth.profile.avrcp.target.enabled?=true \
bluetooth.profile.bap.unicast.server.enabled?=true \
bluetooth.profile.bap.unicast.client.enabled?=true \
bluetooth.profile.bas.client.enabled?=true \
bluetooth.profile.csip.set_coordinator.enabled?=true \
bluetooth.profile.gatt.enabled?=true \
@@ -198,8 +153,8 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.pan.panu.enabled?=true \
bluetooth.profile.pbap.server.enabled?=true \
bluetooth.profile.sap.server.enabled?=true \
bluetooth.profile.tbs.server.enabled?=true \
bluetooth.profile.vc.server.enabled?=true
bluetooth.profile.ccp.server.enabled?=true \
bluetooth.profile.vcp.controller.enabled?=true
# Carrier configuration default location
PRODUCT_PROPERTY_OVERRIDES += \
@@ -208,18 +163,29 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
telephony.active_modems.max_count=2
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.usb.displayport.enabled=1
else
# Enable Settings 2-pane optimization for devices supporting display ports.
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt_for_dp.enabled=true
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.usb.displayport.enabled=1
endif
persist.sys.hdcp_checking=drm-only
USE_LASSEN_OEMHOOK := true
# The "power-anomaly-sitril" is added into PRODUCT_SOONG_NAMESPACES when
# $(USE_LASSEN_OEMHOOK) is true and $(BOARD_WITHOUT_RADIO) is not true.
ifneq ($(BOARD_WITHOUT_RADIO),true)
$(call soong_config_set,sitril,use_lassen_oemhook_with_radio,true)
endif
# Use for GRIL
USES_LASSEN_MODEM := true
$(call soong_config_set, vendor_ril_google_feature, use_lassen_modem, true)
ifneq ($(BOARD_WITHOUT_RADIO),true)
$(call soong_config_set_bool,grilservice,use_google_qns,true)
endif
ifeq ($(USES_GOOGLE_DIALER_CARRIER_SETTINGS),true)
USE_GOOGLE_DIALER := true
@@ -242,9 +208,6 @@ USE_SWIFTSHADER := false
# HWUI
TARGET_USES_VULKAN = true
PRODUCT_SOONG_NAMESPACES += \
vendor/arm/mali/valhall
$(call soong_config_set,pixel_mali,soc,$(TARGET_BOARD_PLATFORM))
$(call soong_config_set,arm_gralloc,soc,$(TARGET_BOARD_PLATFORM))
@@ -253,9 +216,18 @@ PRODUCT_PACKAGES += \
csffw_image_prebuilt__firmware_prebuilt_ttux_mali_csffw.bin \
libGLES_mali \
vulkan.mali \
libOpenCL \
libgpudataproducer
# Install the OpenCL ICD Loader
PRODUCT_SOONG_NAMESPACES += external/OpenCL-ICD-Loader
PRODUCT_PACKAGES += \
libOpenCL \
mali_icd__customer_pixel_opencl-icd_ARM.icd
ifeq ($(DEVICE_IS_64BIT_ONLY),false)
PRODUCT_PACKAGES += \
mali_icd__customer_pixel_opencl-icd_ARM32.icd
endif
ifeq ($(USE_SWIFTSHADER),true)
PRODUCT_PACKAGES += \
libEGL_angle \
@@ -273,11 +245,10 @@ PRODUCT_VENDOR_PROPERTIES += \
endif
# Mali Configuration Properties
# b/221255664 prevents setting PROTECTED_MAX_CORE_COUNT=2
PRODUCT_VENDOR_PROPERTIES += \
vendor.mali.platform.config=/vendor/etc/mali/platform.config \
vendor.mali.debug.config=/vendor/etc/mali/debug.config \
vendor.mali.base_protected_max_core_count=1 \
vendor.mali.base_protected_max_core_count=4 \
vendor.mali.base_protected_tls_max=67108864 \
vendor.mali.platform_agt_frequency_khz=24576
@@ -286,9 +257,8 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.vulkan.version-1_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
frameworks/native/data/etc/android.software.contextualsearch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.contextualsearch.xml \
frameworks/native/data/etc/android.software.vulkan.deqp.level-2023-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
frameworks/native/data/etc/android.software.opengles.deqp.level-2023-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml
frameworks/native/data/etc/android.software.vulkan.deqp.level-2025-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
frameworks/native/data/etc/android.software.opengles.deqp.level-2025-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml
#endif
@@ -311,6 +281,7 @@ PRODUCT_VENDOR_PROPERTIES += ro.surface_flinger.prime_shader_cache.ultrahdr=1
DEVICE_MANIFEST_FILE := \
device/google/zuma/manifest.xml
BOARD_USE_CODEC2_AIDL := V1
ifneq (,$(filter aosp_%,$(TARGET_PRODUCT)))
DEVICE_MANIFEST_FILE += \
device/google/zuma/manifest_media_aosp.xml
@@ -334,27 +305,36 @@ DEVICE_PACKAGE_OVERLAYS += device/google/zuma/overlay
# This device is shipped with 34 (Android U)
PRODUCT_SHIPPING_API_LEVEL := 34
# RKP VINTF
-include vendor/google_nos/host/android/hals/keymaster/aidl/strongbox/RemotelyProvisionedComponent-citadel.mk
# Enforce the Product interface
PRODUCT_PRODUCT_VNDK_VERSION := current
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true
# Init files
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel \
device/google/zuma/conf/init.zuma.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.zuma.usb.rc \
device/google/zuma/conf/ueventd.zuma.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
PRODUCT_COPY_FILES += \
device/google/zuma/conf/init.zuma.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.zuma.rc
device/google/zuma/conf/init.zuma.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.zuma.rc \
device/google/zuma/conf/init.persist.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.persist.rc
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
ifeq (true,$(filter $(TARGET_BOOTS_16K) $(PRODUCT_16K_DEVELOPER_OPTION),true))
PRODUCT_COPY_FILES += \
device/google/zuma/conf/init.debug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.debug.rc
device/google/zuma/conf/init.efs.16k.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.efs.rc \
device/google/$(TARGET_BOARD_PLATFORM)/conf/fstab.efs.from_data:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.efs.from_data \
PRODUCT_PACKAGES += fsck.f2fs.vendor
else
PRODUCT_COPY_FILES += \
device/google/zuma/conf/init.freq.userdebug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.freq.userdebug.rc
device/google/zuma/conf/init.efs.4k.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.efs.rc
endif
ifneq (,$(filter 5.%, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/zuma/storage/5.15/init.zuma.storage.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.zuma.storage.rc
else
PRODUCT_COPY_FILES += \
device/google/zuma/storage/6.1/init.zuma.storage.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.zuma.storage.rc
endif
# Recovery files
@@ -362,6 +342,14 @@ PRODUCT_COPY_FILES += \
device/google/zuma/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.zuma.rc
# Fstab files
ifeq (ext4,$(TARGET_RW_FILE_SYSTEM_TYPE))
PRODUCT_SOONG_NAMESPACES += \
device/google/zuma/conf/ext4
else
PRODUCT_SOONG_NAMESPACES += \
device/google/zuma/conf/f2fs
endif
PRODUCT_PACKAGES += \
fstab.zuma \
fstab.zuma.vendor_ramdisk \
@@ -370,7 +358,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
device/google/$(TARGET_BOARD_PLATFORM)/conf/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \
device/google/$(TARGET_BOARD_PLATFORM)/conf/fstab.modem:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.modem
device/google/$(TARGET_BOARD_PLATFORM)/conf/fstab.modem:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.modem \
device/google/$(TARGET_BOARD_PLATFORM)/conf/fstab.efs:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.efs
# Shell scripts
PRODUCT_PACKAGES += \
@@ -386,18 +376,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_HOST_PACKAGES += \
mkdtimg
PRODUCT_PACKAGES += \
messaging
# CHRE
## Tools
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
chre_power_test_client \
chre_test_client \
chre_aidl_hal_client
endif
## HAL
include device/google/gs-common/chre/hal.mk
PRODUCT_COPY_FILES += \
@@ -406,8 +385,6 @@ PRODUCT_COPY_FILES += \
## Enable the CHRE Daemon
CHRE_USF_DAEMON_ENABLED := false
CHRE_DEDICATED_TRANSPORT_CHANNEL_ENABLED := true
PRODUCT_PACKAGES += \
preloaded_nanoapps.json
# Filesystem management tools
PRODUCT_PACKAGES += \
@@ -420,13 +397,8 @@ PRODUCT_PACKAGES += \
checkpoint_gc
# Vendor verbose logging default property
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.verbose_logging_enabled=true
else
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.verbose_logging_enabled=false
endif
# Vendor modem extensive logging default property
PRODUCT_PROPERTY_OVERRIDES += \
@@ -442,13 +414,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.sys.modem.logging.enable=true
# Enable silent CP crash handling
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.ril.crash_handling_mode=1
else
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.ril.crash_handling_mode=2
endif
# Add support dual SIM mode
PRODUCT_PROPERTY_OVERRIDES += \
@@ -491,12 +458,6 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
# default usb debug functions
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.usb.usbradio.config=dm
endif
# adpf 16ms update rate
PRODUCT_PRODUCT_PROPERTIES += \
vendor.powerhal.adpf.rate=16666666
@@ -526,6 +487,9 @@ PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=2
PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=2
PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000
# Set util_clamp_min for s/w spatializer
PRODUCT_PROPERTY_OVERRIDES += audio.spatializer.effect.util_clamp_min=300
# Calliope firmware overwrite
#PRODUCT_COPY_FILES += \
device/google/zuma/firmware/calliope_dram.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/calliope_dram.bin \
@@ -552,10 +516,6 @@ PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
PRODUCT_PACKAGES += \
android.hardware.graphics.mapper@4.0-impl \
android.hardware.graphics.allocator-V1-service
PRODUCT_PACKAGES += \
android.hardware.memtrack-service.pixel \
libion_exynos \
@@ -595,14 +555,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
ConnectivityOverlay
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
f2fs_io \
check_f2fs \
f2fs.fibmap \
dump.f2fs
endif
# Storage health HAL
PRODUCT_PACKAGES += \
android.hardware.health.storage-service.default
@@ -625,11 +577,6 @@ ifeq (,$(filter true, $(BOARD_WITHOUT_DTLS)))
include device/google/gs-common/dauntless/gsc.mk
endif
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
WvInstallKeybox
endif
# Copy Camera HFD Setfiles
#PRODUCT_COPY_FILES += \
device/google/zuma/firmware/camera/libhfd/default_configuration.hfd.cfg.json:$(TARGET_COPY_OUT_VENDOR)/firmware/default_configuration.hfd.cfg.json \
@@ -673,10 +620,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
debug.slsi_platform=1 \
debug.hwc.winupdate=1
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += displaycolor_service
endif
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_backpressure=0 \
debug.sf.enable_gl_backpressure=1 \
@@ -692,8 +635,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.sf.duration=16600000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.app.duration=16600000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.frame_rate_multiple_threshold=120
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.treat_170m_as_sRGB=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hwc_hotplug_error_via_neg_vsync=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hwc_hdcp_via_neg_vsync=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hdcp_negotiation=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hdcp_support=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.enable_layer_caching=true
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms?=80
@@ -719,8 +662,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.display_update_imminent
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.sf.native_mode=2
PRODUCT_COPY_FILES += \
device/google/zuma/display/display_colordata_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal0.pb \
device/google/zuma/display/display_colordata_cal2.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal2.pb
device/google/zuma/display/display_colordata_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal0.pb
# limit DPP downscale ratio
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.hwc.dpp.downscale=4
@@ -749,18 +691,11 @@ PRODUCT_PACKAGES += wpa_supplicant.conf
WIFI_PRIV_CMD_UPDATE_MBO_CELL_STATUS := enabled
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += wpa_cli
PRODUCT_PACKAGES += hostapd_cli
endif
####################################
## VIDEO
####################################
# Video
PRODUCT_SOONG_NAMESPACES += vendor/google/media/bigwave
$(call soong_config_set,bigw,soc,$(TARGET_BOARD_PLATFORM))
PRODUCT_PACKAGES += \
@@ -785,16 +720,25 @@ PRODUCT_COPY_FILES += \
device/google/zuma/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.c2-poolmask=458752 \
debug.c2.use_dmabufheaps=1 \
media.c2.dmabuf.padding=512 \
debug.stagefright.ccodec_delayed_params=1 \
ro.vendor.gpu.dataspace=1
ifneq ($(BOARD_USE_CODEC2_AIDL), )
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.c2-poolmask=1507328
else
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.c2-poolmask=458752
endif
# Create input surface on the framework side
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.c2inputsurface=-1 \
PRODUCT_PROPERTY_OVERRIDES += media.c2.hal.selection=aidl
# 2. OpenMAX IL
PRODUCT_COPY_FILES += \
device/google/zuma/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
@@ -827,21 +771,7 @@ endif
$(call inherit-product, system/core/trusty/trusty-storage.mk)
$(call inherit-product, system/core/trusty/trusty-base.mk)
# Trusty unit test tool and code coverage tool
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
trusty-ut-ctrl \
tipc-test \
trusty_stats_test \
trusty-coverage-controller
endif
include device/google/gs101/confirmationui/confirmationui.mk
# Trusty Metrics Daemon
PRODUCT_SOONG_NAMESPACES += \
vendor/google/trusty/common
PRODUCT_PACKAGES += \
trusty_metricsd
@@ -855,15 +785,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/by-name/frp
# System props to enable Bluetooth Quality Report (BQR) feature
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask?=262174 \
persist.bluetooth.bqr.min_interval_ms=500
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask?=30 \
persist.bluetooth.bqr.min_interval_ms=500
endif
#VNDK
PRODUCT_PACKAGES += \
@@ -895,12 +819,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
Iwlan
#Iwlan test app for eng builds
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
IwlanTestApp
endif
PRODUCT_PACKAGES += \
whitelist \
libstagefright_hdcp \
@@ -913,9 +831,6 @@ PRODUCT_PACKAGES += \
calliope_iva.bin \
vts.bin
# This will be called only if IMSService is building with source code for dev branches.
$(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)/shannon-ims/device-vendor.mk)
PRODUCT_PACKAGES += ShannonIms
PRODUCT_PACKAGES += ShannonRcs
@@ -923,7 +838,9 @@ PRODUCT_PACKAGES += ShannonRcs
# Exynos RIL and telephony
# Multi SIM(DSDS)
SIM_COUNT := 2
$(call soong_config_set,sim,sim_count,$(SIM_COUNT))
SUPPORT_MULTI_SIM := true
# Support NR
SUPPORT_NR := true
# Support 5G on both stacks
@@ -933,18 +850,8 @@ USE_RADIO_HAL_2_1 := true
# Using Early Send Device Info
USE_EARLY_SEND_DEVICE_INFO := true
#$(call inherit-product, vendor/google_devices/telephony/common/device-vendor.mk)
#$(call inherit-product, vendor/google_devices/zuma/proprietary/device-vendor.mk)
ifneq ($(BOARD_WITHOUT_RADIO),true)
$(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)/common/device-vendor.mk)
endif
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
#$(call inherit-product, hardware/google_devices/exynos5/exynos5.mk)
#$(call inherit-product-if-exists, hardware/google_devices/zuma/zuma.mk)
#$(call inherit-product-if-exists, vendor/google_devices/common/exynos-vendor.mk)
#$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4375/device-bcm.mk)
include device/google/gs-common/sensors/sensors.mk
$(call soong_config_set,usf,target_soc,zuma)
@@ -954,20 +861,19 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
ifneq ($(BOARD_WITHOUT_RADIO),true)
# modem_svc_sit daemon
PRODUCT_PACKAGES += modem_svc_sit
# Use Lassen specifc Shared Modem Platform
SHARED_MODEM_PLATFORM_VENDOR := lassen
# Shared Modem Platform
include device/google/gs-common/modem/modem_svc_sit/shared_modem_platform.mk
# modem_ml_svc_sit daemon
PRODUCT_PACKAGES += modem_ml_svc_sit
# modem ML models configs
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/zuma/modem_ml/modem_ml_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf
else
PRODUCT_COPY_FILES += \
device/google/zuma/modem_ml/modem_ml_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf
endif
# modem logging binary/configs
PRODUCT_PACKAGES += modem_logging_control
@@ -1009,31 +915,15 @@ PRODUCT_PACKAGES += \
endif
# Vibrator Diag
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
diag-vibrator \
diag-vibrator-cs40l25a \
diag-vibrator-drv2624 \
$(NULL)
endif
PRODUCT_PACKAGES += \
android.hardware.health-service.zuma \
android.hardware.health-service.zuma_recovery \
# Audio
# Audio HAL Server & Default Implementations
ifeq ($(USE_AUDIO_HAL_AIDL),true)
include device/google/gs-common/audio/aidl.mk
else
include device/google/gs-common/audio/hidl_zuma.mk
endif
## AoC soong
PRODUCT_SOONG_NAMESPACES += \
vendor/google/whitechapel/aoc
$(call soong_config_set,aoc,target_soc,$(TARGET_BOARD_PLATFORM))
$(call soong_config_set,aoc,target_product,$(TARGET_PRODUCT))
@@ -1054,22 +944,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += vndservicemanager
PRODUCT_PACKAGES += vndservice
## TinyTools, debug tool and cs35l41 speaker calibration tool for Audio
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
tinyplay \
tinycap \
tinymix \
tinypcminfo \
tinyhostless \
cplay \
aoc_hal \
aoc_tuning_inft \
mahal_test \
ma_aoc_tuning_test \
crus_sp_cal
endif
PRODUCT_PACKAGES += \
google.hardware.media.c2@1.0-service \
libgc2_store \
@@ -1080,7 +954,7 @@ PRODUCT_PACKAGES += \
libgc2_utils
## Start packet router
include device/google/gs101/telephony/pktrouter.mk
include device/google/gs-common/telephony/pktrouter.mk
# Thermal HAL
PRODUCT_PROPERTY_OVERRIDES += persist.vendor.enable.thermal.genl=true
@@ -1089,14 +963,7 @@ PRODUCT_PROPERTY_OVERRIDES += persist.vendor.enable.thermal.genl=true
include device/google/gs-common/edgetpu/edgetpu.mk
# Config variables for TPU chip on device.
$(call soong_config_set,edgetpu_config,chip,rio)
# Include the edgetpu targets defined the namespaces below into the final image.
PRODUCT_SOONG_NAMESPACES += \
vendor/google_devices/zuma/proprietary/gchips/tpu/metrics \
vendor/google_devices/zuma/proprietary/gchips/tpu/tflite_delegate \
vendor/google_devices/zuma/proprietary/gchips/tpu/darwinn_logging_service \
vendor/google_devices/zuma/proprietary/gchips/tpu/nnapi_stable_aidl \
vendor/google_devices/zuma/proprietary/gchips/tpu/aidl \
vendor/google_devices/zuma/proprietary/gchips/tpu/hal
# TPU firmware
PRODUCT_PACKAGES += edgetpu-rio.fw
@@ -1148,20 +1015,12 @@ else
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/logger_app
endif
# sscoredump
include hardware/google/pixel/sscoredump/device.mk
# RadioExt Version
USES_RADIOEXT_V1_6 = true
# Wifi ext
include hardware/google/pixel/wifi_ext/device.mk
# Battery Stats Viewer
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer
endif
# Install product specific framework compatibility matrix
# (TODO: b/169535506) This includes the FCM for system_ext and product partition.
# It must be split into the FCM of each partition.
@@ -1182,19 +1041,14 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Hardware Info Collection
include hardware/google/pixel/HardwareInfo/HardwareInfo.mk
# UFS: the script is used to select the corresponding firmware to run FFU.
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += ufs_firmware_update.sh
endif
# RIL extension service
ifeq (,$(filter aosp_% factory_%,$(TARGET_PRODUCT)))
ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
include device/google/gs-common/pixel_ril/ril.mk
endif
# Touch service
include hardware/google/pixel/input/twoshay.mk
include device/google/gs-common/touch/twoshay/aidl_zuma.mk
include device/google/gs-common/touch/twoshay/twoshay.mk
# Allow longer timeout for incident report generation in bugreport
# Overriding in /product partition instead of /vendor intentionally,

View File

@@ -114,7 +114,7 @@
</hal>
<hal format="aidl" optional="true">
<name>com.google.hardware.pixel.display</name>
<version>10</version>
<version>13-15</version>
<interface>
<name>IDisplay</name>
<instance>default</instance>
@@ -153,7 +153,7 @@
</hal>
<hal format="aidl" optional="true">
<name>vendor.google.wifi_ext</name>
<version>2-3</version>
<version>2-4</version>
<interface>
<name>IWifiExt</name>
<instance>default</instance>

Binary file not shown.

View File

@@ -24,6 +24,7 @@ cc_binary {
],
vendor: true,
relative_install_path: "dump",
init_rc: ["dump_power.rc"],
}
sh_binary {

View File

@@ -1,9 +0,0 @@
aaronding@google.com
rurumihong@google.com
adamshih@google.com
wilsonsung@google.com
lucaswei@google.com
cyanhsieh@google.com
rogerliao@google.com
cyuanjen@google.com
robinpeng@google.com

View File

@@ -21,7 +21,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/sysinfo.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <vector>
#include <android-base/file.h>
@@ -198,39 +200,18 @@ void dumpMaxFg() {
const char *maxfg [][2] = {
{"Power supply property maxfg", "/sys/class/power_supply/maxfg/uevent"},
{"maxfg registers", "/sys/class/power_supply/maxfg/registers_dump"},
{"m5_state", "/sys/class/power_supply/maxfg/m5_model_state"},
{"maxfg logbuffer", "/dev/logbuffer_maxfg"},
{"maxfg_monitor logbuffer", "/dev/logbuffer_maxfg_monitor"},
};
const char *maxfgFlip [][2] = {
{"Power supply property maxfg_base", "/sys/class/power_supply/maxfg_base/uevent"},
{"Power supply property maxfg_flip", "/sys/class/power_supply/maxfg_flip/uevent"},
{"m5_state", "/sys/class/power_supply/maxfg_base/m5_model_state"},
{"maxfg_base", "/dev/logbuffer_maxfg_base"},
{"maxfg_flip", "/dev/logbuffer_maxfg_flip"},
{"maxfg_base", "/dev/logbuffer_maxfg_base_monitor"},
{"maxfg_flip", "/dev/logbuffer_maxfg_flip_monitor"},
};
const char *maxfgHistoryName = "Maxim FG History";
const char *maxfgHistoryDir = "/dev/maxfg_history";
std::string content;
if (isValidDir(maxfgLoc)) {
for (const auto &row : maxfg) {
dumpFileContent(row[0], row[1]);
}
} else {
for (const auto &row : maxfgFlip) {
dumpFileContent(row[0], row[1]);
}
}
if (isValidFile(maxfgHistoryDir)) {
dumpFileContent(maxfgHistoryName, maxfgHistoryDir);
}
}
@@ -260,55 +241,50 @@ void dumpLogBufferTcpm() {
}
void dumpTcpc() {
int ret;
const char* max77759TcpcHead = "TCPC";
const char* i2cSubDirMatch = "i2c-";
const char* directory = "/sys/devices/platform/10d60000.hsi2c/";
const char* max77759Tcpc [][2] {
{"registers:", "/i2c-max77759tcpc/registers"},
{"frs:", "/i2c-max77759tcpc/frs"},
{"auto_discharge:", "/i2c-max77759tcpc/auto_discharge"},
{"bcl2_enabled:", "/i2c-max77759tcpc/bcl2_enabled"},
{"cc_toggle_enable:", "/i2c-max77759tcpc/cc_toggle_enable"},
{"containment_detection:", "/i2c-max77759tcpc/containment_detection"},
{"containment_detection_status:", "/i2c-max77759tcpc/containment_detection_status"},
const char* max77759TcpcHead = "TCPC Device Attributes";
const char* directory = "/sys/class/typec/port0/device";
const char* max77759Tcpc [] {
"auto_discharge",
"bc12_enabled",
"cc_toggle_enable",
"contaminant_detection",
"contaminant_detection_status",
"frs",
"irq_hpd_count",
"non_compliant_reasons",
"sbu_pullup",
"update_sdp_enum_timeout",
"usb_limit_accessory_current",
"usb_limit_accessory_enable",
"usb_limit_sink_current",
"usb_limit_sink_enable",
"usb_limit_source_enable",
};
std::vector<std::string> files;
std::string content;
std::string tcpcRegistersPath(std::string(directory) + "/registers");
dumpFileContent("TCPC Registers", tcpcRegistersPath.c_str());
printTitle(max77759TcpcHead);
ret = getFilesInDir(directory, &files);
if (ret < 0) {
for (auto &tcpcVal : max77759Tcpc)
printf("%s\n", tcpcVal[0]);
return;
}
for (auto &file : files) {
for (auto &tcpcVal : max77759Tcpc) {
printf("%s ", tcpcVal[0]);
if (std::string::npos == std::string(file).find(i2cSubDirMatch)) {
continue;
}
std::string fileName = directory + file + "/" + std::string(tcpcVal[1]);
if (!android::base::ReadFileToString(fileName, &content)) {
continue;
}
printf("%s\n", content.c_str());
}
for (auto& tcpcVal : max77759Tcpc) {
std::string filename = std::string(directory) + "/" + std::string(tcpcVal);
printf("%s: ", tcpcVal);
android::base::ReadFileToString(filename, &content);
if (!content.empty() && (content.back() == '\n' || content.back() == '\r'))
content.pop_back();
printf("%s\n", content.c_str());
}
printf("\n");
}
void dumpPdEngine() {
const char* pdEngine [][2] {
{"PD Engine", "/dev/logbuffer_usbpd"},
{"PPS-google_cpm", "/dev/logbuffer_cpm"},
{"PPS-dc", "/dev/logbuffer_pca9468"},
{"Logbuffer TCPC", "/dev/logbuffer_usbpd"},
{"PPS-google_cpm logbuffer", "/dev/logbuffer_cpm"},
{"PPS-pca9468 logbuffer", "/dev/logbuffer_pca9468"},
{"PPS-dc_mains logbuffer", "/dev/logbuffer_dc_mains"},
};
for (const auto &row : pdEngine) {
@@ -334,15 +310,6 @@ void dumpWc68() {
}
}
void dumpLn8411() {
const char* ln8411Title = "LN8411";
const char* ln8411File = "/dev/logbuffer_ln8411";
if (isValidFile(ln8411File)) {
dumpFileContent(ln8411Title, ln8411File);
}
}
void dumpBatteryHealth() {
const char* batteryHealth [][2] {
{"Battery Health", "/sys/class/power_supply/battery/health_index_stats"},
@@ -362,7 +329,7 @@ void dumpBatteryHealth() {
}
void dumpBatteryDefend() {
const char* defendConfig [][4] {
const char* defendConfig [][3] {
{"TRICKLE-DEFEND Config",
"/sys/devices/platform/google,battery/power_supply/battery/", "bd_"},
{"DWELL-DEFEND Config", "/sys/devices/platform/google,charger/", "charge_s"},
@@ -407,6 +374,57 @@ void dumpBatteryDefend() {
}
}
void dumpBatteryCaretaker() {
const char* aacpConfig [][3] {
{"AACP Version",
"/sys/devices/platform/google,battery/power_supply/battery/", "aacp_"},
{"AACR Config",
"/sys/devices/platform/google,battery/power_supply/battery/", "aacr_"},
{"AAFV Config",
"/sys/devices/platform/google,battery/power_supply/battery/", "aafv_"},
{"AACT Config",
"/sys/devices/platform/google,battery/power_supply/battery/", "aact_"},
{"AACC",
"/sys/devices/platform/google,battery/power_supply/battery/", "aacc"},
};
std::vector<std::string> files;
struct dirent *entry;
std::string content;
std::string fileLocation;
for (auto &config : aacpConfig) {
DIR *dir = opendir(config[1]);
if (dir == NULL)
continue;
printTitle(config[0]);
while ((entry = readdir(dir)) != NULL) {
if (std::string(entry->d_name).find(config[2]) != std::string::npos &&
strncmp(config[2], entry->d_name, strlen(config[2])) == 0) {
files.push_back(entry->d_name);
}
}
closedir(dir);
sort(files.begin(), files.end());
for (auto &file : files) {
fileLocation = std::string(config[1]) + std::string(file);
if (!android::base::ReadFileToString(fileLocation, &content) || content.empty()) {
content = "\n";
}
printf("%s: %s", file.c_str(), content.c_str());
if (content.back() != '\n')
printf("\n");
}
files.clear();
}
}
void printValuesOfDirectory(const char *directory, std::string debugfs, const char *strMatch) {
std::vector<std::string> files;
auto info = directory;
@@ -481,7 +499,6 @@ void dumpChgUserDebug() {
const std::string debugfs = "/d/";
const char *maxFgDir = "/d/maxfg";
const char *maxFgStrMatch = "maxfg";
const char *maxFg77779StrMatch = "max77779fg";
const char *chgTblName = "Charging table dump";
const char *chgTblDir = "/d/google_battery/chg_raw_profile";
@@ -489,16 +506,6 @@ void dumpChgUserDebug() {
"fg_model",
"algo_ver",
"model_ok",
"registers",
"nv_registers",
};
const char *max77779FgInfo [] {
"fg_model",
"algo_ver",
"model_ok",
"registers",
"debug_registers",
};
if (isUserBuild())
@@ -510,10 +517,6 @@ void dumpChgUserDebug() {
for (auto & directory : maxFgInfo) {
printValuesOfDirectory(directory, debugfs, maxFgStrMatch);
}
} else {
for (auto & directory : max77779FgInfo) {
printValuesOfDirectory(directory, debugfs, maxFg77779StrMatch);
}
}
}
@@ -632,10 +635,27 @@ void dumpGvoteables() {
void dumpMitigation() {
const char *mitigationList [][2] {
{"LastmealCSV" , "/data/vendor/mitigation/lastmeal.csv"},
{"Lastmeal" , "/data/vendor/mitigation/lastmeal.txt"},
{"Thismeal" , "/data/vendor/mitigation/thismeal.txt"},
};
/* parsing thismeal.bin */
int status;
int pid = fork();
if (pid < 0) {
printf("Fork failed for parsing thismeal.bin.\n");
exit(EXIT_FAILURE);
} else if (pid == 0) {
execl("/vendor/bin/hw/battery_mitigation", "battery_mitigation", "-d", nullptr);
exit(EXIT_SUCCESS);
}
waitpid(pid, &status, 0);
if (WIFSIGNALED(status)) {
printf("Failed to parse thismeal.bin.(killed by: %d)\n", WTERMSIG(status));
}
for (auto &row : mitigationList) {
if (!isValidFile(row[1]))
printTitle(row[0]);
@@ -941,9 +961,21 @@ void dumpIrqDurationCounts() {
}
}
void dumpCpuIdleHistogramStats() {
const char* cpuIdleHistogramTitle = "CPU Idle Histogram";
const char* cpuIdleHistogramFile = "/sys/kernel/metrics/cpuidle_histogram/"
"cpuidle_histogram";
const char* cpuClusterHistogramTitle = "CPU Cluster Histogram";
const char* cpuClusterHistogramFile = "/sys/kernel/metrics/"
"cpuidle_histogram/cpucluster_histogram";
dumpFileContent(cpuIdleHistogramTitle, cpuIdleHistogramFile);
dumpFileContent(cpuClusterHistogramTitle, cpuClusterHistogramFile);
}
int main() {
dumpPowerStatsTimes();
dumpAcpmStats();
dumpCpuIdleHistogramStats();
dumpPowerSupplyStats();
dumpMaxFg();
dumpPowerSupplyDock();
@@ -952,9 +984,9 @@ int main() {
dumpPdEngine();
dumpEusbRepeater();
dumpWc68();
dumpLn8411();
dumpBatteryHealth();
dumpBatteryDefend();
dumpBatteryCaretaker();
dumpChg();
dumpChgUserDebug();
dumpBatteryEeprom();

3
dumpstate/dump_power.rc Normal file
View File

@@ -0,0 +1,3 @@
on init
# for parsing thismeal.bin
chown system system /vendor/bin/hw/battery_mitigation

View File

@@ -1,6 +1,2 @@
PRODUCT_PACKAGES += dump_wlan.sh \
dump_power
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += dump_gsa.sh
endif

View File

@@ -1,6 +1,10 @@
[
{
"repository": "device_google_gs101",
"target_path": "device/google/gs101"
"repository": "device_google_gs-common",
"target_path": "device/google/gs-common"
},
{
"repository": "packages_apps_PixelParts",
"target_path": "packages/apps/PixelParts"
}
]

View File

@@ -5,4 +5,7 @@
#
# PixelParts
include packages/apps/PixelParts/device.mk
#include packages/apps/PixelParts/device.mk
# UDFPS
TARGET_HAS_UDFPS += true

View File

@@ -1,25 +0,0 @@
//
// Copyright (C) 2022 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
sh_binary {
name: "factory_post_boot",
src: "factory_post_boot.sh",
vendor: true,
sub_dir: "factory",
}

View File

@@ -1,4 +0,0 @@
#!/vendor/bin/sh
# Add adbd to nnapi vendor cgroup. (b/222226268)
echo `pidof adbd` > /proc/vendor_sched/set_task_group_nnapi

View File

@@ -1,15 +0,0 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/zuma:device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/zuma:device_google_zuma_license",
],
}
runtime_resource_overlay {
name: "FactoryOverlayFrameworkRes",
product_specific: true,
}

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Pixel specific factory overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.frameworkres.overlay.factory">
<application android:hasCode="false" />
<overlay
android:targetPackage="android"
android:isStatic="true"
android:priority="2"/>
</manifest>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2023, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Type of the tap sensor. Empty if tap is not supported. False to disable the tap sensor -->
<string name="config_dozeTapSensorType" translatable="false">false</string>
<!-- Control whether the pickup gesture is enabled by default. This value will be used
during initialization when the setting is still null. -->
<bool name="config_dozePickupGestureEnabled">false</bool>
<!-- Is the lock-screen disabled for new users by default -->
<bool name="config_disableLockscreenByDefault">true</bool>
</resources>

View File

@@ -1,15 +0,0 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/zuma:device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/zuma:device_google_zuma_license",
],
}
runtime_resource_overlay {
name: "FactoryOverlayLauncher3",
product_specific: true,
}

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
<!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
<!-- Dialer, Capacity, ELabel, Language, Barcode -->
<resolve
launcher:container="-101"
launcher:screen="0"
launcher:x="0"
launcher:y="0" >
<favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" />
<favorite launcher:uri="tel:123" />
<favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" />
</resolve>
<resolve
launcher:container="-101"
launcher:screen="4"
launcher:x="4"
launcher:y="0" >
<favorite
launcher:packageName="com.google_cte.barcodescanner"
launcher:className="com.google_cte.barcodescanner.MainActivity" />
</resolve>
</favorites>

View File

@@ -1,15 +0,0 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/zuma:device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/zuma:device_google_zuma_license",
],
}
runtime_resource_overlay {
name: "FactoryOverlaySettings",
product_specific: true,
}

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Pixel specific factory overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.providers.settings.overlay.factory">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.providers.settings"
android:targetName="resources"
android:isStatic="true"
android:priority="2"/>
</manifest>

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<integer name="def_lockscreen_sounds_enabled">0</integer>
<bool name="def_lockscreen_disabled">true</bool>
<bool name="def_dtmf_tones_enabled">false</bool>
<bool name="def_sound_effects_enabled">false</bool>
<bool name="def_charging_sounds_enabled">false</bool>
<string name="def_immersive_mode_confirmations" translatable="false">confirmed</string>
</resources>

View File

@@ -1,97 +0,0 @@
#
# Copyright 2020 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/google/zuma/aosp_common.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/factory/pixel/device-factory.mk)
PRODUCT_PROPERTY_OVERRIDES += service.adb.root=1 \
vendor.disable.thermal.control=1 \
ro.vendor.factory=1
# Factory Libraries of Audio
PRODUCT_PACKAGES += audioroute libaudioroutelite
# Enable fatp by default for factory builds
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.vendor.camera.fatp.enable=1
# Disable camera related features for factory builds
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.af.ignore_gyro=1 \
persist.vendor.camera.multicam.framesync=0 \
vendor.camera.debug.bypass_face_ssd_processor=1 \
vendor.camera.debug.csi_ebuf_enable=0 \
vendor.camera.debug.enable_face_detection=0 \
vendor.camera.debug.force_dpm_on=0 \
vendor.camera.debug.force_eis_on=0 \
vendor.camera.debug.force_eaf_on=0 \
vendor.camera.debug.force_mesh_warp_on=0 \
vendor.camera.debug.force_rectiface_node_on=0 \
vendor.camera.debug.force_steadiface_on=0 \
vendor.camera.debug.force_tnr_on=0 \
vendor.camera.debug.force_segmentation_node_on=0 \
vendor.camera.debug.enable_saliency=0 \
vendor.camera.debug.force_local_tone_mapping_on=0 \
vendor.camera.debug.local_tone_mapping_controller_v1.mode=0 \
vendor.camera.debug.enable_scene_detection=0
# Disable ScreenDecorations for factory builds
PRODUCT_PROPERTY_OVERRIDES += \
debug.disable_screen_decorations=true
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms?=80
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer_ms=1000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true
# Disable dimming in factory
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage=2
# factory should always has SELinux permissive
BOARD_BOOTCONFIG += androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
# Disable DebugFS restrictions in factory builds
PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
# Disable Bluetooth as default in factory build
DEVICE_PACKAGE_OVERLAYS += device/google/zuma/overlay-factory
PRODUCT_COPY_FILES += \
device/google/zuma/conf/init.factory.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.factory.rc
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/factory_boost
# Add factory-friendly changes
PRODUCT_PACKAGES += \
FactoryOverlaySettings \
FactoryOverlayLauncher3 \
FactoryOverlayFrameworkRes \
factory_post_boot
# To prevent rebooting due to crashing services
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
init.svc_debug.no_fatal.zygote=true \
persist.device_config.configuration.disable_rescue_party=true
# PixelLogger for RF testing
PRODUCT_PACKAGES_DEBUG += \
PixelLogger \
# ModemDiagnosticSystem for desense tool
PRODUCT_PACKAGES += \
ModemDiagnosticSystem \

View File

@@ -1,18 +0,0 @@
# ----------------------------
# Add feature flags below
# ----------------------------
FPC_CONFIG_BUILD_VERSION=33
FPC_CONFIG_CAPACITIVE=1
FPC_CONFIG_MAX_NR_TEMPLATES=5
FPC_CONFIG_SENSE_TOUCH_CALIBRATION_PATH=/data/fpc/calibration_sense_touch.dat
FPC_CONFIG_TA_FS=1
FPC_DEFECTIVE_PIXEL_LIST_SIZE=5000
FPC_SENSOR_SDK_LOG_LEVEL=3
FPC_TEE_RUNTIME=TRUSTY
LIBFPC_NAME=libfpc1541_S_nav_debug.a
FPC_CONFIG_DEBUG=1
FPC_CONFIG_PRODUCT_DEFAULT=FPC_PRODUCT_TYPE1541_S
#
# File included from device/<manufacture>/<>/<device>.mk
# Packages to include into the build

View File

@@ -1,21 +0,0 @@
# ----------------------------
# Add feature flags below
# ----------------------------
FPC_CONFIG_BUILD_VERSION=33
FPC_CONFIG_CAPACITIVE=1
FPC_CONFIG_MAX_NR_TEMPLATES=5
FPC_CONFIG_NAVIGATION=0
FPC_CONFIG_SENSE_TOUCH_CALIBRATION_PATH=/data/fpc/calibration_sense_touch.dat
FPC_CONFIG_SENSORTEST=1
FPC_CONFIG_TA_FS=1
FPC_DEFECTIVE_PIXEL_LIST_SIZE=5000
FPC_SENSOR_SDK_LOG_LEVEL=3
FPC_TEE_RUNTIME=TRUSTY
LIBFPC_NAME=libfpc1541_S_nav_debug.a
FPC_CONFIG_DEBUG=1
FPC_CONFIG_ENGINEERING=1
FPC_CONFIG_PRODUCT_DEFAULT=FPC_PRODUCT_TYPE1541_S
#
# File included from device/<manufacture>/<>/<device>.mk
# Packages to include into the build

View File

@@ -1,8 +0,0 @@
# Fingerprint
include device/google/zuma/fingerprint/fpc1540/fingerprint_config.mk
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.fpc \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml

View File

@@ -1,10 +0,0 @@
# Fingerprint
include device/google/zuma/fingerprint/fpc1540/fingerprint_config_factory.mk
PRODUCT_PACKAGES += \
fpc_tee_test\
SensorTestTool \
PRODUCT_PACKAGES += \
com.fingerprints.extension.xml \
com.fingerprints.extension \

View File

@@ -1,7 +1,7 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.health</name>
<version>3</version>
<version>4</version>
<fqname>IHealth/default</fqname>
</hal>
</manifest>

View File

@@ -1,24 +0,0 @@
#
# Copyright (C) 2018 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=1
write /sys/class/power_supply/dc/current_max 75000
on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=0
write /sys/class/power_supply/dc/current_max 1100000
on property:vendor.disable.wlc=1
write /sys/class/power_supply/wireless/online 0

View File

@@ -1,6 +1,6 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
@@ -16,12 +16,23 @@ PRODUCT_PRODUCT_PROPERTIES += \
ro.vendor.camera.extensions.package=com.google.android.apps.camera.services \
ro.vendor.camera.extensions.service=com.google.android.apps.camera.services.extensions.service.PixelExtensions
# EUICC
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Experiments
include device/google/gs-common/performance/experiments/experiments.mk
# Google Assistant
PRODUCT_PRODUCT_PROPERTIES += ro.opa.eligible_device=true
# Lineage Health
include hardware/google/pixel/lineage_health/device.mk
$(call soong_config_set,lineage_health,charging_control_supports_deadline,true)
$(call soong_config_set,lineage_health,charging_control_supports_limit,true)
$(call soong_config_set,lineage_health,charging_control_supports_toggle,false)
# Linker config
PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS += \
device/google/zuma/linker.config.json
@@ -30,5 +41,9 @@ PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS += \
PRODUCT_PACKAGES += \
GoogleParts
# Tethering
PRODUCT_PACKAGES += \
TetheringOverlay
# Touch
include hardware/google/pixel/touch/device.mk

View File

@@ -1,5 +1,10 @@
{
"provideLibs": [
"liboemcrypto.so"
"liboemcrypto.so",
"lib_aion_buffer.so",
"libedgetpu_client.google.so",
"libedgetpu_tachyon.google.so",
"libedgetpu_util.so",
"libgxp.so"
]
}

View File

@@ -1,13 +1,4 @@
<manifest version="1.0" type="device" target-level="8">
<hal format="hidl">
<name>android.hardware.graphics.mapper</name>
<transport arch="32+64">passthrough</transport>
<version>4.0</version>
<interface>
<name>IMapper</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>android.hardware.boot</name>
<fqname>IBootControl/default</fqname>

View File

@@ -1,12 +1,13 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.2</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
<instance>default1</instance>
</interface>
<!-- AIDL fragment -->
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default</fqname>
</hal>
</manifest>

View File

@@ -1,4 +1,5 @@
<manifest version="1.0" type="device">
<!-- HIDL fragment -->
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
@@ -8,4 +9,10 @@
<instance>default</instance>
</interface>
</hal>
<!-- AIDL fragment -->
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default</fqname>
</hal>
</manifest>

View File

@@ -108,7 +108,7 @@
</MediaCodec>
<MediaCodec name="c2.exynos.vp8.decoder" type="video/x-vnd.on2.vp8" >
<Limit name="size" min="32x32" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-32400" />
<Limit name="blocks-per-second" min="1" max="3888000" />
@@ -122,7 +122,7 @@
</MediaCodec>
<MediaCodec name="c2.exynos.vp9.decoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="7680x4352" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="64x64" />
<Limit name="block-count" range="1-8160" />
<Limit name="blocks-per-second" min="1" max="3888000" />
@@ -137,7 +137,7 @@
</MediaCodec>
<MediaCodec name="c2.exynos.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="64x64" />
<Limit name="block-count" range="1-2040" />
<Limit name="blocks-per-second" min="1" max="3888000" />
@@ -222,7 +222,7 @@
</MediaCodec>
<MediaCodec name="c2.exynos.vp8.encoder" type="video/x-vnd.on2.vp8" >
<Limit name="size" min="32x32" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-32400" />
<Limit name="blocks-per-second" min="1" max="3888000" />
@@ -238,7 +238,7 @@
</MediaCodec>
<MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="64x64" />
<Limit name="block-count" range="1-2040" />
<Limit name="blocks-per-second" min="1" max="243000" />

View File

@@ -19,7 +19,7 @@
<Decoders>
<MediaCodec name="c2.google.av1.decoder" type="video/av01">
<Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
@@ -34,7 +34,7 @@
</MediaCodec>
<MediaCodec name="c2.google.av1.decoder.secure" type="video/av01">
<Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
@@ -51,20 +51,21 @@
</Decoders>
<Encoders>
<MediaCodec name="c2.google.av1.encoder" type="video/av01">
<Limit name="size" min="64x64" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="size" min="80x80" max="3840x2176" />
<Limit name="alignment" value="1x1" />
<Limit name="block-size" value="64x64" />
<Limit name="block-count" range="1-2040" />
<Limit name="blocks-per-second" min="1" max="61200" />
<Limit name="block-count" range="4-2040" />
<Limit name="blocks-per-second" min="4" max="61200" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-1280x720" value="200" />
<Limit name="performance-point-1920x1080" value="180" />
<Limit name="performance-point-1920x1079" value="120" />
<Limit name="performance-point-3840x2160" range="60" />
<Limit name="performance-point-3840x2160" value="60" />
<Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/>
<Feature name="encoding-statistics"/>
<Feature name="hdr-editing" />
</MediaCodec>
</Encoders>
</MediaCodecs>

View File

@@ -37,8 +37,8 @@
<Limit name="measured-frame-rate-1920x1088" range="409-411" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.exynos.hevc.decoder" type="video/hevc" update="true">
<!-- measured 90%:529-530 med:529 N=2 -->
<Limit name="measured-frame-rate-352x288" range="1150-1250" /> <!-- v90%=1.0 -->
<!-- b/385249512 -->
<Limit name="measured-frame-rate-352x288" range="420-521" /> <!-- v90%=1.0 -->
<!-- measured 90%:528-530 med:529 N=2 -->
<Limit name="measured-frame-rate-640x360" range="528-529" /> <!-- v90%=1.0 -->
<!-- measured 90%:546-549 med:546 N=2 -->
@@ -51,8 +51,8 @@
<Limit name="measured-frame-rate-3840x2160" range="159-159" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.exynos.hevc.decoder.secure" type="video/hevc" update="true">
<!-- measured 90%:529-530 med:529 N=2 -->
<Limit name="measured-frame-rate-352x288" range="1150-1250" /> <!-- v90%=1.0 -->
<!-- b/385249512 -->
<Limit name="measured-frame-rate-352x288" range="420-521" /> <!-- v90%=1.0 -->
<!-- measured 90%:528-530 med:529 N=2 -->
<Limit name="measured-frame-rate-640x360" range="528-529" /> <!-- v90%=1.0 -->
<!-- measured 90%:546-549 med:546 N=2 -->
@@ -115,24 +115,24 @@
</MediaCodec>
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<!-- measured 90%:342-360 med:343 N=2 -->
<Limit name="measured-frame-rate-320x240" range="342-351" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-320x240" range="291-512" /> <!-- v90%=1.0 -->
<!-- measured 90%:142-147 med:143 N=2 -->
<Limit name="measured-frame-rate-720x480" range="142-145" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-720x480" range="244-474" /> <!-- v90%=1.0 -->
<!-- measured 90%:54-56 med:55 N=2 -->
<Limit name="measured-frame-rate-1280x720" range="54-55" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-1280x720" range="110-209" /> <!-- v90%=1.0 -->
<!-- measured 90%:25-26 med:26 N=2 -->
<Limit name="measured-frame-rate-1920x1080" range="25-26" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-1920x1080" range="45-87" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="583-674" />
<Limit name="measured-frame-rate-352x288" range="291-512" />
<!-- measured 90%:196-207 med:196 N=2 -->
<Limit name="measured-frame-rate-640x360" range="196-201" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-640x360" range="244-474" /> <!-- v90%=1.0 -->
<!-- measured 90%:177-180 med:178 N=2 -->
<Limit name="measured-frame-rate-720x480" range="177-178" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-720x480" range="232-443" /> <!-- v90%=1.0 -->
<!-- measured 90%:81-82 med:82 N=2 -->
<Limit name="measured-frame-rate-1280x720" range="81-82" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-1280x720" range="171-325" /> <!-- v90%=1.0 -->
<!-- measured 90%:45-47 med:46 N=2 -->
<Limit name="measured-frame-rate-1920x1080" range="45-46" /> <!-- v90%=1.0 -->
<Limit name="measured-frame-rate-1920x1080" range="118-219" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="1111-1176" />

View File

@@ -1 +0,0 @@
PRODUCT_PACKAGES += vcd

View File

@@ -1,4 +0,0 @@
#name,version,ml_type,compute_enable,compute_timer,train_enable,train_timer,monitor_enable_monitor_timer,execution_type,execution_timer
fr2_bps_ml_model,0,LEGACY,true,0,false,0,false,0,SYNCHRONOUS_REGULAR,5000
sample_linear_reg,0,LEGACY,false,0,false,0,false,0,SYNCHRONOUS_REGULAR,5000
sample_fully_conn,88,LEGACY,false,0,false,0,false,0,SYNCHRONOUS_REGULAR,5000

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Don't enable BT until user wants it -->
<bool name="def_bluetooth_on">false</bool>
</resources>

View File

@@ -1,7 +0,0 @@
<resources>
<string-array name="logger_entries">
<item>shannondm</item>
<item>cnss_diag</item>
<item>brcm_gps</item>
</string-array>
</resources>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_logger_default_value" translatable="false">shannondm</string>
<string name="config_cfg_default_value" translatable="false">Built-in Mask #1</string>
<!-- default config file for cnss_diag logger -->
<string name="config_cfg_default_value_cnss_diag" translatable="false">cnss_diag.conf</string>
<!-- config file to enable brcm gps logger -->
<bool name="config_brcm_gps_enabled" translatable="false">true</bool>
</resources>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_message_no_message">
<item></item>
</string-array>
<string-array name="config_message_audio_warning">
<item>This will collect audio from your voice calls. Would you like to proceed?</item>
</string-array>
<string-array name="config_message_possible_audio_warning">
<item>This may collect audio from your voice calls. Would you like to proceed?</item>
<item>Pixel_Default.nprf</item>
<item>Built-in Mask #0</item>
<item>Built-in Mask #1</item>
<item>Built-in Mask #2</item>
<item>Built-in Mask #3</item>
</string-array>
<string name="config_privacy_warning_title">Privacy Warning</string>
<string name="default_config_selection_message">You are loading a user defined logging config. This may collect audio from your voice calls. Would you like to proceed?</string>
</resources>

View File

@@ -31,6 +31,38 @@
<!-- B y-intercept --> <item>-0.349361641294833436</item>
</string-array>
<!-- The fixed keyboard vibration strength in [0,1], or -1 to indicate the strength not fixed
and should depend on the touch feedback intensity user setting -->
<item name="config_keyboardHapticFeedbackFixedAmplitude" type="dimen">0.62</item>
<!-- Indicating if keyboard vibration settings supported or not. -->
<bool name="config_keyboardVibrationSettingsSupported">true</bool>
<!-- Indicating if ringtone vibration settings supported or not. -->
<bool name="config_ringtoneVibrationSettingsSupported">true</bool>
<!-- External display peak refresh rate for the given device. Change this value if you want to
prevent the framework from using higher refresh rates, even if display modes with higher
refresh rates are available from hardware composer. Only has an effect if this value and
config_externalDisplayPeakWidth and config_externalDisplayPeakHeight are non-zero. -->
<integer name="config_externalDisplayPeakRefreshRate">61</integer>
<!-- External display peak width for the given device. Change this value if you want
to prevent the framework from using higher resolution, even if display modes with higher
resolutions are available from hardware composer. Only has an effect if this value and
config_externalDisplayPeakRefreshRate and config_externalDisplayPeakHeight are non-zero.-->
<integer name="config_externalDisplayPeakWidth">1920</integer>
<!-- External display peak height for the given device. Change this value if you want
to prevent the framework from using higher resolution, even if display modes with higher
resolutions are available from hardware composer. Only has an effect if this value and
config_externalDisplayPeakRefreshRate and config_externalDisplayPeakWidth are non-zero. -->
<integer name="config_externalDisplayPeakHeight">1080</integer>
<!-- Enable synchronization of the displays refresh rates by applying the default low refresh
rate. -->
<bool name="config_refreshRateSynchronizationEnabled">true</bool>
<!-- List of comma separated package names for which we the system will not show crash, ANR,
etc. dialogs. -->
<string translatable="false" name="config_appsNotReportingCrashes">com.google.android.euicc</string>

View File

@@ -18,6 +18,10 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
<!-- Defines the actions shown in advanced reboot submenu -->
<string-array name="config_restartActionsList">
<item>restart</item>

View File

@@ -20,29 +20,34 @@
<item>connectivity_thermal_power_manager/apply_action_time_seconds=10</item>
<item>connectivity_thermal_power_manager/atm_power_threshold_mw=800</item>
<item>connectivity_thermal_power_manager/cellular_thermal_adaptive_thermal_status_adaptive_action_list=</item>
<item>connectivity_thermal_power_manager/criteria_1_enabled=true</item>
<item>connectivity_thermal_power_manager/criteria_4_enabled=true</item>
<item>connectivity_thermal_power_manager/criteria_4_lte_pref_mode=3</item>
<item>connectivity_thermal_power_manager/wifi_disconnected_time_seconds=180</item>
<item>connectivity_thermal_power_manager/wifi_internet_driven_endc_product_carrier_id_set=shiba,husky,akita,komodo,tokay,caiman,comet@1,1989,2023,2576,2067,2071,2073,2577,2522,2075,2578,2083,2433,1949</item>
<!-- Live Caption (Pixel 2017 + OEM) -->
<item>device_personalization_services/Captions__allow_box_x_axis_movement=true</item>
<item>device_personalization_services/Captions__allow_use_public_speech_recognition=true</item>
<item>device_personalization_services/Captions__allow_voip_call_without_audio_recording=false</item>
<item>device_personalization_services/Captions__available_for_download=en-US;en-GB;en-CA;en-IE;en-AU;en-SG;en-IN;fr-FR;fr-CA;fr-BE;fr-CH;it-IT;it-CH;de-DE;de-AT;de-BE;de-CH;ja-JP;es-ES;es-US;cmn-Hant-TW;hi-IN</item>
<item>device_personalization_services/Captions__allow_voip_call_without_audio_recording=true</item>
<item>device_personalization_services/Captions__available_for_download=en-US;en-GB;en-CA;en-IE;en-AU;en-SG;en-IN;fr-FR;fr-CA;fr-BE;fr-CH;it-IT;it-CH;de-DE;de-AT;de-BE;de-CH;ja-JP;es-ES;es-US;cmn-Hant-TW;hi-IN;pt-BR;tr-TR;pl-PL;cmn-Hans-CN;ko-KR;ru-RU;vi-VN</item>
<item>device_personalization_services/Captions__disable_prod=false</item>
<!-- <item>device_personalization_services/Captions__enable=false</item> -->
<item>device_personalization_services/Captions__enable_activation_boost=true</item>
<item>device_personalization_services/Captions__enable_adaptive_box_width=true</item>
<item>device_personalization_services/Captions__enable_augmented_modality=true</item>
<item>device_personalization_services/Captions__enable_augmented_modality_input=true</item>
<item>device_personalization_services/Captions__enable_augmented_modality_language_detection=true</item>
<item>device_personalization_services/Captions__enable_augmented_music=true</item>
<!-- <item>device_personalization_services/Captions__enable_clearcut_logging=true</item> -->
<item>device_personalization_services/Captions__enable_drag_and_double_tap_to_resize=false</item>
<item>device_personalization_services/Captions__enable_drag_and_double_tap_to_resize=true</item>
<item>device_personalization_services/Captions__enable_ec_integration=false</item>
<item>device_personalization_services/Captions__enable_language_detection=true</item>
<item>device_personalization_services/Captions__enable_new_model_version_advanced_2023=true</item>
<item>device_personalization_services/Captions__enable_one_caption_experiment=false</item>
<item>device_personalization_services/Captions__enable_punctuations=true</item>
<item>device_personalization_services/Captions__enable_setting_page=false</item>
<item>device_personalization_services/Captions__enable_survey=false</item>
<item>device_personalization_services/Captions__enable_text_transform=true</item>
<item>device_personalization_services/Captions__enable_westworld_logging=false</item>
<item>device_personalization_services/Captions__enable_zero_day=false</item>
@@ -52,7 +57,9 @@
<item>device_personalization_services/Captions__new_model_version=20210623</item>
<item>device_personalization_services/Captions__new_model_version_advanced_2023=20230808</item>
<item>device_personalization_services/Captions__speech_threshold=0.2</item>
<item>device_personalization_services/Captions__supported_languages=en-US;fr-FR;it-IT;de-DE;ja-JP;es-ES;cmn-Hant-TW;hi-IN</item>
<item>device_personalization_services/Captions__support_lang_id_disabled_after_dismissals=true</item>
<item>device_personalization_services/Captions__supported_languages=en-US;fr-FR;it-IT;de-DE;ja-JP;es-ES;cmn-Hant-TW;hi-IN;pt-BR;tr-TR;pl-PL;cmn-Hans-CN;ko-KR;ru-RU;vi-VN</item>
<item>device_personalization_services/Captions__supported_languages_beta_quality=ja-JP;pt-BR;tr-TR;pl-PL;cmn-Hans-CN;ko-KR;ru-RU;vi-VN</item>
<item>device_personalization_services/Captions__surface_sound_events=true</item>
<item>device_personalization_services/Captions__text_transform_augmented_input=true</item>
<item>device_personalization_services/Captions__visibility_playing_duration_millis=5000</item>
@@ -60,12 +67,23 @@
<!-- Now Playing (Pixel 2017) -->
<item>device_personalization_services/NowPlaying__ambient_music_apk_music_detector_min_score=0.45</item>
<item>device_personalization_services/NowPlaying__ambient_music_download_album_art_via_astrea=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_enable_resource_download_logging=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_enhanced_metadata_shards_manifest=4003:https://storage.googleapis.com/music-iq-db/updatable_db_v4/20241015-000033/manifest.json</item>
<item>device_personalization_services/NowPlaying__ambient_music_get_model_state_cooldown_seconds_cloud_search=9</item>
<item>device_personalization_services/NowPlaying__ambient_music_index_manifest_17_09_02=3082:https://storage.googleapis.com/music-iq-db/updatable_db_v3/20240421-030101/manifest.json</item>
<item>device_personalization_services/NowPlaying__ambient_music_index_manifest_17_09_02=3105:https://storage.googleapis.com/music-iq-db/updatable_db_v3/20241013-030037/manifest.json</item>
<item>device_personalization_services/NowPlaying__ambient_music_matcher_match_threshold_17_09_02=1.0E-6</item>
<item>device_personalization_services/NowPlaying__ambient_music_on_demand_enabled=true</item>
<item>device_personalization_services/NowPlaying__ambient_music_on_demand_music_confidence=0.48</item>
<item>device_personalization_services/NowPlaying__ambient_music_on_demand_search_use_new_opt_in_flow=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_show_album_art=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_support_dsp_model_tflite_p6=true</item>
<item>device_personalization_services/NowPlaying__ambient_music_use_enhanced_matches_database=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_use_metadata_shards_database=false</item>
<item>device_personalization_services/NowPlaying__ambient_music_use_yt_domain_fife_urls=false</item>
<item>device_personalization_services/NowPlaying__cloud_api_allowed=true</item>
<item>device_personalization_services/NowPlaying__create_shortcut_on_np_enabled=false</item>
<item>device_personalization_services/NowPlaying__default_music_player_setting=false</item>
<item>device_personalization_services/NowPlaying__dsp_model_checksum_enabled=true</item>
<!-- <item>device_personalization_services/NowPlaying__enable_usage_fa=true</item> -->
<item>device_personalization_services/NowPlaying__favorites_enabled=true</item>
@@ -79,6 +97,7 @@
<item>device_personalization_services/NowPlaying__on_demand_hide_if_fingerprinter_install_not_confirmed=true</item>
<item>device_personalization_services/NowPlaying__on_demand_min_supported_aga_version=12.35.17</item>
<item>device_personalization_services/NowPlaying__on_demand_retry_fingerprinter_install=true</item>
<item>device_personalization_services/NowPlaying__shortcut_direct_create_enabled=false</item>
<item>device_personalization_services/NowPlaying__youtube_export_enabled=true</item>
<!-- Adaptive Sound (Pixel 2020) -->
@@ -106,8 +125,10 @@
<item>device_personalization_services/Translate__enable_default_langid_model=true</item>
<item>device_personalization_services/Translate__enable_dictionary_langid_detection=true</item>
<item>device_personalization_services/Translate__enable_opmv4_service=true</item>
<item>device_personalization_services/Translate__enable_settings_backup_restore=false</item>
<item>device_personalization_services/Translate__enable_setup_wizard_dialog_v2=false</item>
<item>device_personalization_services/Translate__enable_spa_setting=false</item>
<item>device_personalization_services/Translate__enable_translate_kit_api_migration=false</item>
<item>device_personalization_services/Translate__interpreter_source_languages=de,en,ja,es,fr,it</item>
<item>device_personalization_services/Translate__interpreter_target_languages=de,en,ja,es,fr,it</item>
<item>device_personalization_services/Translate__replace_auto_translate_copied_text_enabled=true</item>

View File

@@ -74,6 +74,9 @@
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>
<bool name="config_use_tiered_cached_adj">false</bool>
<!-- If device supports pickup/lift gesture -->
<bool name="config_dozePulsePickup">true</bool>
@@ -241,12 +244,6 @@
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
</string-array>
<!-- Should the pinner service pin the Home application? -->
<bool name="config_pinnerHomeApp">true</bool>
<!-- Bytes that the PinnerService will pin for WebView -->
<integer name="config_pinnerWebviewPinBytes">20971520</integer>
<!-- The default intensity level for alarm vibrations. See
Settings.System.ALARM_VIBRATION_INTENSITY more details on the constant values and
meanings. -->
@@ -276,6 +273,9 @@
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
<!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">1024</integer>
<!-- Boolean indicating if restoring network selection should be skipped -->
<!-- The restoring is handled by modem if it is true -->
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
@@ -307,4 +307,11 @@
<!-- Pre-scale volume at volume step 3 for Absolute Volume -->
<fraction name="config_prescaleAbsoluteVolume_index3">100%</fraction>
<!-- Whether to enable usb state update via udc sysfs. -->
<bool name="config_enableUdcSysfsUsbStateUpdate">true</bool>
<!-- Whether desktop mode is supported on the current device -->
<bool name="config_isDesktopModeSupported">true</bool>
</resources>

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2020, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Content description of the data connection type 5G UW. [CHAR LIMIT=NONE] -->
<string name="data_connection_5g_plus" translatable="false">5G UW</string>
</resources>

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2020, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Content description of the data connection type 5G UW. [CHAR LIMIT=NONE] -->
<string name="data_connection_5g_plus" translatable="false">5G UW</string>
</resources>

View File

@@ -1,42 +0,0 @@
//
// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/zuma:device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/zuma:device_google_zuma_license",
],
}
cc_binary {
name: "pixelstats-vendor",
init_rc: ["pixelstats-vendor.zuma.rc"],
srcs: [
"service.cpp",
],
shared_libs: [
"libbase",
"liblog",
"libutils",
"libpixelstats",
],
proprietary: true,
static_libs: ["chre_client"],
header_libs: ["chre_api"],
}

View File

@@ -1,11 +0,0 @@
on property:sys.boot_completed=1
chown system system /sys/class/power_supply/maxfg_base/fg_learning_events
chown system system /sys/class/power_supply/maxfg/fg_learning_events
start vendor.pixelstats_vendor
on post-fs-data
chown system system /sys/kernel/metrics/irq/stats_reset
service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
class hal
user system
group system context_hub readproc
disabled

View File

@@ -1,151 +0,0 @@
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "pixelstats"
#include <android-base/logging.h>
#include <pixelstats/SysfsCollector.h>
#include <pixelstats/UeventListener.h>
#include <thread>
#include <pixelstats/SysfsCollector.h>
#include <pixelstats/UeventListener.h>
using android::hardware::google::pixel::SysfsCollector;
using android::hardware::google::pixel::UeventListener;
#define UFSHC_PATH(filename) "/dev/sys/block/bootdevice/" #filename
#define UFS_ERR_PATH(err_type) UFSHC_PATH(err_stats/) #err_type
const struct SysfsCollector::SysfsPaths sysfs_paths = {
.SlowioReadCntPath = UFSHC_PATH(slowio_read_cnt),
.SlowioWriteCntPath = UFSHC_PATH(slowio_write_cnt),
.SlowioUnmapCntPath = UFSHC_PATH(slowio_unmap_cnt),
.SlowioSyncCntPath = UFSHC_PATH(slowio_sync_cnt),
.CycleCountBinsPath = "/sys/class/power_supply/battery/cycle_counts",
.UFSLifetimeA = UFSHC_PATH(health_descriptor/life_time_estimation_a),
.UFSLifetimeB = UFSHC_PATH(health_descriptor/life_time_estimation_b),
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
.F2fsStatsPath = "/sys/fs/f2fs/",
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
.EEPROMPath = "/dev/battery_history",
.MitigationPath = "/sys/devices/virtual/pmic/mitigation",
.MitigationDurationPath = "/sys/devices/virtual/pmic/mitigation/irq_dur_cnt",
.BrownoutReasonProp = "vendor.brownout_reason",
.BrownoutLogPath = "/data/vendor/mitigation/lastmeal.txt",
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat",
.UFSErrStatsPath = {
UFS_ERR_PATH(pa_err_count),
UFS_ERR_PATH(dl_err_count),
UFS_ERR_PATH(nl_err_count),
UFS_ERR_PATH(tl_err_count),
UFS_ERR_PATH(dme_err_count),
UFS_ERR_PATH(fatal_err_count),
UFS_ERR_PATH(auto_hibern8_err_count)
},
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
.ThermalStatsPaths = {
"/sys/devices/platform/100a0000.BIG/trip_counter",
"/sys/devices/platform/100a0000.MID/trip_counter",
"/sys/devices/platform/100a0000.LITTLE/trip_counter",
"/sys/devices/platform/100b0000.G3D/trip_counter",
"/sys/devices/platform/100b0000.TPU/trip_counter",
"/sys/devices/platform/100b0000.AUR/trip_counter",
},
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
.StormIRQMetricsPath = "/sys/kernel/metrics/irq/storm_irq_metrics",
.IRQStatsResetPath = "/sys/kernel/metrics/irq/stats_reset",
.TempResidencyAndResetPaths = {
{
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats_reset"
},
{
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats",
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset"
}
},
.ModemPcieLinkStatsPath = "/sys/devices/platform/12100000.pcie/link_stats",
.WifiPcieLinkStatsPath = "/sys/devices/platform/13120000.pcie/link_stats",
.DisplayStatsPaths = {
"/sys/devices/platform/exynos-drm/primary-panel/error_count_te",
"/sys/devices/platform/exynos-drm/primary-panel/error_count_unknown",
"/sys/devices/platform/exynos-drm/secondary-panel/error_count_te",
"/sys/devices/platform/exynos-drm/secondary-panel/error_count_unknown",
},
.PDMStatePath = "/sys/devices/platform/audiometrics/pdm_state",
.WavesPath = "/sys/devices/platform/audiometrics/waves",
.AdaptedInfoCountPath = "/sys/devices/platform/audiometrics/adapted_info_active_count",
.AdaptedInfoDurationPath = "/sys/devices/platform/audiometrics/adapted_info_active_duration",
.CCARatePath = "/sys/devices/platform/audiometrics/cca_count_read_once",
.PcmLatencyPath = "/sys/devices/platform/audiometrics/pcm_latency",
.PcmCountPath = "/sys/devices/platform/audiometrics/pcm_count",
.TotalCallCountPath = "/sys/devices/platform/audiometrics/call_count",
.OffloadEffectsIdPath = "/sys/devices/platform/audiometrics/offload_effects_id",
.OffloadEffectsDurationPath = "/sys/devices/platform/audiometrics/offload_effects_duration",
.BluetoothAudioUsagePath = "/sys/devices/platform/audiometrics/bt_usage",
.GMSRPath = {
"/sys/class/power_supply/maxfg/gmsr",
"/sys/class/power_supply/maxfg_base/gmsr",
},
.DisplayPortStatsPaths = {
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/link_negotiation_failures",
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/edid_read_failures",
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/dpcd_read_failures",
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/edid_invalid_failures",
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/sink_count_invalid_failures",
"/sys/devices/platform/exynos-drm/displayport/drm-displayport-stats/link_unstable_failures",
},
.HDCPStatsPaths = {
"/sys/devices/platform/hdcp/hdcp2_success_count",
"/sys/devices/platform/hdcp/hdcp2_fallback_count",
"/sys/devices/platform/hdcp/hdcp2_fail_count",
"/sys/devices/platform/hdcp/hdcp1_success_count",
"/sys/devices/platform/hdcp/hdcp1_fail_count",
"/sys/devices/platform/hdcp/hdcp0_count",
}
};
const struct UeventListener::UeventPaths ueventPaths = {
.AudioUevent = "/devices/virtual/amcs/amcs",
.TypeCPartnerUevent = "PRODUCT_TYPE=",
.FGLearningPath = {
"/sys/class/power_supply/maxfg/fg_learning_events",
"/sys/class/power_supply/maxfg_base/fg_learning_events"
},
.FwUpdatePath = "",
.FGModelLoadingPath = {
"/sys/class/power_supply/maxfg/m5_model_state",
"/sys/class/power_supply/maxfg_base/m5_model_state"
}
};
int main() {
LOG(INFO) << "starting PixelStats";
UeventListener ueventListener(ueventPaths);
std::thread listenThread(&UeventListener::ListenForever, &ueventListener);
listenThread.detach();
SysfsCollector collector(sysfs_paths);
collector.collect(); // This blocks forever.
return 0;
}

View File

@@ -282,7 +282,7 @@ void addSoC(std::shared_ptr<PowerStats> p) {
}
void setEnergyMeter(std::shared_ptr<PowerStats> p) {
std::vector<const std::string> deviceNames { "s2mpg14-odpm", "s2mpg15-odpm" };
std::vector<std::string> deviceNames { "s2mpg14-odpm", "s2mpg15-odpm" };
p->setEnergyMeterDataProvider(std::make_unique<IioEnergyMeterDataProvider>(deviceNames, true));
}

View File

@@ -0,0 +1,9 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
runtime_resource_overlay {
name: "TetheringOverlay",
sdk_version: "current",
product_specific: true
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The Android Open Source Project
<!-- Copyright (C) 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -13,13 +13,15 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Pixel specific factory overlays -->
<!-- Pixel specific tethering overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3.overlay.factory">
package="com.android.networkstack.tethering.overlay"
android:versionCode="1"
android:versionName="1.0">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.launcher3"
android:targetName="favorites"
android:isStatic="true"
android:priority="2"/>
android:targetPackage="com.android.networkstack.tethering"
android:targetName="TetheringConfig"
android:isStatic="true"
android:priority="0" />
</manifest>

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tethering over USB this should
be empty. An example would be "usb.*" -->
<string-array translatable="false" name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
NCM interfaces. If the device doesn't want to support tethering over NCM this should
be empty. -->
<string-array translatable="false" name="config_tether_ncm_regexs">
<item>ncm\\d</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
Wifi P2P interfaces. If the device doesn't want to support tethering over Wifi P2p this
should be empty. An example would be "p2p-p2p\\d-.*" -->
<string-array translatable="false" name="config_tether_wifi_p2p_regexs">
<item>p2p-p2p\\d-.*</item>
<item>p2p\\d</item>
<item>p2p-wlan\\d-.*</item>
</string-array>
<!-- Which USB function should be enabled when TETHERING_USB is requested. 0: RNDIS, 1: NCM.
-->
<integer translatable="false" name="config_tether_usb_functions">1</integer>
</resources>

View File

@@ -1,33 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIFxjCCA66gAwIBAgIURH+ESClecwsP2Et2gQ1RAHxabWcwDQYJKoZIhvcNAQEL
BQAwdDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcT
DU1vdW50YWluIFZpZXcxFDASBgNVBAoTC0dvb2dsZSBJbmMuMRAwDgYDVQQLEwdB
bmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMB4XDTE5MDIyODE5MjIxNloXDTQ5MDIy
ODE5MjIxNlowdDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAU
BgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC0dvb2dsZSBJbmMuMRAwDgYD
VQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMIICIjANBgkqhkiG9w0BAQEF
AAOCAg8AMIICCgKCAgEA5AVOe4SKiCOnR4DQ2V3sIo5LNpGtmdzZ54MnHIrsSX8n
43xtCTpfQWDWnDZFCIHSmR8KAOQ0BNxL8ajtr66gU6tFzD5Vlistwl9P9uUlYWgG
aeyEoOUqtiN2HtsJDpcCLYKOz6oH2c5NeruDp5n/Z49xpXXXLgoOTlsoS65tsTcW
FrcSuuOE40UyFJ+Rwhh1EiXGPvT99gaXNnDq5WIsPNNe39jV7f01lZs/g5iUn4dV
A/DxLMam/CQh7qQkh6qWkDL8koQ21N9xEZYTR8qvGvgz3Zd1yfT0P1HsgJaPXK5F
qb2vLV1NP8KoYIlB2KqadCn+HJjIgH8UIbB+R8o6KuWCYzLb5vPs87HkXG5/Y+GB
7HrCIC+6a8BJ4UUyjUkg/HtBd7GlEixZKLtbcJ3erdfL7uigjCJEqAYDXr2Zes31
898ePcl3YQO5/rHobB7f4w3iF/TwIAAyRRlOceoskCEa/vCbmb7I8HQIJthSNedW
cBiKUneohCtfLT3qS0JUVZewiFRMOVD8mwcZFr4o/UfVslEe8DpBp0WXs/83OeEJ
dtfRc861jdOJ7EIyfDmBX91iWgLCBgv6aXtMvP7CwgZV7y+C+WbbsjYTYSjsNVSA
1uexVPozsSkIjxote0aAiu6+b8LAq9bq2c6Yc6MoldgBqlfcwvFzlKqlm966q6UC
AwEAAaNQME4wDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUuH5K2ov/9L++x+8UhrCD
hNdJm6EwHwYDVR0jBBgwFoAUuH5K2ov/9L++x+8UhrCDhNdJm6EwDQYJKoZIhvcN
AQELBQADggIBAIV1Wx+iwchzxx+ggbWlmJx+oPya2axvj8cgbLGujxI+nmtY2b7U
vzazggubioxJJW7rzemLMDwfKPlfiZkIeQmBe2YJhHiwIPaRAB2juZTfQARsEkd4
qYvcIDui6PbbgitLWOh3lYNDcVe/c8+EwbJuNNSqjPwIZvj2lodTQNI7uUy1ff5h
ytHsznObr/rh+MeJlKKY56JL6VEzsD694iVFxJ7f4FXK5Y0pjqYmGj1krcfMFoxH
PAmj57yf3VVzeGKx5re+5WIMe5K0RZB9IWxfvx1DsxXvzVeaHYW/c6VF7TVT/RUV
+iLtst+1A1RJbeXDu3uLHxPAC44WUb3FQOUKPRP2cIul70ifJSbvu+qLuyfgwltX
yYIeQMSrUw4WK6NMNYaIPgEq1BX4rLUlKxlH4xaNwT5ZCWLTRdWozYP5FFSMdQhh
Ob1Ki81wKmr1f9EkXoW9eGRZBj3tAg90k0qltel30eLpW6gmnNg+la84nyaXfBF3
vQAbaAuW5D3TAMWR/Wl6nHoPItdrXHkyMRvQkzx2ezKz61ZP3uDfEZvMLXR0lle8
s6pTZB3GLS4mY9LFQdDwPlc1xk8yEcdnUAZs+9U6zZF1+FKSgb3UNy81g2DHUMp0
FCBXTy+kLm0LQVYU91kLd+fTkmgkWl4xSyXeV5g3FFuiv9ahl7//vvCG
MIIFxjCCA66gAwIBAgIURH+ESClecwsP2Et2gQ1RAHxabWcwDQYJKoZIhvcNAQELBQAwdDELMAkGA
1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBg
NVBAoTC0dvb2dsZSBJbmMuMRAwDgYDVQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMB4XDTE
5MDIyODE5MjIxNloXDTQ5MDIyODE5MjIxNlowdDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlm
b3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC0dvb2dsZSBJbmMuMRAwDgYDV
QQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCg
KCAgEA5AVOe4SKiCOnR4DQ2V3sIo5LNpGtmdzZ54MnHIrsSX8n43xtCTpfQWDWnDZFCIHSmR8KAOQ
0BNxL8ajtr66gU6tFzD5Vlistwl9P9uUlYWgGaeyEoOUqtiN2HtsJDpcCLYKOz6oH2c5NeruDp5n/
Z49xpXXXLgoOTlsoS65tsTcWFrcSuuOE40UyFJ+Rwhh1EiXGPvT99gaXNnDq5WIsPNNe39jV7f01l
Zs/g5iUn4dVA/DxLMam/CQh7qQkh6qWkDL8koQ21N9xEZYTR8qvGvgz3Zd1yfT0P1HsgJaPXK5Fqb
2vLV1NP8KoYIlB2KqadCn+HJjIgH8UIbB+R8o6KuWCYzLb5vPs87HkXG5/Y+GB7HrCIC+6a8BJ4UU
yjUkg/HtBd7GlEixZKLtbcJ3erdfL7uigjCJEqAYDXr2Zes31898ePcl3YQO5/rHobB7f4w3iF/Tw
IAAyRRlOceoskCEa/vCbmb7I8HQIJthSNedWcBiKUneohCtfLT3qS0JUVZewiFRMOVD8mwcZFr4o/
UfVslEe8DpBp0WXs/83OeEJdtfRc861jdOJ7EIyfDmBX91iWgLCBgv6aXtMvP7CwgZV7y+C+Wbbsj
YTYSjsNVSA1uexVPozsSkIjxote0aAiu6+b8LAq9bq2c6Yc6MoldgBqlfcwvFzlKqlm966q6UCAwE
AAaNQME4wDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUuH5K2ov/9L++x+8UhrCDhNdJm6EwHwYDVR0j
BBgwFoAUuH5K2ov/9L++x+8UhrCDhNdJm6EwDQYJKoZIhvcNAQELBQADggIBAIV1Wx+iwchzxx+gg
bWlmJx+oPya2axvj8cgbLGujxI+nmtY2b7UvzazggubioxJJW7rzemLMDwfKPlfiZkIeQmBe2YJhH
iwIPaRAB2juZTfQARsEkd4qYvcIDui6PbbgitLWOh3lYNDcVe/c8+EwbJuNNSqjPwIZvj2lodTQNI
7uUy1ff5hytHsznObr/rh+MeJlKKY56JL6VEzsD694iVFxJ7f4FXK5Y0pjqYmGj1krcfMFoxHPAmj
57yf3VVzeGKx5re+5WIMe5K0RZB9IWxfvx1DsxXvzVeaHYW/c6VF7TVT/RUV+iLtst+1A1RJbeXDu
3uLHxPAC44WUb3FQOUKPRP2cIul70ifJSbvu+qLuyfgwltXyYIeQMSrUw4WK6NMNYaIPgEq1BX4rL
UlKxlH4xaNwT5ZCWLTRdWozYP5FFSMdQhhOb1Ki81wKmr1f9EkXoW9eGRZBj3tAg90k0qltel30eL
pW6gmnNg+la84nyaXfBF3vQAbaAuW5D3TAMWR/Wl6nHoPItdrXHkyMRvQkzx2ezKz61ZP3uDfEZvM
LXR0lle8s6pTZB3GLS4mY9LFQdDwPlc1xk8yEcdnUAZs+9U6zZF1+FKSgb3UNy81g2DHUMp0FCBXT
y+kLm0LQVYU91kLd+fTkmgkWl4xSyXeV5g3FFuiv9ahl7//vvCG
-----END CERTIFICATE-----

View File

@@ -14,6 +14,7 @@
/vendor/lib(64)?/libGralloc4Wrapper\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/pixel-power-ext-V1-ndk\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/android\.frameworks\.stats-V1-ndk\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/android\.frameworks\.stats-V2-ndk\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libprotobuf-cpp-lite-(\d+\.){2,3}so u:object_r:same_process_hal_file:s0

View File

@@ -64,13 +64,14 @@ genfscon sysfs /devices/platform/google,usbc_port_cooling_dev/cleared_time
genfscon sysfs /devices/platform/google,usbc_port_cooling_dev/hysteresis_time u:object_r:sysfs_usbc_throttling_stats:s0
genfscon sysfs /devices/platform/google,usbc_port_cooling_dev/trip_time u:object_r:sysfs_usbc_throttling_stats:s0
# Coresight ETM
genfscon sysfs /devices/platform/2b840000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2b940000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2ba40000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2bb40000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2bc40000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2bd40000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2be40000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/2bf40000.etm u:object_r:sysfs_devices_cs_etm:s0
# ARM ETE
genfscon sysfs /devices/platform/ete0 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete1 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete2 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete3 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete4 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete5 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete6 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete7 u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/ete8 u:object_r:sysfs_devices_cs_etm:s0

View File

@@ -1,4 +1,6 @@
# Vendor
vendor_internal_prop(vendor_nfc_prop)
vendor_restricted_prop(vendor_nfc_antenna_prop)
vendor_internal_prop(vendor_secure_element_prop)
vendor_internal_prop(vendor_battery_profile_prop)
vendor_internal_prop(vendor_camera_prop)
@@ -6,6 +8,7 @@ vendor_internal_prop(vendor_camera_fatp_prop)
vendor_internal_prop(vendor_ro_sys_default_prop)
vendor_internal_prop(vendor_persist_sys_default_prop)
vendor_internal_prop(vendor_display_prop)
vendor_internal_prop(vendor_persist_prop)
# UWB calibration
system_vendor_config_prop(vendor_uwb_calibration_prop)

View File

@@ -3,6 +3,7 @@ persist.vendor.testing_battery_profile u:object_r:vendor_battery_profile_pro
# NFC
persist.vendor.nfc. u:object_r:vendor_nfc_prop:s0
persist.vendor.nfc.antenna. u:object_r:vendor_nfc_antenna_prop:s0
# SecureElement
persist.vendor.se. u:object_r:vendor_secure_element_prop:s0

View File

@@ -1 +0,0 @@
rlsservice u:object_r:rls_service:s0

View File

@@ -5,6 +5,7 @@ init_daemon_domain(cbd)
set_prop(cbd, vendor_modem_prop)
set_prop(cbd, vendor_cbd_prop)
set_prop(cbd, vendor_rild_prop)
get_prop(cbd, telephony_modem_prop)
allow cbd mnt_vendor_file:dir r_dir_perms;

View File

@@ -1,29 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIFxjCCA66gAwIBAgIUHaTgvNgfCuCnEGvjMtysCgoCclIwDQYJKoZIhvcNAQELBQAwdDELMAkG
A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDAS
BgNVBAoTC0dvb2dsZSBJbmMuMRAwDgYDVQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMB4X
DTE5MDQyMjE0NTcwNVoXDTQ5MDQyMjE0NTcwNVowdDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh
bGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC0dvb2dsZSBJbmMuMRAw
DgYDVQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A
MIICCgKCAgEAwrx6YQqIIvZEULv/1AAF8HR4t0kPnZsgGwoR3SrumpGCNRPjAN8yztJi6fdNZSLn
lj7giXZm16lDTWQ+/bKwuDof5adaRuE7nrf2oVTzRQ3Z1XFcw0400mQ0EHZYTBV6wgl9/K4zepIi
/149Vyy0ynkiB3kmZYCDS6VfOvHHyqxxuKlwF2ry0YILGo3PwaNDiONizpq2RtLNIYseyK6ow5QH
wHtL81n8bc3bIbwJjrKnCef2WDEy8ZaVMyLIYZwYZ3rw4MLQVF5Pqy93RKMfz7ZzJaERlwWsqz01
2Ae1QpP82MBQVMoAUhjFKO3XAlD1592nx1zNzf5kpwGhTEpSWrnVS3UUW3ISBactM/fihmjOot5S
UXidLa0W2FvJuLDn0XL7TnwLU8MOekesKKQQa17ESEGTpSlJP3nw/xccbaYAzXof6yRJ3iJnNsGG
2njAxC9XqxwaaV4PsomfFueqgx0u3wQsPWskTbRgLQK3z/V8+hoTxsrZ4VE23DZ3z4vz4CXn/1Iz
up7Gceun4cBqEYz+leVsc3ML28dsbOmoju910uOeCH28D6aDHRKzsGClj09bUeL/ZpStLEPA1AU+
Nju2Y7rQI1T0l7tWIhKq5W6pPPpZcePNNflLvF72gudEa5v/PQGjWmElXOEMmzpRhqZovaDbcpej
CWu11DeYtfkCAwEAAaNQME4wDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUEdfzOO0hHPuLPlpdLAtl
gtAUNckwHwYDVR0jBBgwFoAUEdfzOO0hHPuLPlpdLAtlgtAUNckwDQYJKoZIhvcNAQELBQADggIB
AHUv2QmPiuvFHmroIn0GztonAEKcHYENCKvC7nDGrj7MedD46Fn7mC1Nej2yuXM8KOkpjapjOA9o
4ggV75R28HDkHP3Ies1xK1TejPGekxfvvLP+RmWFJPiuKaVhwn78BM4IWSSqKA3vh/pZH+OqK8kO
HK1BpFkwvlyira025XGnCPWzBNij9pMqioUpGjz3Pp7cw2iPY1tTlcmYXsCns7AbZ9Z3YNav7Zx6
jku9aJRsdAtW3tfKi4rmuh0VAYVmlp4BmcVkmRKozYn8QKyB/PAhGbDAnIwDzoHsrFvwxpKwMJJs
JFVumvh9JrGq0YvY6R52DzA7+KvWkAMe22JXW70EhSZ8QD5t7WphZ683Hpjf5fWpWXcU/fUqkihi
HPy9ogiNlJ5hYaDMbkKyA2vzsagJorK4V1pXg3gk7D96MOE5wFSROd/WQit8W+4ApkF3DOIjyCEC
KHAZVkcp8nx//hs50GoirtUhLpj4PcYHUg6I2c+Gx/krSOQD/fxuC7PWxE5whIZRBaXIkHWALufR
e7eeFI9peEu/nvn/MjNXyVoUbuQ3Ja4QFt+Ku7+KU+numH8ajBCzaPeu6bxosVNXyiDAxDI+Tfuk
jn37lHw/TQ8athakHqhxg63+nwsbnkyd0S1qPG38ocHqLliPBVz8nntcmUR1PdeFZpvGGlD83sJV
MIIF1TCCA72gAwIBAgIVAPZ4KZV2jpxRBCoVAidCu62l3cDqMA0GCSqGSIb3DQEBCwUAMHsxCzAJB
gNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEg
YDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEXMBUGA1UEAwwOY29tX2dvb2dsZV9
tZHMwHhcNMTkwNDIyMTQ1NzA1WhcNNDkwNDIyMTQ1NzA1WjB7MQswCQYDVQQGEwJVUzETMBEGA1UE
CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLR29vZ2xlIEluY
y4xEDAOBgNVBAsTB0FuZHJvaWQxFzAVBgNVBAMMDmNvbV9nb29nbGVfbWRzMIICIjANBgkqhkiG9w
0BAQEFAAOCAg8AMIICCgKCAgEAqgNC0hhI3NzaPUllJfe01hCTuEpl35D02+DKJ5prPFxv6KGTk6s
kjZOwV87Zf2pyj/cbnv28ioDjwvqMBe4ntFdKtH9gl2tTAVl69HMKXF4Iny/wnrt2mxzhWxFUd5Pu
W+mWug+UQw/NGUuaf5d/yys/RrchHKM1+zBV6aOzH6BXiwDoOF2i43d5GlNQ/tFuMySWLJftJN0QU
LFelxNDFFJZhw2P3c4opxjmF2yCoIiDfBEIhTZFKUbHX6YDLXmtUpXl35q+cxK4TCxPURyzwdfiyh
eF3TTxagfzhvXNg/ifrY67S4qCGfzoEMPxrTz02gS0u3D6r/2+hl9vAJChLKDNdIs6TqIw+YnABrE
LiZLLFnaABnjQ7xC3xv1s3W6dWxaxnoVMtC1YvdgwhC5gSpJ4A+AGcCLv96hoeB1IIoGV9Yt0Z97M
FpXeHFpAxFZ1F9feBqwOCDbu50dmdKZvqGHZ4Ts3uy7ukDQ08dquHpT+NmqkmmW5GGhkuyZS3HHpU
/QeVsZiyJCJBbDe5lz6NGXK56ruuF9ILeGHtldjQm40oYRc01ESScyVjSU0kpMOC7hn1B7rKAm8xx
G7eH04ieQrNnbbee7atOO4C3157W5CqujfLMeo6OCRVtcYkYIuSi8hIPNySu/qOaEtEP4owVNZR0H
6mCHy5pANsyBofMkCAwEAAaNQME4wDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQUgk8pmLx8yP3RILwR
5am1G10PBEowHwYDVR0jBBgwFoAUgk8pmLx8yP3RILwR5am1G10PBEowDQYJKoZIhvcNAQELBQADg
gIBAC9iQ1huo6CzjcsB1IIw3WYPYVfHtvG7fiB49QO6cjth8fxM36YOxnMzK9Zh89cnFx7BeXG4Md
bR3lAWO+wTbEpM/5azAQfqHB/ZEEAo1THtqS58C1bTwJ5zxkA+wL/x1ucTEV0QZtPHC1K5nIV5FuI
CiJjui5FHfj2HYu2A5a5729rdZ7sL8Vgx6TUFKpEPs5iCrlx5X/E+/wJaDM5iIjVvrGJJq0VWHHeD
JEE+Sw1CDxWYRzvu1WvCvhk149hf4LlfrR0A5t8QJRGx0WwF10DLGgJx7epMBpzhMIXc529FTIx4R
x2PcufjTZC9EN7PkLgVfYahWEkt/YIfV/0F6U6viLxdNC5O0pimSV57vT6HIthX1OC34eZca0cPqH
1kOuhRDKOhbP4yIgdYX6knpvw8aXsYcyTfAmDyrt0EWffeBPedaxMoxfijdlsBQUymviUQ8qBbfl1
Ew9VoC+VEsiobK7Ubog0IK+82LQ7FOLMoNYnhk5wJ63i1kVvBVAgH64PMME2KG//BwYFfKK6jUXib
abyNke72+1Jr0xpw1BHJPxNJ8Q8yCBLF0wmXmFJSM+9lSDd10BniFJeMFMQ0T1Sf8GUSIxYYbMK5p
DguRs+JOYkUID02ylJ3L6GAnxXCjGWzpdxw29/WWJc+qsYFEIbPkKzTUNQHaaLHmcLK22Ht
-----END CERTIFICATE-----

View File

@@ -0,0 +1,60 @@
type copy_efs_files_to_data, domain;
type copy_efs_files_to_data_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(copy_efs_files_to_data);
# Allow creating files on /data/vendor/copied
allow copy_efs_files_to_data modem_efs_image_file:dir { create_dir_perms };
allow copy_efs_files_to_data modem_efs_image_file:file { create_file_perms };
allow copy_efs_files_to_data modem_efs_image_file:lnk_file { create_file_perms };
# Allow execute binaries from /vendor/bin
allow copy_efs_files_to_data vendor_toolbox_exec:file rx_file_perms;
allow copy_efs_files_to_data vendor_shell_exec:file rx_file_perms;
# Allow execute /vendor/bin/dump.f2fs
allow copy_efs_files_to_data vendor_file:file { getattr execute_no_trans };
# Allow execute dump.f2fs to dump files from /dev/block/by-name/efs
allow copy_efs_files_to_data block_device:dir search;
allow copy_efs_files_to_data efs_block_device:blk_file r_file_perms;
allow copy_efs_files_to_data modem_userdata_block_device:blk_file r_file_perms;
allow copy_efs_files_to_data persist_block_device:blk_file r_file_perms;
# Allow checking if /data/vendor/copied/[efs/efs_backup/persist] exist
allow copy_efs_files_to_data modem_efs_file:dir getattr;
allow copy_efs_files_to_data modem_userdata_file:dir getattr;
allow copy_efs_files_to_data persist_file:dir getattr;
allow copy_efs_files_to_data sysfs_scsi_devices_0000:dir r_dir_perms;
allow copy_efs_files_to_data sysfs_scsi_devices_0000:file r_file_perms;
# dump.f2fs need to restore file permissions after dumping
# files from an f2fs image
allow copy_efs_files_to_data self:capability chown;
allow copy_efs_files_to_data self:capability fowner;
allow copy_efs_files_to_data kmsg_debug_device:chr_file { w_file_perms ioctl getattr };
# Should not write to any block devices. Only read from block device
# and dump files to /data/vendor/copied
dontaudit copy_efs_files_to_data dev_type:blk_file write;
# Setting xattr requires sys_admin
dontaudit copy_efs_files_to_data self:capability sys_admin;
# dump.f2fs would attempt to restore selinux on dumped files, but we
# will use restorecon to do the job.
dontaudit copy_efs_files_to_data modem_efs_image_file:dir relabelfrom;
dontaudit copy_efs_files_to_data modem_efs_image_file:file relabelfrom;
dontaudit copy_efs_files_to_data modem_efs_file:dir relabelto;
dontaudit copy_efs_files_to_data modem_efs_file:file relabelto;
dontaudit copy_efs_files_to_data modem_userdata_file:dir relabelto;
dontaudit copy_efs_files_to_data modem_userdata_file:file relabelto;
dontaudit copy_efs_files_to_data vendor_persist_type:dir relabelto;
dontaudit copy_efs_files_to_data vendor_persist_type:file relabelto;

View File

@@ -1,4 +1,4 @@
# radio
type modem_block_device, dev_type;
type vendor_gnss_device, dev_type;
type modem_userdata_block_device, dev_type;
type efs_block_device, dev_type;

View File

@@ -1,5 +1,6 @@
# Data
type rild_vendor_data_file, file_type, data_file_type;
type modem_efs_image_file, file_type, data_file_type;
type vendor_gps_file, file_type, data_file_type;
type modem_ml_data_file, file_type, data_file_type;
type modem_stat_data_file, file_type, data_file_type;

View File

@@ -3,15 +3,14 @@
/vendor/bin/bipchmgr u:object_r:bipchmgr_exec:s0
/vendor/bin/vcd u:object_r:vcd_exec:s0
/vendor/bin/dmd u:object_r:dmd_exec:s0
/vendor/bin/sced u:object_r:sced_exec:s0
/vendor/bin/rfsd u:object_r:rfsd_exec:s0
/vendor/bin/modem_logging_control u:object_r:modem_logging_control_exec:s0
/vendor/bin/modem_svc_sit u:object_r:modem_svc_sit_exec:s0
/vendor/bin/modem_ml_svc_sit u:object_r:modem_ml_svc_sit_exec:s0
/vendor/bin/cbd u:object_r:cbd_exec:s0
/vendor/bin/hw/rild_exynos u:object_r:rild_exec:s0
/vendor/bin/hw/vendor\.google\.radioext@1\.0-service u:object_r:hal_radioext_default_exec:s0
/vendor/bin/liboemservice_proxy_default u:object_r:liboemservice_proxy_default_exec:s0
/vendor/bin/copy_efs_files_to_data u:object_r:copy_efs_files_to_data_exec:s0
# Config files
/vendor/etc/modem_ml_models\.conf u:object_r:modem_config_file:s0
@@ -23,6 +22,7 @@
/data/vendor/modem_ml(/.*)? u:object_r:modem_ml_data_file:s0
/data/vendor/modem_stat(/.*)? u:object_r:modem_stat_data_file:s0
/data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0
/data/vendor/copied(/.*)? u:object_r:modem_efs_image_file:s0
# vendor extra images
/mnt/vendor/efs(/.*)? u:object_r:modem_efs_file:s0

View File

@@ -17,3 +17,5 @@ binder_call(grilservice_app, hal_wifi_ext)
binder_call(grilservice_app, hal_audiometricext_default)
binder_call(grilservice_app, rild)
hal_client_domain(grilservice_app, hal_power_stats)
set_prop(grilservice_app, vendor_logger_prop)
set_prop(grilservice_app, vendor_modem_prop)

View File

@@ -4,6 +4,7 @@ init_daemon_domain(hal_radioext_default)
hwbinder_use(hal_radioext_default)
get_prop(hal_radioext_default, hwservicemanager_prop)
set_prop(hal_radioext_default, vendor_gril_prop)
add_hwservice(hal_radioext_default, hal_radioext_hwservice)
binder_call(hal_radioext_default, servicemanager)

View File

@@ -7,6 +7,8 @@ allow modem_diagnostic_app app_api_service:service_manager find;
allow modem_diagnostic_app radio_service:service_manager find;
userdebug_or_eng(`
allow modem_diagnostic_app sysfs_modem_state:file r_file_perms;
hal_client_domain(modem_diagnostic_app, hal_power_stats);
allow modem_diagnostic_app hal_exynos_rild_hwservice:hwservice_manager find;

View File

@@ -1,3 +1,4 @@
# Selinux rule for modem_svc_sit daemon
type modem_svc_sit, domain;
type modem_svc_sit_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(modem_svc_sit)
@@ -20,7 +21,7 @@ allow modem_svc_sit modem_stat_data_file:file create_file_perms;
allow modem_svc_sit vendor_fw_file:dir search;
allow modem_svc_sit vendor_fw_file:file r_file_perms;
allow modem_svc_sit mnt_vendor_file:dir search;
allow modem_svc_sit mnt_vendor_file:dir r_dir_perms;
allow modem_svc_sit modem_userdata_file:dir create_dir_perms;
allow modem_svc_sit modem_userdata_file:file create_file_perms;
@@ -36,3 +37,16 @@ get_prop(modem_svc_sit, hwservicemanager_prop)
# logging property
get_prop(modem_svc_sit, vendor_logger_prop)
# Write trace data to the Perfetto traced daemon. This requires connecting to
# its producer socket and obtaining a (per-process) tmpfs fd.
perfetto_producer(modem_svc_sit)
# Allow modem_svc_sit to access modem image file/dir
allow modem_svc_sit modem_img_file:dir r_dir_perms;
allow modem_svc_sit modem_img_file:file r_file_perms;
allow modem_svc_sit modem_img_file:lnk_file r_file_perms;
# Allow modem_svc_sit to access socket for UMI
allow modem_svc_sit radio_vendor_data_file:sock_file { create unlink write };

View File

@@ -6,6 +6,7 @@ vendor_internal_prop(vendor_persist_config_default_prop)
vendor_internal_prop(vendor_diag_prop)
vendor_internal_prop(vendor_modem_prop)
vendor_internal_prop(vendor_rild_prop)
vendor_internal_prop(vendor_gril_prop)
vendor_internal_prop(vendor_ssrdump_prop)
vendor_internal_prop(vendor_wifi_version)
vendor_internal_prop(vendor_imssvc_prop)

View File

@@ -38,6 +38,9 @@ vendor.sys.rild_reset u:object_r:vendor_rild_prop:s0
persist.vendor.radio. u:object_r:vendor_rild_prop:s0
ro.vendor.config.build_carrier u:object_r:vendor_carrier_prop:s0
# for GRIL
vendor.gril. u:object_r:vendor_gril_prop:s0
# SSR Detector
vendor.debug.ssrdump. u:object_r:vendor_ssrdump_prop:s0
persist.vendor.sys.ssr. u:object_r:vendor_ssrdump_prop:s0

View File

@@ -29,6 +29,7 @@ allow rfsd radio_device:chr_file rw_file_perms;
# Allow to set rild and modem property
set_prop(rfsd, vendor_modem_prop)
set_prop(rfsd, vendor_rild_prop)
set_prop(rfsd, vendor_cbd_prop)
# Allow rfsd to access modem image file/dir
allow rfsd modem_img_file:dir r_dir_perms;

Some files were not shown because too many files have changed in this diff Show More