Update the i2c bus numbers to use the statically assigned numbers
configured in the kernel device tree. In addition, use ueventd to set
the ACL for the i2c devices.
Bug: 291606723
Test: performance boot testing
Test: verify selinux labelling with ls -Z on the modified device nodes
Change-Id: I579143fa38bc2e9b3bf7dc618b10e63001263e2e
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: I78e9f97575784996aac94e576c7f23b0874a8d09
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>
There are some regression reports. Disable them completely for now.
Bug: 297496375
Change-Id: I2a2b4d13366d3173c441e8ccad456a67ddd3a16b
Signed-off-by: Qais Yousef <qyousef@google.com>
- 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: I0ed7088ddf2ff2fa0feca2197e5cc03c7f5c6778
Signed-off-by: Martin Liu <liumartin@google.com>
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's write permission from all uvc config
files that had it.
Bug: 242344229
Test: Manually verified that no files have other-write permissions
Change-Id: I67d504fa924f90f3a54dab5264ab1609050f5dd5
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I5efdb979e9c738964350b221b9f5fffea19c721d
Signed-off-by: Randall Huang <huangrandall@google.com>
Use a moderate boost instead of fmax out of thermal constraints.
Bug: 284039815
Test: boot ab tests
Change-Id: I5787a62ca26f9e128e73c7bf9d60c4d2216d5e0c
rt_uclamp_min and sf_uclamp_min have been made redundant in Pixel by
ADPF for sf, so we are just going to remove them outright rather than
worrying about overriding them later
Bug: 285248880
Test: manual
Change-Id: I5abdf2e16dd769f1fece28a1dc630a9a8e3ddd14
Background:
* Not all secure storage files had the correct ownership transitions.
Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: I306209fe04256ca48ea7b6246a6c8718a29b149b
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
Add temperature residency reset path
chown to system to reset from pixelstats
Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Id73badfb8f8ff97a1a75b0544d3e1457ad0e2f84
With bg group throttle set to 30 percent of cpu capacity, we need to
relax background cpuset as well.
Bug: 201260585
Test: value set as expected.
Change-Id: I4a4dca2d077386d58fa06b6445e040906818c7dd
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 at
60, 30, 24, and 15 fps each.
Bug: 242344221
Test: Manually tested that UVC is correctly set up on boot.
Change-Id: Ic597e5a1ec1bd31d73899e5a885f8cb0d0753bd5
This is required so Lyric is able to talk to smfc driver
Bug: 257084044
Test: ls -la /dev/video12 shows proper file permissions
Change-Id: I181c8f8d1647d91d092d83887f28bef640e3b464
dock-defend is enabled in kernel code.
Bug: 262322247
Test: dock-defend is enabled by default
Change-Id: Ibbd83fc2442e2a6d68d7f506ccd29d452947931c
Signed-off-by: Jack Wu <wjack@google.com>
the file node was removed so also remove these
dummy setting
Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
To enhance system performance and save power, chagne idle governor to TEO.
Test: boot to home
Bug: 175800838
Signed-off-by: Chungkai Mei <chungkai@google.com>
Change-Id: I591c1ff8d0c9ed8d5a3b4861c9c5b715ed1c3eae