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.
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: 356685367
Flag: EXEMPT bugfix
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
(porter from commit 3644ca07e87069fd2bed99f9f1fe13862ad43f62)
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.
Bug:356685367
Test: Check `update_sdp_enum_timeout` is written into after usb
gadget is pulled up. Verify that the alarm timeout lowers.
Flag: EXEMPT bugfix
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
(ported from commit d8e2a02998fc1db9be00dab69a213378fb3caede)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Revert submission 28323508-common_perf_init
Reason for revert: Potential culprit for b/360746202- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:28323508-common_perf_init
Change-Id: Ice26f3451cec999b3b2b3e2f42c0aa06eff68f75
Moving common cpufreq configurations to gs-common.
Bug: 335874870
Flag: NONE code refactor
Test: boot and check parameters
Change-Id: Ieff1185a09b310924ea60ebc4f2fbf6047e8592f
Signed-off-by: Will Song <jinpengsong@google.com>
In case of always, we always enable hdcp regardless of drm status.
Bug: 359951297
Flag: EXEMPT bugfix
Change-Id: I477f5c0cfa1350c295c3722a35ab42fb7a9a73e6
Signed-off-by: Ji Soo Shin <jisshin@google.com>
For multi-window foreground app group.
Bug: 200769420
Test: build pass
Flag: NONE vendor task_profiles.json does not support flag
Change-Id: I6fb46c9eca2df2b1ca1b105f50c2cc550bb86db8
Remove color data protobuf and command that put protobuf to the Android
filesystem
Bug: 309149099
Flag: EXEMPT refactor
Test: adb shell ls /vendor/etc/display_colordata_cal0.pb
Test: change color mode in Display Settings and confirm the same colors
Change-Id: I2727e9aa1baa35d814e5909c31b1c22f55885e61
Flag: EXEMPT resource only update
Bug: 357888681
Test: Manually verify using satellite S2 lookup tools and system test
with Skylo network
Test: 359574234
Change-Id: I05f9b6bafb1802c2c543ecaa8f66ecff560f50e9
Sync the missing operations on modem efs files with the seperated fstab.
Bug: 359426567
Flag: EXEMPT bugfix
Change-Id: Ib678adc86c36a536ed32861e93d1d973e2c7c34a
expected_present_time
init: change file owners of sysfs nodes frame_interval and
expected_present_time in order to grant permission for hwcomposer
Bug: 330392550
Flag: EXEMPT bugfix
Test: swipe home screen, and check the notifyExpectedPresent()
Change-Id: Ic8f5f2213c483eaa46cf3a6c1b4baa1b886cb6e4
Set the new disablt_util_est knob for each group. It should be disabled
by default except for few select groups.
Bug: 336169796
Flag: EXEMPT boot time init script
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I225b203756c656ee8b8d3157796b6fe5454c9e26
Disables EHLD as an workaround since reading PMU event counter currently
conflicts with devfreq.
Bug: 354380599
Test: Build/Flash
Flag: EXEMPT bugfix
Change-Id: If8c819fc5baf27c9f6ea4532429bede8c4579072
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>
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
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