Commit graph

1174 commits

Author SHA1 Message Date
wenchangliu
a90a2e4a6e Update media_codecs_performance_c2.xml for meet device performance
Fine tune the performance table since the change in CPU policy for
power saving cause some encoder performance results from the CTS
are not able to meet pass criteria from the original performance
measurement results.

Bug: 317441297
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsVideoTestCases -t android.video.cts.CodecDecoderPerformanceTest
Change-Id: Ib75d3f35c5ea2e2dc80ba192d738d54140a09d68
2024-01-09 12:42:39 +00:00
Peter Lin
859b45c905 Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
(cherry picked from commit dc330b5e88)
Merged-In: If106f81c0dd2bd81a48e156e1cc75dba4a885aca
2023-12-20 02:22:37 +00:00
Treehugger Robot
5a02468860 Merge "zuma: change swap_free_low_percentage to 10" into udc-qpr-dev 2023-12-19 03:36:54 +00:00
Minchan Kim
245ae84985 zuma: change swap_free_low_percentage to 10
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.

Bug: 300660611
Change-Id: I688f2559698c7553a7f585cab2693d09d70731f4
Merged-In: I688f2559698c7553a7f585cab2693d09d70731f4
Signed-off-by: Minchan Kim <minchan@google.com>
2023-12-18 18:27:47 +08:00
Hungyen Weng
06e99301dd config: Use carrier config in ROM by default
Bug: 314890118

Test: Flash ROM and confirm the carrier config follows the ROM.
Change-Id: Iffdb9a3a53e82d86d9917d84a7ce6ac49a3bad2a
2023-12-11 11:24:09 -08:00
Muralidhar Reddy Mule
7a01eb40ef Merge "[LPA][Zuma] Add notification pregrant" into udc-qpr-dev 2023-11-30 14:05:26 +00:00
Ruofei Ma
c9e0f1c3ed Merge "Enable adaptive playback for BigWave" into udc-qpr-dev 2023-11-17 22:02:44 +00:00
Ruofei Ma
d7b343305d Enable adaptive playback for BigWave
Bug: 309722491

