Commit graph

61 commits

Author SHA1 Message Date
Michael Bestas
d882fcf2d8
zumapro: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
2025-06-26 08:03:32 +03:00
Michael Bestas
19beed9713 Android 15.0.0 Release 21 (BP1A.250305.020)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fKCAAKCRDorT+BmrEO
 eGxiAJ9kdOB3bGMC2D+BZ2qX44tDh4U6UwCfZVmV34e2iZoBr1HUvv+PFbdBh44=
 =aWWI
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQFSO/dKxh4Sd8uhs5QJzCKI6gvYCc8lwQ9mQNatuwPvUcY0egzeoXFaHBFWB6GGqYj
 I2JQr0ogw7/XpRnzDYOA8=
 -----END SSH SIGNATURE-----

Merge tag 'android-15.0.0_r21' into staging/lineage-22.2_merge-android-15.0.0_r21

Android 15.0.0 Release 21 (BP1A.250305.020)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8fKCAAKCRDorT+BmrEO
# eGxiAJ9kdOB3bGMC2D+BZ2qX44tDh4U6UwCfZVmV34e2iZoBr1HUvv+PFbdBh44=
# =aWWI
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 05:50:32 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Rick Yiu (8) and others
# Via Android (Google) Code Review (59) and others
* tag 'android-15.0.0_r21': (83 commits)
  Reject e911 call during non-emergency satellite session.
  dump_power: add battery caretaker dump into bugreport
  [Pixel VPN] Apply reviewed default permissions
  Configure satellite NIDD APN name for Zuma pro devices
  Add country codes of Canda and EU countries to the satellite allowed list
  Add enhanced geofencing data and satelltie access config json for Zuma Pro
  Add enhanced geofencing data and satelltie access config json for Zuma Pro
  modem_svc: use modem_svc_sit version sepolicy
  Set permission for rampup_multiplier
  Use SCHED_QOS_SENSITIVE_EXTREME_SET for InputPolicy
  Add SCHED_QOS_POWER_EFFICIENCY profiles
  update health HAL dependency
  Add `config_satellite_carrier_roaming_esos_provisioned_class` for  the intent to trigger satellite provisioning
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zumapro
  Add `config_satellite_allow_tn_scanning_during_satellite_session` flag.
  Fix kasan logic
  Clean up unnecessary data_connection_5g_plus overlay
  Vibrator: Update compatability matrix
  [NTN][VZW P2P] Add config to enable sending check message datagrams when satellite modem is not connected.
  init: zuma: move sched rate limit to late init
  ...

Change-Id: I9c4e0b550fe27df45e16097bc061315b1219da26
2025-03-09 10:59:35 +02:00
Jack Wu
2d3c2c6184 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:bd99c7ad2fa8182bd0b8747ee88aa1f7f552b88f)
Merged-In: I4e1feff739abeb22bbffe03bf8d903962eade26f
Change-Id: I4e1feff739abeb22bbffe03bf8d903962eade26f
2025-01-09 11:35:41 -08:00
Michael Bestas
4772d02af9 Android 15.0.0 Release 6 (AP4A.241205.013)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
 eCS1AKCAqQqQ2PZ/HMIFuzLZPWfZjvCRDACeJWblhIHa+ODC9PYstxkKALZVXCo=
 =E9VY
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmdY7PoXHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmlTuBAAss0qZU+h9oujq988gz6/SCTb
 Np3yMsknkUSdP9RcKm7qJBXpcdntcVtfUUyrOQ0Ki0myfdokSd8IMtZ0zFUewbiv
 QPpQJzt89htSwVsYIdnDJP9voegljkSLMSBCSiEg5uF+oW4uS2GFEtr/uDYHnAnX
 JmdrEps/Qreu42Zwgw9cItb1gQUzu9WNeRK53cy28TmTzPbx43nho0SYOs6sCDPN
 +2kk9EIRBZpPSh5bJB6Mqu2A5vSLqzM0YfX98iFQfWpfrOYlpFt1uKwI5SP9bu4L
 HSJRaSzIugentYQC89dWb2NLuFTWKgsWHSoCt9iqc4i8CDOkpOFv/Jw6xZM9HlPm
 Kk64SeiuCvqrg3rLz/muMae7bpNI2GHs3g3aSk7ibfcG4gCNmYzqXlyUI5jawRrQ
 wnbXflME2BIlfG0xGbqXh5lj+xK5DrsNRuyVZVlu0orw8RI3ZqrpCv7Bd6SI6vpM
 Gys+gR572DfO50OmuE7KzfV0OP6PLymM9/zxnK43qKLkaJ8yWruvpgtUlDcB85ed
 86FUe2iAhvQU+t88M/nC0YBR+PptB4HrlMLyUoRgfb6odq+kmqKfL620pmIKWssG
 qvs4boCVzvCzaNxJJj1bvFutB3get/0W0+PK8kWXiLnnVOheV8TsSnBonDXxfSOw
 S2KzBh/EIh+j/ICOces=
 =ELmX
 -----END PGP SIGNATURE-----

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
# eCS1AKCAqQqQ2PZ/HMIFuzLZPWfZjvCRDACeJWblhIHa+ODC9PYstxkKALZVXCo=
# =E9VY
# -----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 Juan Yescas (14) and others
# Via Android (Google) Code Review (81) and others
* tag 'android-15.0.0_r6': (118 commits)
  Set auto prefer idle task name
  Set priority task name
  Change permission of fg_wi file nodes
  Delete TARGET_CPU_VARIANT_RUNTIME.
  Force EST loopback for hidden menu testing
  Add input event profile to mitigate input latency of input threads
  Control the "init_dpm.sh" to be built in zumapro devices
  [ZumaPro] Change default MTE mode to Asymm.
  usb: modify initial_descriptor_timeout to 500ms
  Control the modules built from vendor/google_devices/zumapro/prebuilts/gpu
  Revert "Revert "Move PRODUCT_SHIPPING_API_LEVEL to defined by de..."
  Revert "Disable EHLD"
  zumapro: avoid vector<const T>
  16kb: Select proper fstab for targets that only boot 16kb kernels
  16kb: Set f2fs block size to 16384 for targets that only boot 16kb kernels
  16kb: Config fstab for targets that only boot 16kb kernels
  Deprecate preloaded_nanoapps.json
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  Control GoogleDialer built from zumapro/proprietary/GoogleDialer
  Add pixellogger with non radio
  ...

