Commit graph

3288 commits

Author SHA1 Message Date
Android Build Coastguard Worker
a2da9b45cd Snap for 9206145 from 776ba5911d to tm-qpr2-release
Change-Id: I9e078cd09c3f96eb569166deb5a324b7dd769263
2022-10-22 01:03:07 +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
Android Build Coastguard Worker
abab7f499e Snap for 9190355 from f049d3926b to tm-qpr2-release
Change-Id: I4c0bae85ce5896db771832e051616c6dc6786560
2022-10-18 23:08:26 +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
Android Build Coastguard Worker
252e5cccb5 Snap for 9185292 from edac0dda62 to tm-qpr2-release
Change-Id: I18656d35c31cdc7b823da00352d5638865386107
2022-10-17 23:06:59 +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
Android Build Coastguard Worker
bea311ad12 Snap for 9173498 from be78bf5b34 to tm-qpr2-release
Change-Id: I2e1fffb5cea5075046d59ba12583d51faa8cdc2f
2022-10-13 23:03:27 +00:00
linpeter
be78bf5b34 Update IDisplay to V7
Bug: 241969007
Change-Id: Ic73764a6f856c135a4c078fafdfc15e45766e0c1
2022-10-13 08:11:53 +00:00
Android Build Coastguard Worker
d05967da58 Snap for 9167942 from 6c85275e7f to tm-qpr2-release
Change-Id: I10854ff370042c8f401182306dd7c550a3b3052f
2022-10-12 23:03:05 +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
Android Build Coastguard Worker
282ced2813 Snap for 9153129 from 8707dd8e0d to tm-qpr2-release
Change-Id: Ia0de6261dab83fc4846415c1aefd39b5affacda7
2022-10-08 01:03:30 +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
Android Build Coastguard Worker
385e89afae Snap for 9133013 from a431ade8d9 to tm-qpr2-release
Change-Id: I0d67bb2a88f0174f7aae4b4262d93a7ff7c1b8b4
2022-10-03 23:06:38 +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
wenchangliu
73b675de85 update bitrate modes capability for video encoder
Bug: 236896946
Test: check support bitrate modes from getEncoderCapabilities()
Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
2022-08-05 04:07:48 +00:00
Jimmy Chen
3749b75764 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Merged-In: I3c5523626de22c26cb562c03e9fbd7aabf6d98e7
Change-Id: I3c5523626de22c26cb562c03e9fbd7aabf6d98e7
2022-08-04 05:20:13 +00:00
Bruce Po
dc68b3a2cd Add TARGET_PRODUCT variable to aoc daemon build
Add TARGET_PRODUCT variable to aoc daemon build. This will be useful for
including/excluding certain features depending on product type, e.g.
T6 hotword AP offload.

BUG: 240748763
Change-Id: I6082ebe0603f5a63ab0e2d0b1a3c517f32232148
2022-07-29 23:57:57 +00:00
Roger Liao
d8610a1415 gs101: exclude vendor telephony code if BOARD_WITHOUT_RADIO
Bug: 235907512
Bug: 238702410
Bug: 238702413
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I9d0fb3d1ffb91c527fabcabd2c823f0e804e9fd6
2022-07-29 12:01:49 +08:00
Roger Liao
69ff0493cf gs101: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO
Bug: 238702278
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I9dd9fea875ade4eca796ee6744f5f985571bbcfc
2022-07-29 12:01:49 +08:00
Prasanna Prapancham
1dc5d62371 Change ownership of charge_stats to system for clearing
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: I1e97920ff0e810ce2888102f3971b21aabc55909
2022-07-28 23:17:26 +00:00
Stephane Lee
bc9753c50b Add device-specific support for GoogleBattery AIDL V1
Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: I381165a154f81f2017e1259daab19eaa9eba2fa7
Merged-In: I381165a154f81f2017e1259daab19eaa9eba2fa7
2022-07-28 20:01:51 +00:00
Jack Wu
67240b1cdc init: disable dock-defend
User will enable/disable this feature from UI setting

Bug: 239889098
Test: dock-defend is disabled by default
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I25376ce6174e4e09ed4a7ce8f1258dc099da4cd8
2022-07-22 03:58:32 +00:00
badhri
803bb5c4f4 Set powerBrickStatus to not connected when sourcing power
Bug: 239755044
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I7720bfaa5876c058643c52525b488ba22b3e5121
2022-07-22 02:31:35 +00:00
Peter_Liang
47633ab2c5 Fix that no sound from TalkBack when using Spanish/French/Japanese/German/Italian language.
Update and remove some voice packs of Text-To-Speech in the partition.

Bug: 238702367
Test: manual test
Merged-In: I30a5c7651af44e66b563908fcaef269674500577
Change-Id: I30a5c7651af44e66b563908fcaef269674500577
(cherry picked from commit ddb350b111)
2022-07-22 01:17:29 +00:00
Nicole Lee
d8dac3c8bd Update pixel stability logging mask
- add RF_HALCTRL, DSP_DM and LTE_RRM group

Bug: 238041752
Change-Id: I4df14b14a6459a0f2856a7706c7977d67b586bab
2022-07-20 16:48:25 +08:00
Edwin Tung
d796470948 gps: extend min GPS week number am: 20cf298683 am: 79b94ca04a am: 1d7a237a7a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19291911

Change-Id: I3a66bf7ce1230667f93ab94131e048a222401046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 20:08:53 +00:00
Edwin Tung
1d7a237a7a gps: extend min GPS week number am: 20cf298683 am: 79b94ca04a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19291911

Change-Id: Ie3e34bd855a454cec170c611cf99f09cffc36a48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 19:51:24 +00:00
Omer Osman
1237f7a48c Add support for Opus as a BT A2DP offload codec
Bug: 226441860
Test: Sink device using bds-dev
Change-Id: I62784ef7983b90c9ea0d8016801417b2d8a518df
2022-07-15 19:44:57 +00:00
Edwin Tung
79b94ca04a gps: extend min GPS week number am: 20cf298683
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19291911

Change-Id: Ia03de69fb58b07a88f86febb25c7d0010c15ac8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 19:33:02 +00:00