Commit graph

917 commits

Author SHA1 Message Date
Edwin Tung
e5cada8b13 Revert "gps: update gps driver 129.20.23.511689 am: 69fc814a6d am: 01a6494248"
This reverts commit a2c6cb25e3210ba9b743fa8b9244735729d77b21.

Reason for revert: cause build break

Bug: 196583566

Change-Id: Iee1ec16f1ecf1e9d75ea3d0317ccaa9a32cb1fd3
2021-08-14 05:52:52 +00:00
Peter Liu
a61e368648 remove camera prefer idle for streaming low am: 01886a30d7 am: 1bb5ca8046
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15533425

Change-Id: I02f8307ca485dadc6ab8e288ea692d38435b20e3
2021-08-14 05:16:47 +00:00
Peter Liu
2fd2169f7b remove camera prefer idle for streaming low am: 01886a30d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15533425

Change-Id: I12a5fda87062c0f7a049d7120bdc43986595a2d6
2021-08-14 05:04:41 +00:00
Peter Liu
cbb6ccd278 remove camera prefer idle for streaming low
Currently, the streaming low hint is not used yet.
but we plan to use it with 30fps mode or at the modes that can remove
prefer idle.

Bug: 195327798

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Ibc75bf596bd05831605643c3fe427154fa626093
2021-08-14 04:50:34 +00:00
Paul Crowley
1f1f8cc162 Revert^2 "Enable deleteAllKeys from vold" am: a380060b2e am: 92c097d5e2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15547745

Change-Id: I92c0ff2a1f1df8ffe5e4b404a73c2d91ea3df820
2021-08-13 23:01:29 +00:00
Paul Crowley
b6ed885346 Revert^2 "Enable deleteAllKeys from vold" am: a380060b2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15547745

Change-Id: Ia823434eb06df9d60b3feb631076c968f4ec5ce1
2021-08-13 22:44:56 +00:00
Paul Crowley
80db0638d7 Revert^2 "Enable deleteAllKeys from vold"
Revert of cac9588d7ee8d3e5bfa684cd0bb92db80ac3bac4
aka I0a236e0308b9b8354e669b9261fc22a88a01f743
re-landing change Ife779307db0fe161c8889f7aaab34e2899a6c9e6

Bug: 187105270
Change-Id: I2981420841f2ecdc67a36f9a8c7b81bad00bfe96
2021-08-13 22:23:33 +00:00
Edwin Tung
de4f376909 gps: update gps driver 129.20.23.511689 am: 69fc814a6d am: 01a6494248
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15527098

Change-Id: Ieb95d9b9a75d3b57eff8e71d9209576dc90f499d
2021-08-13 10:46:40 +00:00
Edwin Tung
e37109d6f3 gps: update gps driver 129.20.23.511689 am: 69fc814a6d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15527098

Change-Id: I9247ce86ae3bf5d435a7eae499e918924ced1598
2021-08-13 10:31:34 +00:00
Edwin Tung
e4f95dfa9c gps: update gps driver 129.20.23.511689
Reduce warmstandby timeout to 15 sec
Add OnChipGpsCarrierType
Disable OnChip notification
Refine RF path loss
Changed to send SUPLEND when interrupted by another NI SUPL
Fixed the replay mismatch issue by modifying LTE filter configuration
Fix incorrectly set period of CP periodic request
Fixed empty provideLocationInformation-r9 when running NI SUPL MSB
Fixed Bias track issue from US
Remove time of flight adjustment for Google SvPvt support
Satellite PVT Info API for google support

Bug: 193222014
Bug: 196013847
Bug: 195895395
Bug: 195066618
Bug: 195723263
Bug: 195638041
Bug: 182438827
Bug: 194637097

Sanity Test: 196184169
Test: build pass

Change-Id: I55b75a827734b9e1ef27c73674dd6c570e14d8e4
2021-08-13 10:16:45 +00:00
Daniel Solomon
b40fceff1c display: make set_idle_timer_ms optional am: 6f1cd42f6a am: ba62895750
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15483380

Change-Id: I1836c26932fa1b1def9bb5e546b270cb5c7ce76c
2021-08-13 05:58:27 +00:00
Daniel Solomon
818f538e5c display: make set_idle_timer_ms optional am: 6f1cd42f6a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15483380

