Commit graph

1055 commits

Author SHA1 Message Date
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
Will McVicker
09f583f336 gs101: recovery: add wait for dwc3 device to probe
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.

Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
(cherry picked from commit f31fad844a7b94ee7c6689afd0b563da00c29118)
2021-10-19 16:58:00 +00:00
Kyle Lin
f5817b68d7 init.gs101.rc: adjust ratio_ceil am: e574d5e7dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856

Change-Id: I608d4a4a8caa806569ff0b9f598c7c1c5481a815
2021-10-18 19:38:55 +00:00
Kyle Lin
a3c7bc302f init.gs101.rc: adjust ratio_ceil
Test: build , boot and CUJs.
Bug: 201052887
Change-Id: I94158c1f78f937ef93e4e2c31eabcd4d05798870
2021-10-18 19:24:03 +00:00
Wei Wang
0d2642fa60 Use sysbg group for system background jobs am: 4599c16628
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: I3e0059ec5d491b157f460a8f311ba2fe47dc8ddd
2021-10-13 06:16:23 +00:00
Wei Wang
414066f103 Use sysbg group for system background jobs
Bug: 201428466
Test: Build and boot check system_server's sched group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I03396b661788de0a5963e29abfd95f609e9dc7ec
2021-10-12 13:50:57 -07:00
eddielan
01459cea67 fingerprint: Enable HIDL fingerprint status flag
Bug: 202485883
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I67d39a91c24e3d91a029422fd8860de6d74a8422
2021-10-12 02:58:16 +00:00
Edwin Tung
7e1adeaf82 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib247d37517279c4acae596483ece50383299da58
2021-10-08 15:14:29 +00:00
Edwin Tung
7d0d2634ef [DO NOT MERGE] gps: update gps driver 129.20.23.516938
Rescale accuracy confident to 67% for AGPS NI request
Fix velocity URE in SatellitePvt
Fix scd crash
Enhance log mechanism
Fix avc denied
Force 1 sec interval in emergency mode

Bug: 199581865
Bug: 200654813
Bug: 201514516
Bug: 197196725
Bug: 201382800
Bug: 201729040

Sanity Test: 202280989
Test: build pass

Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-08 14:55:53 +00:00
Sayanna Chandula
611e6d7a25 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I31be22450d7f850a8f8ba274f6ba60c3a0a8a513
2021-10-08 05:27:29 +00:00
Sayanna Chandula
b4d3792d59 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I89c042150bc17229097cfae4a88b122f7f0b395d
2021-10-08 05:13:03 +00:00
Sayanna Chandula
e2da019e13 Revert "powerhint: thermal: Support powerhint to change tmu control-temp"
This reverts commit 7769380db2427d19bbcfad12af08818e75988068.
During debugging of b/192030129, it was observed that setting trip temp
followed by a suspend results in temperature getting struck at 10
degrees. Reverting powerhint change will disable dynamic setting of
trip temp and thus avoiding the 10 degree issue.

Bug: 192030129
Test: build and boot on device
Change-Id: I42ca12be23abf9c48fb2985f1506557d0fb93c1c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-07 21:58:17 +00:00
Wei Wang
5a3e0e98e9 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: If46b121ad07401849082b2db6557dbe490813b12
2021-10-07 19:29:45 +00:00
Wei Wang
a89970daa6 Remove DISABLE_TA_BOOST completely
Bug: 199292504
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibcdb9b5968268be9765654c691910dfe7ba549ac
2021-10-07 10:30:20 -07:00
eddielan
8f4c51d3b3 fingerprint: Add suez config
Bug: 187663434
Test: Build pass
Test: Check log on logcat
Change-Id: I42026d13dafcfd7d32e37a1e5edb5e7f327d562d
2021-10-07 03:43:01 +00:00
Bill Lin
b5f66163aa Revert "Add support One-handed mode in B3"
Note : We should customize in specific device for B3, instead of
override gs101

This reverts commit d326059d567690c4b2ffbaaf3e5c3fd51e5a69aa.

Reason for revert: 201962520

Change-Id: I2be3f5bebf52ee4be4b7bf8c0ce50bb83380f8ee
2021-10-06 06:08:44 +00:00
Sunil Ravi
3807f28914 Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153

