Commit graph

1184 commits

Author SHA1 Message Date
Android Build Coastguard Worker
62e096fa9e Snap for 12199973 from 09a87fd404 to 24Q4-release
Change-Id: I91e37cd11fd34c033c3b33e0da21fa6caceb7618
2024-08-08 01:03:02 +00:00
Gary Jian
09a87fd404 Merge "Use new format of sit_net_radio_access_specifier" into main 2024-08-07 06:11:08 +00:00
Treehugger Robot
35662d3ea4 Merge changes I1f6cc8bc,I35502167 into main
* changes:
  dumpstate: Dump manual_disable_vbus in TCPC
  dumpstate: Modify dumpTcpc path and content
2024-08-07 03:22:24 +00:00
Kuen-Han Tsai
e04cd291ad Merge "Limit hub tuning when enable_hub is enabled" into main 2024-08-07 03:02:31 +00:00
Juan Yescas
a1d5c9b4f3 Rename fstab.postinstall to fstab.ro.postinstall for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I762f8d757739e8c9685df73b7e39f10b4ce25d34
2024-08-06 23:41:48 +00:00
Android Build Coastguard Worker
4f30b77dc5 Snap for 12190349 from 30ccbc4612 to 24Q4-release
Change-Id: I30dc07a587a344e060680ca657aac9d18fe771e5
2024-08-06 23:03:24 +00:00
Treehugger Robot
0e6653cecc Merge "Rename fstab.modem to fstab.ro.modem for zumapro devices" into main 2024-08-06 20:43:48 +00:00
Treehugger Robot
1dc4ea0e3e Merge "Move the system read only partitions to fstab.ro.system" into main 2024-08-06 19:10:55 +00:00
Treehugger Robot
30ccbc4612 Merge "16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices" into main 2024-08-06 18:14:20 +00:00
Kuen-Han Tsai
5cfc68b55b Limit hub tuning when enable_hub is enabled
Some external hubs have the same VID and PID as the internal hub,
causing unintended hub tuning and compatibility issues.

This patch restricts hub tuning to only the internal hub located on
bus 1, port 1 when enable_hub is set to 1.

Bug: 353650207
Test: Verified an external GL852G speakerphone dock works when docked.
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd <hex wValue> <hex wIndex>
Flag: EXEMPT bugfix
Change-Id: I381f3883c90628753f0e5e9c11eb546fb15ce679
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-08-06 09:45:05 +00:00
Qais Yousef
53d1176fe3 Merge "Revert "init.zumapro.board.rc: Disable util awareness completely"" into main 2024-08-06 08:11:19 +00:00
Juan Yescas
e7b5c5ba0b 16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices
The PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO flag makes sure that the bionic's
PAGE_SIZE macro is not used.

Bug: 346873199
Test: Built targets
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Flag: EXEMPT bugfix
Change-Id: I267363a23c28edc564b61074f53f223fafdcc2b2
2024-08-06 03:55:20 +00:00
Treehugger Robot
3fb0bb199e Merge "DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zumapro devices" into main 2024-08-06 00:16:50 +00:00
Juan Yescas
970dfcb4ee Rename fstab.modem to fstab.ro.modem for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I72d7d4138b23457ba23422e59d7745ab2e2017e0
2024-08-05 23:57:59 +00:00
Juan Yescas
ece41241bc Move the system read only partitions to fstab.ro.system
The system/vendor/product read only partitions will be moved
to fstab.ro.system file to easily identify them in the future.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I0402df991160e1fabdfdc5d4e4482320f671ae09
2024-08-05 14:27:20 -07:00
Qais Yousef
02180ccbb4 Revert "init.zumapro.board.rc: Disable 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: I7dac74f137f0a9f96ad187172367aaffdbdaf102
2024-08-05 14:56:26 +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
Android Build Coastguard Worker
02429afd42 Snap for 12177962 from d20d618ee6 to 24Q4-release
Change-Id: I18b5197e5d0ec99c2562e03dfc4b9630dfa6afb5
2024-08-03 03:02:53 +00:00
Treehugger Robot
d20d618ee6 Merge "Upgrade IDisplay to V13" into main 2024-08-02 08:08:40 +00:00
Chris Lu
3bce045202 Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I253d4754e2321b888a92ed68a061fb2c7da33f13
2024-08-02 04:32:27 +00:00
Android Build Coastguard Worker
0b8bdffe75 Snap for 12173239 from 0ccc1836b2 to 24Q4-release
Change-Id: Iecd5a76f0a84d3d2638e238651548acda7007525
2024-08-02 01:08:07 +00:00
Juan Yescas
82e7a82825 16kb: Config rw filesystem based on TARGET_RW_FILE_SYSTEM_TYPE
The TARGET_RW_FILE_SYSTEM_TYPE will contain the rw filesystem
to use. The rw filesystem for the devices can be f2fs or ext4.

