Commit graph

685 commits

Author SHA1 Message Date
Wayne Lin
4903856a46 gps: update gps driver 143.20.23.540296
Disable OTDOA in Android TM and fix SUPL OTDOA B66 issue
Keep IGnssCallback when gps off to fix DBH issue
Fix measurement interval issue
Fix SI/NI SUPL connection timing issue
Fix RMN LCS-001-001-004 SUPL issue
Fix stale pps time issue
FIx cnpn job counting issue

Bug: 233568357
Bug: 233849643
Bug: 233839493
Bug: 231383525
Bug: 228575547
Bug: 231765172
Bug: 233982646

Verify test : 235766042
Test : VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I8092b47a8aeac9ff1440cffbe8fc07a1a12c833d
2022-06-14 14:02:36 +00:00
GOOGLE\huangaustin
f054bf5eaa [PixelLogger][P22] Update P22 default.nprf to enable UICC_TPDU trace for SIM team am: 575dd05df7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18865514

Change-Id: I2d82b65219fb3b307bcb6b8ff2d2c0deae7bd229
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 04:42:53 +00:00
GOOGLE\huangaustin
575dd05df7 [PixelLogger][P22] Update P22 default.nprf to enable UICC_TPDU trace for SIM team
bug: 214351205
Change-Id: Ic919671b6fbd14cf62c1efbf26611fd0399b65f4
2022-06-14 03:54:24 +00:00
Minchan Kim
d4bfa6908a dumpstate: dump cma information
At bugreport, dump cma information, which is useful for CMA
memory leak.

Bug: 233535442
Test: adb bugreport contains cma information in dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I37aa901b0376d5187c18c73422e9fa56bfd0d6bc
2022-06-13 22:35:38 +00:00
Thurston Dang
227972b2cf Clear secure deletion keys upon factory reset am: eeecbaf3cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18808040

Change-Id: Iea12a3756c309b2bc78a585e671f51e636c7a191
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 16:54:31 +00:00
Jonglin Lee
6e9c7db1d2 Revert "thermal: enable warm_reset on thermal shutdown"
This reverts commit 06fea09686.

Reason for revert: abl change to remove 15 second timeout was
reverted, thus need to revert this change to prevent potential
dogfood device damage during thermal warm_reset

Bug: 235641682
Change-Id: Iacd4ef094ba12e326f7660645005e3eab48dcf83
Signed-off-by: Jonglin Lee <jonglin@google.com>
2022-06-11 02:31:01 +00:00
Rick Chen
a84bd15d43 usf: Include usf_product.mk for USF PDK.
Bug: 234324473
Test: Compile pass. Verified sensor list & sampling on C10.
      The validation is done both on PDK build and tm-d1-dev build.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I371104ceeb39d668dabaf2ba5f705146c60d9bab
2022-06-10 01:46:26 +00:00
Thurston Dang
eeecbaf3cc Clear secure deletion keys upon factory reset
This ports the gs101 configuration - which clears the secure
deletion keys upon factory reset - to (REDACTED DEVICE), as
suggested by David Drysdale in b/223934835#comment53. In the
absence of this change, the key slots may eventually get filled
up (e.g., by failing tests) and never be released.

Bug: 223934835
Test: Check logcat that keys are cleared after factory reset
Change-Id: I56efb76cb6bb0cdfe2eb9b0ac3ca89e49bfc57f0
(cherry picked from commit 4da7fdc1a7)
2022-06-09 05:43:45 +00:00
Oleg Matcovschi
06fea09686 thermal: enable warm_reset on thermal shutdown
Test: adb shell setprop sys.powerctl shutdown,thermal
Bug: 232092738
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I198b8de7055b8713460340df613d4309df72ec6d
2022-06-08 18:55:02 +00:00
Erik Staats
cd51a5d5bf Add head tracker feature.
Bug: 233082034
Test: Verified that head tracker feature is set and sensor feature CTS
 test passes.
Change-Id: I125284a6264af74d9aebfa8a1cb1e91a8f6a67a1
2022-06-07 23:00:41 +00:00
Jenny Ho
4617cffdd7 dumpstate: dump AACR related data
Add charging table and capacity dump for Age Adjusted Charge Rate (AACR) feature

