23 Commits

Author SHA1 Message Date
Michael Bestas
0e948f4412 Android 14.0.0 Release 50 (AP2A.240605.024)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmgAKCRDorT+BmrEO
 eJDEAJ0YGatrj3lBqOKazrdp0XDE1LC14wCaAkRV/x5bLTHYRicXhZkOglIUZRE=
 =2XY/
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmZt6s0XHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmmePA//ZNBvPbKMhNdrmTca0vk8rcUP
 4VtWs8EKsun2eQglORs9XN99X2JxZTbRlF6e0Cr5U3iTfrYm6ePN67hQ1LSXi4FO
 o64SwpkomX5JERk4d8PvrooawnX0pKWjACHDe8jHMcTDMW2tzwjlNcH7B+suCe9R
 VS65ioTpncMS4wtZq95/Vqt+qziOG/DXYKFWR1FRAV2hztINvaDSsBULSo0TTJkh
 ddYyRD6khQeNEtTsFXkMwqohy+R08JUGJF8s9zhX8yy1s/Dc9rdwDwu2v5/TOnwO
 e4ArmbSlUQuoIXkkZaFdyN7L8r9Vu+ymLyhbj15ijStsV4a+4Rvr/0BQd9EK5HNx
 LFjppnV1ac2uldPwmrsxl0PGgd4hmBPwgwISM25U01eXMXlgieqPXfMh21DZxm3T
 TIBSs/HbayNq9hqsI51BDWeg86hxYl4XlTfr+NEGUlQ8Kd8cgftUsGageakyBJQ2
 GRh1XPzT/NTYQIy+4sugUUVtu0qulx/fd5FkuR4ZcRsFa+SUeOS4VYb7/f3Abug+
 6GPNvQIXlmjXfm5xIKPGzprrD7kZlbKKoVKMaUy/3SXK4v3BPtdR6gZvMnLcRS8i
 EHYqLzkYAcy2eG7S1jekMPxNfXndBsZNZvIWRPZ3PLvw1Kfp0M6wFF/g2p7by/ea
 SAwXetsyQ+XxXmVV/kU=
 =R8pQ
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r50' into staging/lineage-21_merge-android-14.0.0_r50

