Commit graph

3029 commits

Author SHA1 Message Date
Erik Staats
2cdbbf8af9 Add head tracker feature for gs101 devices.
Bug: 233082034
Test: Verified on Raven that head tracker feature is set and sensor
 feature CTS tests pass.
Change-Id: Ic362949f4c814101424e1fe2860d8a690fcf8477
2022-06-06 02:35:13 +00:00
Nate Myren
6dc12ba6a8 Add notification pregrant for turbo on g s 1 0 1
Bug: 233903326
Test: manual
Change-Id: Iff3059d1b84dfdf54d288392886daee79ecc24a3
2022-06-02 20:38:13 +00:00
Jeremy DeHaan
af36185b92 gs101: Update IDisplay to V6
Bug: 228113713
Change-Id: I8b0f5f5141b0475c3f3034d24af0b736f0405779
Merged-In: I8b0f5f5141b0475c3f3034d24af0b736f0405779
2022-06-01 01:14:58 +00:00
wenchangliu
53eef4db82 update performance-point for media performance class 13
Support 6 instances of hardware video encoder/decoder
sessions (AVC, HEVC, VP9 or AV1) in any codec combination
running concurrently at 1080p resolution@30fps.

Bug: 233775011
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
2022-05-27 02:01:57 +00:00
Daeho Jeong
e6bbc89f54 disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I0798c082d668f904122c6a4af4634058dcbc777b
2022-05-26 23:00:29 +00:00
David Chao
38d2997f6a Revert "gs101: move charger thermal HAL setup into common code"
This reverts commit 980650080a.

Reason for revert: Since the vendor.thermal.symlinks is init early than google-module init
such as gpu cooling, the gpu cooling is not ready while creating thermal.symlinks.
Thermal-hal GPU thermal throttling will fail because there is no thermal-gpufreq-0 in thermal.symlinks.

Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: Ia3b0999c7a8038f7be5e2390926ff74473c0c339
2022-05-26 17:53:01 +08:00
Jimmy Hu
11f2c88795 Write the pullup value only if new value applied
Bug: 226018845
Test: build, boot
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
Change-Id: I64a964753fc89a29d278f1c426b2746abc2a2b12
2022-05-26 02:42:33 +00:00
David Chao
980650080a gs101: move charger thermal HAL setup into common code
Bug: 200615564
Test: build pass
Change-Id: I5a32c2b695dc9fd3e29e580c8a82e25f6c3a5f69
2022-05-25 07:46:52 +00:00
Jinting Lin
b3786e5827 Update pixel stability logging mask
- add COMMON_HAL and PAL_PWR group

Bug: 232898035
Change-Id: I79586d9bd2b6c12cbf331dd7fb4c4da8525beee2
2022-05-25 02:32:21 +00:00
Ankit Goyal
557e70add3 Deprecate allocator 4.0 in favor of AIDL V1
Bug: 220910504
Bug: 228405226
Fix: 233412845
Test: go/allocator4-deprecate
Change-Id: Ie6826b539fb1c780f4860acce440765ee3f99517
2022-05-24 21:42:02 +00:00
Akilesh Kailash
7bb4293087 Revert "gs101: Enable system_dlkm dynamic partition"
This reverts commit 58893b442f.

Reason for revert: OTA failues observed during S -> T

Bug: 228927535
Test: Full and Incremental OTA's.
Change-Id: Iec9e15d60dab92213494c9e679de6702f8d56e37
2022-05-24 18:15:49 +00:00
Wiwit Rifa'i
b495f66b85 dumpstate: add HWC logs
Add hwc log files in /data/vendor/log/hwc to dumpstate.

Bug: 230361290
Test: Manual - 'adb bugreport'
Change-Id: Id23a16f42ecbdf75d83e056c7cba076041e19176
2022-05-24 02:12:28 +00:00
Kyle Tso
4db75dda18 dumpstate: Dump logs
Bug: 232556226
Test: log dumped in bugreport
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Iacd4db38dd56c1d5ba6f58c757f023795a9c3a3b
Merged-In: Iacd4db38dd56c1d5ba6f58c757f023795a9c3a3b
2022-05-24 00:00:46 +00:00
Richard Chang
688710d159 gs101: Support Vendor System Native Experiment for cpusets
Let vendor_init adjusted the cpusets by device config from the
server. Allow us to study the performance and power impacts
by various experiment settings.

Bug: 223685902
Test: adb remount ; adb push init.gs101.rc /vendor/etc/hw/ ; adb reboot
Test: change persist.device_config.vendor_system_native.<group>_cpuset and check /dev/cpuset/<group>/cpus is also modified
Change-Id: I73369f2cef7b999cb380278503a4dbfcc4cff3cd
2022-05-23 06:06:15 +00:00
Edwin Tung
5be8eb16e6 gps: update gps driver 142.20.23.537976
Fix power duty-cycle issue
Fix gpsd crash issue
Fix gps start fail while running Astress
Fix measurement elapsedRealTime variation issue
Reduce NLP request
Improve warm start accuracy
Add additional PLMN codes for TMO
Fix no earlyfix while OTDOA disabled

