Commit graph

1108 commits

Author SHA1 Message Date
Ytai Ben-Tsvi
8e6ff8503d Build with spatializer feature
Build with Decibel spatializer library and enable spatial audio
feature

Bug: 189423448
Test: make.
Change-Id: Iff997d4100dcd2aabfdaf62b8abdba788cb9741c
2022-03-09 10:00:08 +00:00
wenchangliu
1012636603 Update correct max block counts
Fix incorrcet video resolution capability report from
media_codecs_aosp_c2.xml.

Bug: 222095724
Test: demo-transformer HEVC 2160p transcoding
Change-Id: Ie0bb25c88440f7806b01bcaa49b23980d7f4e45f
2022-03-07 09:35:56 +00:00
Edwin Tung
a4f6715b0f [DO NOT MERGE] gps: update gps driver 129.20.23.528101
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Iadc3a43a581103e4540bcc3acc63fa5d3e8de8fd
Merged-In: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-03-02 10:32:59 +00:00
George Lee
022020ed96 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-03-02 02:36:56 +00:00
TeYuan Wang
775721627a dumpstate: add more cooling device debug info
Bug: 221369360
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
(cherry picked from commit 125d1d5833)
2022-02-25 16:52:59 +00:00
Edwin Tung
623a33b4d4 [DO NOT MERGE] gps: update gps driver 129.20.23.528152
Added CpLppeE911PreferredAccuracyMeter (default=10) xml attribute
to force Control Plane singleshot accuracy

Bug: 215660420

Verify test: 220990700

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I7a0b6ffe079c10a1ca380feb7ba6bf2fd9498050
Merged-In: I943fa1e906d8b0b80b6395accd71c68f97f7ed43
2022-02-24 15:13:17 +00:00
Wei Wang
feb6fd3e0f Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
(cherry picked from commit 4a00d52966)
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:00 +00:00
Jimmy Shiu
eea7b26d08 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:24 +00:00
Wei Wang
5ebc40697f Remove cpu controller usage in P21
To avoid lock contention, removing cpu controller usage completely for
p21.

Bug: 208895940
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Merged-In: I80fdd7301d23243ac8e4b2e633cc1e16283227ea
Change-Id: I80fdd7301d23243ac8e4b2e633cc1e16283227ea
2022-01-31 21:17:31 +00:00
eddielan
4ebea23fc5 extension: Correct assgine owner
Bug: 216573769
Test: Build Pass
Change-Id: Ic91bb085ec64db1f2772a4027c3eec635cf94024
2022-01-27 15:07:27 +08:00
Wei Wang
8b3ba7e3bc Boost DISPLAY_UPDATE_IMMINENT higher for 60HZ
To improve the beginning of UI operations, boost higher for
DISPLAY_UPDATE_IMMINENT when in 60HZ.

Bug: 196192814
Test: Build and trace
Change-Id: I1c45ba66164ca4109289aaabacedaf3888e235b9
Signed-off-by: Wei Wang <wvw@google.com>
2022-01-24 08:06:52 +00:00
eddielan
6dbcdf4f3b fingerprint: Add fps extension script
Bug: 208400345
Test: build Pass
Change-Id: If9334ac3a837c9bf85709335075f3a666eeef06d
2022-01-21 06:06:24 +00:00
SalmaxChang
2dfaabef7a init: gs101: restorecon persist modem file
Bug: 215311024
Change-Id: I8292a5066c3658a8acde622014881338ea24379a
2022-01-19 14:45:10 +00:00
Edwin Tung
42d7768c12 [DO NOT MERGE] gps: update gps driver 129.20.23.524633
Fixed null pointer dereferencing while injectNLPError
Added SuplUseFwCellInfo (default:true) xml attribute
Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

Verify test: 214386315

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4
2022-01-14 09:16:54 +00:00
YiHo Cheng
676247423b dumpstate: Add tmu register dump
Add tmu register dump in thermal section to get tmu status

