Commit graph

647 commits

Author SHA1 Message Date
Taehwan Kim
03dee4e377 firmware: mfc: update release MFC F/W(21/08/13) am: 632f404d83
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580548

Change-Id: Iee309bb431bf64c2f17372181b21781f0c6bd66d
2021-08-18 21:40:15 +00:00
Taehwan Kim
72cccf1d6f firmware: mfc: update release MFC F/W(21/08/13)
- Reverted the "Implemented so that H.264 decoder return
FEATURE_NOT_SUPPORTED error when content is 10-bit" feature

Bug: 196487829
Test: android.mediav2.cts.DecoderColorAspectsTest
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Iaffa77b07d341c973b12abf26250f8c12ce3ce5a
2021-08-18 21:27:09 +00:00
Chris Fries
b31a45d447 device.mk: Freeze vendor security patch 2021-09-07 am: c2c594926f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15613533

Change-Id: I4d0c39d7e20e2c75afd5bb77cb9b578ec58a95af
2021-08-18 20:04:12 +00:00
Chris Fries
6d42117462 device.mk: Freeze vendor security patch 2021-09-07
(stopship hack) Roll forward the SPL so that we can test
rollback cases in testing before launch.

Bug: 187105270
Change-Id: Ic0bdb7e3ece264aa42af1965421a485a8f16980b
2021-08-18 12:51:30 -05:00
George Lee
a9377aac5d bcl: Put OCP_WARN level back to original level am: 70d560fc98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583753

Change-Id: I0a27cb99eed07d8826c2e1b00da1681d008deb7f
2021-08-17 16:38:07 +00:00
George Lee
1fd62f31bf bcl: Put OCP_WARN level back to original level
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I3f46c74f35925ee0b31ec719b93d007e93a5a18f
2021-08-17 16:21:12 +00:00
Chris Fries
aed3eda558 device.mk: Freeze vendor security patch 2021-09-06 am: ead2bd66e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580480

Change-Id: Ia6fb63a77cb344e352187c4993d52f01af42897f
2021-08-16 23:43:08 +00:00
Chris Fries
44b49fdcab device.mk: Freeze vendor security patch 2021-09-06
(stopship hack) Roll forward the SPL so that we can test
rollback cases in testing before launch.

    Bug: 187105270

Change-Id: Ia6e75f0b6699f7967d4b92ef973f5ca6af1b5e6a
2021-08-16 15:29:32 -05: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
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
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
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
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
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~
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
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
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
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
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
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
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
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
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
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
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
ByungGwan Kang
e5938b1e5e firmware: mfc: update release MFC F/W(21/08/03)
- Implemented so that H.264 decoder return FEATURE_NOT_SUPPORTED error
  when content is 10-bit.
- Implemented to support dynamic frame rate change for Hierarchical-B
  encoder.
- Implemented to support the adaptive GOP feature.
- Fix the MinQuality rate control (20210629 release) bug which encoded
  stream is corrupted when Hierarchical-P/B is enabled.

Bug: 194873668
Test: 1 day pretest (ATL0)
Test: DevCam video recording
Test: Hierarchical-B testing
Signed-off-by: ByungGwan Kang <bk0917.kang@samsung.com>
Signed-off-by: wenchangliu <wenchangliu@google.com>
Change-Id: Ic924c0c6479b952c16f5fa4a4a3511f852774aab
2021-08-06 09:13:08 +00:00
George Lee
2107135c90 bcl: Enable Instruction print in bugreport
MPMM/PPM readings, OFFSRC and PWRONSRC will be printed out.

Bug: 195455000
Test: Local Test and confirm its printed.
------ Instruction ... ------
enable_mitigation=1
mpmm_settings=0x1a
offsrc=0x0
ppm_settings=0x0
pwronsrc=0x4
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I1f3e10edc416966f0eba18e0ba94fb56a487eaee
2021-08-05 20:43:54 +00:00
Michael Eastwood
fe6dbce8df Attach more CPA traces to bug reports.
These are small, usually <1MB. Attaching more CPA traces gives us some
buffer to ensure that the relevant trace is actually included in the bug
report. Previously if the user opens one or two more camera sessions
after they observe the performance issue, the trace will be missing.

Bug: 191169822
Test: Build
Change-Id: I4c10217c39991e80f25a7fd90eee9e8b8c5b6cdb
2021-08-04 20:46:57 +00:00
linjoey
3097b78f95 Change prebuild path to gs101
Bug: 181204804
Test: Build passed and boot to home.

