This reverts commit 1ac9ce7219.
Reason for revert: Increased jank reported, especially on the Pixel tablet
Bug: 301846142
Bug: 298975477
Change-Id: If9ef37db1ff77880ac483bd76dc5e95ca4e8eb4e
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
This reverts commit 253d3d48fa.
Reason for revert: Scheduling while atomic b/301031609
Bug: 301031609
Change-Id: I8179a926315da55ede03653a1517f13f61f3fdeb
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
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>
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>
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
We'll rerun the review to use READ_PRIVILEGED_PHONE_STATE in QPR2
instead
Bug: 293811206
TESTED=Manual
Change-Id: I71bc67b102f5c7f021d774c5c505e0a8713f36e6
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>
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbfd61757233989a4b75a7e99fbf85c60b06d634)
Merged-In: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
Change-Id: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
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