Change-Id: I8b9080bd2f089873aa4f2845913c2cf24d7a6857
2024-12-11 03:38:02 +02:00
Spade Lee
3f193d644d dump_power: zumapro: correct dump path
- move fg registers dump from debugfs to sysfs
- add pca9468/ln8411/dual_batt path
- remove unused debug path

Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: I44ff1f6d14d9c440dccd832b6012c9dcaa0f7954
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-12 16:51:08 +00:00
Ethan Chen
badbb52bed
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-27 22:51:29 +02:00
Baltazar Ortiz
9af16ad5e4 dumpstate: Use generic dc_mains for all parallel chargers
Bug: 360866957
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: If9268d4ac8ec857c3dd9a7f2cae6b6485cfb2e95
Signed-off-by: Baltazar Ortiz <baltazarortiz@google.com>
2024-09-25 23:24:05 +00:00
Treehugger Robot
ac8d8990e8 Merge "dump_power: add max77779sp dump path" into main 2024-08-13 16:43:17 +00:00
Spade Lee
ced94e1197 dump_power: add max77779sp dump path
Bug: 347452474
Test: adb bugreport verify ok
Flag: EXEMPT bugfix
Change-Id: I69483cd7afd121c4d127d234685ff928bbf37b4c
Signed-off-by: Spade Lee <spadelee@google.com>
2024-08-12 14:01:58 +00:00
Spade Lee
de1ffe6821 dump_power: zumapro: add FG dump registers path
Bug: 355756379
Test: adb bugreport verify ok
Flag: EXEMPT bugfix
Change-Id: I58a2a7f79bccbd560440054c2593b0ad6968b84c
Signed-off-by: Spade Lee <spadelee@google.com>
2024-08-12 14:01:54 +00:00
Kyle Tso
b616d05cca dumpstate: Dump manual_disable_vbus in TCPC
Bug: 335368150
Bug: 344686002
Bug: 352490157
Flag: EXEMPT bugfix
Change-Id: I1f6cc8bc830d4e23e86b0fc93fa49f2944835cda
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:25:27 +00:00
Kyle Tso
c0e32b0bea dumpstate: Modify dumpTcpc path and content
Ported from I248fb250b94cbd4078e7f3c44da83f62002b53fb with some
modifications.

