Commit graph

1709 commits

Author SHA1 Message Date
Ilya Matyukhin
952d0e02fc DO NOT MERGE Remove unintended face config am: 600f2b5c5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16484250

Change-Id: I37040ea67ada2c4caf190e8b6d43cda9f7f1c568
2021-12-16 20:45:02 +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
04687ef556 Add the rest of the AACR fields am: 57dd93fb86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16482304

Change-Id: I7d6aa433bf706da2889d95afbec991095c29a31e
2021-12-16 00:33:01 +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
98f4dad9ba Remove redundant build property for reduceOpsTaskSplitting am: 35230cc1af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16465240

Change-Id: I5fa18f0d2dd77fde1a9daf30acd2be0c6aa38a6d
2021-12-15 08:33:00 +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
669b065cb2 init: adjust boost value am: f8454ce693
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16389049

Change-Id: Ia5acad456eeeb638c72e8f93f4d2dab02fac8be8
2021-12-14 18:32:23 +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
8e2630f804 Remove bg group usage am: 2cf22ea5b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16458558

Change-Id: Id9e26d771df0d5f0046f6ddc33a91dba772648c2
2021-12-14 17:50:02 +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
ee79d7a1ef Ensure aacr_state is writable for google battery am: fb6a6e6cbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441865

Change-Id: I8132b238af4002d9cf725c5e739dc31c8defcfb7
2021-12-11 01:58:35 +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
23f69bea5c Revert "pregrant coarse and background location permission to scone" am: ab270a8cdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16441884

Change-Id: Id484250298a757fb46a8350de703c72bb728611d
2021-12-10 23:19:46 +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
41710c8070 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: Ib13683ef768197a5b24ecea43c58a94cc42214a8
2021-12-10 08:36:08 +00:00
Edwin Tung
5825db434b gps: enable GNSS PPS feature am: 09409af2d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979

Change-Id: I803ded1ae3e6c7b1c346dfb16055ddcbe3711d30
2021-12-10 06:26:37 +00:00
Edwin Tung
8255b93cf3 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.522768 am: 187392eab8 -s ours
am skip reason: skipped by user edwintung

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16414550

Change-Id: I51274ad95dfc337928c2e990a06a2b1b4c70ce7a
2021-12-10 06:26:29 +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
b9c0b74564 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices am: 70ee94b740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279848

Change-Id: I9879c546d89d19c00d30da3989f9b7ab6301c5ca
2021-12-10 00:09:24 +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
6461e99332 init.gs101.rc: add persist data for ACA am: 2ea166b43c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16406934

Change-Id: I57c22068e1fd0fe6bcf91cf6c236f7706c03be5c
2021-12-09 01:42:39 +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
d88ea8a1a4 Fix typo in SE_STATE_REQUEST intent action am: c8e6a6fa0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16367190

Change-Id: I483757b01eb0d481bbcaad06daaced6bdc15e258
2021-12-09 00:11:05 +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
46122a6976 gps: Update EnableOnChipStopNotification am: d8ce158324
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16402291

Change-Id: I7d4e8b6293737483ba153b8d0e7b9a5f6e151756
2021-12-08 09:42:54 +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
dc8ccfe3bb [automerger skipped] gs101: declare IDisplay to V4 am: 50f80d1be1 -s ours
am skip reason: Merged-In I08485ead1c05e8e46611156c76ec4a1d760fbbb0 with SHA-1 1e9369a8ef is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279842

Change-Id: I764432105c30116fe2401d542092fff99105870b
2021-12-08 01:57:44 +00:00
joenchen
f54a89ee8a [automerger skipped] init: change owners of sysfs nodes min_vrefresh and idle_delay_ms am: 26f9f02fb5 -s ours
am skip reason: Merged-In Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6 with SHA-1 44d816af7e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16303687

Change-Id: I2e1e235bf9c6e91c25b6361fca615df25eaf774f
2021-12-08 01:57:41 +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
joenchen
44d816af7e 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-07 19:08:05 +00:00
joenchen
1e9369a8ef gs101: declare IDisplay to V4
Bug: 202567084
Test: build pass
Change-Id: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
Merged-In: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
2021-12-07 19:08:05 +00:00
vincechiu
2f238f0bc2 Camera: Add CAMERA_LAUNCH_EXTENDED mode am: f924811f47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16057929

Change-Id: I8fa4cb18b207e1706a3cf6ce5ab3594cf72bbf0e
2021-12-07 09:34:01 +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
001cf7c36e Remove cdma feature because not all gs101 based devices support it am: e6bb2caf47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16373218

Change-Id: Ia5d359f4cbf9d72b143b0305fc0ee7a80df65578
2021-12-02 05:25:26 +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
dbd9909393 gps: Correct ESW crash dump path am: b35bb78536
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16361903

Change-Id: I7666fad8a5b5e2451492d0855abaf481e6695273
2021-11-30 16:07:52 +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
ac257ea3eb usb: Add dm condition in NCM am: 48b3e5de64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16334651

Change-Id: I3f2feae311bc65ed245eb00be7761b12d1f52b2a
2021-11-26 08:35:10 +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
63adfe3cc0 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.521367 am: e5036ffd10 -s ours
am skip reason: skipped by user edwintung

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16303634

Change-Id: I08cde1151e9fe11772fe54bff399ccfd5e3458f8
2021-11-26 01:46:31 +00:00
Edwin Tung
0ce77d984d 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: 207606667
Bug: 200942298
Bug: 204963837
Bug: 202366378
Bug: 202250827
Bug: 203615018
Bug: 205653853
Bug: 198384193

Sanity Test: 207330491
Test: atest CtsLocationGnssTestCases
atest VtsHalGnssV1_0TargetTest
atest VtsHalGnssV1_1TargetTest
atest VtsHalGnssV2_0TargetTest
atest VtsHalGnssV2_1TargetTest
atest VtsHalGnssTargetTest
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I73d0accb288149c458e232ae3f1b985112de7cd6
2021-11-25 03:25:35 +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
d75b7b5b69 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp"" am: eaaf1911d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16214466

Change-Id: Id83e89fd44a24a7a6be6bf3ed35345aa07d6fb4e
2021-11-19 23:43:46 +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
5ee850ab54 bcl: Increase SMPL_WARN to 3.1V am: 3cf3ce9386
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16076579

Change-Id: I9971a2a7e56ea303a1275d7ea4dabb334ada192f
2021-11-18 20:23:39 +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
764b89e605 Modify gnss device.mk to support new projects am: 987378054f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16128399

Change-Id: I7a4311a5979467d03c047ec0e9a44abf618a3b07
2021-11-15 02:55:18 +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