Change-Id: Ib3a4f09ff919a2125426312d510689529ea26163
2021-08-13 05:42:10 +00:00
Daniel Solomon
454748016f display: make set_idle_timer_ms optional
Allow ro.surface_flinger.set_idle_timer_ms to be overridden by device
makefiles.

Bug: 195699802
Change-Id: Ic4d036a85b4e5705c9c549af9e5a0c17c82f4077
2021-08-13 05:26:26 +00:00
Harpreet Eli Sangha
aa53218a5e Re-Enable UWB Feature am: e3c5f816d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522892

Change-Id: Ic605c229bbd05291d50844326f7b4029aca2f545
2021-08-12 21:57:10 +00:00
Harpreet Eli Sangha
1971cba6ff Re-Enable UWB Feature
Bug: 193084134
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I2f30a8eaf4a0b5bc95214b4478ef8f3d69b21e08
(cherry picked from commit a181ed5b71b10c93c511ed428d3274deb8ab042b)
2021-08-12 21:40:34 +00:00
Shawn Willden
2d3d06854f Revert "Enable deleteAllKeys from vold" am: cac9588d7e am: 3363ea0d66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15536479

Change-Id: If4095ee84b03e879292b8bc95ca266dd3bd5ae9d
2021-08-12 01:57:03 +00:00
Minghui Tan
a74afd4812 Add CAMERA_CPU_THROTTLE as power hint. am: b2e75451de am: 62430088fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447098

Change-Id: I6f9be412c9d67d68272089dcf8b4de282f114808
2021-08-12 01:26:24 +00:00
Shawn Willden
dc854af286 Revert "Enable deleteAllKeys from vold"
Revert "Detect factory reset and deleteAllKeys"

Revert "Add deleteAllKeys to IKeystoreMaintenance"

Revert "Enable deleteAllKeys from vold"

Revert "Allow vold to deleteAllKeys in Keystore"

Revert submission 15521094-vold-deleteAllKeys

Reason for revert: Causes infinite loop in Trusty KeyMint
Reverted Changes:
I9c5c54714:Detect factory reset and deleteAllKeys
I2fb0e94db:Allow vold to deleteAllKeys in Keystore
Id23f25c69:Add deleteAllKeys to IKeystoreMaintenance
Ife779307d:Enable deleteAllKeys from vold
I4312b9a11:Enable deleteAllKeys from vold