Bug: 357543284
Test: checked the content in dumpstate
Flag: EXEMPT bugfix
Change-Id: I35502167baedb96b58f214cb6842fb1ea4dee3e0
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:07:36 +00:00
Vishvam Mazumdar
20baf04a64 Merge "Add CPU Idle Histogram Stats to dumpstate board file." into main 2024-07-10 21:41:10 +00:00
Vishvam Mazumdar
cae96e4e50 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: I3b7b0d573bfd5f7e5e9f05c333b5a38940f3d8d6
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:40:39 +00:00
Jack Wu
77f2807cf9 dump_power: add RT9470G dump into bugreport
1. power supply properties
2. registers

Bug: 347914940
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: Ie6f2de3acef515665727f3e3bc0e4373778ffe07
Signed-off-by: Jack Wu <wjack@google.com>
2024-06-24 01:52:47 +00:00
Hiroshi Akiyama
9bcf2600ec dump_power: parse vimon in dumpstate board
Bug: 345835957
Test: generate bugreport
Flag: EXEMPT bugfix
Change-Id: Id611cd76a0133e1525ffe74e82a6c0d940e39aab
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2024-06-11 20:28:37 +00:00
Jenny Ho
596e99f6e3 Merge "dump_power: add max77779 fwupdate logbuffer into bugreport" into 24D1-dev am: b19d9e72a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/27057698

Change-Id: I9122f9c85e6ae0bc0fc357f7adefb06f2e7bf06d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 06:06:48 +00:00
Jenny Ho
95ec940804 dump_power: add max77779 fwupdate logbuffer into bugreport
Bug: 334198978
Change-Id: I62fcde4a49024ccacc96a3139bb3284c41ceea58
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-23 08:04:40 +00:00
Treehugger Robot
e6aab8f51f Merge "dumpstate: Dump logbuffer_pogo_transport" into main 2024-04-16 01:08:35 +00:00
Jenny Ho
cd9e0185ec dump_power: add dual battery debugfs path
Bug: 334773288
Change-Id: If8d69a88b0d3c1fb5ab37b855e1efd265eab618b
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-15 09:58:15 +00:00
Kyle Tso
bc9752ea63 dumpstate: Dump logbuffer_pogo_transport
Bug: 328314131
Change-Id: I2ff93e33efa9727d14f21a68e8261221a1091638
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-04-15 17:25:08 +08:00
Jenny Ho
97762978d9 dump_power: add maxfg_history permission
allow to dump secondary battery history for dual battery projects

Bug: 333952062
Change-Id: Id2732c04bdeb7c955e67a427e4d41c224943983a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-12 00:06:24 +00:00
Hiroshi Akiyama
cc02e0259d dumpstate: add checks in irq duration count
Add checks to vector size before accessing vector contents to prevent
null pointer exception.

Bug: 330796833
Test: adb bugreport
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d55a1eb732fb6deac79b21cabaf606f0c477612f)
Merged-In: I1a50337b1fde3b763ee7f154fa206f98681045dd
Change-Id: I1a50337b1fde3b763ee7f154fa206f98681045dd
2024-03-25 18:29:15 +00:00
William McVicker
3eb0112b43 Merge "Update tcpm i2c path with new device name" into main 2024-02-22 17:54:41 +00:00
Daniel Okazaki
bb47f85b04 dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: Iabc4c810641acf54e2bebf5e441423bc341b54c8
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-17 04:28:18 +00:00
Will McVicker
3c01f2056c Update tcpm i2c path with new device name
The new names fix uninformative kernel wakelock names.

Bug: 315190967
Bug: 323447554
Change-Id: I9f2d55b532f9a0f9692a0d613727893b588e600a
2024-02-16 15:14:02 -08:00
Spade Lee
c4c265ea45 dumpstate: add SoC residency dump
Bug: 319536756
Test: SoC residency was correctly shown in dumpstate board
Change-Id: I20bf91393efcf0edb6c458f55e228a227f930ee5
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:43:35 +00:00
Jenny Ho
1257aa5cdd Handle empty read from file.
Test: run /vendor/bin/dump/dump_power
Bug: 317934817
Change-Id: Ia4453483fdfaba838a1ffb3d38b243dceb9628e7
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-28 11:35:08 +08:00
Sam Ou
59814a3dae Merge "bcl: add lastmeal.csv into dumpstate" into main 2023-12-18 01:50:06 +00:00
samou
e4ceff9023 bcl: add lastmeal.csv into dumpstate
Test: ./dump_power
Bug: 293899466
Change-Id: I0ff03baf459fe4a2ae57a2837f4181b04d764e7b
Signed-off-by: samou <samou@google.com>
2023-12-15 14:39:17 +00:00
Wilson Sung
2dd6ea4c83 Remove dump_wlan.sh
Bug: 312143882
Test: make selinux_policy
Change-Id: Idebcb5bcd81647927b324372b3ec0ffefd5f72b6
2023-12-06 09:13:20 +00:00
Hiroshi Akiyama
a9506fbf2a dumpstate: add evt count logging
Add capability for dump_power to log event counter logging

