Commit graph

3303 commits

Author SHA1 Message Date
Edwin Tung
a1f4b82a9e [DO NOT MERGE] gps: Enable Vzw SUPL OTDOA
Bug: 263852801
Test: OTDOA pass
Change-Id: I2ffb9c251fa2eba33cf1de9ea537c1182927b167
2022-12-30 02:19:17 +00:00
Edwin Tung
366bc3cc43 DO NOT MERGE gps: update gps driver 147.20.23.557990
- Add more PLMNs for specificed carrier configuration
 - Add configuration to use full response time in SUPL NI session to
   benifit accuracy
 - Fix miscalculate TTFF and RSP problem due to unexpected stop command

Bug: 260996867
Bug: 260153806
Bug: 260795209

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

Change-Id: I1255a31adbb77e5d476af070046d1f1a12fa1771
2022-12-19 09:55:21 +00:00
Jörg Wagner
0f6e6c0c39 Install Vulkan 1.3 device properties
As the latest Mali DDK exposes a Vulkan 1.3 driver
also setup the device properties accordingly.

Bug: 259507479
Change-Id: I593e4881f3e211b98c641e5546578b6e64036703
2022-12-16 07:16:18 +00:00
Jack Wu
f5f9239424 init: enable dock-defend by default
dock-defend is enabled in kernel code.

Bug: 262322247
Test: dock-defend is enabled by default
Change-Id: Ibbd83fc2442e2a6d68d7f506ccd29d452947931c
Signed-off-by: Jack Wu <wjack@google.com>
2022-12-13 11:18:47 +08:00
Chungkai Mei
ef9d0934c6 Remove UClamp Threshold setting
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-09 21:43:57 +00:00
Daniel Mentz
f41ee9ffe6 Import prebuilt kernel modules like fips140.ko
Add support for copying prebuilt kernel modules like fips140.ko into the
vendor ramdisk. These kernel modules are different in the following
ways:

- They do not appear in vendor_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_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 boot
ramdisk.

Bug: 194712883
Change-Id: Iff8923c2492296b8eb4d24ec94bbfccc19f4e8f5
2022-12-07 21:33:53 +00:00
Nicole Lee
da4c293712 Update pixel stability logging mask
- Enable _Normal logs in group GP_CH_COMM, GP_CH_NR
  GP_CP_COMM, GP_CP_NR, GP_DP_NR_H, GP_DP_NR_L, GP_SMPF_TASK

Bug: 261136798
Change-Id: I1da78e487947431769fefc9370257a84de6e4141
2022-12-07 18:19:30 +08:00
kierancyphus
242debae75 Dumpstate.cpp: use new history dir and inc more files
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).

Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included

Change-Id: I1a57e0f4fea66929803fac350547b706d7442b26
Merged-In: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-05 06:17:03 +00:00
Edwin Tung
09383c4690 DO NOT MERGE gps: update gps driver 147.20.23.556285
- Fix no GPGSV information in CP LPP session
 - Implement SIT_IND_GPS_NFW_MODE to make modem request NFW status from gpsd
 - Fix the high EA issue caused by last known position
 - Use network PLMN to determine carrier configuration when SIM PLMN is
   not available

Bug: 248476067
Bug: 252972119
Bug: 243358812
Bug: 258355692

Verify test: b/260669367
Test: CTS/VTS/PTS pass

Change-Id: I6ffda40cd851b85c3d60221b82ef6bc478f15d23
2022-12-05 03:10:22 +00:00
Ziyi Cui
b9fd6571c1 [DO NOT MERGE] gs101:dumpstate: Dump long irq metrics, resume latency metrics at bugreport
At the bugreport, capture long irq metrics and resume latency metrics

Bug: 227809911
Bug: 232541623
Test: "adb bugreport" includes metrics capture.
Change-Id: Ic60cb29b4e58996e7db1dc8fa406b46840ccd446
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:31:34 +00:00
Ziyi Cui
f57fca197d gs101: pixelstats: add pixel perf stats paths
Add pixel perf metrics paths in sysfs paths list for gs101

