Commit graph

709 commits

Author SHA1 Message Date
Binhao Lin
d559670cb2 Add "vendor.android.hardware.camera.preview-dis" feature
Bug: 229759817
Test: adb shell pm list features | egrep -i camera
Change-Id: Ifd705f2035815a65b212fd37b0894e7353761305
2022-07-09 00:55:29 +00:00
Jenny Ho
96ef4de2a7 set dev_sn for battery pairing
Bug: 238307181
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I8b1c0de4b57e6475627e279bd890fe66ca8e92c5
2022-07-08 02:01:29 +00:00
Jinyoung Jeong
9c6e990eb3 Add notification pregrant for LPA on g s 2 0 1
Bug: 237497128
Test: manual
Change-Id: Ie2fe6b1479e3e1bfbf33c343bee48c1d6c252995
2022-07-07 07:24:45 +00:00
Ted Lin
f451b3b7c3 Remove the unused attribute set from init.rc
06-08 13:13:07.488   383   383 I auditd  : type=1400 audit(0.0:4): avc: denied { setattr } for comm="init" name="registers" dev="debugfs" ino=29509 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0
06-08 21:13:07.488   383   383 I auditd  : type=1400 audit(0.0:4): avc: denied { setattr } for comm="init" name="registers" dev="debugfs" ino=29509 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0

Bug:235395130
Test: check bugreport
Change-Id: Ie199f29d034c705b4f0a0d7e5ad178b9e8dcc282
Signed-off-by: Ted Lin <tedlin@google.com>
2022-07-06 07:31:43 +00:00
Salmax Chang
aedd43e3cb dumpstate: refine the dumpstate logs collection
- Move dumpstate logs collection forward.
- Create dumpstate log sections and collection for all modules.

Bug: 238038612
Change-Id: If09e82edbdc4b24de3c667a3666af32e0acaa318
2022-07-06 06:35:36 +00:00
George Lee
1ea0a6316b bcl/init: Remove unused sysfs write.
SOFT_OCP_TPU/GPU/CPU are no longer used.

Bug: 234275748
Test: Boot and verify
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4c6a4063ef25c23d88d2b45601a2bafbe2f3d089
2022-07-05 19:14:08 +00:00
Wayne Lin
c41bad1d27 gps: update gps driver 143.20.23.542941
Fix Gpsmeasurement regression issue
Fix gpsd crashing twice issue
Fix null pointer dereference in GlSuplDataBuffer::Write()
Fix incorrect TOW reported during AGPS CP session
Enable LTE B13 filter for TMO

Bug: 236926983
Bug: 235067448
Bug: 233199973
Bug: 232527714
Bug: 230811304

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

Change-Id: I4a464f70c3dbca75907c118e2f9cfdf10d988e7a
2022-07-04 03:48:17 +00:00
Vincent Palomares
219f46b9a9 Suspend/resume: Optimize suspend/resume callbacks.
Bug: 235135485
Test: boot / hints applied correctly
Change-Id: I2f2200611698a9971eb3885ab81be02d105d2aa2
Signed-off-by: Vincent Palomares <paillon@google.com>
2022-06-30 20:16:57 +00:00
Ted Lin
d03b3f92bf battery: Dump Health index stats
Bug:236856796
Test: Check the bugreport
Change-Id: I0b3d72c265d2a22553a048daa023bcc75a253fac
Signed-off-by: Ted Lin <tedlin@google.com>
2022-06-30 06:00:41 +00:00
George Lee
baedb92abf thermal: Fix misalignment from removal of gxp cdev
Earlier change removed the path without removing the indexer to the
corresponding array.  This change fixes this.

Bug: 236296247
Test: Build and confirm reading is valid
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic6335b252a01c7d80102cdbbc4f5dbf3a1639b55
2022-06-30 03:45:46 +00:00
George Lee
9ff57b81b8 logger: Ensure captured log not overwritten
Add additional file path to make copy of captured log.

