Commit graph

1053 commits

Author SHA1 Message Date
Android Build Coastguard Worker
6eb2c5dbf1 Snap for 9321341 from 945f9e6cd5 to tm-qpr2-release
Change-Id: Ia33be37bf56e6fea774f5e4a0aedc028d4d60d23
2022-11-23 00:07:04 +00:00
Hua Cheng
945f9e6cd5 Revert "[Steadiface] Disable landmark inference dsp usage."
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
2022-11-22 07:00:30 +00:00
Android Build Coastguard Worker
a5c93081f8 [coastguard skipped] Merge sparse cherrypicks from sparse-9293603-L15900000957431128 into tm-qpr2-release.
Change-Id: I98e81a756eaf58d4e26af8a34fb2a7b989ad5641
2022-11-18 19:05:58 +00:00
Android Build Coastguard Worker
6d5e249969 Merge cherrypicks of [20468986] into sparse-9293603-L15900000957431128.
Change-Id: I75d1303e25b6148466861ac9ff6f8d236627fd0e
2022-11-18 19:01:39 +00:00
George Lee
df5d63896d battery_mitigation: Add BrownoutDetection app [DO NOT MERGE]
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
(cherry picked from commit d0d71a7ce8)
Merged-In: I267f077e9c6c856b038b008397c0b465d209d9c3
2022-11-18 19:01:28 +00:00
Android Build Coastguard Worker
e08504d22e Snap for 9305793 from 1d398c55be to tm-qpr2-release
Change-Id: Ia02db11183c9bb1884d03a5c333e53e5a383caee
2022-11-18 00:06:58 +00:00
Wayne Lin
1d398c55be DO NOT MERGE gps: update gps driver 147.20.23.554803
- Fix GLONASS Notch Filter Center issue
 - Support RILC_UNSOL_GPS_LOCK_MODE to send GPS LOCK MODE to CP
 - Fix IGnssMeasurement#setCallback twice issue
 - Fix the issues related to LTE filter

Bug: 210132268
Bug: 241880444
Bug: 254195220
Bug: 254202512

Verify test: b/259015778
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I7c4c92b16a176c86c7239db3381cf246169ebbe1
2022-11-17 07:45:19 +00:00
Android Build Coastguard Worker
0b8c767ddf Snap for 9301146 from d0d71a7ce8 to tm-qpr2-release
Change-Id: I5675ec91c180a4391b0ea94375439c41fc49978e
2022-11-17 00:07:01 +00:00
George Lee
d0d71a7ce8 battery_mitigation: Add BrownoutDetection app [DO NOT MERGE]
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
2022-11-16 18:20:57 +00:00
Android Build Coastguard Worker
e906dc282e Snap for 9290907 from 31883f3edc to tm-qpr2-release
Change-Id: Ibde7c50f23efffce52a27f0aaa90b0341d3098ad
2022-11-15 00:07:08 +00:00
Minchan Kim
31883f3edc dumpstate: Dump pixel specific trace events at bugreport
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>
2022-11-14 19:00:39 +00:00
Android Build Coastguard Worker
3b502a5772 Snap for 9286970 from 4af3fad2e9 to tm-qpr2-release
Change-Id: Ibe41bd9e582a688e5854e2e4f15ce94b00bcc2b7
2022-11-13 22:07:33 +00:00
Sayanna Chandula
4af3fad2e9 Revert "Revert "thermal: enable warm_reset on thermal shutdown""
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
2022-11-12 21:18:17 +00:00
Android Build Coastguard Worker
14fd667db3 Snap for 9284490 from 6ec2acb1b0 to tm-qpr2-release
Change-Id: I2f2753c47c64e7845329a7b2e9fa8472bbb01256
2022-11-12 02:02:50 +00:00
Carter Hsu
6ec2acb1b0 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I8c1b91e0d06088b628d171d99f42cb0d0c77bffc
2022-11-11 01:50:19 +00:00
Android Build Coastguard Worker
860e2e5284 Snap for 9274385 from 386fb05c96 to tm-qpr2-release
Change-Id: I3e319ba5cc3f7794fb4914b0983479d3538cf6c5
2022-11-10 00:03:21 +00:00
Jerry Huang
386fb05c96 media: Fine tune c2.android.hevc.encoder performance point
Bug: 256080051
Test: android.video.cts.VideoEncoderDecoderTest#testHevcGoog0Perf0320x0240
Change-Id: Ic7ad1f613b80dc95d067e918883f86252561b356
2022-11-09 12:45:13 +00:00
Android Build Coastguard Worker
3cfb2ff079 Snap for 9268991 from a82f7b059c to tm-qpr2-release
Change-Id: Ia00557fe3c30068e214c5ea9d6a448bfbdc4e0a9
2022-11-09 00:03:19 +00:00
Roger Fang
a82f7b059c [DO NOT MERGE] pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported
Bug: 249225148
Test: manually test passed