Change-Id: I1fc3c8dedeae33ca81a16621f587b2956d15b746
2021-10-05 17:54:14 +00:00
Sunil Ravi
f8a26c3286 Configure channel 149 & 36 as p2p preferred channels.
Bug: 194132777
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: I07fb6b586b89f66fd105673d47b2d2367c30e487
Merged-In: I07fb6b586b89f66fd105673d47b2d2367c30e487
(cherry picked from commit 20c24cfd61926f128ca88f1ccf637663fa6575df)
2021-10-05 17:40:09 +00:00
Wei Wang
ac81e67b89 Relax background restriction to 16.67% am: fbb2777b1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: Iba6960aea57dca062a4e77d3d1517292e634aba1
2021-10-05 17:08:33 +00:00
Wei Wang
ab3747f65e Relax background restriction to 16.67%
To avoid background starvation and PI, especially for those low prio 130
threads within system_server, allocate more cpu shares for background
sched group.

Test: boot and torture a loaded device.
Bug: 201428466
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ia85814294f9534fd83388a72c574c04f631a185f
2021-10-05 16:53:00 +00:00
Max Kogan
12186695b5 dumpstate: dump AoC memory votes stats am: 03c1d9311b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: I14f2fe73e01ec2544ab7e83b384ed4f4cb0da90a
2021-10-04 18:15:20 +00:00
Wei Wang
906b1d27d5 Boost SF higher for app launch am: 143edae395
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: I0c8b59d2c582a0b6c197420bc6ffe3e91c4904ea
2021-10-04 18:15:14 +00:00
Wei Wang
b97333ab61 powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: Ibaee4bcb1ae1714f2da86774611a9f2b3770b777
2021-10-04 18:15:09 +00:00
Max Kogan
6896836e0e dumpstate: dump AoC memory votes stats
Bug: 198203507
Test: adb bugreport, open Bug Sections "dumpstate_board.txt"
Test: search for "AoC memory votes"
Change-Id: I24d80a6e3493ccc961b8eed3b9da4b9dfbbf457f
2021-10-04 18:04:01 +00:00
Wei Wang
902e84ee68 Boost SF higher for app launch
Test: Build
Bug: 199779453
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ide9ae93932c09fc1e5090981094d7d3935231e21
2021-10-04 17:57:16 +00:00
Wei Wang
093068d0dc powerhint: use DISPLAY_IDLE signal to control TA boost
Add additional 200ms boost from DISPLAY_UPDATE_IMMINENT and INTERACTION.

Bug: 199292504
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I95d4d4f6f4763714d450eacdd63d0c5f724ac05a
2021-10-04 17:51:05 +00:00
chened
0372678fe3 camera: disable saliency and segmentation for factory build
Test: build pass, aosp camera
Bug: 192660033
Change-Id: Ia5170e956b97dcab745231f0d5441a3511e7edf7
2021-10-04 03:39:22 +00:00
Sayanna Chandula
30a2540fcf init.rc: Enable SOFT_OCP for TPU/CPU/GPU am: cfcb0b9160
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15952233

Change-Id: I21d44400c63720d210398234b4f4e1dbe113fcd3
2021-10-01 23:21:42 +00:00
Sayanna Chandula
be546e6364 init.rc: Enable SOFT_OCP for TPU/CPU/GPU
SOFT_OCR_WARN was disabled as part of b/199787970. This
change reenables it

Bug: 201551128
Test: build and boot on the device. Verify the sysfs entries
cat /sys/devices/virtual/pmic/mitigation/clock_div/tpu_clk_div
0x1
cat /sys/devices/virtual/pmic/mitigation/clock_div/gpu_clk_div
0x1
cat /sys/devices/virtual/pmic/mitigation/clock_div/cpu2_clk_div
0x1

Change-Id: I366ddd43474d1a690aae5edb70b881c95e7b62d7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-01 23:11:00 +00:00
Martin Liu
950d14c455 gs101: move zram to pixel common mm folder
Move zram settings to pixel common mm folder

Bug: 200899926
Test: check swap size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ic81e26d706459e14029f611c03df4a14d4184277
2021-10-01 17:12:46 +00:00
Edwin Tung
529a5cec3e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours am: 72f1a7f703 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibfd120014da67307fad06c0ce877c278a4debe71
2021-10-01 06:39:13 +00:00
Edwin Tung
7c59e634e4 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours
am skip reason: skipped by user edwintung

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

Change-Id: Idaed67f52b0baca9f2d0aea4e33ac549a9df0f00
2021-10-01 06:23:22 +00:00
Petri Gynther
96a90bd47a Revert^2 "gs101: re-enable prebuilt boot.img/boot-user.img usage"
This reverts commit 48a5fe4304e3c5720f468d6b9147ca36bbe9eb4e.

Reason for revert:
Re-enable gs101 prebuilt boot image usage.
All necessary prerequisites have been merged:
cl/399995993, ag/15953678, ag/15953343, ag/15953037, ag/15953719