Bug: 299668264
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I1fdf6214dc9b333044e395a8148349b26c0d5653
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-11-06 21:52:17 +00:00
Treehugger Robot
6113111eea Merge "dump_power: fix the problem of not being able to dump properties" into main 2023-11-06 15:48:43 +00:00
Jack Wu
4f407e7b15 dump_power: fix the problem of not being able to dump properties
Bug: 309011602
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I2b1cb98fad154511fe55c84ecf85272f58f634ee
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06 20:27:25 +08:00
samou
505f0b8308 bcl: support thismeal binary parsing
Test: ./dump_power and adb bugreport
Bug: 293899466
Change-Id: I4ba2ee96a02573993cd4de132db9095f73253041
Signed-off-by: samou <samou@google.com>
2023-11-02 11:49:05 +00:00
Sam Ou
ce8c8e9bb8 Revert "bcl: add parser for thismeal.bin and lastmeal.bin"
This reverts commit fa0ee1521c.

Reason for revert: migrate binary parser to battery_mitigation

Change-Id: I7c97c3cb91924cdc19f61c8b7ea85e6c49813c42
2023-10-31 16:56:47 +00:00
Sam Ou
61a1d02c32 Merge "bcl: add parser for thismeal.bin and lastmeal.bin" into main 2023-10-31 02:22:51 +00:00
samou
fa0ee1521c bcl: add parser for thismeal.bin and lastmeal.bin
Test: ./dump_power
Bug: 293899466
Change-Id: I648a4a0b205cbebd681613505bc5f91a848a3deb
Signed-off-by: samou <samou@google.com>
2023-10-30 07:04:25 +00:00
Daniel Okazaki
7fb00c91c3 dump_power: adding defender logs for charger and active time
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: If9bf3e6ab1c6008cbefd4b09a8bb2802ff196207
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:47:43 +00:00
Hiroshi Akiyama
c4dc97b468 dumpstate: fix missing dump_power.rc in Android.bp
Bug: 305532134
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ie5009983f43fe28483d4c30d3fc405f475ee7e7c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-19 22:43:32 +00:00
Hiroshi Akiyama
1809b11768 Merge "Migrate dump_power.sh contents into cpp for improved speed" into main 2023-10-15 23:46:11 +00:00
Hiroshi Akiyama
e837d5240b Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-09-22 11:08:29 +00:00
YiKai Peng
a170ed0e50 dumpstate: Add authstart permission
Bug: 300182745
Test: Build/Flash

Change-Id: I8e365d9eaeb2cb337d8016e221744df658404d3c
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-09-20 11:51:43 +00:00
Jack Wu
e5cdef56e4 dumpstate: fix pps-dc logbuffer missing
Bug: 300284266
Test: data is correct in dumpstate
Change-Id: I325ed2acf7e329f599b2792ef2682f7ccc225722
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-14 08:18:14 +00:00
Jack Wu
ad27baa842 dumpstate: fix incorrect maxfg_secondary path
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: Ie304342def837b580b07ebdde9ce042fba897b9b
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:09:00 +08:00
Jack Wu
464f64dabc init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to
be able to charge FULL.

Bug: 298923686
Test: can charge to full on dock in charger mode
Change-Id: Ie7a2acb18e8ebb4e4bed36c759164217d127ae1c
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 09:21:15 +08:00
Jack Wu
91dcc11be7 dump_power: add permission for first_usage_date access
Bug: 298628003
Test: write first_usage_date sysfs node successfully
Change-Id: I1ba33c2aba8cf0129357bb83df8a8609684a52c7
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 17:19:35 +08:00
Jack Wu
a88d94fb46 dumpstate: fix incorrect dc sysfs node path
also add thermal stats permissions for clearing

Bug: 298628728
Test: can parse pca stats in pixelstats-uevent
Change-Id: Ie6bf430842115cc21167f693f20fd169be19f6d6
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 04:31:04 +00:00
Jenny Ho
064e269d4d Merge "dump_power: dump battery pairing state" into udc-qpr-dev 2023-08-29 07:02:42 +00:00
Daniel Okazaki
dab8549f10 dump_power: adding BMS changes for static i2c bus
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I5e46fa09d6e939f849473a6efbfd6e5bac73d067
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:28:10 +00:00