Since retry times of kernel driver are 24 during USB enumeration,
the total time of bad USB enumeration will waste 48 seconds.
This patch will reduce the timeout from 2 seconds to 500ms, so the
total time is changed to 12 seconds.
(cherry-pick from commit dd9bb5578cd197b44f32c0c19aca79610b5bdd54)
Bug: 256100001
Test: the timeout value is 500
Change-Id: I6c30e3c9168242f5c22443cbd5622892617e0520
Signed-off-by: Puma Hsu <pumahsu@google.com>
Bug: 241739027
Test: trigger bugreport with `adb bugreport` and inspect the
logs to to make sure it is copying over LoggingMaskHistory and
including it in the tar file at the end.
Change-Id: I93ad2655193c57a0782c1535dc1cde3d0db1aeec
This reverts commit f7f4d8e84f.
Reason for revert: The issue b/255244818 caused by cl/476717338 is fixed in cl/477452462 on QPR2.
Bug: 257660234
Test: CTS
Test: Check DSP-TPU landmark is enabled.
Change-Id: I122b3d786cf670515fc471baa043fdd4ccdf0d72
This app files bugreport for user-debug build with reboot reason = ocp
or uvlo. Removed the dependency on BetterBug.
Bug: 237287659
Test: Ensure bugreport is generated under user-debug build with reboot
reason = ocp or uvlo.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I267f077e9c6c856b038b008397c0b465d209d9c3
At the bugreport, capture pixel tracee vents. It's useful to know
what happened in kernel side at that time.
Test: "adb bugreport" includes the pixel trace dump.
Bug: 238728493
Change-Id: I43a0b0bc51fc9aae7149e461761b798da9fce5e8
Signed-off-by: Minchan Kim <minchan@google.com>
This reverts commit 39845ace12.
Bug: 238464124
Test: Build and boot on device. Check last logcat after shutdown
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I045cbffe0296c91c0b5eba0202ac2a071f4959ab
When $(TARGET_KERNEL_DIR) contains:
* boot.img
then use those as prebuilt boot images for the target build.
Bug: 242812258
Change-Id: I10ccfaacfc77cc37eee085b27575fae515ceb088
Since design was adjusted, we are no longer need
to cat dump_start when bugreport be triggered.
Bug: 256746618
Test: Trigger bugreport and check debug files.
Change-Id: I1c381a1e0a9bd0611b804c3dd9364eb48e8d4e49
Signed-off-by: Roger Wang <wangroger@google.com>
Add support for copying prebuilt kernel modules like fips140.ko into the
vendor kernel ramdisk. These kernel modules are different in the following
ways:
- They do not appear in vendor_kernel_boot.modules.load provided by the
kernel build system.
- We want to put their names at the very beginning of the output
modules.load file to ensure that they are loaded prior to all other
modules.
We define a new Makefile variable named
BOARD_PREBUILT_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES. For every filename
on this list, we verify that the file exists in $(KERNEL_MODULE_DIR),
and if it does, we include its name in the modules.load for the vendor
kernel boot ramdisk.
Bug: 194712883
Change-Id: I91a1d834b32717d32621d0a67da9052324cab20c
kernel dev attribute has now been renamed from enable_usb
to move_data_to_usb. Update the same.
Bug: 251381400
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I8e4aa0b2e09bfef807f0169eabb79e2fa2e4d2c7
Use the solution mentioned in b/254207680 to solve the issue
where 180fps might not be picked up in some test cases.
Bug: 254207680
Test: MultiDecoderPairPerfTest
Test: MultiDecoderPerfTest
Test: android.media.misc.cts.MediaCodecListTest
Test: android.video.cts.CodecDecoderPerformanceTest
Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: Ib6c0b4b37a981dc0ffd27aef18614d40fd3603a9
This reverts commit 747f7bb6d7.
Reason for revert: This fix has side effects as described in b/254207680
Bug: 254207680
Change-Id: I771f4d04b17d7e733d9ac163665994a16ea5d711
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
Increase watermark_scale_factor to 200 to better handle
burst memory allocation.
Bug: 251881967
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ibe663456671892f2ec0e5e20e592b80c96bd371b
Please see the bug description for more details.
Bug: 253951732
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If22930a45c2f0db6437ff57ecc6bc2985f0895e8
Merged-In: If22930a45c2f0db6437ff57ecc6bc2985f0895e8
Signed-off-by: Darren Hsu <darrenhsu@google.com>
- Fix OnChipAccMask setting is not working
- Fix SUPL connection issue caused by incorrect DNS caching in gpsd
- Fix ADR_STATE_HALF_CYCLE_RESOLVED is not set properly for GLONASS
- Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.
- sitIndGpsNfwData
Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to
gpsd
- sitIndApEmcState
Modem can get emergency status from gpsd
Bug: 249908120
Bug: 247476666
Bug: 247733027
Bug: 230404480
Verify test: b/253951391
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I0982fdaea2cc26f2864c9611154606f8a3af6b3c
The folder will be used for place the necessary libraries that used by
catpipe functions.
Bug: 249274299
Test: build pass, check the folder with user build
Change-Id: Ibb54e7c0b171f355ee2b71099533afe15ba09e99
AV1 decoder supports 6 instances 1080p at 30fps, so we need
to publish 180fps for 1080p performance point. Since 180fps
is not standard performance point, we also publish 120fps to
meet the requirement which requires at least one standard
performance point is published.
Bug: 242818250
Test: CtsMediaPerformanceClassTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I3a46cd3b4856de0e6f6ecb411e47f9e8c366a79d
Lastmeal.txt may be generated from after device rebooted from IRQ
triggering. By applying limit on the time when it generates,
lastmeal.txt will not be generated after device rebooted.
Bug: 246817058
Test: Trigger brownout and confirm lastmeal.txt has correct timestamp
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I8b52f44fdc64f5ef74e0059720ed58c845e5bf60
Failed to create GPU EnergyConsumer due to invalid coefficient
size. The size of GPU coefficient list should be equal to the
size of available GPU DVFS list in uid_time_in_state.
Bug: 243455584
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I7938e3e89d8e1e9a43c49cff60249a723f76b969
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.
- sitIndGpsNfwData
Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to
gpsd
- sitIndApEmcState
Modem can get emergency status from gpsd
Bug: 215260323
Bug: 229463130
Bug: 230404480
Verify test: b/251369354
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I2912a3c6f0d078a17b5426c22aceccc3a0408133
Instead of relying on vendor.thermal.link_ready property to gate write
to BCL's SYSFS node, adding mitigation ready SYSFS so that writes to
BCL's SYSFS node would not cause NULL pointer dereference.
Bug: 249130916
Test: Confirm property vendor.brownout.mitigation.ready is set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic643a07ddb657cfc7e22537d5d25d0d99324e31c
Test: Tested with tablet with dock. Userspace is able to read
and clear sysfs node successfully
Bug: 218802317
Signed-off-by: Prasanna Prapancham <prapancham@google.com>
Change-Id: Ice5ec79d912f154203a548c6c40470952d806289
Add NAVIC factory test to improve the time of L5 CW test
Fix millisecond error in receivedSvTimeNanos and the corresponding pseudoranges
Add protection code when gpsd call sensor API
Fix invalid sensor availability status report in the PGLOR msg
Bug: 235192024
Bug: 236572839
Bug: 240389454
Bug: 244118456
Verify test: b/249001109
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I37ca4158e1f20f671e284ee55ced703400127b68
As part of pa/2288829, this node becomes unsupported.
Prevents -ENOTSUPP errors when trying to write to Mali's ifpo sysfs
node.
Test: Boot to homescreen
Bug: 247571932
Change-Id: I0b579728a5b2a4355d648020113dda0592f904aa
Signed-off-by: Jeremy Kemp <jeremykemp@google.com>