Bug: 209987670
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ic9dd435557bf4e941fcbdb48fb134c938dd5be83
2022-06-06 13:00:09 +00:00
Nate Myren
8aea924b79 Add notification pregrant for turbo on g s 2 0 1 am: 1c1776a05e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18697501

Change-Id: Id1622daaa82539159d55a7f0731fe1f38ad6a200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 21:01:37 +00:00
Nate Myren
1c1776a05e Add notification pregrant for turbo on g s 2 0 1
Bug: 233903326
Test: manual
Change-Id: I0c87136f4370c8da8b1f9449fb81faab46e23a30
2022-06-02 20:38:13 +00:00
Jeremy DeHaan
01f0fbece4 [automerger skipped] gs201: Update IDisplay to V6 am: c9fe11999f -s ours
am skip reason: Merged-In I8e98eaa369d40040ec4cfddbe235429442bf3f63 with SHA-1 138bc00972 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18606699

Change-Id: I0303de83dac97ce02aeab257dbf1af1bd6807324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 21:36:37 +00:00
George Lee
e194f1eac4 mitigation: Add cdev state monitoring
Add DVFS monitoring to mitigation logging.

Bug: 228383769
Test: Confirm state logging
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I38b75eef1639b4a8959100b37e9064be04a53ede
2022-06-01 17:52:06 +00:00
Jeremy DeHaan
c9fe11999f gs201: Update IDisplay to V6
Bug: 228113713
Change-Id: I8e98eaa369d40040ec4cfddbe235429442bf3f63
Merged-In: I8e98eaa369d40040ec4cfddbe235429442bf3f63
2022-06-01 03:36:59 +00:00
Ankit Goyal
34669d0b0a Add memtrack to device.mk
Bug: 220360577
Test: adb shell dumpsys meminfo
Change-Id: I9f0c8d57de7a1c53e3bf15e0e01c70560f327345
2022-05-31 23:25:27 +00:00
Jeremy DeHaan
138bc00972 gs201: Update IDisplay to V6
Bug: 228113713
Change-Id: I8e98eaa369d40040ec4cfddbe235429442bf3f63
2022-05-31 23:20:38 +00:00
Alex Hong
b9cd590fd1 Do not register GS201 dumpstate HAL as a lazy HAL
Test: adb bugreport
      ./vts-tradefed run vts -m VtsHalDumpstateTargetTest
Bug: 231299630
Change-Id: I003b2560dc723570403440719b7b7cc259e75205
2022-05-30 05:04:11 +00:00
GOOGLE\huangaustin
93f18e9c69 [PixelLogger][P22] Update P22 default.nprf to enable subset channels in GP_SV_SMDT trace for NAS am: 95b1ba4ea6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18619314

Change-Id: I245c7b4a554483ed36c9a73341bcbc73a38bde53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 03:51:33 +00:00
GOOGLE\huangaustin
95b1ba4ea6 [PixelLogger][P22] Update P22 default.nprf to enable subset channels in GP_SV_SMDT trace for NAS
bug: 214351205
Change-Id: Id3788234b941a6f1ac166e16f11ea68d06c2b0cf
2022-05-30 03:33:18 +00:00
Ricky Niu
6d0bb7f43d usb: Correct the i2c path
Correct the I2C path to match the new memory address setting.

Test: Connect to HU work
Bug: 233996502

Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I27cca56698568e8a3060d9e40bad3a29ec072588
2022-05-30 03:06:56 +00:00
George Lee
fb6e5cf647 dumpstate: Mitigation logger readout
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts.  Information
collected is to help debug system brownout.  This change is to enable
bugreport reading out the mitigation log.

Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia735e46fc1b86b1971e8838d43f8733c73793ef8
2022-05-27 21:00:35 +00:00
Kelvin Zhang
65990a9bf0 Enable Virtual AB Compression on pixel device am: 34736d0ae2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18627723

Change-Id: Ib028b1648d9277f7466b8aa9530b79a0b7a44efc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 19:47:08 +00:00
George Lee
a5fa72f57b bcl: Add Mitigation Logger - Binary
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts.  Information
collected is to help debug system brownout.

Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Icc5bf599eff7715545ed66d352ec00ae5d633aa0
2022-05-27 08:40:21 -07:00
Kelvin Zhang
34736d0ae2 Enable Virtual AB Compression on pixel device
Test: th
Bug: 234082426

