Commit graph

1120 commits

Author SHA1 Message Date
Jayant Chowdhary
969c01c3f2 Merge changes from topic "webcam-shusky" into udc-qpr-dev
* changes:
  usb gadget: Add config for UVC in init
  UsbGadget: Add support for UVC function
2023-09-07 19:38:53 +00:00
Yong Zhang
a4675a60af Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev 2023-09-07 17:50:03 +00:00
Jorim Jaggi
fd050630b3 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I6eeeff61ab7b630e994af17727504307ef4ed793
2023-09-07 17:48:55 +00:00
RD Babiera
06447d5b88 Merge "usb: populate USB aidl hal AltModeData" into udc-qpr-dev 2023-09-07 16:53:23 +00:00
Treehugger Robot
a052c566f6 Merge "Adding camera to the default permissions for Pixel Camera Services" into udc-qpr-dev 2023-09-07 01:33:08 +00:00
Scott Wiest
4810a53875 Adding camera to the default permissions for Pixel Camera Services
Test: Compiled and flashed device
Bug: 298098187
Change-Id: Idcf81ac7ffc928b66b17480a298fa28ab88a7b00
2023-09-07 00:36:22 +00:00
Avichal Rakesh
9f58739630 usb gadget: Add config for UVC in init
The UVC gadget requires some setup in configfs before it can be used by
the gadget HAL. This CL adds that setup to usb specific init.rc file.

Currently, UVC is setup to advertise mjpeg streams at 720p and 1080p.

Bug: 242344221

Test: Manually tested that UVC is correctly set up on boot.

Merged-In: I71cf4727fb23744c5aef368c1750784a19ba8c5d
Change-Id: I71cf4727fb23744c5aef368c1750784a19ba8c5d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2023-09-06 20:53:58 +00:00
Avichal Rakesh
b75f286a74 UsbGadget: Add support for UVC function
UVC is a new USB function supported in Android. This CL adds UVC as a
valid function and gives it a new pid of 0x4ee[de]. UVC function is
guarded by the property `ro.usb.uvc.enabled`. When this property is set
to false, UVC won't be considered as a valid gadget function.

Bug: 242344221

Test: Manually tested that the UVC function is successfully configured

Merged-In: I5c2040a84ee8360b16c955403478d908fe109121
Change-Id: I5c2040a84ee8360b16c955403478d908fe109121
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2023-09-06 20:51:36 +00:00
Vincent Palomares
486a0b00b1 Revert "Revert "init.zuma.rc: Disable util-awareness for mids and bigs"" am: 69b275d019
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24499388

Change-Id: I40243a56c56ca0ef8685059c7aa8c401a7c956e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 03:15:29 +00:00
Jenny Ho
511a4e9bda Merge "dump_power: add eeprom path to dump" into udc-qpr-dev 2023-09-06 01:36:54 +00:00
Vincent Palomares
69b275d019 Revert "Revert "init.zuma.rc: Disable util-awareness for mids and bigs""
This reverts commit 1bf61f399f.

Reason for revert: addressed b/296600315 (that caused the revert)

Bug: 289293494
Change-Id: I82e01459738794a387ea6cc50e3b8a8f1a3433d8
2023-09-06 00:12:06 +00:00
Arthur Hung
c1ed5f5336 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:24:14 +00:00
RD Babiera
c2c37bf3a8 usb: populate USB aidl hal AltModeData
Populates AltModeData within PortStatus with DisplayPort
Alt Mode statuses for pin assignment, hpd, link training
status, and port partner capability.

Test: manual test on device
Bug: 277466852
Change-Id: I52a56f7090ed6dbef6211f19d6350cecac58e4fa
Merged-In: I52a56f7090ed6dbef6211f19d6350cecac58e4fa
2023-09-02 00:07:22 +00:00
Jyun LuoLai
3902633957 Merge "Add READ_PHONE_STATE for dcservice" into udc-qpr-dev 2023-09-01 11:12:07 +00:00
Treehugger Robot
8a95927e01 Merge "Disable multicam sync on FATP build" into udc-qpr-dev 2023-09-01 09:29:27 +00:00
Ming-Shin Lu
c4cc4cabe3 Merge "Support variable refresh rate when typing on zuma" into udc-qpr-dev 2023-09-01 07:34:48 +00:00
Jenny Ho
d175d70886 dump_power: add eeprom path to dump
Bug: 298219364
Change-Id: I233a92e51b215cc712a9344fa369c1a0f7d78d5f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-09-01 08:32:46 +08:00
Qais Yousef
7d55c7a459 init.zuma.rc: Disable util-awareness for mids and bigs
There are power regression reports for low activity use cases on mids
and bigs. Disable util-awareness on mids and bigs for now until this is
better investigated and either use a slightly higher threshold or fix
any potential root cause that is causing unnecessary higher activities
on these cores.

