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: I8e0f485e74d10a0154e4cd78af9f5ef5a22d328f
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: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>
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: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
There are some regressions reports. Disable them completely for now.
Bug: 297496375
Change-Id: I6478931d73145a15471982738f0ff93eae5f2f07
Signed-off-by: Qais Yousef <qyousef@google.com>
Limit the following devices to accept ffu upgrade:
- LifeC time < 10%
- Activated date < 1 year
Bug: 273305600
Test: run ffu process at local
Change-Id: I9cc9298eeb7cd32f02a9577efb71bda0737f284d
Signed-off-by: Leo Liou <leoliou@google.com>
Align the p2p overlay config with other projects
Bug: 273897565
Test: P2P enables on 5GHz channel when DUT connected to 2.4GHz
Change-Id: I4e4dac3b1f2fa907dc7e57408f3744086a126860
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60
This tweak also aligns the policy with P23.
Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s. This is the same configuration that
was deployed on the previous generation of devices.
The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.
Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior
Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
Service not enabled on gs201 devices.
Test: Failed tests no longer reported.
Bug: 293555121
Change-Id: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Merged-In: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Signed-off-by: Mark Chang <changmark@google.com>
(cherry picked from commit 94e5bab69e)
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: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Change-Id: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit e9dab393fc)
Discontinue maintenance and active support of ArmNN on Pixel phones.
Bug: 294459623
Test: Local nnapi_info
Merged-In: Ic0db64d2eec0cb955ae710fa0ac89de3d7136db6
Change-Id: Idfa020dc46070764ccfff148b1fdfc72ccd16442
This changes RenderEngine from using the SkiaGL backend to using the
SkiaVk backend.
Bug: 290248072
Test: Manual testing
Change-Id: I2e9c9fe01c84ad06116435567bb1b02b54677cef
Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4
Test: OTA
Bug: 291594891
Signed-off-by: Akilesh Kailash <akailash@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:62afad0252b57c00847d4942504c6435105b8ccb)
Merged-In: I0a6b164432e16f531c0cc1157814411960915539
Change-Id: I0a6b164432e16f531c0cc1157814411960915539
Compile ArmNN shim over the support library.
Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.
Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Merged-In: I3652eceb14d06a3e909444edc21ad86d9378bc6c
Change-Id: If26928b13cdd9f3342026af95b9446f2918784fa
Loading the larger limit is taking too long in the field for
apps that are filling the cache.
Test: Ran app until it exceeded cache, watched it reset to 50%
Bug: 290249239
Change-Id: I1b80b8ad427d8a0d2a6d967b98b89d808c549527
Files created by the uvc driver gives write permissions to 'other' by
default. This permission is not needed at runtime. To minimize write
privileges, this CL removes other-write permission from all uvc config
files that had it.
Bug: 242344229
Test: Manually verified that no files have other-write permissions
Change-Id: I27611d0ba4ecf2851aef6ea8bd613284744142fb
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I44f9632cc7b848d6fe673232be014cef71355018
Signed-off-by: Randall Huang <huangrandall@google.com>
Adding the necessary entries to ueventd for gs201 and newer and
enable the flag for chre_daemon to start using the channel.
Bug: 241960170
Test: in-device verification.
Change-Id: Ie53e3c21e6c83f9e184d31fd189cff3e5602bb2b
Use a moderate boost instead of fmax out of thermal constraints.
Bug: 284039815
Test: boot ab tests
Change-Id: Ie8d321e20d64e97d2896f6e5cf6f437dede84928