Commit graph

1084 commits

Author SHA1 Message Date
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
Jenny Ho
a8ff4f78f1 [automerger skipped] dumpstate: dump battery maxfg monitor log am: 71f70f3f39 -s ours
am skip reason: Merged-In I04e2be21680c2cc673af1205cdb772fa3b845bd with SHA-1 c553a4484b is already in history

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

Change-Id: I6e6be0133069201491abe4a65f7dda4458543657
2021-09-27 15:58:25 +00:00
Jenny Ho
bec20a58c0 dumpstate: dump battery maxfg monitor log
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Merged-In: I04e2be21680c2cc673af1205cdb772fa3b845bd
Change-Id: I04e2be21680c2cc673af1205cdb772fa3b845bd4
2021-09-27 15:39:49 +00:00
Santos Cordon
96e2b4eec4 Adjust Doze default value to accomodate HBM. am: bfb3168639 am: d7fcbd91db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: Icab22cead7dc07317a4a5dc0ffdecb18adf66e9e
2021-09-27 13:45:35 +00:00
Santos Cordon
60f0f582c5 Adjust Doze default value to accomodate HBM. am: bfb3168639
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: Ie5a0ed3d863794a9eeb12c36131c090d105a54a9
2021-09-27 13:30:33 +00:00
Shinru Han
bd41d508db gps: Reduce gps log in bugreport
Since the lhd traffic log is disabled, currently the GPS log in
bugreport can record ~45 min ( (1.5 min per file) * 30 ) GPS track,
which is 15 min longer than expected.

To get smaller bugreport, we reduce the log count to 20.
(~= 30 min GPS track)

Bug: 200916523
Test: adb bugreport and check gps log count
Change-Id: Ic3969949968a30a77a4c6092eeea73d5053f906b
2021-09-27 07:22:28 +00:00
Jimmy Shiu
16610baab7 powerhint: fine tune non-ADPF boost am: 85ed2f1b95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15841941

Change-Id: I7047280c472341fcf52a9d560b9fe5af56f07782
2021-09-25 01:16:09 +00:00
Jimmy Shiu
131cf4b76b powerhint: fine tune non-ADPF boost
For 120FPS, lower the uclmap.min from 185 to 157
For 90FPS, lower the uclmap.min from 123 to 107
For 60FPS, lower the uclmap.min from 62 to 42

Bug: 198723106
Test: Running PtsUiBench with disabling ADPF.
      http://sheets/1UbUVo0pxg1Bz0MKPIkv5d1XO1iVppU0P3YVQjivoP8Q#gid=1963167952
Change-Id: I311acbcf352ed0f5bb8fe2d176c48edd003eaf31
2021-09-25 01:01:36 +00:00
Jack Nudelman
2f52513a60 pregrant COARSE_LOCATION to cbrsnetworkmonitor
as per https://developer.android.com/about/versions/12/approximate-location If your app targets Android 12 and you request the ACCESS_FINE_LOCATION permission, you must also request the ACCESS_COARSE_LOCATION permission.

Pregrant also given in cl/396867561.

Bug: 189868097
Bug: 123422575

Test: b/199306063

Change-Id: I541ad113d43015101a41492409f62b88f6a993ba
2021-09-24 21:15:18 +00:00
Jack Nudelman
695ef0553f pregrant coarse and background location permission to scone
CBRS is ramping up so we need to make sure the necessary location permissions are granted before it launches

Bug: 188832088

Bug: 123422575

Test: b/199306063
Change-Id: I0fbb20b3e0ea7555300d84ed750ae465fe144da9
2021-09-24 21:13:18 +00:00
Rex Lin
b29cde0538 uwb: update country conf file
Bug: 196073172

Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I94b3e5af2f3a7faaf43061ba7a008c36cb64a575
2021-09-23 17:02:16 +00:00
Rex Lin
c459ef54d8 uwb: add uwb country conf script
This script is used to generate uwb conuntry configuration file,
and the PRODUCT_COPY_FILES list in uwb.mk based on uwb_country.conf.

Bug: 196073172

Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I98adc915956c95623e30370ce5c0ccb13f30ec32
2021-09-23 17:02:16 +00:00
Santos Cordon
18bb9722da Adjust Doze default value to accomodate HBM.
HBM changes moved the normal max, so we should adjust the doze
default value by same scale.

Bug: 194972547
Test: Manual, verify behavior is similar to Android R.
Change-Id: I953b8f68f3ad0d9369d6fb0466e178ce366fdbc4
2021-09-23 14:05:29 +00:00
Badhri Jagan Sridharan
eac22f2c6f dumpstate: Dump TCPC registers and attributes am: 7372d2275b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15856534

Change-Id: Ifc7f9c69859f7e8514e2e27ee0cb5f1a6233c699
2021-09-23 05:53:43 +00:00
Badhri Jagan Sridharan
aa0a8e1b7d dumpstate: Dump TCPC registers and attributes
debugfs not accessible in user builds. Hence dumping through
sysfs.

Bug: 200313640
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I5e42d1cd9b53c0989dbbb35bf580271d15cd8db3
2021-09-23 05:38:36 +00:00
Shinru Han
eeada35907 gps: Rename secondary config am: ddcd06372a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15880048

Change-Id: I49550a2965dd5a35369d3278e1f3097bb63c94fa
2021-09-23 02:29:59 +00:00
Shinru Han
8108f9d080 gps: Rename secondary config
Bug: 200255075
Test: on device
Change-Id: If151b8c215e775de24d3c74d3e46b10ab24f6f4e
2021-09-22 14:51:33 +08:00
Brad Ebinger
51b245f1d2 Adds an overlay for radio power off delay due to IMS deregistration
Adds a 3 second delay after radio power off is triggered for the
device to complete IMS deregistration before triggering power off
on the radio in response to events such as APM and power off.

Bug: 195304068
Test: manual; atest FrameworksTelephonyTests:ServiceStateTrackerTest
Change-Id: Ib1e28ee07459f1770d3c199d0d94ac147a667528
2021-09-17 23:01:24 +00:00
Edwin Tung
204e9c8f8d [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05 am: 054b896a76 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib271b8b3452e04fcd30c91f16dfcce07fa17c0c7
2021-09-17 03:33:30 +00:00
Edwin Tung
207478ee2b [DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553

Change-Id: I01e526453e584d992b9734a9f6c8da0486bdea52
2021-09-17 03:17:52 +00:00
Edwin Tung
fb0dd13ec3 [DO NOT MERGE] gps: update gps driver 129.20.23.514871
Restore carrier config after gps crashing
Fix incorrect altitude encoding of LPPe DBH

Bug: 198261454
Bug: 199677624

Sanity Test: 199977515
Test: build pass

Change-Id: I2b75b35a256cbbbd1c94ada0d46974d9c9838976
2021-09-16 09:34:38 +00:00
Edwin Tung
ec9cd4d883 gps: Enable power save mode am: 73fd0b54c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307

Change-Id: I7a5fe4ca7502f7858b6c32262a2467de1a2b6969
2021-09-15 15:03:32 +00:00