Bug: 289293494
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I7ab2dca998c749567c5e1908d57b2174313e8390
(cherry picked from commit 4c559d3334)
2023-08-30 23:46:54 +00:00
Evgenii Stepanov
e6e848358e Merge "Force disable MTE in Chrome in _fullmte build." into udc-qpr-dev 2023-08-28 18:18:14 +00:00
Speth Chang
dd0e6d0efd Disable multicam sync on FATP build
Bug: 297000091
Test: Build pass
Change-Id: Ieda421114fc2584aa1dff194661202531f7ebb65
2023-08-28 15:25:42 +08:00
Jyun LuoLai
97cd05816b Add READ_PHONE_STATE for dcservice
For the Clear calling logging

Bug: 293811206
TESTED=Manual

Change-Id: Ifd996542ef3f64cda754ed88deabd72c79f12191
2023-08-28 02:37:46 +00:00
Krzysztof Kosiński
ae8335bcb7 Merge "Set USF SoC from board makefile." into udc-qpr-dev 2023-08-25 21:47:33 +00:00
Krzysztof Kosiński
49e4648f35 Set USF SoC from board makefile.
Bug: 296943650
Test: presubmit
Change-Id: I0193a1683bb8319985edad855ab63b9333d56018
2023-08-25 02:51:54 +00:00
Joey Poomarin Phloyphisut
1d243624d4 Merge "pixelstats: add total call count sysfs for VendorAudioHardwareStatsReported" into udc-qpr-dev 2023-08-25 02:26:01 +00:00
Treehugger Robot
4df96c5234 Merge "zuma: turn off page_pinner" into udc-qpr-dev 2023-08-24 17:24:03 +00:00
Evgenii Stepanov
4a1f9459e5 Force disable MTE in Chrome in _fullmte build.
This is a no-op in regular builds. Impact is limited to a testing-only
_fullmte build.

Bug: 297266100
Test: chrome does not crash
Change-Id: Iba9b031fa9d2df0c093f0465ae2dd8e1b36133b9
2023-08-23 23:22:21 +00:00
Minchan Kim
69dd546e37 zuma: turn off page_pinner
Disable page_pinner.

Bug: 296136854
Change-Id: I486b7710c976f257b5dd734385f3f5515867662e
Signed-off-by: Minchan Kim <minchan@google.com>
2023-08-23 15:47:39 -07:00
Alec Mouri
0fa6cbd173 Merge "Enable dimming in gamma space in screenshots for adaptive mode" into udc-qpr-dev 2023-08-23 20:08:34 +00:00
Poomarin Phloyphisut
695e32ec40 pixelstats: add total call count sysfs for VendorAudioHardwareStatsReported
Bug: 289857250
Test: Local Test
Change-Id: Ib5758629e46ac10282f423eb926fc25bdf4513b5
2023-08-22 15:09:31 +00:00
KRIS CHEN
3782d703a4 Merge "Add task_profiles MaxPerformance for storageproxyd" into udc-d1-dev am: 0a77f9c0d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24464638

Change-Id: I343d53bb07666de283ba15c59d01309102a88a17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 06:33:12 +00:00
KRIS CHEN
0a77f9c0d2 Merge "Add task_profiles MaxPerformance for storageproxyd" into udc-d1-dev 2023-08-21 06:00:35 +00:00
Ken Sun
a190c688ec Revert "init.zuma.rc: Disable util-awareness for mids and bigs" am: 1bf61f399f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24483947

Change-Id: I8d059fc45fe2ac49ccfb5f08f9112459384149ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-19 01:19:26 +00:00
Alec Mouri
ab6fdd2fea Enable dimming in gamma space in screenshots for adaptive mode
This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d836d5d5ad02c729db581f1c5595c019946e96ab)
Merged-In: Icd7ab0ab7f7d4295785f6840788bb33e327b3bc6
Change-Id: Icd7ab0ab7f7d4295785f6840788bb33e327b3bc6
2023-08-18 20:48:29 +00:00
Ken Sun
1bf61f399f Revert "init.zuma.rc: Disable util-awareness for mids and bigs"
This reverts commit 4c559d3334.

Reason for revert: Cause Wifi Speed regression issue

