Commit graph

3255 commits

Author SHA1 Message Date
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
David Chao
88fb3bfe07 gs101: move charger thermalHAL setup into common code
To aligned with P22 to move charger thermalHAL setup into common code

Bug: 200615564
Test: build pass and boot to home
Change-Id: Idfe47fe64e4c158f27cd587ca8d768e13292c361
2022-06-20 07:10:50 +00:00
Darren Hsu
7dfafc70a0 powerstats: set AoC clock for timestamp calculations
Bug: 233923713
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I40c155c78331255ec5a7d9300798cec0a3d219f5
Merged-In: I40c155c78331255ec5a7d9300798cec0a3d219f5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-17 12:49:04 +00:00
Pierre-Clément Tosi
d5ce52e137 Revert^2 "gs101: Add pvmfw to AB_OTA_PARTITIONS"
Now that the necessary SELinux policies are in (ag/16507235), we should
be able to re-apply this change without breaking OTA updates
(b/211070100).

This reverts commit efd5649bb8.

Bug: 210833963
Test: local OTA update (see bug)
Change-Id: I0fd5f840159e4163adde753f6d339546067b8cf6
(cherry picked from commit e635619443)
2022-06-17 08:24:06 +00:00
Ruofei Ma
c6c107ca6d Revert "update performance-point for media performance class 13" am: 079810e65b am: ab062f9fc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18904119

Change-Id: I00290c601a1252731968acda6c0583d78eba26bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 18:15:15 +00:00
Ruofei Ma
ab062f9fc3 Revert "update performance-point for media performance class 13" am: 079810e65b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18904119

Change-Id: If563b6aa25bd8ddd0a0fa251dc777ccde2a95f7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 17:48:55 +00:00
Ruofei Ma
079810e65b Revert "update performance-point for media performance class 13"
This reverts commit 53eef4db82.

Reason for revert: We do not need to support media performance class 13 for P21 devices and this change is causing regression in P21 so we have to revert it.

Bug: 235027936

Change-Id: I51099b94ac635e001cd56dd6cd250b1b8e0bd9f4
2022-06-16 17:26:14 +00:00
Terry Huang
93835b1085 Enable Google Audio RIL library in PDK am: 944f48c3db am: fc5d85dace
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18596144

Change-Id: I71d2faaa07652e9c052c5916c48e32802056c947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 01:43:56 +00:00
Terry Huang
fc5d85dace Enable Google Audio RIL library in PDK am: 944f48c3db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18596144

Change-Id: I69bc8e3127874215c2bb340c70669d4a9b769a40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 01:19:21 +00:00
Terry Huang
944f48c3db Enable Google Audio RIL library in PDK
Bug: 233831048
Test: libgooglerilaudio is built in PDK ROM
Change-Id: I395b3b16ff967f46fe2163dde5655c31344bcbe5
2022-06-16 00:53:42 +00:00
Edwin Tung
15b90a7955 gps: update gps driver 143.20.23.540442 am: 09abcc2eab am: 66f2c1c47f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18842531

Change-Id: I7f39c1aba9d1600934ff1ecc37aa2cc74f725349
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 17:16:03 +00:00
Edwin Tung
66f2c1c47f gps: update gps driver 143.20.23.540442 am: 09abcc2eab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18842531

Change-Id: I44ecb8fc4031435dc605170f068ae47ddd955b03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 16:56:29 +00:00
Jack Wu
4a612faaaf init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to
be able to charge FULL.

Bug: 235437635
Test: can charge to full on dock in charger mode
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I9f92cffdefbeef8e3671812dbc2891d4fef71230
2022-06-14 11:00:53 +08:00
Edwin Tung
09abcc2eab gps: update gps driver 143.20.23.540442
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

Bug: 233849643
Bug: 233839493
Bug: 231383525
Bug: 228575547

Verify test: 235753507

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest PtsChreTestCases

Change-Id: I986dd08b8e25d60f90f04baa9b8b19a8ee5d493f
2022-06-13 02:32:43 +00:00
Oleg Matcovschi
8afd9f90c1 thermal: enable warm_reset on thermal shutdown
Bug: 232092738
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I04ee37682b3511e9836248d0527917f00deb63f4
2022-06-10 01:51:43 +00:00
Zac Iqbal
a1410edaac Revert "DO NOT MERGE Remove unintended face config am: 875235afbf" am: e973ddc480
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18819342

Change-Id: I193bd92568e2da008e04240b1039b34b27f1aa84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 21:58:50 +00:00
Zac Iqbal
e973ddc480 Revert "DO NOT MERGE Remove unintended face config am: 875235afbf"
Revert submission 18799414-am-e98f52416a40436ba0044e72d6feed21

Reason for revert: The merge path was only meant for tm-dev.
Reverted Changes:
I6ace51cab:DO NOT MERGE Remove faceauth from raven am: 783e56...
I049a9c205:DO NOT MERGE Remove unintended face config am: 875...
I50ae185c6:DO NOT MERGE Remove unintended faceauth configs am...

Change-Id: I0b0c885ecb47e94d3327c7436d61b07a58c999d5
2022-06-09 21:30:24 +00:00
Ken Huang
fc82cbe715 Revert "dumpstate: add HWC logs" am: b4854aa4bb am: 79693249ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18798909

Change-Id: I315c0f0bdb04ebef2b119671997d04f4735ed5b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 09:08:24 +00:00