Change-Id: If03ed7d412bd7a31885117fdb681c4c31d0366c7
(cherry picked from commit 5f3691316d)
2022-05-27 03:05:33 +00:00
Ruofei Ma
267f8c4fdf Revert "update performance-point for media performance class 13" am: ac51c392a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18608486

Change-Id: Ib7ae86e5e6c0170d8cfc6d6221cad1eadc681f43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 16:15:51 +00:00
Lucas Wei
03495e41e2 Enable vendor_kernel_boot partition for gs201
- Disable dlkm ramdisk fragment from vendor_boot
 - Enable vendor_kernel_boot and OTA support
 - Set partition size to 64MB

Bug: 214409109
Change-Id: I4a6ee0b2f1c44a4d257cc51cf408f6f7cf295471
Signed-off-by: Lucas Wei <lucaswei@google.com>
2022-05-26 13:51:34 +00:00
Patty Huang
9e3b42c19c BQR: Let bqr event mask can be overridden by project
Use the ?= operator to make the property can be overridden

Bug: 233553754
Tag: #refactor
Test: Verified the property can be overrided

Change-Id: Iab21ebbb2de31c969e6566da6ed35e00fb1a4ce9
2022-05-26 12:56:52 +00:00
Wayne Lin
6602054528 gps: update gps driver 142.20.23.537976
Fix power duty-cycle issue
Fix gpsd crash issue
Fix gps start fail while running Astress
Fix measurement elapsedRealTime variation issue
Reduce NLP request
Improve warm start accuracy
Add additional PLMN codes for TMO
Fix no earlyfix while OTDOA disabled

Bug: 232035911
Bug: 232035671
Bug: 213264365
Bug: 230598202
Bug: 228395377
Bug: 221000024
Bug: 230811304
Bug: 230818100

Verify test : 233318251
Test : VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I90123d3c828e77ed1d0584d9ab3b7f7a6ec5ca88
2022-05-26 06:40:00 +00:00
Jimmy Hu
3b1583d7a5 Write the pullup value only if new value applied
Bug: 226018845
Test: build, boot
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
Change-Id: I636dc18dca123f88dbf10c4a17caa9a75cbb12f7
2022-05-26 02:42:33 +00:00
wenchangliu
677871f4dd update performance-point for media performance class 13 am: aafcfa6c85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18595234

Change-Id: I26371fe6ffb1767eaa936ae993cb33963a4182dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 02:12:15 +00:00
Ruofei Ma
ac51c392a7 Revert "update performance-point for media performance class 13"
This reverts commit aafcfa6c85.

Reason for revert: This is actually not needed in tm-dev. It is no harm but revert it to be safe.

Change-Id: I7d0740af4615d7fcf8db7349f0f3f31e207fe274
2022-05-26 01:18:04 +00:00
wenchangliu
aafcfa6c85 update performance-point for media performance class 13
Support 6 instances of hardware video encoder/decoder
sessions (AVC, HEVC, VP9 or AV1) in any codec combination
running concurrently at 1080p resolution@30fps.

Bug: 229938655
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
(cherry picked from commit 7e3c3434c5)
2022-05-25 23:59:39 +00:00
Olzhas Ussipbayev
5252a4a919 Pregrant camera permission to Pixel Camera Services am: 38f587ba09
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18596512

Change-Id: I7b44e1f7d30f341ffd3a37dfaa4635d224f72af2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:07:23 +00:00
Olzhas Ussipbayev
38f587ba09 Pregrant camera permission to Pixel Camera Services
Test: built/flashed and observed Camera permission present.

Bug: 233800867
Change-Id: Ic6760a8b301e9c6dac7f87aa7778762b219015f6
2022-05-25 20:46:57 +00:00
GOOGLE\huangaustin
38c74b2fd1 [PixelLogger][P22] Update P22 Pixel_default.nprf to enable UICC_TPDU trace for SIM am: e4e4847339
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18579896