Bug: 296539490
Change-Id: Ifd11f6ada4025723839ca6ed9d468e59c2d49ef0
2023-08-18 16:09:37 +00:00
Kris Chen
a4bca41a16 Add task_profiles MaxPerformance for storageproxyd
It adds the storageproxyd to top-app group.

Bug: 290709897
Test: enroll fingerprint
Change-Id: I8f9a54bc374ff203e34f2ad7bcb9aabd319767fa
2023-08-18 16:30:20 +08:00
Wilson Wu
03ae83d4e6 Support variable refresh rate when typing on zuma
Enable config_variableRefreshRateTypingSupported
for zuma devices.

Bug: 283055450
Test: build
Change-Id: I695b48392fc134735705f05f74a854fbfaac108c
2023-08-15 10:28:29 +00:00
Qais Yousef
2fce61f633 init.zuma.rc: Disable util-awareness for mids and bigs am: 4c559d3334
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24281928

Change-Id: I3e9ffff087dfaed0c73da9c734e0b162f4d70579
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-15 06:18:57 +00:00
Qais Yousef
4c559d3334 init.zuma.rc: Disable util-awareness for mids and bigs
There are power regression reports for low activity use cases on mids
and bigs. Disable util-awareness on mids and bigs for now until this is
better investigated and either use a slightly higher threshold or fix
any potential root cause that is causing unnecessary higher activities
on these cores.

Bug: 289293494
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I7ab2dca998c749567c5e1908d57b2174313e8390
2023-08-15 00:35:25 +00:00
Ziyi Cui
48a288654e Merge "zuma: Add path reading for StormIRQ" into udc-qpr-dev 2023-08-09 00:50:09 +00:00
Renato Grottesi
17bddfbb57 Disable armnn nnapi backend am: 06b3d41677
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24325829

Change-Id: Id8ec209584c3dc4796e14128ddb2d4c183ef7d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 14:56:14 +00:00
Renato Grottesi
06b3d41677 Disable armnn nnapi backend
Discontinue maintenance and active support of ArmNN on Pixel phones.

Bug: 294459623
Test: Local nnapi_info
Merged-In: I3eb3f880671bea091ff6c798d8def2f559a5e291
Change-Id: Ib6140584a724b5e1fd3634e414773092da49b41a
2023-08-08 05:24:28 +00:00
Ziyi Cui
fa267915a4 zuma: Add path reading for StormIRQ
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Merged-In: I429e01b68fa4a22473c0b57dbf63ee6f579c5f18
Change-Id: I429e01b68fa4a22473c0b57dbf63ee6f579c5f18
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit 4d8bc4d744)
2023-08-08 04:24:33 +00:00
SaiChand Duppala
7ab422de9c Disable dumpstate strict-run flag am: 23b72ce780
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24287005

Change-Id: I9f8b333f45ebd20ab1282e9856eb709c6b36b78b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 23:08:10 +00:00
SaiChand Duppala
23b72ce780 Disable dumpstate strict-run flag
The change disables the dumpstate strict-run flag, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 283326935

Test: Booted both P23 devices along with other strict_run changes. Then manually thermal throttled the devices and captured bugreports. In some tests Incident report took lot more than 20s, and in all these cases it was succesfully captured.

Change-Id: Ie6e688ed7fb0218c1ace70d623f98378c7e6c1de
2023-08-02 13:27:34 -07:00
Treehugger Robot
fa1a110078 Merge "gps: separate gps build system to device" into udc-qpr-dev 2023-08-01 04:40:51 +00:00
Treehugger Robot
4166beb8ba Merge "Update IDisplay to V9" into udc-qpr-dev 2023-08-01 03:35:14 +00:00
Carter Hsu
0869acb6d8 Merge "audio: set CCA default value by project" into udc-qpr-dev 2023-08-01 00:42:23 +00:00
Carter Hsu
4e215e510b audio: set CCA default value by project
Bug: 293550905
Test: build pass
Change-Id: I0915a2a944ec9369eb59bffa3d23ade21085be57
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-31 03:50:31 +00:00
Treehugger Robot
3e8d91bae2 Merge "zuma: Enable SkiaVk as RenderEngine backend" into udc-qpr-dev 2023-07-28 07:30:14 +00:00
Leo Chen
ea94fc0bd5 Update IDisplay to V9
Bug: 255986866
Bug: 227384721
Change-Id: I857301628b41104d3411fcc84d6a5ddd3e2fe008
2023-07-28 06:19:39 +00:00