Bug: 202736838
Test: check tmu register dump info in thermal dumpstate
Change-Id: Ife2ff971eaeda2b132658ca2704bf1edde6fd80a
2022-01-12 23:03:41 +00:00
Wei Wang
8fdd6e65eb powerhint.json: move display wake node earlier
Currently it is a KI the vendor group takes time to update through sysfs
node. This CL moves display wake earlier than TA boost while waiting for
the long term improvement in b/190236772.

Bug: 205261899
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ieb1eb62442e67602605e380b987fe28d1ad2bbd8
2022-01-12 16:29:26 +00:00
Wei Wang
f357b89684 powerhint.json: move display wake hint earlier
Currently it is a KI the vendor group takes time to update through sysfs
node. This CL moves display wake earlier than TA boost while waiting for
the long term improvement in b/190236772.

Bug: 205261899
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I55bc3b8ee0f48874dbd731f5f3d648adaacf6798
2022-01-11 16:49:17 +00:00
Martin Liu
2b741a51c5 gs101: set readahead_size_kb=128 to vendor, product and system_ext
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I0ef6456a96ef923fe681112560d2f49c514ff529
2021-12-30 02:05:39 +00:00
Edwin Tung
954576cc19 [DO NOT MERGE] gps: update gps driver 129.20.23.523968
Request DBH while capability transaction.
Report location info without waiting for DBH.
Use gps location as DBH while timeout.
KDDI NI requires noPreference for suplPrefMethod.

Bug: 206754082
Bug: 207721798

Verify test: 212326933

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I235ea87c683051879ce160d0d41917328ca58e37
Merged-In: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-29 07:44:49 +00:00
Edwin Tung
5759adffeb Revert "gps: enable GNSS PPS feature"
Bug: 211170885
This reverts commit 09409af2d8.

Reason for revert: The wrong elapsed realtime cause 1/2 Hz location update.

Change-Id: Ice1fe26627b6aed8d622d748a1f044b6acfe177f
2021-12-18 07:38:13 +00:00
Ilya Matyukhin
600f2b5c5c DO NOT MERGE Remove unintended face config
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2021-12-16 20:22:17 +00:00
Stephane Lee
57dd93fb86 Add the rest of the AACR fields
Bug: 205900652
Test: Ensure that there are no permissions denied errors for
google_battery

Change-Id: I0860b84994c24930334407e909e14469f4b3cb94
2021-12-15 23:28:03 +00:00
Adlai Holler
35230cc1af Remove redundant build property for reduceOpsTaskSplitting
This flag is true for everyone now. No need for it here. Change has no effect.

Bug: 183612348
Bug: 185920634
Change-Id: Ia264cfceb5cea4230a1c459fbd3c3f8c99a35bdf
(cherry picked from commit 8661e6ae13af04eb4aa299327134d7185b563e24)
2021-12-15 08:16:49 +00:00
chungkai
f8454ce693 init: adjust boost value
To reduce boot time, adjust util clamp to max.

reduce 200ms+ after cgroups created.

Test: pass
Bug: 204397422
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I92cd3ee3dcf8dfc9d677ca23492dda62711885af
2021-12-14 18:12:08 +00:00
Wei Wang
2cf22ea5b3 Remove bg group usage
Given the current suspects that the bg throttling may cause extra longer
runnable in P21, remove its usage.

Bug: 208895940
Test: book and check cfs group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If7f20646e944eab8d42e6698e08069b608a0ea7a
2021-12-13 22:45:55 +00:00
Stephane Lee
fb6a6e6cbe Ensure aacr_state is writable for google battery
Bug: 205900652
Test: Ensure that there are no permissions denied errors for
google_battery

Change-Id: Icec73159f3686d37fcf91971772ec85d102b92fe
2021-12-11 01:29:57 +00:00
Meng Wang
ab270a8cdc Revert "pregrant coarse and background location permission to scone"
Revert "pregrant coarse and background location permission to scone"

