Commit graph

1624 commits

Author SHA1 Message Date
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
803a80d58f 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: I50058d9dad53e55707d46452f465464fa5946f30
2021-09-28 20:45:39 +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
4b50d7a681 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444 -s ours am: ed342b50fd -s ours
am skip reason: subject contains skip directive

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

Change-Id: If72742c8d1ea0332214dd72817d272ec7bb3a3ca
2021-09-28 01:56:17 +00:00
Shinru Han
d2531f782f gps: Update SecondaryConfigPath am: 80b57c3d63 am: b0306a50f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: Id35c846cd81da2f02231d2ca508e4719909ad0f3
2021-09-28 01:56:14 +00:00
Edwin Tung
094733330e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444 am: b49231a97e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I35cf084103972c1f67b020317b7f7ef37dfa5818
2021-09-28 01:55:21 +00:00
Shinru Han
f50b8ee88a gps: Update SecondaryConfigPath am: 80b57c3d63 am: 296288785f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: Ied53bf97a0b220fc76005033cf5a13936698444b
2021-09-28 01:55:17 +00:00
Edwin Tung
d592961c43 [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15880050

Change-Id: I7fdbc76194b25e0d8982ee7df741a8683230f047
2021-09-28 01:43:02 +00: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
Shinru Han
13d5a945dc gps: Update SecondaryConfigPath am: 80b57c3d63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: Ifb8fa0902299bbfd1dd479bdd6dbea67c9d96629
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
a51a75c811 Update CPU throttle frequencies. am: d1fea0f049 am: a1902d7cd6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15854896

Change-Id: If9b5d1b85fbc033c416ca733d63c1e1bca040e11
2021-09-27 22:18:32 +00:00
Minghui Tan
c37999bcb9 Update CPU throttle frequencies. am: d1fea0f049 am: e4d05367ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15854896

Change-Id: Iec4ffe883f01c0812f0fdbcffe009c1dbf4edfcf
2021-09-27 22:18:03 +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
4257f1f4bf Update CPU throttle frequencies. am: d1fea0f049
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15854896

Change-Id: I358ef83969d93ea341c103a4ac4ee6fea9092a86
2021-09-27 22:05:02 +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
b9d626af00 ueventd.gs101.rc: Add raw HID devices. am: e6886c8d93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15847274

Change-Id: I9d801d61c47e1e83ea9ef950ee1a14f9c572270c
2021-09-27 18:45:22 +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
d69ceedf23 [automerger skipped] dumpstate: dump battery maxfg monitor log am: 71f70f3f39 -s ours am: 3280ab8f11 -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: I394fd6bfad96ee1c9be92c0e7290893e6c4b4087
2021-09-27 16:20:46 +00:00
Jenny Ho
ddd0615cfd [automerger skipped] dumpstate: dump battery maxfg monitor log am: 71f70f3f39 am: 7f0db433c7 -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: I6e3c061432e98de665523add720af1dd53754f16
2021-09-27 16:15:09 +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
e38d68d324 dumpstate: dump battery maxfg monitor log am: 71f70f3f39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15773286

Change-Id: Ic2bed98e499a6b85b87acb85fee365835fc8ce7d
2021-09-27 15:57:26 +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
c7e67c9dbd Adjust Doze default value to accomodate HBM. am: bfb3168639 am: d7fcbd91db am: 5d4e8d9d46
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: I820e125085d8aa806fa64eaf83017177d340190d
2021-09-27 14:00:06 +00:00
Santos Cordon
46b4ad0595 Adjust Doze default value to accomodate HBM. am: bfb3168639 am: d7fcbd91db am: e76c5d8dbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: I390826a1ce7e8aab8b23842c6040b60cc01d4ad9
2021-09-27 13:58:43 +00:00
Santos Cordon
7c9ab64093 Adjust Doze default value to accomodate HBM. am: bfb3168639 am: ec6cd69f85 am: c87a37986b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: Id814320eba3f397e92b57c4b445edd369e0285b5
2021-09-27 13:58:38 +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
b867acbbea 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: Ic79076982c1bc09825764bd738d0ef2b31f93fb2
2021-09-27 13:45:27 +00:00
Santos Cordon
aa7a4a075f Adjust Doze default value to accomodate HBM. am: bfb3168639 am: ec6cd69f85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: Ia56fbc3fd401647adfeee1564a5cf7e5c1c59748
2021-09-27 13:45:08 +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
b7a29d8ffc gps: Reduce gps log in bugreport am: f9ac8dc5a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15898344

Change-Id: I1e0672d0bf39813e4257b6938d91319f970fc9e7
2021-09-27 07:34:31 +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
5292c41b90 powerhint: fine tune non-ADPF boost am: 85ed2f1b95 am: 69a0f7b01c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15841941

Change-Id: I776e7f9603fbcb7ee97b2f27b24e0a5dd771bcd2
2021-09-25 01:29:26 +00:00
Jimmy Shiu
99f5671605 powerhint: fine tune non-ADPF boost am: 85ed2f1b95 am: f63e89124e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15841941

Change-Id: I33fb5c77a65774f259ad2951d530d6b1d001972d
2021-09-25 01:28:52 +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
4505384dc4 powerhint: fine tune non-ADPF boost am: 85ed2f1b95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15841941

Change-Id: I1d0f70186598bdda8d90e615972761f0a1ca91af
2021-09-25 01:15:55 +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
c746d4dee4 pregrant COARSE_LOCATION to cbrsnetworkmonitor am: 7902f035f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15852960

Change-Id: Id503132ccbf6c632683e7777b9d1e95f2db77852
2021-09-24 21:30:45 +00:00
Jack Nudelman
257edf17c0 pregrant coarse and background location permission to scone am: 830d28d745
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15819240

Change-Id: I4f3f99f203dbecf10aa078154a722dc95d5fb83b
2021-09-24 21:30:29 +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
c427967ecb uwb: update country conf file am: 08e5474b0c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15800709

Change-Id: I8d865b73edbfa8cd19b9534eca4938794e408da5
2021-09-23 17:13:21 +00:00
Rex Lin
b32cdd7293 uwb: add uwb country conf script am: 8ace0817c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15853837

Change-Id: I7ee8a7239bc4e4e3c735ce0ca8e583598c72bf24
2021-09-23 17:13:20 +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
0ad0a6ffa8 dumpstate: Dump TCPC registers and attributes am: 7372d2275b am: 2b75676686
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15856534

Change-Id: I7cd058b361ec9a2574d76d4e174caa1696136a64
2021-09-23 06:07:32 +00:00
Badhri Jagan Sridharan
4fff4091a8 dumpstate: Dump TCPC registers and attributes am: 7372d2275b am: d8dc4e43bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15856534

Change-Id: Ibd3473244c9a3866f4b252ae8d6fab61a0345427
2021-09-23 06:07:01 +00:00