23 Commits

Author SHA1 Message Date
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
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
Michael Bestas
c2cc4f62f9
Disable userdebug diagnostics
Change-Id: Icbdc3a61ab7b27f2aa0a6a07181b96edd9ee191a
2023-10-19 02:18:37 +03:00
Adam Shih
f99af5651b Change bash script to C++ implementation
Bug: 287884860
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_memory
Change-Id: Ifd6e7b19d1aaa8ca4e9d5b50902d4283dee9dffb
2023-07-19 13:20:59 +08:00
Minchan Kim
17e41146a4 dump vendor cma stat am: caf0f59fab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529613

Change-Id: I3acd855abfe8ee24a5974207b497c7a3396cb355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:16 +00:00
Minchan Kim
9fe01ca770 dump pixel trace into dumpstate_board.txt am: 2a651114fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529612

Change-Id: I64a802551c413d12ad48b80a9c5c7f53a1e171f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:12 +00:00
Minchan Kim
23658cc0e2 dump cma debugfs into dumpstate_board.txt am: 6c81eeca82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529611

Change-Id: I145fa1f997ffb8e9e90d1cabcc8078f2b05eba50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:08 +00:00
Minchan Kim
d695213874 dump vendor cma stat am: caf0f59fab am: 1ae20ed75a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529613

Change-Id: I24640dccfc38d6349306afcfd46e7cc01bb6b029
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:17:47 +00:00
Minchan Kim
05cfceeb5c dump pixel trace into dumpstate_board.txt am: 2a651114fe am: 50fd401a75
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529612

Change-Id: Id0d851cb6b6cf7fc6d1e2fff14821a6dd5ecc3a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:17:45 +00:00
Minchan Kim
8fef2ee10a dump cma debugfs into dumpstate_board.txt am: 6c81eeca82 am: 15cd6f8d5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529611

Change-Id: I20d66c32661d0c59020c65f31992952cfd10ae3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:17:37 +00:00
Minchan Kim
caf0f59fab dump vendor cma stat
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Iaef36594a8ef48b0c85039f348618f021f93e8c2
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:36:56 +00:00
Minchan Kim
2a651114fe dump pixel trace into dumpstate_board.txt
Dump cma allocation/deallocation traces into dumpstate_board.txt.

E.g.)

 android.hardwar-3427    [004] ....    15.196059: cma_alloc_start: name=faceauth_tpu count=256 align=8
 android.hardwar-3427    [004] ....    15.196189: cma_alloc_info: name=faceauth_tpu pfn=0x9f4200 count=256 align=8 nr_migrated=0 nr_reclaimed=0 nr_mapped=0 err_iso=0 err_mig=0 err_test=0
    binder:578_1-592     [003] ....    15.209400: cma_alloc_start: name=farawimg count=704 align=4
    binder:578_1-592     [003] ....    15.210344: cma_alloc_info: name=farawimg pfn=0x9e83c0 count=704 align=4 nr_migrated=0 nr_reclaimed=0 nr_mapped=0 err_iso=0 err_mig=0 err_test=0
   binder:1114_4-3420    [001] ....    15.259132: cma_release: name=faceauth_tpu pfn=9f4000 page=000000002e4bd17f count=16
   binder:1114_4-3420    [001] ....    15.259143: cma_release: name=faceauth_tpu pfn=9f4010 page=000000008e379085 count=16
   binder:1114_4-3420    [001] ....    15.259148: cma_release: name=faceauth_tpu pfn=9f4020 page=00000000161dc38b count=16
   binder:1114_4-3420    [001] ....    15.259152: cma_release: name=faceauth_tpu pfn=9f4030 page=000000001d3eb567 count=16
   binder:1114_4-3420    [001] ....    15.259157: cma_release: name=faceauth_tpu pfn=9f4040 page=00000000f7f6dc70 count=16

Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: If64c066eca59d6bba75e0494cd22108d619ad6f8
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:36:56 +00:00
Minchan Kim
6c81eeca82 dump cma debugfs into dumpstate_board.txt
CMA debugfs provides how many CMA pages were allocated. It's useful to
detect CMA memory leak.

E.g) --- /sys/kernel/debug/cma/cma-faceauth_tp

Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Ic050c78ff6455a2960be239732ab6214c3789106
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:35:56 +00:00
TreeHugger Robot
1748e7638d Merge "soc: add packet information and dvfs_version to bugreport" into udc-d1-dev 2023-03-24 01:40:17 +00:00
Ray Hsu
26dd5cd90c soc: add packet information and dvfs_version to bugreport
We could find SoC packet information and dvfs_version from the
bugreport after applying this patch.

Bug: 274570190
Test: build pass, dump_soc and check bugreport
Change-Id: Iad466fa3a5c68ae4b3500bce97e52c8163228520
2023-03-23 09:43:38 +00:00
Kyle Lin
1f1dfc6a58 devfreq: Refine the dump of devfreq
- switch from time_in_state to trans_state
- support BO and BW at the sametime
- Add BCI and DSU

Bug: 273511134
Test: build, boot and dump the BRs
Change-Id: Id8ae361da14747b9329e69044142def912d98500
2023-03-21 10:04:08 +08:00
Adam Shih
78cc2c0eb1 add missing context setting
Bug: 273380509
Test: adb bugreport
Change-Id: Id3df499e86c4455a3a0526cb433d00cbe330725b
2023-03-14 10:50:38 +08:00
Adam Shih
872e477e9f create device frequency dump
Bug: 240530709
Test: adb bugreport
Change-Id: I8db76f46e9e304b1d861c1d6b8ab031611c25e7e
2023-02-15 11:14:37 +08:00
Adam Shih
2349e899e7 create memory dump
Bug: 240530709
Test: adb bugreport
Change-Id: Icdd62b1ff1d7a80d089c795bcf2ec0baa81905a4
2023-02-14 11:24:50 +08:00
Adam Shih
7fbb67dd18 move dump cpu to gs-common
After this patch, cpu and soc dump in total on ROM P45537572(panther) took:
------ Section end: dump_soc ------
Elapsed msec: 12

While previous cpu dump on ROM 9386726(panther) took:
------ Section end: cpu ------
Elapsed msec: 1445

Bug: 240530709
Test: adb bugreport
Change-Id: I33bc01c05a944c4c171c3874d963d02d708fec6c
2022-12-13 14:00:42 +08:00
Adam Shih
4b68f5fe95 create a lib to hold commonly used functions
Bug: 240530709
Test: adb bugreport
Change-Id: Idcdcca968b65d2bd413b219d39fc1104dfc9f3b8
2022-10-18 13:38:13 +08:00
Bob Badour
37b8e22c2e [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
Added SPDX-license-identifier-Apache-2.0 to:
  ramdump/Android.bp
  soc/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id2b08f9edfdc7d9828f28739c28b23c318f352a2
2022-10-06 13:32:35 -07:00
Adam Shih
cf7266088f move soc dump to gs-common
Bug: 248428203
Test: adb bugreport
Change-Id: Iaf8b48d5062536bbece1562618f965947dea22f0
2022-10-04 13:36:07 +08:00