If TARGET_RW_FILE_SYSTEM_TYPE is not defined, the default
fs will be f2fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ib087a06a98525ca449253dffce9df470a05432d3
2024-08-01 10:44:17 -07:00
Juan Yescas
a17b16ccbd 16kb: Move efs rw partitions to its own fstab file
The efs read/write partitions will be part of the fstab.rw.efs
file and will have their own RC file to mount them.

This change allows us to identify the different partitions and
their types. It will also make easier to select different
RC files depending on the page size.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I3eb877ecc3ccf435110ee0da4a949b44729b3bdb
2024-08-01 08:55:04 -07:00
Gary Jian
80a5a81d07 Use new format of sit_net_radio_access_specifier
Bug: 353545247
Test: manual
Flag: NONE, Vendor change does not support flags
Change-Id: I50c5aad2f414d2cef9cb0ead9fd7374bd7639705
2024-08-01 13:10:47 +00:00
Treehugger Robot
0ccc1836b2 Merge "Update display dim configuration" into main 2024-08-01 12:10:16 +00:00
Jeff Chang
84b13d5e27 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
Flag: EXEMPT resource only update
Test: Build & Verify the dim duration with each setting.
Change-Id: I424ec169893f8ef42f3dd601f5f122eb160cc42c
2024-08-01 09:09:46 +00:00
Treehugger Robot
d606a584ec Merge "audio: set flag of speaker post-processing prebuilt" into main 2024-08-01 05:51:12 +00:00
Android Build Coastguard Worker
4bacb4822f Snap for 12164422 from afdbb77157 to 24Q4-release
Change-Id: Ifb0ecc4cd0e6275cc21e0c527440a8ef163610d9
2024-07-31 23:03:01 +00:00
Juan Yescas
0c2baf5190 Merge "Revert "16kb: Split fstab.zumapro.in to have f2fs partitions in one file"" into main 2024-07-31 18:21:41 +00:00
Juan Yescas
41a4342d7c Revert "16kb: Split fstab.zumapro.in to have f2fs partitions in one file"
This reverts commit f2e81aefe0.

Reason for revert: Need approval from Pixel team
Bug: 356425337
Change-Id: I39958c586a114370354559780d7784d32aaa6901
2024-07-31 18:21:28 +00:00
Qais Yousef
afdbb77157 init.zumapro.board.rc: Disable util awareness completely
Bug: 355085234
Flag: EXEMPT boot time init script configuration
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1d5d72a53c079e0f87626e46badf0250a92abbc5
2024-07-31 12:43:28 +00:00
Jasmine Cha
8011433e1c audio: set flag of speaker post-processing prebuilt
Flag: EXEMPT refactor
Bug: 352461861
Test: build pass

Change-Id: I85a2d2cfa58921d0c89cf31ead9dae82edb7a08f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-07-31 02:11:35 +00:00
Juan Yescas
f2e81aefe0 16kb: Split fstab.zumapro.in to have f2fs partitions in one file
fstab.zumapro.in is splitted in 2 files:

- One file will contain all the partitions that do not use f2fs fs.
- One file will contain all the partitions that use f2fs fs.

