Commit graph

639 commits

Author SHA1 Message Date
Sungtak Lee
ba0173550a Add media.c2 aidl fragments
Bug: 321808716
Change-Id: I0469c5b7d61ebafdfb0ef3164f82915ed8bb79e9
2024-02-27 17:45:13 +00:00
Treehugger Robot
6a633024bd Merge "extend inactivity timeout and datagram sending timeout" into main 2024-02-21 14:53:10 +00:00
Robin Peng
49808d049d Update ro.soc.model
Bug: 320613426
Change-Id: I97680796efc9f1cfc3fcb6c44e6d782dfa44aba9
2024-02-21 04:29:04 +00:00
timtmlin
9adf37d6fe extend inactivity timeout and datagram sending timeout
config_satellite_nb_iot_inactivity_timeout_millis
extend to 15-min as per POR mentioned in b/323211209#comment7

config_datagram_wait_for_connected_state_timeout_millis
extend to 15-min to improve sending at intermittent cellular scan

Bug: 323211209
Bug: 323301557
Test: make
Change-Id: Icf3a2ca4b62d65db7812e32669befeffa08f556a
2024-02-21 11:13:31 +08:00
Treehugger Robot
40f38e6d45 Merge "dumpstate: moving charger nodes to user build" into main 2024-02-21 02:01:55 +00:00
Darren Hsu
f5f7a90578 powerstats: add GNSS power stats for ZP devices
Bug: 309876364
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I22cefaf0762e0c125ad4a1b6c0f0b11847df44a3
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-02-19 16:31:24 +08: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
Syed Saifuddin Khazi
7ca84dbfea Merge "Remove default PixelSatelliteService package name" into main 2024-02-16 08:32:49 +00:00
Saifuddin
f59161aafb Remove default PixelSatelliteService package name
Revert of ag/25239847

Bug: 325557745
Test: manual
Change-Id: I0ebebb96103aff7b2bc417103cbe751f55145099
2024-02-16 06:46:11 +00:00
Sergey Volk
9127fefa9a Add missing sysprops for zumapro
We need to set sysprops debug.sf.hwc_hotplug_error_via_neg_vsync and
debug.sf.hwc_hdcp_via_neg_vsync on zumapro devices so SurfaceFlinger
would properly handle specially-crafted onVsync calls with negative
parameter values that HWC makes to pass hotplug error info and HDCP
status info.

Bug: 324953626
Test: tested DisplayPort error propagation
Change-Id: Ice36756154a9091419a41019dc51b187205e9187
2024-02-15 00:50:51 +00:00
Sergey Volk
9ede436718 Fix permissions for dp_hotplug_error_code sysfs node
DisplayPort kernel driver passes error code/status to hardware composer
via the dp_hotplug_error_code sysfs file. When HWC receives/consumes
the error, it will write "0" into that file to reset the error code. So
this file must be readable and writable by the HWC code running with
"system" user/group permissions.

Bug: 324953626
Test: checked that SYSFS dp_hotplug_error_code has correct permissions
Change-Id: Idb7d44f8e9f22fc61e8df432aa72281daddb15ef
2024-02-13 22:56:26 +00:00
Mark Chang
aed150adab Merge "Move manifest entries to gs-common." into main 2024-02-11 23:03:58 +00:00
Richard Hsu
d167572f4d Merge "[Refactor] Include edgetpu targets in final image" into main 2024-02-09 21:55:22 +00:00
Yong Zhang
3cc79349b0 Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5a3156640197596a52187806bfbdd753a67a98ca
2024-02-07 16:54:21 +00:00
Mark Chang
5f4d31c8c6 Move manifest entries to gs-common.
Bug: 322914403
Bug: 323110919
Bug: 324214410
Test: build succeeds on all devices, failing tests pass.
Change-Id: If12963ae26f2c228310ab9c865ac342f65cc192e
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-07 13:00:54 +00:00
Kuen-Han Tsai
b73ad4c73e Merge "usb: add disable_contanimant_detection" into main 2024-02-06 08:34:52 +00:00
Richard Hsu
4a865f66f8 [Refactor] Include edgetpu targets in final image
Make the EdgeTPU targets defined in <soc>/proprietary visible by product packages included in edgetpu.mk.

Bug: 323601370

Tested:
No functionality change. Edgetpu services still work.