Change-Id: I47f0575957d02a94fdab9be877f20b58113627f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 11:44:48 +00:00
GOOGLE\huangaustin
e4e4847339 [PixelLogger][P22] Update P22 Pixel_default.nprf to enable UICC_TPDU trace for SIM
bug: 214351205
Change-Id: I7b7ea393a78c3528a396a05b7107b28f17e3b418
2022-05-25 16:05:44 +08:00
Ankit Goyal
5269bbb0a5 Deprecate allocator 4.0 in favor of AIDL V1 am: efd8e19d57
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18565708

Change-Id: I1a74aa4c11f4e7c194a66cb881184531de2790bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:15:14 +00:00
Ankit Goyal
efd8e19d57 Deprecate allocator 4.0 in favor of AIDL V1
Bug: 220910504
Bug: 228405226
Test: go/allocator4-deprecate
Change-Id: Iecb0517f1abddcf0c7f289c716552154141c7eeb
2022-05-24 21:42:02 +00:00
TeYuan Wang
879b29aea1 thermal: allow system to overwrite the usb_pwr_therm's trip point
Bug: 222577017
Test: ls -al /dev/thermal/tz-by-name/usb_pwr_therm/
Change-Id: Ic7807bb67808a55e56ae65367729d083df672225
2022-05-24 17:24:41 +00:00
susi_su
29d037bc02 Declare IDisplay aidl interface to V5
Bug: 176922790

test: local test with a histogram client program
Change-Id: I0481381811e1b9fccde347f73cb4446939bce4dc
2022-05-24 13:05:46 +00:00
GOOGLE\huangaustin
de26e24bab [PixelLogger][P22] Update P22 Pixel_default.nprf to enable all channels in GP_SV_SMDT trace for NAS am: 90aa043beb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18568192

Change-Id: Iae8bf2166bf0d3729e23c56e49ad0ce9fd972587
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 09:27:08 +00:00
GOOGLE\huangaustin
90aa043beb [PixelLogger][P22] Update P22 Pixel_default.nprf to enable all channels in GP_SV_SMDT trace for NAS
bug: 214351205
Change-Id: I487fba907adc0379b05d2f1b7b058069944e0e01
2022-05-24 15:12:47 +08:00
Ricky Niu
0eefbf303b usb: limit the current to 1.3A when connect to accessory am: e6cacbcff2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18527913

Change-Id: I33790e25c4d57d2af41492f2f263c8124ea2ebf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 01:01:25 +00:00
Ricky Niu
e6cacbcff2 usb: limit the current to 1.3A when connect to accessory
For imporve USB stability, limit the current to 1.3A,
when connect to accessory.

Bug: 206635552
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I2c1091aa7111e6242cc949923fbc86f27e54e976
2022-05-23 23:59:44 +00:00
Jaegeuk Kim
453105b5cc Revert "use erofs for RO partitions" am: 0c024a7f2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18494501

Change-Id: If2a1d4fde080cd0c838494812933196e1114abf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 22:31:03 +00:00
Jaegeuk Kim
0c024a7f2b Revert "use erofs for RO partitions"
This reverts commit 554e90c439.

It turned out EROFS has app-launch time regression.

FS			Total image	App-launch	OTA size (MB)
			    size (MB)	    Time (AVG)
ext4			4040 (0%)	403.77		2252
erofs (compression)	2754 (-32%)	540.98 (+34%)	2528 (+12%)
erofs (no-compression)	4126 (+2%)	476.23 (+18%)	2277 (+1%)

Bug: 231934752
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I33f68a426ff655a9282fec66c0fa54215954aa45
Merged-In: I33f68a426ff655a9282fec66c0fa54215954aa45
2022-05-23 21:00:19 +00:00
wenchangliu
3d27a888f1 Add HDR Editing feature support for HEVC encoder
Bug: 211519296
Test: check isFeatureSupported() from MediaCodecInfo API
Change-Id: Ie1cb08798f086627cdff866cd10f7398f70f968a
2022-05-23 10:02:36 +00:00
Martin Liu
14e8f21c6a Disable zone dma32
As HW doesn't have 32 bit address limitation, we can disable
zone dma32 to simplify memory management and improve performance.

Bug: 224535283
Test: boot, test basic wifi, faceauth, camera, UDFP features
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ia7c1098ddd4b91738702dd99552661dbe18cfaa5
2022-05-23 07:31:39 +00:00