Bug: 232541623
Test: Verified the existence of atom and correctness of resume latency, irq stats
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I0c4b363e93a9ee651cedc35e2e1e09a691244828
2022-12-01 06:31:34 +00:00
Ziyi Cui
b7b91cdb14 [ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport
At the bugreport, capture Temperature Residency metrics

Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I7dcc42e88c3e24506298b9dc46e0728a3eaba518
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:27:22 +00:00
Ziyi Cui
19f686ee47 gs101: pixelstats: add pixel temperature residency stats paths
Add pixel temperature residency metrics paths in sysfs paths list for gs101

Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:27:22 +00:00
Jinyoung Jeong
050a62c778 [LPA][gs101] Add notification pregrant
refer to b/237497128

Bug: 251705860
Test: manual
Change-Id: I4c6609c0e36d7404adc4da23f91f0d0cf47285ad
2022-11-30 23:52:48 +00:00
Kieran Cyphus
72014f715c DumpstateDevice: include mask history file
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered.

Bug: 241739027
Test: Trigger a bugreport with `adb bugreport` and check to make sure
the report contains the `LoggingMaskHistory` file. E.g. after
unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`.

Change-Id: Idfbe759c331a206773bc9dd0647c9016825b17d7
2022-11-23 07:27:30 +00:00
Edwin Tung
19c70e1342 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/259489489
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I21baf29fc1d5a774313ec8cccaa7f4d0ce0254de
2022-11-17 12:10:49 +08:00
Sayanna Chandula
7330107116 Revert "Revert "thermal: enable warm_reset on thermal shutdown""
This reverts commit 92f1b6c40a.

Bug: 238464124
Test: Build and boot on device. Check last logcat logs
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I5148b5cf80f3177f66626aff9a4021a0aba197ec
2022-11-12 21:18:17 +00:00
Carter Hsu
902cfdf7d1 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie9909a6bb284f7da904cf0ee3e8ca673d8e7191d
2022-11-11 01:50:19 +00:00
Robin Peng
31e17d29ad gs101: 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: Icbd880c9461d7ba3d707d56c7ff43f4b8bf2e47c
2022-11-04 06:48:30 +00:00
Roger Wang
c0825f2717 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: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8
Merged-In: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8
Signed-off-by: Roger Wang <wangroger@google.com>
2022-11-03 06:10:30 +00:00
Jenny Ho
34e66966c7 dumpstate: dump battery defend logbuffer
Bug: 242679204
Change-Id: I59c2267105ef093a75c2cac2183c941def70b10f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-03 00:39:32 +00:00
Taehwan Kim
4b4e181394 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
Chungkai Mei
776ba5911d 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:49:49 +00:00
Edwin Tung
f049d3926b 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: 253952975
Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest PtsChreTestCases

Change-Id: I78d6644908df9e69d0eeb5f25bf7bc74edeb99c9
2022-10-18 08:31:44 +00:00
chenpaul
edac0dda62 Enable SAE upgrade offload
Update wifi overaly to enable WPA2 to WPA3 auto-upgrade offload
to capable Driver/Firmware.
With this feature enabled, Pixel can support cross akm roaming.

Bug: 236096597
Bug: 236098039
Test: AU drop test
Test: Roaming and connection test (go/cross-akm-roaming)
Change-Id: I5556c5f8062127f8721e8677d22d2bfd08cec4e0
2022-10-17 10:36:21 +00:00
Speth Chang
2e58ceae22 gs101: 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: I275af8e716de8dc433f0b43afb20866a9eff8642
2022-10-17 06:13:42 +00:00
Poompatai Puntitpong
00c5187904 Remove android.hardware.bluetooth.audio HAL from manifest
This HAL has been replaced with AIDL, so it does not exist anymore,
causing VtsHalBluetoothAudioV2_0TargetTest and VtsHalBluetoothAudioV2_1TargetTest
to fail.

Bug: 231275829
Test: presubmit
Test: VTS VtsHalBluetoothAudioV2_0TargetTest VtsHalBluetoothAudioV2_1TargetTest
Change-Id: I9df7d4eb0b06cdbca2ac42a05d227b78897e0918
Merged-In: Ie091dfce3c63be4fd6d0ed5b6600587aa56862cd
2022-10-17 02:47:00 +00:00
linpeter
be78bf5b34 Update IDisplay to V7
Bug: 241969007
Change-Id: Ic73764a6f856c135a4c078fafdfc15e45766e0c1
2022-10-13 08:11:53 +00:00
wenchangliu
6c85275e7f Move mfc_fw.bin into vendor/google_devices/<DEVICE>/prebuilts
firmware/mfc/mfc_fw.bin

Bug: 239912381
Test: screen record and playback
Change-Id: Idd223d79c21dd25c559cc1b82f1b4bd48ae73b60
2022-10-12 10:23:47 +00:00
Edwin Tung
8707dd8e0d gps: update gps driver 147.20.23.550494
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: 249174832
Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest PtsChreTestCases

Change-Id: I7085931ec83cc58515fefaf1be14e228cd64b5df
2022-10-07 05:40:30 +00:00
Jean-Michel Trivi
a431ade8d9 Include Dolby codecs
Include Dolby codecs for non-AOSP builds.

Bug: 248402995
Test: verify DD+ codec selected in select VoD apps
Change-Id: I1545b67bea525dc3d28c1da124caa774df5c6ed6
2022-09-29 21:07:44 +00:00
Sean.JS Tsai
ae7b5adfa3 Add notification pregrant for WfcActivation
bug: 241721849
bug: 246485672

Change-Id: I73a5d2312fba7cc01f52cc3ac1538876e39c5f3d
2022-09-23 03:50:12 +00:00
Habib Moukalled
def0f3259b Upgrade device VINTF manifest for IDebugHost
Notes:
- Update the HAL version in VINTF manifest from
AIDL 1.0 to AIDL 2.0

Bug: 245126454
Test: E2E auth enroll, atests
Change-Id: I75bde5164ecb9b7a51088ba5ea4dd6ebbfce9566
(cherry picked from commit 7a25196bf5)
2022-09-22 12:39:56 +00:00
wenchangliu
495567bb43 [DO NOT MERGE] temporal remove CQ mode for HEVC encoder
We are too late to upgrade the latest version of libyuv in Android T
to fix color conversion (BT.709 YUV to RGB) accuracy issue in HeifWriterTest when we exposed CQ mode for H/W hevc encoder. Move CQ mode support in Android U.

Note: remove CQ mode support, HeifWriterTest will use software hevc encoder to run the test. Since software encoder only support 512x512 resolution the default color primary is using BT.601 which will not
meet color accuracy issue.

Bug: 242466144
Test: atest android.media.misc.cts.HeifWriterTest
Change-Id: I4e0cf6995980603c9473086a385617e47a16b4b9
2022-09-21 10:00:14 +00:00
Jenny Ho
926cb2a319 init: add permission to adjust wlc fan alarm level
Bug: 246486657
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6336a86c1e7cfa8d30f593d1b8fcbe8aba699226
2022-09-20 13:09:58 +08:00
Edwin Tung
edee0d0836 gps: enable GNSS PPS feature
Bug: 244398743
Test: extensive tests with PPS enabled in b/235270127
Change-Id: I5b452df216575fd6e570f29a7845033615e7b8a3
2022-09-13 17:09:53 +08:00
Jeffrey Carlyle
489f8191fb dck: switch to gs-common implementation of digital car key wiping
(cherry picked from commit c17b465041)

Bug: 203234558
Test: data wipe in Android recovery mode on raven
Test: data wipe in Android recovery mode on c10
Test: data wipe in user mode fastbootd mode on raven
Test: data wipe in user mode fastbootd mode on c10
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Id4bb38b8391e72f62de5c29587e7b5bcdbd1e99f
2022-09-08 21:58:52 +00:00
JJ Lee
0327040142 dumpstate: Add aoc memory vote dump for a32 and ff1
Bug: 223674292
Test: Boot test, taking bugreport is not blocked
Change-Id: I2b88004ba641b8ef339826130e7aa4e61f5b0d11
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-07 11:45:34 +00:00
Cheng Chang
b1ea1a74fe gps: raise gps service priority
Bug: 237695224
Test: Test Result 241195410
Change-Id: Ia72596564b3bcf9d9142155cd48ab57beb4c847e
2022-09-06 03:07:09 +00:00
Yang Qi
3e6a0dcd04 Update P21 device compatibility matrix file to update uwb IUwbVendor to v2
Bug: 243455233
Change-Id: Ifae92b1f37e96f1188a6bf09faeb3644f9294f31
2022-08-31 22:55:21 +00:00
George Lee
c5c3e1d720 health: Remove SOC based throttling
Bug: 244359848
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7e7b9337b12a04718dec1b4e2ed4914cb64046d3
2022-08-31 11:45:18 -07:00
Sayanna Chandula
92f1b6c40a Revert "thermal: enable warm_reset on thermal shutdown"
This reverts commit 8afd9f90c1.

Bug: 235765192
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I3df68c0c4a415415cca91b072b995d424b378dd7
2022-08-30 18:28:13 +00:00
Roger Fang
78e92a8146 pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported
Bug: 239508478
Test: manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I33ef881cb6b48d7a53a4f0b61124a838cd16a189
2022-08-30 04:36:20 +00:00
Edwin Tung
d22cc82a48 gps: update gps driver 143.20.23.547844
Fix biased position issue in subsequent periodic request
Fix LHD get stuck issue in PtsChreTestRunner#gnssRestartTest.
Change MSB to true in PVT SUPL posTechnology
Fix position bias issue in the foliage running test

Bug: 236200991
Bug: 240663862
Bug: 236206122
Bug: 233851633

Verify test: b/243457382

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest PtsChreTestCases

Change-Id: Ic6d8eb17d66d9f6b3b1f694a23fe586f182062e1
2022-08-29 07:50:01 +00:00
Jeffrey Carlyle
a9d6ee706e Revert "dck: switch to gs--common implementation of digital car ..."
Revert submission 19734547-b203234558-qpr1

Reason for revert: see b/243864778
Reverted Changes:
I53967a5e8:dck: pick up recovery mode library for digital car...
I8fd944c60:dck: switch to gs--common implementation of digita...
I6e8c80818:move digital car key wiping to gs-common
I60052ca58:Support calling WipeKeys with out a ui object
I459d81800:clear secure element of Digital Car Keys during fa...

Change-Id: I6a81d572889d7c1ba1fda4e40b122057a7c60ca9
2022-08-26 06:36:57 +00:00
Robb Glasser
93e624ad3f Dump usf stats history in bugreports.
USF saves a stat buffer to the filesystem periodically. Dump this as
part of bugreports.

Bug: 242320914
Test: Stats are visible in a bugreport.
Change-Id: If609d76b224228061021fdc1463b6e8dfb6170ca
2022-08-25 02:47:58 +00:00
Jeffrey Carlyle
c17b465041 dck: switch to gs--common implementation of digital car key wiping
Bug: 203234558
Test: check symbols in recovery_ui.so and verify WipeKeys is present
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I8fd944c6079a90e54c8267d98f972efadb2874bd
2022-08-24 12:23:11 -07:00
David Chao
f121ec6625 thermal: move charger thermal HAL setup into project
Move charger pixel-thermal-symlink from common to project folder
to prevent the GKI version dependencies from blocking init.

Bug: 240897207
Test: thermal_symlinks worked properly in charging mode
Change-Id: I0d3b03c9add57b14f255eb66a1a7a46fa6c4b257
2022-08-22 19:54:12 +00:00
Edwin Tung
d8144c433d gps: Enable SI SUPL over Wifi
Test: -
- SI SUPL Wifi on + mobile network off
- SI SUPL Wifi on + mobile network on
- SI SUPL Wifi off + mobile network on
- SI SUPL Wifi on + airplane mode on

Bug: 238043664
Change-Id: Ie505bdc7f5a08ffc86b39029606552996dedea1f
2022-08-19 07:53:23 +00:00
Pierre-Clément Tosi
7e1445488c Revert^3 "gs101: Add pvmfw to AB_OTA_PARTITIONS"
This reverts commit d5ce52e137.

Reason for revert: Breaks S to T-QPR OTAs.

Bug: 241984861
Change-Id: I8b1b2b9ada6c443b3d5350efd3195d117b0a8eba
2022-08-18 16:30:18 +00:00