Change-Id: Ia8846b929b21e9fbcfd1f091779c57d4fed3da0b
2024-02-05 15:48:22 -08:00
Tim Lin
64a7b8a42b Merge "extend inactivity timeout to 10-min" into main 2024-02-05 12:47:28 +00:00
Wen Chang Liu
ff3e2aece2 Merge "Update media_codecs_performance_c2.xml" into main 2024-02-05 04:41:56 +00:00
RD Babiera
86d9057bab Merge changes from topic "318820040" into main
* changes:
  usb: select usb-service rc files based on device type
  usb: Runtime search the i2c path
2024-02-03 01:14:47 +00:00
Kuen-Han Tsai
453a29320a usb: add disable_contanimant_detection
This patch adds the disable_contaminant_detection script, providing a
command-based method to bypass moisture detection.

Bug: 295127978
Test: disable moisture detection by 'setprop vendor.usb.contaminantdisable true'
Change-Id: I035d656401aedf11a9a5390504bec46b3c4e2634
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-02-02 17:54:52 +08:00
timtmlin
b55ab1d86f extend inactivity timeout to 10-min
Bug: 323301557
Test: try not attach NTN in 10-min
Change-Id: I2717fa7cdd009b82a87ce4e84fccb7815af44d74
2024-02-02 10:21:20 +08:00
Treehugger Robot
4461b53174 Merge "zumapro: Remove sysprop forcing renderengine to skiaglthreaded" into main 2024-02-01 23:04:09 +00:00
Joen Chen
6ed8b67c1d Merge "zumapro: enable dynamic color mode" into main 2024-02-01 03:31:07 +00:00
Petri Gynther
1a63a3b45a zumapro: enable DisplayPort on -user images
Bug: 319509617
Change-Id: I3ef8f738dbb6fdaf0bb949f641c510cf1948f6a5
2024-01-31 11:12:47 -08:00
Joen Chen
d4b137f42c zumapro: enable dynamic color mode
Enable dynamic color mode to reduce the power overhead of color space
conversion when GPU composition exists.

Bug: 315787778
Test: check "dumpsys SurfaceFlinger" and state of display color service
when playing SDR/HDR video

Change-Id: Ie9e87091385ab5247141bf956fbaba3275cc6811
2024-01-31 14:54:22 +00:00
RD Babiera
92f2eb594a usb: select usb-service rc files based on device type
i2c paths for 5.15 and 6.1 kernels are statically assigned,
so delete variations that do not exist from init rc file.
Depending on the device either i2c bus 6 or 11 are used, so
create permissions for both in separate init rc files.

Put the correct rc file to the vendor partition based on
target product.

Test: Manual test on device. Confirm that file reads related to
      file path error do not trigger error.
Bug: 318820040
Change-Id: I4cb67bcbba99ef32a5ddfb2487b92ee196563b90
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-01-30 17:59:32 +00:00
RD Babiera
f1140a12b1 usb: Runtime search the i2c path
The paths of sysfs nodes are different across kernel versions
and i2c bus assignement. Runtime search the correct ones.

Test: Manual test on device. Confirm that file reads related to
      file path error do not trigger error.
Bug: 318820040
Change-Id: I1217fcea012865cebe12c935917f12903003fd5b
(ported from commit 0b768c8fbe1e59a4b9efa7b5f7b6a017a81d46fb)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-01-30 17:56:51 +00:00
wenchangliu
49c8e47397 Update media_codecs_performance_c2.xml
1. Update media_codecs_performance_c2.xml from zuma
2. fine tune value for c2.exynos.vp9.encoder 3840x2160

Bug: 321187030
Test: run cts -m CtsVideoTestCases
Change-Id: I4b943f5c134e26f352cc5e14d837ba50347baa32
2024-01-30 09:39:19 +00:00
Ankit Goyal
2877c355a4 Merge "Add memtrack" into main 2024-01-30 00:44:40 +00:00
Ankit Goyal
c451487f8f Add memtrack
SE policies are already there. Probably policies were copied properly
from the previous project but device files were not.

Bug: 321899122
Test: `adb shell dumpsys meminfo surfaceflinger` shows data for graphics
Change-Id: I72deafef9e2b6c49360f73ef4c71642dddd2e2f8
2024-01-30 00:44:01 +00:00
Kieran Cyphus
9d2f9e089f Merge "liboemservice_proxy: Include in build" into main 2024-01-29 05:58:46 +00:00
Jan Feręc
70e4e1e658 Add override for emergency conversation feature in Android Messages
Bug: 322518837