Android 14.0.0 Release 50 (AP2A.240605.024)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmgAKCRDorT+BmrEO
# eJDEAJ0YGatrj3lBqOKazrdp0XDE1LC14wCaAkRV/x5bLTHYRicXhZkOglIUZRE=
# =2XY/
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 11 00:43:54 2024 EEST
# 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 2542 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Lei Ju (5) and others
# Via Android Build Coastguard Worker (41) and others
* tag 'android-14.0.0_r50': (59 commits)
  [Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet
  Revert "Add betterbug folder to gs-common"
  gps: add policy for partial reset feature
  dumpstate: thermal: update thermal dump script path
  Add betterbug folder to gs-common
  Add PRODUCT_MODULE_BUILD_FROM_SOURCE to fullmte
  Add OWNERS for gs-common/mte.
  Revert "Move sepolicy files from hardware/google/pixel-sepolicy."
  gs-common:thermal: Add thermal owner file
  Move sepolicy files from hardware/google/pixel-sepolicy.
  Allow gnssd set gps property
  gps: Enable Pixel GNSS HAL
  audio: add file_contexts of /dev/acd-mc_headpos
  [Gyotaku] Add the access /data/vendor/gyotaku sepolicy for gyotaku_app domain
  [Gyotaku] Add the dumpLog for gyotaku app
  Give EdgeTpu access to vendor_pcs_app
  Add Gralloc Flags
  Enable MTE workaround for b/324412910
  Set ro.audio.ihaladaptervendorextension_enabled property
  Update policy for ECOService switch to NDK binder
  ...

 Conflicts:
	aoc/aoc.mk
	dauntless/gsc.mk

Change-Id: I38c8a407d90fff523c02a4ebb3b129ed602ebe0c
2024-06-15 22:26:04 +03:00
Michael Bestas
682713dca6
fixup! Disable userdebug diagnostics
Change-Id: Ied3208234e16a8b6939e192e4b2f39d589f7a6a7
2024-04-24 20:03:50 +03:00
Michael Bestas
2e79d80e69 Android 14.0.0 release 29
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWyQAKCRDorT+BmrEO
 eEhlAJ9z+0PuxsobmnGcd76nipBxryfkggCfUbqZG8SEc5zTFPwJdlLvVCWj5Ng=
 =4EhT
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmXtRUoXHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmkrMg/+PZvyDLYO+X/STW0+fMjK4VPl
 AOlHbBo5k3jhUbDiSijw5MqXf/HOpndxk5ckapEs3WgoXsQConKUF5hHrT0fdGgk
 h2YmJEtaRYTpBmfFPtRTAmrQ8ECCnkpq9MEM02C95z1GiiftuwpBeTmI7r9rQADo
 WmRKl9xX5+MMrIfg7TbQv4lqm/g9ygQfPvkpStJdMxs+YcWG74DDP0mqyFOsQqNS
 Qvjsgw6q26vZBtqaIxfS5SP3dfLzNbD8VD68l4gxtOYy0aqbMFy3/a+uGLYAnY9a
 nPTZ6mnvQdB+8dtpN0bJEARiJ6g/4vPVeLdpcz6VT0V9i6gCp6btNAE8l4RlCjws
 gj3btdHfowYa3JIRi057MyEN0OuvCuslspc2C+GYpB5ybLbGqgYL7RFO/Og8gMxo
 tH72u2gbi6V/7ljyxn0K6ZFpb7BU4yya8wtrkNn/ZfEURyeoqSxJCUgUw0Zv11qt
 ln38tHpGFOsVkB9rN30GsnQjUA+AXTKegRfayCW7XjVUL07RkMoWJXqNINjQDS7/
 JxAe8Zv5DfXAkKccK+bRWIrfCfjyFixFHmQfqXakLPvamOrtzuadvgO9HQnkVOXb
 cDXJcpBEj5ca+wxmQ6NaCM0btb3iV1Lf88kYo0wOyGxxbd6FnrAHTVxB1ZuRCxr6
 t/tx6n3o/CJ4ueaGy3Y=
 =URDA
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29

Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWyQAKCRDorT+BmrEO
# eEhlAJ9z+0PuxsobmnGcd76nipBxryfkggCfUbqZG8SEc5zTFPwJdlLvVCWj5Ng=
# =4EhT
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:33 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 2371 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Adam Shih (14) and others
# Via Automerger Merge Worker (832) and others
* tag 'android-14.0.0_r29': (122 commits)
  Dumpstate: Remove heap stats
  aoc: add policy to read system property
  dumpstate: add logbuffer support for display
  powerstats: introduce TpuDvfsStateResidencyDataProvider
  [GABC][FATP] Added ProtoCalibGenerator to PRODUCT_PACKAGES_DEBUG
  gs-common: bootctrl: integrate blowAR() for gs101 & zuma
  gs-common: bootctrl: check both properties in setActiveBootSlot
  gs-common: move sepolicy related to bootctrl hal hidl 1.2 to gs-common
  gs-common: create bootctrl_hidl_1.2.mk and include related modules
  gs-common: move bootctrl hal hidl 1.2 implementation to gs-common
  audio: allow hal_audio_default to allocate graphic buffer
  gs-common: move sepolicy related to bootctrl hal aidl to gs-common
  gs-common: create bootctrl_aidl.mk and include related modules
  gs-common: move bootctrl hal aidl implementation to gs-common
  gs-common: add device_google_gs-common_license
  bm: Avoid to use CDT number
  Revert "gs-common: add device_google_gs-common_license"
  Revert "gs-common: move bootctrl hal aidl implementation to gs-c..."
  Revert "gs-common: create bootctrl_aidl.mk and include related m..."
  Revert "gs-common: move sepolicy related to bootctrl hal aidl to..."
  ...

 Conflicts:
	gxp/dump.mk
	soc/soc.mk

Change-Id: Ib2f0bc9419bac6110933855dc90cf2c8a0d5cf15
2024-03-10 07:29:44 +02:00
Qais Yousef
bebef42dbd init.storage.rc: Set rq_affinity to 2
When rq_affinity is 1, it will default to servicing the softirq on the
same CPU that has serviced the interrupt.

By setting it to 2, completions are processed by the CPU core that
submitted the I/O.

Bug: 311655524
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I21421f97f069083793fe2e2fa51739dac12eca1d
2023-12-21 19:04:11 +00:00
Jaegeuk Kim
911292ecca Storage: clean up init.rc for storage
Bug: 311655524
Change-Id: Ic08d6cd42f90c2c6b697077d63fea6a2454f1cc1
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 11:22:41 -08:00
Michael Bestas
e91a9c1b48 Android 14.0.0 Release 17 (UQ1A.231205.015)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
 eJvKAJ9PWdJlNAjVuLmxYCBDL1v6sV+eBwCcDWY8ZehEPSPmL4qYBR7mHIuA/gE=
 =a4OH
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmV2HB4XHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmkrTRAAmlBLUyYgqDIv7OPO+tqB7nvK
 TJXpHxK2F4zJWkHtkXU1j2K9qeVZhF2msDt9nh3ga5NM08NDS4f5feZLETysVKB+
 l7UgaKj40/eQjpxTqT0H0b43EkTDEGlKprsjYVpvSPal1ar3PHLoMDR1kvWamRYI
 9TpdUhjpMuqfZwst/Sjc/GPKdEh8iykU3AYfcZlldXHYuqAqL66pn0o4IVKZ9HLs
 XwDFsehDVhcfLfO6i4eT1CyUltZTnuSBqZqKG2fKX8KNF3uF/ySCpeVRV3jd9eaV
 7r0lNvsNOiXChq6XhAZl7tfjZUOu78LLJApVudfAFdGdZIqjzqozZQ2FzQYmC3Sw
 yLqxAMZ8czQN0ml+C+VQB8we92KCsBwwjezPxzXSTDLkzUMnFnTwMJ34mDLgzuqm
 CWhb58Sg7Tbawpr3BODWMPNJOKllofQ2Fjbn5u67vOCrfOYuFSkJzqlhFfQnN2Xk
 6SWq8wfxtBCsyXOce4FjzFGTf7BNHeuJ3NCQX5hOdPfx1RL//oQDstT3gntEFoiY
 B/XNsFXfRNVRmzfzim5EnsN4G8EATdq5y/e01wRoPB40JDQN4M7ekP4ZdGwmMy6W
 yuLXlnzaYwwy08efkUms0P2CLqaYNC2YLs//OXGyDQjDY65mQIzXxEiuSymNnONv
 C9naJ/0jgKueuv+k7WY=
 =ZsGR
 -----END PGP SIGNATURE-----

Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17

Android 14.0.0 Release 17 (UQ1A.231205.015)

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

# By Utku Utkan (13) and others
# Via Automerger Merge Worker (138) and others
* tag 'android-14.0.0_r17': (90 commits)
  Revert "Add radio_ext aidl to compatibility matrix"
  Add radio_ext aidl to compatibility matrix
  [SELinux] Add gyotaku_app doamin to gs-common.
  Add missing node_bind permission to SEPolicy.
  touch: Set permissions for interactive_calibration
  Configure SEPolicy to allow PCS to open and use socket connections.
  [SE Policy] Update CCA path and fix wrong directory in call_count
  audio: add radio sepolicy for hidl/aidl
  sepolicy: add permission for call count of pixelstats-vend.
  sepolicy: fix avc denied for sysfs_wakeup
  update gps sdk 147.20.23.576859
  Add SEPolicy config for PCS to act as a media app
  Allow Pixel Camera Services to bind to Lyric for callbacks
  refactor and merge gps build system
  storage: turn off pixel storage debugging code on user builds
  Add new label for stats_reset
  Disable armnn nnapi backend
  Add SePolicy allowances for ICameraIdRemapper
  Associate vendor_pcs_app with PCS services
  update gps sdk 147.20.23.576052
  ...

 Conflicts:
	battery_mitigation/bcl.mk
	gps/brcm/device.mk
	gps/brcm/device_v2.mk
	gps/brcm/prebuilt/SensorHub_A0.patch
	gps/brcm/prebuilt/SensorHub_DebugBuild_A0.patch
	gps/brcm/prebuilt/android.hardware.gnss@2.1-service-brcm
	gps/brcm/prebuilt/flp.default.so
	gps/brcm/prebuilt/gps.default.so
	gps/brcm/prebuilt/gpsd
	gps/brcm/prebuilt/lhd
	gps/brcm/prebuilt/scd

Change-Id: Ifb4df5be2d669d6cf0fa7d652f53561743e0e442
2023-12-10 22:13:38 +02:00
Randall Huang
b2f0956771 Move sg_device related policy
Bug: 312582937
Test: make selinux_policy
Change-Id: Ic71e4eb53e22b24651e76e2d480d34affa01460b
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-11-22 14:35:02 +08:00
Randall Huang
c299df119e storage: dump UFS error history when capturing bugreport
Bug: 264001741
Test: capture bugreport
Change-Id: Ie910377c6378240188ff09b2a686efb02b2ac972
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-10-23 06:59:04 +00:00
Michael Bestas
c2cc4f62f9
Disable userdebug diagnostics
Change-Id: Icbdc3a61ab7b27f2aa0a6a07181b96edd9ee191a
2023-10-19 02:18:37 +03:00
Randall Huang
4bc0db5369 storage: turn off pixel storage debugging code on user builds
The debugging code introduces too much performance overhead for random I/O operations.
Only enable the debugging feature on non-user builds.

Bug: 284231590
Test: boot device
Change-Id: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Merged-In: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-08-10 02:23:46 +00:00
Randall Huang
cd8e622678 storage: turn off pixel storage debugging code on user builds
The debugging code introduces too much performance overhead for random I/O operations.
Only enable the debugging feature on non-user builds.

Bug: 284231590
Test: boot device
Change-Id: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-08-07 23:37:06 +00:00
Randall Huang
a5949cd099 Storage: refactor dump_storage
Bug: 287884851
Test: run bugreport
Change-Id: I126f363b741616690b8e5e3b8fe522da7cd5c2ca
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-08-02 10:21:03 +08:00
Randall Huang
f55b2ffc2e storage: add fastbootd sepolicy
We need to format the /metadata partition in fastbootd mode.
This CL aims to include the necessary SELinux rules.

Bug: 264489957
Test: rom flashing
Change-Id: Ib94dbcb580c0a16395b48b8eeef6e431a637d235
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-04-20 09:08:07 +00:00
Randall Huang
30ae41260a Storage: refactor sg_utils build rule
Bug: 264001741
Test: build
Change-Id: I9c575d8c5d12837cf14d76cf70c384a474502434
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-04-18 15:04:52 +08:00
Adam Shih
6b829b78a2 move dumpstate.te to sepolicy
Bug: 261933169
Test: adb bugreport
Change-Id: Id0c35f4c3d2dcf58b011418b3fc61effc9c72f0f
2023-03-16 10:10:32 +08:00
TreeHugger Robot
adefb37275 Merge "Storage: fix init avc denials" 2023-02-14 22:51:57 +00:00
Randall Huang
0d862845c4 Storage: fix init avc denials
Bug: 262794360
Test: boot to home
Change-Id: Ic99d1430f7d4a9a449598152f51327ac13d192f1
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 16:25:54 +08:00
Randall Huang
e9c9e8f03a storage: fix dumpstate avc denials
Bug: 261933169
Test: no avc denial when generating bugreport
Change-Id: Icaa0749bd8ca6121774058fa459fef3ae1400e07
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 07:14:22 +00:00
TreeHugger Robot
36c8260f6f Merge "Storage: fix hal_health_storage_default selinux error" 2023-02-14 04:14:24 +00:00
Randall Huang
e20414a2d6 Storage: fix hal_health_storage_default selinux error
Bug: 264490032
Test: atest VtsHalHealthStorageTargetTest
Change-Id: I953e9425f890863d2cdd10aed1efbdc1e31845c9
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 02:46:13 +00:00
Randall Huang
4e59f9be6e storage: fix vold selinux error
Bug: 264483567
Test: boot to home
Change-Id: I015cf889fb84d6029aa1eb492949553f3ab528a9
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 00:44:01 +00:00
Adam Shih
708d25e824 move UFS dump to gs-common
Bug: 248143736
Test: adb bugreport
Change-Id: I029389807c915713545766ad11671bc0715ec67f
2022-09-28 13:16:25 +08:00
Adam Shih
262892227c dump f2fs in gs-common
Bug: 248143736
Test: adb bugreport
Change-Id: Ifcd0b3aaa017d106530c58a1ce2b56d77af1b12d
2022-09-23 14:01:11 +08:00