Revert "pregrant coarse and background location permission to scone"

Revert submission 15820535-cherrypick-repregrantLocationToScone-5hvcs25t6g

Reason for revert: Unintended location usage issue not fixed.
Reverted Changes:
I1c2209112:pregrant coarse and background location permission...
I1b9370bdc:pregrant coarse and background location permission...
I0fbb20b3e:pregrant coarse and background location permission...
I2d4681b9a:pregrant coarse and background location permission...

Bug: 210152490
Change-Id: I8f4efa77b20656497999c3afaf4cb7e09081ed8d
2021-12-10 21:30:01 +00:00
Edwin Tung
09409af2d8 gps: enable GNSS PPS feature
Bug: 175086879
Test: Gnss measurement elapsedrealtime work

Change-Id: I959587225dd86a3efa11ecfbdd2b57374f09eef8
2021-12-10 05:51:51 +00:00
Edwin Tung
187392eab8 [DO NOT MERGE] gps: update gps driver 129.20.23.522768
Fix power mode abnormally turned off by setPositionMode
Fix GPS crashing issue
Fix location lagging during driving
Auto switch constellation for on-chip mode

Bug: 207436894
Bug: 206074009
Bug: 204136420
Bug: 201591644
Verify test: 209775831

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I8562af321a6238009127345a591d8bb1f6197fc2
2021-12-10 05:51:39 +00:00
Alex Hong
70ee94b740 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.

Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-09 17:33:12 +00:00
Jenny Ho
2ea166b43c init.gs101.rc: add persist data for ACA
Bug: 208962746
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I2c67619112746fb589bbff5743fd41632b4f9cf2
2021-12-09 01:21:30 +00:00
Michael Ayoubi
c8e6a6fa0b Fix typo in SE_STATE_REQUEST intent action
Fix typo in SE_STATE_REQUEST intent action to match other
com.qorvo.uwb actions and permissions.

Bug: b/208435525
Test: Flash and verify on R4.
Change-Id: I818db033ee5f54df629a9abfaae2425028e351ee
2021-12-08 23:48:51 +00:00
Shinru Han
d8ce158324 gps: Update EnableOnChipStopNotification
Set EnableOnChipStopNotification=”2”.
Sends on-chip stop notification only when the Host request exists and on-chip request stops.

Bug: 208940846
Test: logging test for case #1, #3 and #4 in b/197196725#comment39

Change-Id: I8a244eb3a705f1cc2884e1a180cb8ad6ebd41ad7
2021-12-08 09:20:44 +00:00
joenchen
50f80d1be1 gs101: declare IDisplay to V4
Bug: 202567084
Test: build pass
Change-Id: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
Merged-In: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
2021-12-08 01:40:05 +00:00
joenchen
26f9f02fb5 init: change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 202567084
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
Merged-In: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
2021-12-08 01:40:05 +00:00
vincechiu
f924811f47 Camera: Add CAMERA_LAUNCH_EXTENDED mode
Use CAMERA_LAUNCH_EXTENDED to not limit max CPU frequency.
It improves launch time and buffer allocation latency especially for high memory pressure cases.

Bug: 208362912
Test: GCA
Change-Id: I85df14aaaad56232f6ffaef316adb0c6dde3e06f
2021-12-07 09:19:43 +00:00
neoyu
e6bb2caf47 Remove cdma feature because not all gs101 based devices support it
Bug: 207398695
Test: inspect build artifacts - result is expected
Change-Id: Ic8098e036d5e58ec1b1cd0fcd13ef64a4d12b668
2021-12-02 05:06:33 +00:00
Shinru Han
b35bb78536 gps: Correct ESW crash dump path
Bug: 207587485
Test: ESW crash dump can be found under data/vendor/gps/logs after
running command :
echo Lhe:write=0xFFFFFFFF,4 > /data/vendor/gps/LheConsole.toAsic

