Commit graph

1099 commits

Author SHA1 Message Date
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
Victor Liu
4e79160e93 uwb: remove device name from gs101
Bug: 203746316
Change-Id: I0359a8d2047d39d61d68b32234bfeec5f3440236
Merged-In: I0359a8d2047d39d61d68b32234bfeec5f3440236
2021-10-28 06:29:35 +00:00
Siddharth Kapoor
57e119f053 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-10-28 00:45:10 +00:00
Edwin Tung
28f628e17c [DO NOT MERGE] gps: update gps driver 129.20.23.518574
Report agnss position even no NLP location
Fix to delete RTO too when delete all aiding received
Add mutex to protect malloc/free
Fix for the bug of power mode logging in ONCHIP_NMEA
Reporting PLMN (MCC+MNC) of SIM and Network
Fix GPS outage when OnChip/Host switching
Fix LPPe UBP issue
Fix gpsd crash issue

Bug: 202366527
Bug: 199818363
Bug: 199048681
Bug: 201582435
Bug: 199114573
Bug: 197716902
Bug: 195383842
Bug: 200107911
Bug: 203068978

Sanity Test: 203854792
Test: build pass

Change-Id: I27f314a4b2b5a82e27186a170f10b1041b7d0650
2021-10-27 14:09:08 +00:00
shawnlin
0aa99d3b57 Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I474e7272c3240bbc36ddbb43f565e0eaed96b29e
2021-10-27 05:12:16 +00:00
Rick Yiu
1b06962002 Configure dex2oat group settings
Also associate with its vendor group.

Bug: 201223712
Test: build pass
Change-Id: I86a2e2eb628d2f412079e9c8321809f48b1e4be3
2021-10-26 07:09:27 +00:00
Badhri Jagan Sridharan
a25b4d683b pixelstats: Filter "PRODUCT_TYPE" uevent for reporting VID/PID
gs101 has the kernel changes to report "PRODUCT_TYPE" upon plug-in.

Bug: 196104058
Test: adb shell cmd stats print-logs; adb logcat | grep 105011
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia61a3b2a693d4f2b630409dd786342743e330ef2
2021-10-26 00:29:14 +00:00
Victor Liu
8144b338f0 move uwb feature to system_ext am: 52317f994b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272

Change-Id: Ibdabb697d1e81d5380691e5422ee6e2ad49e7242
2021-10-20 15:49:49 +00:00
Michael Ayoubi
a7f4ef05b5 Add SE State Changed Intents in EuiccSupportPixel
Needed to emit SE_STATE_CHANGED from Thales updater code to clients when
eOS or applets are being updated. Current clients are GMSCore and UWB
Service.

Bug: 189881206
Bug: 183606657

Test: Confirm overlay worked and intents were received.

Change-Id: Ia1106d6fad20797e72c49cfc1f790289d0da0963
2021-10-20 00:32:55 +00:00
Victor Liu
193c85c4ef move uwb feature to system_ext
this prevents the gsi device from starting uwb

Bug: 203052451
Test: nearby-share on uwb device
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Iec21b82dfd79849b2d949f696e59d64f0487edad
2021-10-19 21:57:25 +00:00