This will allow in the future to configure /data and /metadata
with ext4 fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I6923fdefadf9299df44e2ba550d5af10446e8a20
2024-07-30 15:31:35 -07:00
Android Build Coastguard Worker
13ceb458ba Snap for 12147630 from 9930142240 to 24Q4-release
Change-Id: I07cf713b59e6a6939bbd68bcf2f52f7b0e93a2ff
2024-07-27 01:03:18 +00:00
Treehugger Robot
9930142240 Merge "Add soong config variable for PowerAnomalySitril" into main 2024-07-26 02:57:19 +00:00
Android Build Coastguard Worker
fe6781472f Snap for 12140224 from edc32dadbf to 24Q4-release
Change-Id: Iffa112b73acab53d9f089daa245da74fa2dca19c
2024-07-25 23:03:04 +00:00
Android Build Coastguard Worker
2ee92d94b4 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28469517'] into 24Q4-release.
Change-Id: Ie63bc7d5008e19624c6c476d0aef10f6c4e83a8e
2024-07-25 00:33:49 +00:00
Daniel Chapin
3ca63066d4 Revert "strorageproxyd: restart on checkpoint completion"
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:e96ffb356a0335734786d63e0a1b9f10dca9cb5b)
Merged-In: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
Change-Id: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
2024-07-25 00:32:55 +00:00
Android Build Coastguard Worker
d716bd47dc Snap for 12135134 from ecfc3d4541 to 24Q4-release
Change-Id: I9dfa8d412fcd9d7de524c1b63264bed77702adc5
2024-07-24 23:03:11 +00:00
Daniel Chapin
edc32dadbf Merge "Revert "strorageproxyd: restart on checkpoint completion"" into main 2024-07-24 21:48:56 +00:00
Android Build Coastguard Worker
b35d7a39af Merge cherrypicks of ['googleplex-android-review.googlesource.com/28469517'] into 24Q4-release.
Change-Id: I35d8a5c4b00dd0eef3c5652121dbb1fd585cc9e6
2024-07-24 21:02:27 +00:00
Daniel Chapin
c160c4f6db Revert "strorageproxyd: restart on checkpoint completion"
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:e96ffb356a0335734786d63e0a1b9f10dca9cb5b)
Merged-In: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
Change-Id: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
2024-07-24 21:01:40 +00:00
Daniel Chapin
e96ffb356a Revert "strorageproxyd: restart on checkpoint completion"
Revert submission 28318041-rw_storage

Reason for revert: Droidfood blocking bug b/355163562

Reverted changes: /q/submissionid:28318041-rw_storage

Change-Id: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
2024-07-24 20:17:30 +00:00
Android Build Coastguard Worker
c3f402546e Snap for 12129055 from ecfc3d4541 to 24Q4-release
Change-Id: Ie4a6ffe542d6a92acc1172a15152c846391b38ef
2024-07-23 23:03:20 +00:00
Carlos Rodriguez
580df2f54e DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zumapro devices
Bug: 343602691
Flag: EXEMPT bugfix
Test: Built Android
Change-Id: Iaef6594798eef79cfec1148cea798b45c474f343
2024-07-23 22:36:33 +00:00
Juan Yescas
ecfc3d4541 16kb: Set compression algorithm based on the kernel page size
The zram compression algorithm will be set based on the
page size.

- 4kb kernels will use lz77eh
- 16kb kernels will use lzo-rle due Emerald Hill does not
  support 16kb page sizes.

Bug: 354960718
Test: # 4kb kernel
      zumapro:/ # getconf PAGE_SIZE
      4096
      zumapro:/ # cat /sys/block/zram0/comp_algorithm
      [lz77eh] zstd lz4 lzo-rle lzo

      # 16kb kernel
      zumapro:/ # getconf PAGE_SIZE
      16384
      zumapro:/ # cat /sys/block/zram0/comp_algorithm
      lz77eh zstd lz4 [lzo-rle] lzo
Flag: EXEMPT bugfix
Change-Id: I9630c6323860621a48ca9620fcf416372ccdf7f6
2024-07-23 18:05:29 +00:00
Mike McTernan
11ef97edd0 Merge "strorageproxyd: restart on checkpoint completion" into main 2024-07-23 10:02:28 +00:00
Android Build Coastguard Worker
c1109ec286 Snap for 12110738 from b4360283d7 to 24Q4-release
Change-Id: Ic6cb9c457782d60d6fb28f00d00b6356990d1f61
2024-07-18 23:03:04 +00:00
Vishvam Mazumdar
b4360283d7 Merge "Defaultly enable cpu idle histogram stats collection for dumpstate." into main 2024-07-18 18:45:14 +00:00