Bug: 187105270
Change-Id: I0a236e0308b9b8354e669b9261fc22a88a01f743
2021-08-12 01:17:10 +00:00
Minghui Tan
ee3e6daf69 Add CAMERA_CPU_THROTTLE as power hint.
Bug: 195327798
Test: CPU cores max frequencies updated properly
Change-Id: Idaacbfa1b4dca7765e9754d4aff997dd2495c2a9
2021-08-12 00:55:05 +00:00
[6;7~
27105af135 Enable deleteAllKeys from vold am: 5c25ee1a12 am: 52d33bae7d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15534113

Change-Id: I46bd627a02c63806be010c1ad24b5f66c1b81fde
2021-08-11 22:16:59 +00:00
[6;7~
6c444eebdf Enable deleteAllKeys from vold
If vold detects when setting up metadata encryption that there has been
a factory reset, call deleteAllKeys on Keystore to delete old user data.

Bug: 187105270
Test: booted Oriole twice
Change-Id: Ife779307db0fe161c8889f7aaab34e2899a6c9e6
2021-08-11 21:41:16 +00:00
samou
63a065347e powerstats: correct TPU DVFS am: 5919e9e441 am: 86aa70a8eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15515806

Change-Id: I823abb7aaef3b23d28e27610cdeaff270a191297
2021-08-11 21:20:36 +00:00
samou
ed31b7318f powerstats: correct TPU DVFS
Bug: 196161144
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I8ec871afa4ca2050b5ddd59d0ea33b237b2b8a63
2021-08-11 20:50:08 +00:00
Tri Vo
fded53ff36 Start storageproxyd early am: 895c3faafc am: 609a3cda8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: Icb0314c9eabf9a9c826f39ee01a0618ea480d696
2021-08-11 16:22:00 +00:00
Tri Vo
0fb5d7b041 Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: dc34e43296
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: Iee3cd66794c9a75e830fad99fcf36ff669968568
2021-08-11 16:21:59 +00:00
Aaron Ding
fdceee5b93 Update ro.soc.model to Tensor am: 8232dd0547 am: 1575b3db7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: I266d7f4af237e1f75defde9042437645e7e724d4
2021-08-11 16:21:50 +00:00
Tri Vo
7290750087 Start storageproxyd early
And restart it after /data is mounted.

Bug: 187105270
Test: boot raven, secure storage test com.android.storage-unittest.td
Change-Id: I505e315b58c3e0830d9a1f11d2f8afd549186535
2021-08-11 16:02:34 +00:00
Tri Vo
f29084928b Set /dev/sg1 permissions in ueventd.rc
This way we don't need to guess when we need to chown.

Bug: 187105270
Test: boot raven
Change-Id: I36b17d440ef340e558b10ed3fef03435ec63690f
2021-08-11 16:02:34 +00:00
Aaron Ding
2ca88b86a2 Update ro.soc.model to Tensor
Bug: 194969858
Change-Id: I6cb64d9d0ae08cb71f6c2eefa3700e7bc0a89504
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-08-11 15:53:15 +00:00
Chris Fries
8a147370a2 device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: a7f7d69d66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: If4e26c7c6e63be46c10ef6771dfaf8b45288d69b
2021-08-11 15:08:20 +00:00
Chris Fries
f89fbc87d7 device.mk: Freeze vendor security patch 2021-09-05
(stopship hack) Freeze the SPL so that we can test more
rollback cases in testing before launch.

Bug: 187105270
Change-Id: Icb475d6c3331d26a6b5314cbb0cdf2cbe1428a27
2021-08-11 14:37:57 +00:00
George Lee
32041624d4 bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 5cfe546552
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: I52d6d5375ea4ffc39093d26a09cb9745897c305f
2021-08-11 02:02:52 +00:00
George Lee
ff8a3c60a2 bcl: lower ocp_warn for tpu and gpu
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I499bcfecf4a0eea7459f8cdd41d4e7c59129ffef
2021-08-11 01:32:04 +00:00
TeYuan Wang
f87b53892a thermal: provide permission for user space request TPU throttling am: 6067e669ca am: e8f5bb9a8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: I3c55352806b79ab7d5a26e57cad912692480fd04
2021-08-10 23:51:46 +00:00
TeYuan Wang
cc9cd89806 thermal: provide permission for user space request TPU throttling
Bug: 188701596
Test: ls -al dev/thermal/cdev-by-name/tpu_cooling/user_vote
Change-Id: I8a53b118b2e8e51603554c5fbb8a085d47422918
2021-08-10 23:18:01 +00:00
Ted Lin
8d90260342 dumpstate: move the dump registers from regmap to each driver
dumpstate availible to dump data with below 2 permission:
-r--r--r-- 1 root root
-r--r----- 1 system system
but /d/regmap permission is -r-------- 1 root root
1. we cannot change root to system with chown if the file node is root
2. we cannot change to read with chmod if the file node is root
3. try change permission in vendor_init causes sepolicy build fail with
   message rule neverallow

Base on above results, we added new file node in kernel with available
permission to dump needed data and dump it.

Bug: 194941806
Test: adb bugreport
Change-Id: Ieeb1adfb0351ceb33bf817cbef3663d41cdb8645
Signed-off-by: Ted Lin <tedlin@google.com>
2021-08-10 07:47:14 +00:00
Wen Chang Liu
3df7a76fa6 Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: ce4823810e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I0cb0362f3e5e1b5c2b74955435d7efb57108ed8d
2021-08-10 00:18:26 +00:00
Jidong Sun
300e445c60 mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 67acf0c025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: I8e2557c7ba02b2b9b544e2675f899106e86ca6bc
2021-08-10 00:18:25 +00:00
Wen Chang Liu
7742985632 Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)""
This reverts commit f6fcd437fdfd133ce9ebe343bbaa9dbe1b8e9dbd.

Reason for revert: we should upgrade same MFC FW release together with bootloader since we embedded a MFC FW inside LDFW to speed up authentication flow for P21.
 
Bug: 194873668
Test: video playback, video recording

Change-Id: I84f72e07940dc93acb5b26647091e921f4060df2
2021-08-09 23:50:27 +00:00
Jidong Sun
777118c5fe mfc_fw: Update to use unsigned FW binary
Bug: 195214116
Signed-off-by: Jidong Sun <jidong@google.com>
Change-Id: Ic7b065dd65d813cac7792725b31bb7958d1fa76b
2021-08-09 23:50:27 +00:00
Daeho Jeong
94d3188380 bfq: set slice_idle to 0 am: 25421f8e71 am: a3baff9020
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415376

Change-Id: I449c32c11a461ebdd6c7dbd94342e44336159c21
2021-08-09 23:38:30 +00:00
Daeho Jeong
bb82be6a2a bfq: set slice_idle to 0
Bug: 191606824
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6a2e52cdf5a43fb2e74b756eb0f1249761d76b0e
2021-08-09 23:10:42 +00:00
Siqi Lin
20c86c6913 dumpstate: dump recent AP wakeups from AoC DRAM exception am: 42a2e0d8c0 am: d5a85aaac7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15474255

Change-Id: I7ab51c2eec9f3e0829202e950938f6bdf12350d7
2021-08-09 20:20:19 +00:00
Siqi Lin
1858f3c579 dumpstate: dump recent AP wakeups from AoC DRAM exception
Bug: 186456919
Test: adb bugreport, open Bug Sections "dumpstate_board.txt"
Test: search for "AoC memory exception wake"
Change-Id: I45edeb5138957405f29b9556acb8ff36fdc9310b
2021-08-09 19:52:01 +00:00
Edwin Tung
8c591e99e1 gps: update gps driver 129.20.23.511166 am: 36b32f110a am: 7af3006903
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463394

Change-Id: I53f8fee6a4a7390be4ae400e1f6c4ef5774c319f
2021-08-07 05:08:58 +00:00
Edwin Tung
b8ea77a27f gps: Remove GpsCarrierType from XML am: 615a91eccf am: b79d8cb328
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427363

Change-Id: Id27ea8a1f90057d31aa970a7c162249a6829184c
2021-08-07 05:08:58 +00:00
Edwin Tung
25b2c66ba9 gps: update gps driver 129.20.23.511166
Reset VDR instead of assert when sensor misalignment is detected
Updated the heading process noise logic
Fixed the issue of unintentional COLD start trigger
Fixed the late acquisition by 1 sec due to missing sat aiding
Fix "libgps  : proxy__gps_start, CP Cold Start is running, skip gps_start"
Change in scheduling capability to treat less than 1000ms interval as 1000ms
and ignore accuracy mask
Relax the magnitude check of L5 bias to write to NVMEM
Added CpLppeHighAcc3DPosInAgnssProvideLoc (default:false) to combine a_gnss
and lppe ProvideLocationInformation
Change LogJava to retry connection to log service
Aiding B2a from B1I measurement was fixed
Fixed not to make assistance data request for CP
Change to allow IgnoreRomAlm to work.
Change the searching strategies.
Cange to use previous SIM card's IMSI
More adjustment for the LTE filter Bias
Added xml attribute OnDemandTimeCapability
SW change for the altitude
Implemented robustness for position loss after position request restarts
Fix SUPL OTDOA capability issue

Bug: 195607949
Bug: 193609637
Bug: 195489111
Bug: 194752965
Bug: 194728243
Bug: 194633864
Bug: 194309353
Bug: 194133982
Bug: 193477020
Bug: 193374889
Bug: 193114467
Bug: 192630262
Bug: 192047043
Bug: 191340913
Bug: 189412038
Bug: 193476205
Bug: 194974278

Sanity Test: 195599028
Test: build pass

Change-Id: I2d0367eb8e736c7e349609532d04d891cd51621e
2021-08-07 03:53:24 +00:00
Edwin Tung
204765d8ff gps: Remove GpsCarrierType from XML
Bug: 195087664
Bug: 193476205
Test: build pass
Change-Id: I6dfd0d7dcc349084eaabff64cbf9d3e813dc515f
2021-08-07 03:53:24 +00:00
Adrian Roos
e13ce2d977 Revert "firmware: mfc: update release MFC F/W(21/08/03)" am: f6fcd437fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15479540

Change-Id: Ia4c48954c25a99ab517c946412ddc275aa67ad82
2021-08-06 14:09:23 +00:00
Adrian Roos
25eb91fba1 Revert "firmware: mfc: update release MFC F/W(21/08/03)"
This reverts commit 41b4175e030e1bb46805975926a16077c811a4ae.

Reason for revert: Crashes test devices
Bug: 194873668
Fixes: 195743186

Change-Id: Ie857e54138684777c8c402aceccb9181fc090790
2021-08-06 13:49:55 +00:00