Commit graph

3272 commits

Author SHA1 Message Date
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
Edwin Tung
20cf298683 gps: extend min GPS week number
Bug: 238931611
Validity test: 239117198
Test: Gnss Sanity test
Change-Id: I85d557fe25135da2d8881fbe7bc4d7f23c08dafd
2022-07-15 03:15:49 +00:00
Robin Peng
21932fae4c init.gs101.rc: remove vendor.device.modules.ready from 'on init' section
1) for projects with device specific modules, this property should only
   be set while device modules been loaded.
2) also remove "wait_for_prop vendor.device.modules.ready 1" to prevent
   infinite wait
3) migrate vendor.all.modules.ready/vendor.all.devices.ready to
   init.insmod.<DEVICE>.cfg and set these proprieties while .cfg not
   exist

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I17aa42ef0a459c33871891e5036edf7eea57e39a
2022-07-14 13:08:55 +00:00
Martin Liu
b94ea0c39e Revert "Disable zone dma32"
This reverts commit 645967d3e5.

Reason to revert: move setting to individual project.
Bug: 236225957
Test: boot
Change-Id: I201c544ee4f42ea7f0f69924f38a394ae07cc416
(cherry picked from commit df489c68fa)
2022-07-08 02:05:18 +00:00
Rick Chen
de29a14a9a usf: Include usf_product.mk for USF PDK.
Bug: 237953890
Test: Compile pass. Verified sensor list & sampling on R4.
      The validation is done both on PDK build and tm-qpr-dev build.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: Iff49dc63e1a3601dd254c292504aaf32dec79687
2022-07-08 01:41:56 +00:00
George Lee
b73054581d bcl/init: Remove unused sysfs write.
SOFT_OCP_TPU/GPU/CPU are no longer used.  Clock divider ratio should
also be set accordingly.

Bug: 234275748
Test: Boot and verify
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Icb45b4f30605efaae72bef3ccd1c3d82df8b71a7
2022-07-06 01:47:21 +00:00
Edwin Tung
d480331d77 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/237869538

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest PtsChreTestCases

Change-Id: If060425f90d2544f9dbc657ce97a9d6da5ba07f5
2022-07-06 00:54:06 +00:00
Martin Liu
645967d3e5 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: 236225957
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Id7c67b985848f50331bafacf31e59f67cf9aa34d
2022-07-04 07:50:48 +00:00
matthuang
4ea4bdb936 Set permission and owner for acd-com.google.usf.non_wake_up.
Bug: 195077076
Test: check file permission.
Change-Id: Id03d489dda97a05a72ebf6a8c2e1987f70159f4f
2022-07-01 02:16:04 +00:00
Ted Lin
af22af8d11 battery: Dump Health index stats
Bug:236856796
Test: Check the bugreport
Change-Id: Icc365357fa2d1fbeaa6c776d88cac3828192e59d
Signed-off-by: Ted Lin <tedlin@google.com>
2022-06-29 03:47:40 +00:00
Ocean Chen
40448dc03b Pixelstats: add block layer stats length
The block layer stats format is changing
time by time. This can pass the correct
length by project.

Bug: 219860725
Test: reboot and check log
Change-Id: I760cf211e87fe7cc6069a2379193e61cf323ebb3
2022-06-24 09:31:10 +00:00
Rex Lin
fb38288849 uwb: update calibration path for GS101 am: bfd1212cf9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19008851

Change-Id: Ie5cf3a9438514cb6ba9d66da03c8900bf55d6cb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 18:58:32 +00:00
Rex Lin
bfd1212cf9 uwb: update calibration path for GS101
Bug: 233619860
Test: Build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Ief35d7c1f464dfed7416eea28d3f0a2caed81e55
2022-06-23 18:38:40 +00:00
Daeho Jeong
eb703a418c fstab: disable auto compression for apk,apex and so am: c10d805383 am: 489cd831f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18931177

Change-Id: If01b764df27952b109b44f85c7eb43e5d1e527ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 22:08:43 +00:00
Daeho Jeong
489cd831f2 fstab: disable auto compression for apk,apex and so am: c10d805383
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18931177

Change-Id: I084fa4ff294891ab5802e5d52389f95d4638ed37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 21:43:07 +00:00
Daeho Jeong
c10d805383 fstab: disable auto compression for apk,apex and so
Bug: 235480291
Test: check mount option

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I3765847b9c2074e1501646675fed7109a7a73230
2022-06-21 21:14:26 +00:00
Darren Hsu
f2ab4a72d9 powerstats: set AoC clock for timestamp calculations am: 7dfafc70a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18965112

Change-Id: I2d7c438ad849efa18dcbf22cd6468fd9243b9e68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 04:00:12 +00:00