Bug: 237282212
Test: Verified lastmeal.txt and thismeal.txt existence.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I77606bf679c3eb1c55f2b135a6265e0e0e837c77
2022-06-28 19:39:58 +00:00
Sayanna Chandula
39845ace12 Revert "thermal: enable warm_reset on thermal shutdown"
This reverts commit 5bba5fcf9d.

Bug: 235765192
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ia9c70409b6901d8a67bb50b6a5a517f194fee302
2022-06-28 00:44:18 +00:00
Jesse Hall
9497487826 Disable GPU firmware logging
Test: check sysfs node value after boot
Bug: 237080441
Change-Id: I27d2896ad57ab9245fe78839722d8fe62fb148bb
2022-06-24 14:25:05 -07:00
Sayanna Chandula
617f8719f5 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I336ac5eee16771c59a66776f71b9a4e1b5c76461
2022-06-23 23:11:18 +00:00
Darren Hsu
0d70982b57 powerstats: set AoC clock for timestamp calculations
Bug: 233923713
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I6476d2abb09003b376b9e32ffb4ee8a279bb3086
Merged-In: I6476d2abb09003b376b9e32ffb4ee8a279bb3086
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-21 03:40:05 +00:00
Jinting Lin
fc7a93eef6 Remove the default setting of TCP logging property
The property is only for lassen silent logging app which are not used internally.

Bug: 235810999

Change-Id: If8c1cc6ea7be62356e8fe523838f1b3b1107cfb0
2022-06-20 06:07:27 +00:00
Oleg Matcovschi
5bba5fcf9d thermal: enable warm_reset on thermal shutdown
This reverts commit 6e9c7db1d2.

Reason for revert: ag/18906792 bootloader fix is merged

Bug: 235641682
Bug: 232092738
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I48276f1daac8df260fbed201846ae5ab3e0c0a92
2022-06-16 17:31:34 +00:00
Daeho Jeong
b9e1ca36f8 fstab: disable auto compression for apk,apex,so,vdex and odex
Bug: 235480291
Test: check mount option
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6ca2c41563dd63c88b96672a40b57c12b4533c74
2022-06-16 16:14:11 +00:00
Terry Huang
3a0ea38133 Enable Google Audio RIL library in PDK am: fdd92c9cc5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18594910

Change-Id: Ieb02ab3d9344530d87bda0f112fedb7a894e519a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 01:19:21 +00:00
Terry Huang
fdd92c9cc5 Enable Google Audio RIL library in PDK
Bug: 233831048
Test: libgooglerilaudio is built in PDK ROM
Change-Id: I7eb0ebafeff96e7eb6ca1978f2df5feb74b86174
2022-06-16 00:53:42 +00:00
Alice Kuo
cc350badfe Disable LE audio related profiles for 2022 pixel by default am: d179a435e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18869520

Change-Id: I419e5cf6b6d9e1479870d9d5c64dfa40519a1add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 15:59:42 +00:00
Alice Kuo
d179a435e7 Disable LE audio related profiles for 2022 pixel by default
Bug: 236090606
Bug: 231671426
Test: build
Change-Id: I94046f63f745e875585aff3e0d84c3554e7439e5
2022-06-15 07:30:08 +00:00
Lucas Wei
9dc497283c Rename first stage module list to vendor_kernel_boot.modules.load
Bug: 234554094
Signed-off-by: Lucas Wei <lucaswei@google.com>
Merged-In: Ie46ff0ef2db81169f519bc0266b8298a79712870
Change-Id: Ie46ff0ef2db81169f519bc0266b8298a79712870
2022-06-15 10:11:53 +08:00
Dave Chen
482a3c1562 Add folder needed to hold camera calibration files
Test: run on P10
Bug: 233716733

Change-Id: Ic627d73d6d9a604bda71bf2f2a91c19fc9bb1437
2022-06-14 23:52:49 +00:00
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