Change-Id: I4fdc6032ac16134de53675a5f00ee7e7765c7f32
SigSigned-off-by: linjoey <linjoey@google.com>
2021-08-04 12:17:24 +00:00
Wayne Lin
ebec3cf12a gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism
Remove below Google SUPL certs from gps.cer
 - GoogleSuplCertificateEquifax
 - GoogleSuplCertificateGeo
 - GoogleSuplCertificateGlobalSignR2
 - GlobalSign Root R1

Bug: 193865889
Test: basic GNSS function test pass and SUPL NI test pass
Change-Id: I2fee22f0832784d20aa055239ac0d92c0d3a671d
2021-08-04 11:35:03 +00:00
Super Liu
d3e2787491 dumpstate: support CM2 data dump for touch.
This also change the sequence of run_rawcap_read_all
and run_self_rawcap_read_all to last. Because these
two commands need to run selftest first to read data,
this will make ambient update to make other raw data with
differen baseline.

Bug: 195111369
Test: check touch data in bugreport.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I4693b099fbc98d80fbe166525773e3ab803c98d8
2021-08-04 05:28:30 +00:00
Vinay Kalia
4f62d6b733 Support height/width swap
Enable support for height/width swap so that vertical videos
with supported resolution can be played with HW AV1 decoder.

bug: 195409679
Test: AV1 video playback in vertical as well as horizontal orientation.

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I939f6a0dc432f6b1c92a1e818647afb66c20d856
2021-08-03 17:15:51 +00:00
Ruofei Ma
d2e0f9f79b Publish performance points for 720p video
Publish performance points for 720p video. This fixes
a CTS testcase.

Bug: 195356114
Change-Id: Iddd8e3ed5edbdf35735fa679ab516a5f84bbdb0e
2021-08-03 15:36:09 +00:00
Stephane Lee
75619b9882 Create one-shot clear for Trickle-Defend
Test: Ensure there are no sepolicy/permissions errors
Bug: 194447428
Change-Id: Ie295e33967edc3294e1bf6d2192639d6b0377659
2021-08-03 00:20:07 +00:00
George Lee
433a2566e6 bcl: enable batoilo thermal zone
Enabling batoilo thermal zone.
Reduced soft_ocp_warn per bug 184739333.

Bug: 194240210
Test: Local test: flash and boot
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4cad70946af1cd8ffd2131df9f505dac49b8c8f8
2021-07-30 20:49:41 +00:00
Lisa Liu
d79a11550b gs101: Start bootanimation explicitly.
Start bootanimation explicitly by name. Let animation start before
surfaceflinger to avoid the condition ctl.start bootanim queued after mount_all command.

Bug: 193726798
Bug: 191910503
Test: boot test
Change-Id: Id0d276ac8bca39c6ac1dae2b2d542107a9522b91
2021-07-30 14:08:15 +08:00
Tom Hsu
fbf3ed5d4c Revert "Disable TTY as it is not supported on these devices."
This reverts commit ce6f6da1587615240b7cd2582209c6838cb3bec8.

Reason for revert: Due to b/194243206, TTY shall keep supporting for WCDMA/GSM devcie. Thus revert this CL for pixel 2021 and after.

Bug:194243206
Test: b/194243206#comment22
Change-Id: I650eb50a12bebcd55d04a4ab18bf1d78480a0af5
2021-07-30 02:06:55 +00:00
Bart Van Assche
864a08d3a7 init.gs101.rc: Reduce the queue depth for /dev/sda
Use the default chosen by the block layer (64). The purpose of this patch is
to reduce storage latency. Without this patch:

 # grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:256
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64

With this patch applied:

 # grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:64
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64

Bug: 194450129
Test: Built Android images and installed these on an Android phone.
Change-Id: I236874f3791d62a2d5faf0d37a149025639f5c4a
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2021-07-29 13:31:50 -07:00
David Chao
e00e552787 dumpstate: dump state2power table
Dump state2power table in cooling_device

Bug: 189488358
Test: local test and state2power table can be dumped.
Change-Id: Ifb9a8e41158c5452b2f6e856d30ac97011460298
Signed-off-by: David Chao <davidchao@google.com>
2021-07-29 07:13:33 +00:00
Rick Yiu
e05964f062 gs101: Disable system group boost in off charger mode
Bug: 193192017
Test: build pass
Change-Id: Ieb5ff22808f22eb5796950d427986f352d748839
2021-07-28 01:24:48 +00:00
Andrew LeCain
20c4f4090c Set owner for mfg_data partiton.
Enable the FP HAL to read from the mfg_data partition chowning to system

Bug: 193549276
Test: sideload cal with valid signature. auth. enroll.
Change-Id: I0897e545dc368782587ae031716012a806d05485
2021-07-27 21:32:11 +00:00