Change-Id: Id9f09644176b064b5891d0c3c83414e378260168
Signed-off-by: Roger Fang <rogerfang@google.com>
2022-11-08 09:53:37 +00:00
Android Build Coastguard Worker
d0d73e718e Snap for 9264471 from 0272b56e05 to tm-qpr2-release
Change-Id: I2905ae5afb323f5e77bc2c51e8b5f3f143e5c68b
2022-11-08 00:11:58 +00:00
Android Build Coastguard Worker
7e1842f8ba Snap for 9257771 from d9c9199c83 to tm-qpr2-release
Change-Id: Iaae4b79c3fbfd31765e09580861c8b7bacb17f78
2022-11-05 01:03:02 +00:00
Robin Peng
0272b56e05 gs201: remove prebuilt boot-user.img usage
When $(TARGET_KERNEL_DIR) contains:
* boot.img

then use those as prebuilt boot images for the target build.

Bug: 242812258
Change-Id: I10ccfaacfc77cc37eee085b27575fae515ceb088
2022-11-04 06:49:05 +00:00
Star Chang
d9c9199c83 Add TWT statistic logs to dumpstate for bugreport.
Bug: 253348062
Test: dump bugreport ok
Change-Id: I2a1edafa78113e4f48d22244151c3a1500fe7f71
Signed-off-by: Star Chang <starchang@google.com>
2022-11-04 01:31:19 +00:00
Android Build Coastguard Worker
226b85d60e Snap for 9243084 from 712cb29b4d to tm-qpr2-release
Change-Id: I98aada2b717f45da34994e815b61407f151604ac
2022-11-01 23:03:05 +00:00
Roger Wang
712cb29b4d wifi: remove unnecessary debug dump
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>
2022-11-01 15:04:14 +00:00
Jenny Ho
70c85f31ab dumpstate: dump battery defend logbuffer
Bug: 242679204
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6c3a94a3cab77f9baa49ab8b5f2536e0a1275c7f
2022-11-01 05:34:11 +00:00
Android Build Coastguard Worker
d0bc7445fb Snap for 9238644 from 3b533e5227 to tm-qpr2-release
Change-Id: Ie89588c9500fa999fa3bd4093db914e075b228b3
2022-10-31 23:07:01 +00:00
Daniel Mentz
3b533e5227 Import prebuilt kernel modules like fips140.ko
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
2022-10-31 19:30:13 +00:00
Badhri Jagan Sridharan
694c890c33 Rename enable_usb dev node to move_data_to_usb
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
2022-10-31 14:07:51 +00:00
Taehwan Kim
edfbe0ff75 BoardConfig.mk: add BOARD_SUPPORT_MFC_ENC_BT2020
Bug: 239912381
Test: atest android.mediav2.cts.EncoderColorAspectsTest
Change-Id: I68be5ef52d60d65886cf9e1dae5069e7daa60775
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-10-31 12:17:47 +00:00
Android Build Coastguard Worker
163a9078ee Snap for 9234503 from 4ac953829d to tm-qpr2-release
Change-Id: Id4b1f0a97b3690127f778255d6f8f191a8e6c926
2022-10-30 00:51:55 +00:00
Ruofei Ma
4ac953829d update performance-point for AV1 decoder
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
2022-10-27 17:22:20 +00:00
Android Build Coastguard Worker
6332075e64 Snap for 9211918 from f7f4d8e84f to tm-qpr2-release
Change-Id: Idcfe8a5ec46f98bbbbf970e2e84e9b6e2797bb58
2022-10-24 23:06:57 +00:00
Hua Cheng
f7f4d8e84f [Steadiface] Disable landmark inference dsp usage.
Bug: 255244818
Test: CTS, GCA