Bug: 232035911
Bug: 232035671
Bug: 213264365
Bug: 230598202
Bug: 228395377
Bug: 221000024
Bug: 230811304
Bug: 230818100

Verify test: 233212600

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestCases

Change-Id: Ia6803fb246937233094dc4a49e62a21ee906e87c
2022-05-22 23:53:34 +00:00
Ricky Niu
ebd7fca53a usb: limit the current to 1.3A when connect to accessory
For imporve USB stability, limit the current to 1.3A,
when connect to accessory.

Bug: 206635552
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I2c1091aa7111e6242cc949923fbc86f27e54e976
2022-05-21 15:35:34 +00:00
Jiakai Zhang
5c0cb06ff7 Preopt SystemUI for AOSP builds.
Bug: 232860596
Test: See no dex2oat invocation on the first boot.
Change-Id: I051c3b4f7c1c695f487d527b652203e6e007aa8d
2022-05-20 18:57:33 +00:00
Allen Xu
adc9355635 Add notification pregrant for SCONE
Bug: 233243584
Change-Id: I9bb2b014c7edb665a7c2675e86ff4d67cde94b48
Test: manual
2022-05-20 18:12:35 +00:00
SalmaxChang
b68bbe1e25 gs101: change carrier config path am: 2280d38b83
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18340529

Change-Id: I19a19d85000a5f7a05929bb2c3dd277987ab3360
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 17:30:25 +00:00
jonerlin
339875dda8 Enable IBluetoothExt interface feature
Bug: 228943442
Test: Manually
Change-Id: I98bde91f74c5e4a4ffc6f9a4fb0fff48857de0be
2022-05-20 05:06:29 +00:00
SalmaxChang
a722d436f8 gs101: change carrier config path
Change to "/vendor/firmware/carrierconfig".

Bug: 232364874
Change-Id: I835f20e4e5640323c9d0f0bb8d6b9b11f00560b6
2022-05-20 03:51:03 +00:00
SalmaxChang
2280d38b83 gs101: change carrier config path
Change to "/vendor/firmware/carrierconfig".

Bug: 232364874
Change-Id: I835f20e4e5640323c9d0f0bb8d6b9b11f00560b6
2022-05-20 03:49:03 +00:00
Michele Berionne
818f1b9d9e Add notification pregrant for OobConfig
Bug: 232002666
Change-Id: I5f9ed54fb4e020dd98fe94198ddd6cf782cdf415
Test: manual
2022-05-19 21:31:26 +00:00
Wei Wang
faaa95c900 Remove group_throttle setting
Test: Build
Bug: 233149512
Change-Id: I2416e5d1a401ba401407e46754fa33cacba6942d
Signed-off-by: Wei Wang <wvw@google.com>
2022-05-19 05:14:24 +00:00
Nate Myren
0336ee1b4c Add further notification pregrants to gs101
Bug: 232469538
Bug: 232470607
Bug: 232470323
Test: manual
Change-Id: I20ae51120df4302b5d7b8c56cda17c3d48e472d8
2022-05-14 06:21:50 +00:00
chungkai
f917c52947 devfreq: reset ddr freq after boot
to reduce boot time, boost ddr freq when booting
and reset it after booting.

Bug: 230586904
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I25b30d22a4803aeb6e27b914e07f6eb8458e0a50
2022-05-14 03:03:13 +00:00
Christine Franks
c81618b480 Update saturated value replacement
Bug: 230903279
Test: n/a
Change-Id: I96f8db8bff4f07a0d638a56006db73bbaa2f835d
2022-05-12 23:50:33 +00:00
Sarah Chin
077ff7f226 [automerger skipped] Add location bypass package overlay am: 259aa3233b am: 8208db9f45 -s ours am: 79d488d2e5 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 1b527e8836 is already in history

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

Change-Id: Ib9c6691dbd68066387938a74b857b2cb4ab6a3fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 22:05:04 +00:00
Sarah Chin
79d488d2e5 [automerger skipped] Add location bypass package overlay am: 259aa3233b am: 8208db9f45 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 1b527e8836 is already in history

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

Change-Id: I5731fc5245525f4b738b070d15e6b793915f0a93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 21:39:10 +00:00
Sarah Chin
8208db9f45 Add location bypass package overlay am: 259aa3233b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18297250

Change-Id: I8a4b876be6674d13b99f5d6b96ce2978e06946a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 14:37:12 +00:00
Jiakai Zhang
0588903ced Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I03c7a72ff6b021f5556811e360b53f8d4481b4b2
2022-05-12 14:16:39 +00:00
Sarah Chin
a1ef1fd063 [automerger skipped] Add location bypass package overlay am: 1b527e8836 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 be3d667f8c is already in history

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