Change-Id: Ibc5a88efc535cc847fbde45541d451ee97c65a1e
Signed-off-by: Ruofei Ma <ruofeim@google.com>
2023-11-16 18:04:53 +00:00
Muralidhar Reddy
74433bdbd3 [LPA][Zuma] Add notification pregrant
Bug: 308699419
Test: manual verification
Change-Id: I8529edd2c60e831eaeb7c817bef047bafa7dc890
2023-11-10 16:31:14 +00:00
Jaegeuk Kim
707c8849e5 [conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25175376

Bug: 305658663
Change-Id: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:27:50 +00:00
Jaegeuk Kim
19eb98145d DO NOT MERGE - Run fsck to resolve possible data corruption
Cherry-picked from http://ag/25163335.

Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe

Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Merged-In: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-26 01:13:46 +00:00
Chris.CC Lee
7061bc09aa Grant the post notification permission to SearchSelector
By the legal requirement, Pixel devices shipped in 2024 shall show the
default browser/search engine selector. The SearchSelector app provides
the selector flow and a non-dismissable notification to comply the
requirement.

This feature is approved for 24Q1 and is required to cherrypick to
selected Pixel devices.

Test: Flash a ROM build and validated the permission being granted by
default.

Bug: 298575926
Bug: 302280560
Change-Id: I895b9f0ed3980e31714ae0ee18071dab8b9039ec
2023-10-24 20:25:00 +08:00
Orhan Uysal
7730eb106a Revert "Grant the post notification permission to SearchSelector"
Revert submission 25144243-Initial SearchSelector Drop

Reason for revert: DroidMonitor-triggered revert due to a breakage, bug b/307486020

Bug: 307486020

Reverted changes: /q/submissionid:25144243-Initial+SearchSelector+Drop

Change-Id: I141000a9bc18409652f8824f686793f1e4fdeb3d
2023-10-24 10:30:56 +00:00
Chris.CC Lee
1ed6fd0235 Grant the post notification permission to SearchSelector
By the legal requirement, Pixel devices shipped in 2024 shall show the
default browser/search engine selector. The SearchSelector app provides
the selector flow and a non-dismissable notification to comply the
requirement.

This feature is approved for 24Q1 and is required to cherrypick to
selected Pixel devices.

Test: Flash a ROM build and validated the permission being granted by
default.

Bug: 298575926
Bug: 302280560
Change-Id: I86a4d77579039cd76c813103d91e56021ebda361
2023-10-24 14:58:22 +08:00
Tom Huang
16c49ab709 Merge "init.zuma.rc: bluetooth own uart debug node" into udc-qpr-dev 2023-10-13 02:47:34 +00:00
Jerry Huang
78a5acf93a zuma: update media_codecs_performance_c2.xml based on UQ1A.231011.001
Bug: 301873445
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest#testPerf[13_c2.android.hevc.decoder_cif]
Change-Id: I75c1924cf4d885882e5130f1a8d78a4d98466d46
2023-10-11 14:55:53 +08:00
jonerlin
7b5f2ae7a5 init.zuma.rc: bluetooth own uart debug node
Bug: 294747612
Test: v2/pixel-pts/release/bootstress/1200counts/suspend-resume
Change-Id: I2d381e37df4e179cc967a0cbc6fbe71458bc23f2
2023-10-11 06:43:35 +00:00
David Kimmel
04635112d1 Merge "Game Mode Sched lib affinity" into udc-qpr-dev 2023-09-27 18:14:02 +00:00
David Kimmel
ea0cc7f075 Game Mode Sched lib affinity
Bug: 170648047

Test: sched / hints applied correctly

Change-Id: Id781d42a93085981301b5278a67e8e4e1f47617d
Signed-off-by: David Kimmel <davidkimmel@google.com>
2023-09-26 10:58:33 -07:00
Treehugger Robot
2524749610 Merge "Revert "zuma: Enable SkiaVk as RenderEngine backend"" into udc-qpr-dev 2023-09-26 17:38:39 +00:00
Ian Elliott
d6dfbdeec4 Revert "zuma: Enable SkiaVk as RenderEngine backend"
This reverts commit 1ac9ce7219.

Reason for revert: Increased jank reported, especially on the Pixel tablet

Bug: 301846142
Bug: 298975477
Change-Id: If9ef37db1ff77880ac483bd76dc5e95ca4e8eb4e
2023-09-26 15:05:51 +00:00
Qais Yousef
4d16a3505e init.zuma.rc: Tune uclamp_max values for Zuma and enable uclamp_max_filter
The values are based on most efficient frequencies from EM default
profile.

Bug: 289083704
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iab3f17c9f32e0ea01e1a8f414373aac0fece8b46
2023-09-22 23:16:08 +00:00
Treehugger Robot
d9c5533695 Merge "usb.rc: Advertise 360p and 480p support through UVC" into udc-qpr-dev 2023-09-22 02:44:20 +00:00
Treehugger Robot
16d00110ec Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev 2023-09-21 09:55:00 +00:00
Daniel Sandler
45b237962d Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev 2023-09-20 20:20:30 +00:00
Jonglin Lee
67ce7e3fa8 Merge "Revert "Sched lib affinity and freq settings"" into udc-qpr-dev 2023-09-20 20:08:45 +00:00
David Kimmel
b833218671 Revert "Sched lib affinity and freq settings"
This reverts commit 253d3d48fa.

Reason for revert: Scheduling while atomic b/301031609

Bug: 301031609
Change-Id: I8179a926315da55ede03653a1517f13f61f3fdeb
2023-09-20 19:51:15 +00:00
Klines Jiang
192e50a9c6 Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev 2023-09-20 18:03:04 +00:00
Dan Sandler
daa06b517e Fix a crash trying to boot the device in a pseudolocale.
Bug: 280361527
Test: Boot in XA
Change-Id: Ief6a17da63ebe8ede682cb7fc537af77d02fc183
2023-09-20 17:29:28 +00:00
Avichal Rakesh
429d54af35 usb.rc: Advertise 360p and 480p support through UVC
Many host applications expect and ask for lower resolution streams when
streaming from a USB webcam. To support those applications, this CL
adds support for 640x480 and 640x360 streams.

Bug: 301170431
Test: Manually tested that the resolution is advertised and streamed.
Change-Id: Ifda2322747fced10c164afa98420fd35b17dbdd1
2023-09-20 10:20:55 -07:00
Amit Sunil Dhamne
5d78a3f43b Merge "UsbGadget: Update SDP enum timeout when gadget is pulled up" into udc-qpr-dev 2023-09-20 16:24:48 +00:00
Amit Sunil Dhamne
1cc4aff2c4 Merge "usb: Modify sdp enumeration timeout value in charger mode" into udc-qpr-dev 2023-09-20 16:24:04 +00:00
Richard Chang
5153214bca Merge "Add p23 perf setup script" into udc-qpr-dev 2023-09-20 10:48:47 +00:00
Jyun LuoLai
a2ebdba340 Merge "Remove READ_PHONE_STATE for dcservice" into udc-qpr-dev 2023-09-20 00:33:13 +00:00
Amit Sunil Dhamne
e97fc75c92 usb: Modify sdp enumeration timeout value in charger mode
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.

ported from 6710e31a629f81cf308e1099f75a01c82db6d006

Test: Validate (in charger mode) that the sysfs attribute is 1
      (meaning lower sdp timeout value is being used). Read dmesg to
      see print showing timeout value is 5000ms.
Bug: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 13:58:20 -07:00
Amit Sunil Dhamne
e683802386 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

(ported from c5c5b127a7ed0db559d286284fe77b656bef6945)

Bug:275687235
Test: Check `update_sdp_enum_timeout` is written into after usb
     gadget is pulled up. Verify that the alarm timeout lowers.
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 13:45:30 -07:00
Wilson Wu
a04563d81b Merge "Disable variable refresh rate when typing on zuma" into udc-qpr-dev 2023-09-19 09:22:05 +00:00
Kuen-Han Tsai
3ce6a5fe2e Usb.cpp: Fix typos when unable to disable USB data
If Usb.cpp cannot write a zero value to the USB_DATA_PATH file, display
the message of "Not able to turn off usb connection notification".

Test: refactoring CL. Existing tests still pass.
Bug: 301016122
Change-Id: I5d2c24154bd1d2c20810bcb4db0a3b2cc575fcfe
2023-09-19 17:03:16 +08:00
Richard Chang
e70b0f0b25 Add p23 perf setup script
Bug: 295218781
Test: Build
Change-Id: I0d708db94f38da16103140b978f8429c8bb9aa7c
2023-09-19 07:11:59 +00:00
Wilson Wu
5d570937bc Disable variable refresh rate when typing on zuma
Turn off config_variableRefreshRateTypingSupported on zuma.

Bug: 299966467
Test: presubmit
Change-Id: I7c58ef2e756553ed11b98b68b846228251942bd2
2023-09-19 06:11:05 +00:00
Jyun LuoLai
1a3925509e Remove READ_PHONE_STATE for dcservice
We'll rerun the review to use READ_PRIVILEGED_PHONE_STATE in QPR2
instead

Bug: 293811206
TESTED=Manual

Change-Id: I71bc67b102f5c7f021d774c5c505e0a8713f36e6
2023-09-19 01:45:10 +00:00
Kalesh Singh
9b743e5938 zuma: Set max supported page size to 4096
Temporarily reset the max page size on zuma devices to 4096 to avoid
extra gap VMAs in P23 devices for qpr1.

Bug: 300942232
Test: readelf -Wl /system/bin/init
Change-Id: I1fda0599a21c633292062db1278df0fed50de23e
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-09-18 18:35:13 +00:00
Wei Wang
c54ce72fc0 Merge "Sched lib affinity and freq settings" into udc-qpr-dev 2023-09-15 23:48:33 +00:00
David Kimmel
253d3d48fa Sched lib affinity and freq settings
Bug: 170648047
Test: sched / hints applied correctly
Change-Id: Ib4d820b0d12d1bbd7fe9340eaf184aaf7fff9c9a
2023-09-15 22:01:10 +00:00
Klines Jiang
05ac33ebcc [SELinux] Add gyotaku_app doamin to Pixel 2023.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I58d9fb298477cc67ec2cd4a308be679e2e75c98d
Merged-In: I58d9fb298477cc67ec2cd4a308be679e2e75c98d
2023-09-15 02:56:26 +00:00
Sergey Volk
c36ea22efc Merge "DO NOT MERGE displayport: Move sysprop for enabling DP to device level" into udc-qpr-dev 2023-09-14 21:04:23 +00:00
Sergey Volk
dbfd617572 DO NOT MERGE displayport: Move sysprop for enabling DP to device level
Move sysprop for enabling DP to device level makefiles so DP
configuration can be controlled at a device level.

Test: manual (check /sys/module/exynos_drm/parameters/dp_enabled)
Bug: 300167292
Change-Id: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
2023-09-14 17:50:43 +00:00
Florian Mayer
070611ca06 Merge "Allow to override MTE mode from device config" into udc-qpr-dev 2023-09-13 17:52:49 +00:00
Bethany Barrientos
8138c20142 Merge "Grant default permissions to PCS for camera connectivity" into udc-qpr-dev 2023-09-12 15:19:51 +00:00
Joey Poomarin Phloyphisut
b0447d525c Merge "pixelstats: change path for CCARatePath" into udc-qpr-dev 2023-09-12 03:47:52 +00:00