Change-Id: Icf3505a8d29e867f81eb513d25bf790085a2819f
2021-11-30 07:26:21 +00:00
Ricky Niu
48b3e5de64 usb: Add dm condition in NCM
Add vid/pid 04e8/6862 for dm condition in NCM

Test: The usb gadget functions work normally
Bug: 206565428
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I04fba9fc137848d7f1c97a288bb12d76a613badc
2021-11-26 08:22:03 +00:00
Edwin Tung
e5036ffd10 [DO NOT MERGE] gps: update gps driver 129.20.23.521367
Improve stopping conditions for urban driving
Fix GTS issues
Improve Spirent AGPS drive accuracy
Add PRs and PRRs log
Fix SUPL over WIFI issue
Integrate SatPvt URE fix
Fix SB Lab issue

Bug: 200942298
Bug: 204963837
Bug: 202366378
Bug: 202250827
Bug: 203615018
Bug: 205653853
Bug: 198384193

Sanity Test: 207330491
Test: build pass

Change-Id: If5720611a734d7d76780b22781e8650b779f27f4
2021-11-23 00:37:27 +00:00
David Chao
eaaf1911d1 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp""
This reverts commit e2da019e13.
Since the temperature getting struck at 10 degC b/192030129 has been fixed,
reenable dynamic Tj thresholds.

Bug: 202736847
Test: build and boot on device
Change-Id: I53c62595407ea156ee3aceef0d3723db46096b8f
2021-11-19 23:30:04 +00:00
George Lee
3cf3ce9386 bcl: Increase SMPL_WARN to 3.1V
To mitigate Synthetic load in brownout test, we need to increase
UVLO1 to 3.2V, UVLO2 to 3.0V, and SMPL_WARN to 3.1V.

Bug: 200943374
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I182d55f3a898d6e9adc8d86747ae62541a1c8fab
2021-11-18 19:33:20 +00:00
Joe Huang
987378054f Modify gnss device.mk to support new projects
Copy default gps.xml to only specific projects under gs101 and maintain
new projects in their own folders.

Bug: 203745796

Test: Build test and check config

Change-Id: Ic0b6f8a6e41063f5c42573aea91650007963912b
2021-11-15 02:37:35 +00:00
Martin Liu
5bcfdac788 gs101: set swiotlb as noforce
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.

Bug: 205246642
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If9f68b269f326f0f4b8e165593ec5dd4787fbb52
2021-11-11 00:07:28 +00:00
Krzysztof Kosiński
1be9cf8a51 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Merged-In: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
2021-11-04 21:58:06 +00:00
davidycchen
87c912336a dumpstate: dump touch HDM debug information
HDM debug information already expend to 64 bytes. Dump whole debug
information when bugreport is triggered.
Read HDM debug information twice to check if any status events keep
changing.

Bug: 174191180
Test: trigger bugreport and check the data.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I9d2f9ed094f85dae303ba47e85a182adcd6954ac
2021-11-03 04:46:03 +00:00
Siddharth Kapoor
3eaed9b170 Add GPU Power-on hint for LAUNCH am: 0b13fa4150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I5795ff285434da113542be86ebc77e4d9e84ba16
2021-11-02 05:03:27 +00:00
Siddharth Kapoor
0b13fa4150 Add GPU Power-on hint for LAUNCH
Bug: 201718421
Test: trace while App launch
Change-Id: I5f994cf87a1696f843a2419d52133ccc5951d23c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2021-11-02 02:31:15 +00:00
George Lee
0a838b3284 bcl: disable SOFT_OCP_WARN HW divider
Bug: 201546866
Test: Local Test to verify readback of register
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4c303bc18d0a6bcc3b83a4cde9aca9b49e63daa7
2021-11-01 17:54:14 +00:00
Aaron Ding
aad20a2f04 Enable VABC OTA
Bug: 203437381
Change-Id: If9eb8a4b1cefb75cf3d310a27a52aa889b28d0b5
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-10-28 18:45:34 +00:00