Change-Id: Icbee440c10c81046ed858fb3207b90c49bd0f875
2024-01-27 00:23:06 +00:00
Treehugger Robot
75d5a25c42 Merge "disable wifi during satellite" into main 2024-01-26 19:01:44 +00:00
timtmlin
72febf940a disable wifi during satellite
Bug: 322444575
Test: wifi on and enter satellite mode
Change-Id: I5031a6bce251588c29506bbf1a1bd028e66ac18c
2024-01-26 17:56:48 +00:00
Jerry Huang
e2545bc2ed Merge "zumapro: update c2.android.av1-dav1d.decoder performance point" into main 2024-01-26 06:21:03 +00:00
Treehugger Robot
7d51bb9575 Merge "Add geofencing configs for Zuma Pro" into main 2024-01-26 00:36:51 +00:00
Sajid Dalvi
ddf585b320 zumapro: Add pcie ltssm utility to eng and userdebug builds
It is useful to know the PCIe LTSSM state residencies in various
scenarios. The pcie binary that provides this is availaable in factory
builds. This change also makes it available for eng and userdebug builds.

Bug: 322357593
Change-Id: I5a8513063f232124a82f81ecc2a5e2e6d84d7459
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2024-01-25 20:26:02 +00:00
Leon Scroggins III
af8a6de86d zumapro: Remove sysprop forcing renderengine to skiaglthreaded
This is already the default, so no need to set via sysprop. Moving
forward, we will set this using flags, unless a particular category
of device needs to override the flag.

Bug: 293371537
Test: NA
Change-Id: I6b149c2ee198a28a306540f4670edaa560533f48
2024-01-25 15:20:13 -05:00
Jerry Huang
0e9aa0e019 zumapro: update c2.android.av1-dav1d.decoder performance point
c2.android.av1-dav1d.decoder performance has been improved with CL
"C2SoftDav1dDec: Fix performance issues in frame parallel multi-threading"
More detail in b/315828433

Bug: 315828433
Test: run cts -m CtsMediaDecoderTestCases -a arm64-v8a -t android.media.decoder.cts.VideoDecoderPerfTest --module-arg CtsMediaDecoderTestCases:instrumentation-arg:codec-prefix:=c2.android.av1-dav1d.decoder
Change-Id: Ie2aaccc9f89127b2d9e11e7ddb71455f6d75b50c
2024-01-25 12:16:23 +00:00
Darren Hsu
a3c3ccc7d3 powerstats: support adding MRR stats by entity info
Bug: 321871758
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I52ddbe65606d7289faf9a2b186d8e81ff69e9a4b
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-25 17:15:37 +08:00
Nicole Lee
5d1a61e31d radio: change default max size and max file number
- Max file size: 20MB -> 50MB
- Max file count: 10 -> 50 files

Bug: 322142305
Test: Flash the build and check always-on logging settings
Change-Id: I16f07b4736d261cca755a5e6cc68ff9b3bcb436c
2024-01-24 12:37:54 +00:00
Gary Jian
ed6dd51cd6 Add geofencing configs for Zuma Pro
Bug: 322044968
Bug: 321712825
Test: config change
Change-Id: I63a2bab8f1dcb5b12276adff7209a9a2a7aa0317
2024-01-24 10:39:28 +00:00
Spade Lee
d85d0e499f Merge "dumpstate: add SoC residency dump" into main 2024-01-24 07:54:18 +00:00
kierancyphus
ce9fbc05aa liboemservice_proxy: Include in build
Previously, `Liboemservice_proxy` was included as a part of DMD, and so
didn't need to be included on its own. However, since these two have
been decoupled, we need to explicitly include the build target here for
it to execute on device.

Test: Build and check logs to ensure service starts up on boot
Bug: 321867236
Change-Id: I9a03a5f7dffc91e4760472a79d510e23eacca564
2024-01-24 15:44:45 +08:00
Treehugger Robot
71e9bb2828 Merge "powerstats: expose display MRR state residency data provider" into main 2024-01-24 06:03:41 +00:00
Treehugger Robot
75b690831e Merge "pixelstats: copy audiometric sysfs_paths from Zuma." into main 2024-01-24 05:14:17 +00:00
RD Babiera
7957a85d46 Merge "usb: report displayport capable port partner disconnect to drm" into main 2024-01-23 17:42:50 +00:00
Jerry Huang
aa94f0cf98 Merge "zumapro: add supported mfc version" into main 2024-01-23 11:07:37 +00:00
Darren Hsu
a76e4d9372 powerstats: expose display MRR state residency data provider
Bug: 321871433
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: If556198f4334eacda88e8a6f76efdb01b8e838f5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-23 17:37:20 +08:00