Change-Id: If289f116ee2bf25d8b6abdfaccaf618079ea6e66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 13:40:24 +00:00
Alice Kuo
2a27fb8a61 Disable LE audio related profiles for gs101
Bug: 231671426
Test: build
Change-Id: I39c98cfd51047113f203d05c6f6853e635b02c45
Merged-In: I39c98cfd51047113f203d05c6f6853e635b02c45
(cherry picked from commit c014e57ffd)
2022-05-12 10:59:14 +00:00
Peter_Liang
5223159864 Add the latest voice packs of Text-To-Speech and configs.
Move the voice packs into common makefile

Bug: 230572940
Test: manual test
Change-Id: I4b2e5cd8433a9c69a2f03d734257e30484ad7650
2022-05-12 09:34:45 +00:00
Sarah Chin
259aa3233b Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 23:08:29 +00:00
Sarah Chin
1b527e8836 Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 23:07:23 +00:00
Sarah Chin
be3d667f8c Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 22:52:06 +00:00
Edwin Tung
afe8547c8f Revert "gps: enable GNSS PPS feature"
This reverts commit 9b97563405.

Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust.
Bug: 230265527

Change-Id: Iedd753fd243ec268268418629c2c7fa94ce57b9f
2022-05-11 08:49:24 +00:00
Sarah Chin
d1d22866c5 Remove config_tcp_buffers
Moved to default values

Test: build
Bug: 222323543
Change-Id: If7ebd63c586974756d3e374b8c0cbfb27a5f1819
2022-05-11 01:44:18 +00:00
Chris.CC Lee
908fbc0a20 [Gs101] Add NEARBY_WIFI_DEVICES for Restore
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.

Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.

Change-Id: I56924aa3e0250c94bc4fefe5d9b901b4e23d0c2b
2022-05-10 15:39:31 +00:00
Taehwan Kim
3d0ce54976 modify device.mk for exposing supported pool type
default : ION(1 << 16) | BUFFERQUEUE(1 << 18)
add : GRALLOC(1 << 17)

Bug: 227283773
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I299e6ff0ad03de632ee3de77a6aeb89f1609272f
2022-05-09 08:15:45 +00:00
Edwin Tung
4946763008 [automerger skipped] [DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937 am: 346895302a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I30bb39542c2245120cbb8dfa7134e28f543f8032
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 03:40:08 +00:00
Ray Chi
b1f75858c8 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 224699556
Test: build pass
Change-Id: Iea0aed110183d9583db00d9b182d351de41573cd
Merged-In: Iea0aed110183d9583db00d9b182d351de41573cd
(cherry picked from commit a5f995d2f6)
2022-05-05 07:08:19 +00:00
Ray Chi
ba3dc9b3da tune usb irq (dwc3) in usb gadget hal
Since affinity permission is changed from root to system, original
permission change by script can't be used. Therefore, this patch
will move the functionality to usb gadget hal.

Bug: 224699556
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
Merged-In: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
(cherry picked from commit f363704a92fd7611cf01c8b3bcaf6e8913255207)
2022-05-05 07:08:19 +00:00
Ray Chi
7da5d4f43f usb: move the permission change to usb rc
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.

Bug: 224699556
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
Merged-In: I45c1318f647220480fa03ba3b813a81b21393d71
(cherry picked from commit b30924e3599f2e92aeae498a6ae15d3b9a397930)
2022-05-05 07:08:19 +00:00
Kris Chen
14e7759e0b Add vendor/goodix/udfps/fp_utils to PRODUCT_SOONG_NAMESPACES
Bug: 229716695
Test: build and test fingerprint on device.
Change-Id: I017fef77de4709e1767f6e05e3b794b391969659
2022-05-05 02:03:43 +00:00
Will McVicker
ef12b21ded init.gs101.rc: add raw i2c-s2mpg10mfd and i2c-s2mpg11mfd nodes
This fixes the permissions for the [067]-001f and [178]-002f raw i2c
numberings for the P21-mainline driver which doesn't use the i2c vendor
hook to rename these numberings. This is required for the thermal hal to
work.

Bug: 231155356
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: I2341c78b2ab146713a171eeb436f34c1c8839c6e
2022-05-04 16:10:15 +00:00
Roger Wang
8c7b81d1d3 wlan: Disable 6GHz softAp
Driver actually does not support 6Ghz softAp at
current version. Hence, disable it

Bug: 231384422
Test: SoftAp can be enabled.
Change-Id: I47b39f3d31c1a94de338a2a22dc5b5495b1af1a1
2022-05-04 15:49:33 +00:00
Edwin Tung
346895302a [DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937
Disable SUPL OTDOA for VZW
Fix SUPL Earlyfix issue while OTDOA disabled

Bug: 230818100

Verify test: 231297970

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestCases

Change-Id: I6ebabb9d53028a05950d7d00c34ffdf33fb8ff2f
Merged-In: Ibf8e8ccf361fb5b0a58ef97c45f581fc50ab2788
2022-05-04 07:16:16 +00:00
Jenny Ho
93baf1e97e dumpstate: add max77759_chg/max77729_pmic register dump
Bug: 230360103
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I4042e58370d70b97dc1e84e72a8c927b68e08b17
2022-05-03 10:39:20 +00:00