Bug: 307392882
Test: Local generate brownout for data upload
Change-Id: I06b846b9a0a9d8eb4edd5e1636248a44940f0683
Signed-off-by: George Lee <geolee@google.com>
Checks syntax and simple brace balances for all JSON files.
Test: Edit any json and try upload
Bug: 127794899
Change-Id: I12e5ca0a0fe249f7d93adbd540d4964cafb09249
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs
See b/305658663 for context
Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
This reverts commit c13cd03ccf.
Reason for revert: Let's go through a proper security review for this.
Bug: 306264015
Change-Id: I51fe3f32f8a4ec92cb2d38869568a51dc2522bb4
Set `avb_keys=/avb` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel that is signed using a test key.
This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Test: flash production userdebug build, then flash custom kernel.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in init rc file and task profiles to match the change.
Bug: 289151587
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
-t com.google.android.perfwbs.pts.SchedulerTest
Change-Id: I94f17627f913e20323f9fe111a34fcc666f38a72
Since LMKD introduced aggressive kill for cached apps, we can change the
swap_free_low_percentage back to 10.
Bug: 300660611
Change-Id: I0a37a3bb9470884c0522bc471704031ccaba4247
Signed-off-by: Minchan Kim <minchan@google.com>
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021
Change-Id: I3c630cbc0e48922d883ca2db7381fdd1b5f4836f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021
Change-Id: Iaf4ad9cdd9f6b2127547d2c116f966413011009b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021
Change-Id: I942a135279b6108d56f5b471649d51a8ad46273e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021
Change-Id: I7c7af286c7b76518930fcd7266f4454da74ea735
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2777021
Change-Id: I3eda5ba99136a9727bd622eedb88c5bf48982e97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Upload metrics for the last data session that just ends upon
data role changes. The change is purely metric collection and
does not change any business logic.
This is a direct CP from ag/24816727
Bug: 297224564
Test: Trigger metric upload for both host and device mode and
verify it by statsd_testdrive
Change-Id: I823ae8712b7914cfc7f6c6379acb3749d13c0974
(cherry picked from commit ccb35c81ff0bbfb013136bae7a572280b196bd1a)
Change the owner and group of the DRM module debug file to system to
grant permission for hwcomposer.
Bug: 301599195
Test: check HWC can access it
Change-Id: Ife250a1a4984f94cc52bc1b3e52deeffbc5b5410
This reverts commit db1a72ccdb.
Reason for revert: Increased jank reported, especially on the Pixel tablet
Bug: 301846142
Bug: 298975477
Change-Id: I81726fdd164b48dc72756e35e4dadd755909cb91
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: I0bb6e2073554de4e5ce8fe472dae6a77e69aeb54
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