Bug: 201469630
Bug: 201476061
Change-Id: Idb46a74e7830a274c45fee1f43a52dbcd7e96ca4
2021-10-01 06:00:08 +00:00
Edwin Tung
3221acba2a [DO NOT MERGE] gps: update gps driver 129.20.23.516384
Rescale accuracy confident to 67% for AGPS NI request
Set LPPe DBH altitude value to maxima if no FLP altitude

Bug: 199581865
Bug: 199719571
Bug: 201238299

Sanity Test: 201497808
Test: build pass

Change-Id: I151340dbed8b4ee4aa972c09d284e39f9702223c
2021-10-01 04:14:07 +00:00
Jason Chiu
d037bee915 Revert "gs101: re-enable prebuilt boot.img/boot-user.img usage"
This reverts commit 7badc4b5f1c7b6adff8cd9142f5c97bd4a5a0d49.

Reason for revert: it introduce b/201469630 and b/201476061

Bug: 201469630
Bug: 201476061
Change-Id: Id48ea931410a55bfd382feb7a0da02994fdf8928
2021-09-29 07:30:10 +00:00
Jason Chang
6a1ecb3ed2 Add support One-handed mode in B3
Add support One-handed mode system properties flag to enable B3
project.

Bug: 200899897

Test: Build a new ROM build to manually test
Change-Id: Ia511f9a298f76589780f258daf657d36c666e206
2021-09-29 06:59:55 +00:00
Petri Gynther
d60cbacc12 gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15934983

Change-Id: Ib6489b4b5797eea2b8ecc32ee10e3c4d1998f4d8
2021-09-28 20:45:42 +00:00
Petri Gynther
50f56ac8c9 gs101: re-enable prebuilt boot.img/boot-user.img usage
When $(TARGET_KERNEL_DIR) contains:
* boot.img
* boot-user.img

then use those as prebuilt boot images for the target build.

Note that debug kernels (e.g. $(TARGET_KERNEL_DIR)/kasan) only have
Image.lz4, so the debug build ends up building boot.img from source.

Bug: 199997188
Change-Id: I6bb70644d8ab7356986f6ca6a77f3098d1ee0f83
2021-09-28 10:56:06 -07:00
Edwin Tung
d57fb3a171 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie5fb485dfd5bb647dd14058f399fc804b2df70ce
2021-09-28 01:42:59 +00:00
Shinru Han
d26a4b6795 gps: Update SecondaryConfigPath am: 80b57c3d63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: I40a233e0d72e84ddae20bffc80f5b6c7be4926b8
2021-09-28 01:42:57 +00:00
Edwin Tung
668587bc3d [DO NOT MERGE] gps: update gps driver 129.20.23.515167
Fix LPP GNSS ID misplaced with QZSS
Disable hardware Geofence
Improve log for onChipStopNotification
Improve PMM mode
Restore carrier config after gps crashing
Fix incorrect altitude encoding of LPPe DBH
Set LPPe CP enable by default
Set LPPe DBH altitude value to maxima if no FLP altitude

Bug: 193380649
Bug: 196702082
Bug: 197196725
Bug: 197563181
Bug: 198261454
Bug: 199677624
Bug: 198727829
Bug: 199719571

Sanity Test: 200797783
Test: build pass

Change-Id: I65813ae49d631f9fe73f2f35ed088978d0ee8f95
2021-09-28 01:37:39 +00:00
Shinru Han
41e8d749db gps: Update SecondaryConfigPath
The seconday config under data/vendor/gps/logs/ could be removed by tester.
Update the SecondaryConfigPath to data/vendor/gps/overlay/.

Test: log config can be updated by pixellogger
Bug: 194493365
Change-Id: I4045908d33abb6c17197ee5c596b945025c5a775
2021-09-28 01:26:49 +00:00
Minghui Tan
28eb996be7 Update CPU throttle frequencies. am: d1fea0f049
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15854896

Change-Id: Ibcb06f3e2ebb29c68acf5d58bfce05fa634a8d53
2021-09-27 22:05:03 +00:00
Minghui Tan
50be6f6070 Update CPU throttle frequencies.
Bug: 199761265
Test: CTS
Change-Id: Ie1c907cd96367374f0b51086f54b4d18ab9907da
2021-09-27 21:48:23 +00:00
Erik Staats
ba462d1ed8 ueventd.gs101.rc: Add raw HID devices.
Bug: 195964858
Test: Paired a Sony PS4 controller and verified that it's discovered by
 the dynamic sensor HAL.
Test: See details in testing done comment in
 https://googleplex-android-review.git.corp.google.com/15847274 .
Change-Id: I8d5987171d5b316410e8ba34cc02a4d4508e0054
2021-09-27 18:34:39 +00:00