Change-Id: Ia58fd269e611e8eda8d7abfce25f906f9f9e4f18
2022-10-24 16:12:53 +00:00
Android Build Coastguard Worker
6c7f23bf52 Snap for 9206145 from 05e1012a22 to tm-qpr2-release
Change-Id: I633ec57052b383db6f8d096c5b84e453f3407ca3
2022-10-22 01:03:09 +00:00
Ruofei Ma
05e1012a22 Revert "update performance-point for AV1 decoder"
This reverts commit 747f7bb6d7.

Reason for revert: This fix has side effects as described in b/254207680

Bug: 254207680

Change-Id: I771f4d04b17d7e733d9ac163665994a16ea5d711
2022-10-21 20:02:42 +00:00
Chungkai Mei
1906df94e0 init: set teo as cpu idle governor
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
2022-10-21 18:13:01 +00:00
Android Build Coastguard Worker
bc2ce5734a Snap for 9200392 from 55f8dbd064 to tm-qpr2-release
Change-Id: I975c9b99de4a075cbaa980bf6a8ae499fdc069bb
2022-10-20 23:03:15 +00:00
Android Build Coastguard Worker
1a3f7a3c75 Snap for 9195661 from 83da3a8261 to tm-qpr2-release
Change-Id: Ib5b979add0fca8c8a1423f79721522381f6f0e12
2022-10-19 23:03:15 +00:00
Martin Liu
55f8dbd064 adjust watermark level
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
2022-10-19 20:33:22 +00:00
Darren Hsu
83da3a8261 powerstats: expose data provider methods for specific configurations
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>
2022-10-19 06:38:54 +00:00
Android Build Coastguard Worker
818ca9c0fd Snap for 9190355 from 190a5de57b to tm-qpr2-release
Change-Id: Ib6b8b74debca937255d46a00a8c99a40f9305a75
2022-10-18 23:08:29 +00:00
Wayne Lin
190a5de57b gps: update gps driver 147.20.23.552120
- 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
2022-10-18 06:26:47 +00:00
Android Build Coastguard Worker
64d0b8eb26 Snap for 9185292 from 19177f8ada to tm-qpr2-release
Change-Id: Ibe9cd0836f39ead0123c9ec2432d54d5699b19a6
2022-10-17 23:07:02 +00:00
Speth Chang
19177f8ada gs201: create catpipe folder for camera useage
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
2022-10-17 06:13:42 +00:00
Android Build Coastguard Worker
8aeed7e75d Snap for 9181667 from 57282c4cc4 to tm-qpr2-release
Change-Id: Idc24f35f1796e05381ebefbc6178c73fb148ba81
2022-10-16 21:12:10 +00:00
Nicole Lee
57282c4cc4 Update pixel stability logging mask
- Enable GP_CH_COMM, GP_SMPF_TASK, GP_SMPF_UTIL

Bug: 250742408
Change-Id: I034e82502bf58ce5f492ca708028c5bfdfe10a58
2022-10-16 13:50:28 +00:00
Android Build Coastguard Worker
6f5bc983d2 Snap for 9180607 from 747f7bb6d7 to tm-qpr2-release
Change-Id: I3c05e5312e7026ec1c1cc55042b54c6c98d7bef4
2022-10-15 21:06:54 +00:00
Android Build Coastguard Worker
8ba0ed2226 Snap for 9178587 from 6ebf1dceb0 to tm-qpr2-release
Change-Id: I688c19ae5c0b25087bfecfa6f8a04914fcdfbbe2
2022-10-15 01:03:24 +00:00
Ruofei Ma
747f7bb6d7 update performance-point for AV1 decoder
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
2022-10-15 00:12:17 +00:00