Commit graph

504 commits

Author SHA1 Message Date
Jenny Ho
3a624d41e4 dumpstate: dump TRICKLE/TEMP/DWELL setting into bugreport am: c20a7c9603
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419727

Change-Id: I232339d3c1793e1cac20bce3b08ff9975cc606c7
2021-05-05 03:21:58 +00:00
Jenny Ho
c20a7c9603 dumpstate: dump TRICKLE/TEMP/DWELL setting into bugreport
Need setting information for debugging

Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Iaf7345a4f38a67c4134f5cb23050b5f5e6ba7fdd
2021-05-05 02:55:28 +00:00
Chris Kuiper
956a565ab2 dumpstate: Add USF registry dump. am: 24b9d29d6d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14415199

Change-Id: I006dcb4aea2ac8966870874a6c6de7dce91daf4a
2021-05-04 23:52:55 +00:00
Chris Kuiper
24b9d29d6d dumpstate: Add USF registry dump.
This collects the output of "usf_reg_edit save -" and adds it to the
bugreport. It is only done on userbuilds for PROTO* and EVT* devices.

Bug: 187081112
Test: Run "adb bugreport <zip>" and verify it contains the output
      from "usf_reg_edit save -".
Change-Id: Ie68b56a3bb211840f33bdb5afbc31b0759641c8e
2021-05-04 15:30:26 -07:00
Daniel Mentz
bc0e2e55b9 init.insmod.gs101.cfg: Migrate from insmod to modprobe am: bbcaf452f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14345811

Change-Id: I383d72347c6c942821660e285f9325f6241fb68f
2021-05-04 20:09:34 +00:00
Yu-Chi Cheng
5036d99404 Added EdgeTPU vendor service into P21. am: 395ae043ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14341379

Change-Id: Iab1492156dbfec027cd9606badf65fb67cbbf7ae
2021-05-04 20:09:17 +00:00
Daniel Mentz
bbcaf452f8 init.insmod.gs101.cfg: Migrate from insmod to modprobe
modprobe is smarter about locating .ko files if they are stored in
subdirectories. For example, it finds heatmap.ko regardless of whether
it's stored in /vendor/lib/modules/heatmap.ko or
/vendor/lib/modules/extra/heatmap.ko.  modprobe also loads all
dependencies automatically.  Let's migrate from insmod to modprobe.

Bug: 185184472
Change-Id: I810709b8053f3bf3bbec18bcaa37780289388e07
2021-05-04 19:55:59 +00:00
Yu-Chi Cheng
395ae043ba Added EdgeTPU vendor service into P21.
The original edgetpu_service is now split into two, where the
original one stays under /system_ext/ and the new one,
edgetpu_vendor_service, now locates under /vendor/.

This change updates files including device.mk accordingly to
ensure these services are setup properly on P21.

Bug: 185432427
Test: Oriole + GCA
Change-Id: I5b0eff64f2f044a56bc14cf5e1d92ec3463560a9
2021-05-04 19:39:32 +00:00
Sunil Ravi
b17f080588 Wifi: Move supplicant service init to wpa_supplicant am: 788012640b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14417046

Change-Id: I6f030fab1f9e668164c34021fe3bd8ca31f47a78
2021-05-04 18:04:04 +00:00
Sunil Ravi
788012640b Wifi: Move supplicant service init to wpa_supplicant
Bug: 186636898
Test: boot and wifi function is ok
Change-Id: Idb6ebe962e50408c907f9d961a6f75e3ceddf0f2
2021-05-04 17:38:38 +00:00
Edwin Tung
df5ebecda2 gps: update gps driver 127.20.23.498766 am: d7678e177c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14351892

Change-Id: Ia319c18bfd63f9c1a83ce6ab9f6030ec10387a0c
2021-05-04 06:48:26 +00:00
Edwin Tung
d7678e177c gps: update gps driver 127.20.23.498766
Implement PPS feature
Fix CW multiband issue
Add EarlyFix support to LPP
Added RILC_REQ_GPS_IS_CAMPING_ON_LTE to query network type
Handle RILD error response

Bug: 175086879
Bug: 178148552
Bug: 180696639
Bug: 185198553
Bug: 187008705

Sanity Test: 186827776
Test: build pass

Change-Id: Iaf6493af23dc1f701ae288b707c266a09822e6cf
2021-05-04 06:33:24 +00:00
lucaslin
7dbfa7ec1f Dump tcpdump into bugreport am: 725f060835
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14047908

Change-Id: If2f60a03fa860d20b57656e9d1d6931bb8a09f62
2021-05-04 04:13:14 +00:00
lucaslin
725f060835 Dump tcpdump into bugreport
Bug: 183467815
Test: 1. Enable tcpdump_logger always-on function
      2. Dump bugreport
      3. Pull dumpstate_board.bin and chagne it to zip
      4. Unzip dumpstate_board.zip and check if tcpdump files
         are there.
Change-Id: If5fc2fe8ff4bfc0beb91ff973cc3d8137fd7cc47
2021-05-04 03:48:04 +00:00
Jenny Ho
4387ce632f Allow setting charge start and stop levels when in Test Harness Mode am: 8201411a5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14408675

Change-Id: Id463d9308de3d7fb34d2fe62ee306a1a75f5ec6b
2021-05-04 03:04:00 +00:00
Jenny Ho
8201411a5b Allow setting charge start and stop levels when in Test Harness Mode
Bug: 180511460
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I02b64c1f386ba6fe299e63dfb8f12c18549c861f
2021-05-04 02:48:40 +00:00
Daniel Mentz
60de8a56a2 init.insmod.sh: Find modules in different directories am: 5888eed0d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14329790

Change-Id: I7b1e728fe46eca2379f3d7ae83a1322de036be39
2021-05-04 00:18:53 +00:00
Daniel Mentz
5888eed0d1 init.insmod.sh: Find modules in different directories
Currenlty, kernel modules are only looked for in /vendor/lib/modules/.
With this change, we enable kernel modules to be stored under paths that
contain the kernel version string e.g.
/vendor/lib/modules/5.10.31-gd527c4be4795-dirty/
This aligns better with the kernel build system.

Bug: 185184472
Change-Id: I40db76f0409808700acd2d5524f8f3d606b3114f
2021-05-04 00:02:41 +00:00
Zhijun He
77ac9b8ff7 Remove unnecessary GPU clock access permissions am: 51d3d2e56f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14413463

Change-Id: I4aa2851c870af78ddb3928010fbcf42db93c5de3
2021-05-03 23:47:32 +00:00
Zhijun He
51d3d2e56f Remove unnecessary GPU clock access permissions
Test: Camera
Bug: 162236627
Change-Id: Icfbb56a9d282b69c780600ab621975fb9da2db42
2021-05-03 23:32:39 +00:00
Blake Kragten
52528a9199 Remove Gnss Outage System Apk am: 2b6d710544
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14354346

Change-Id: I7b490c406b51e2c2c85a6387e986eba6823d6485
2021-05-03 21:27:59 +00:00
Blake Kragten
2b6d710544 Remove Gnss Outage System Apk
Bug: 186759659
Test: Compiled
Change-Id: I478c44ea64004a23eebbe77e06420f686821ec62
2021-05-03 21:11:43 +00:00
Victor Liu
369d2993be Revert "gs101: don't load uwb module at boot" am: 3f606543d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14357303

Change-Id: Icf014f6db93f6483427caf4566e656dc3e332f4f
2021-05-03 17:17:23 +00:00
Victor Liu
3f606543d5 Revert "gs101: don't load uwb module at boot"
This reverts commit 2207cb4b9f.

Reason for revert: uwb power controls are in place

Bug: 183896897
Change-Id: Ib52de732dc86f7fe8a3d688a34d32034de26e031
Signed-off-by: Victor Liu <victorliu@google.com>
2021-05-03 16:57:48 +00:00
Taehwan Kim
33cd75bcf0 use debug.stagefright.ccodec_delayed_params am: 730c5679fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14234769

Change-Id: I9ba0910c78b4a94452df01c0b9d14e9bba33df1a
2021-05-03 02:55:39 +00:00
Taehwan Kim
730c5679fb use debug.stagefright.ccodec_delayed_params
Bug: 184611625
Test: android.media.cts.DecoderTest#testVp9Hdr10PlusMetadata
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib6d28d0bc7b7c17a4aaf8690f8ca9493065c9236
2021-05-03 02:37:04 +00:00
Anthony Stange
b3961e9b0f Switch back to generic contexthub HAL am: b764d48dd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14353483

Change-Id: I3dfba6b534d8893ee65f752f3d407153e9a642db
2021-04-30 16:52:14 +00:00
Anthony Stange
b764d48dd4 Switch back to generic contexthub HAL
Now that USF can support the default fragment size, we can migrate back
to the generic HAL.

Bug: 168941570
Test: Load nanoapp via HAL
Change-Id: I8ddf892cd7c702ab2a549cfff521b24aadd6cf2c
2021-04-30 16:34:37 +00:00
Aaron Ding
13b4ecb8af do not mount the debugfs on user builds am: 254e03a21c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310449

Change-Id: I50cbb04804aa392e3977bf61af9c54533995e6ab
2021-04-30 01:23:20 +00:00
Aaron Ding
254e03a21c do not mount the debugfs on user builds
keep debugfs on userdebug and factory builds

Bug: 184801854
Change-Id: I6b4b7428b011a87a93d48af63f8dafc2c5d96e23
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-04-30 00:56:07 +00:00
Daniel Mentz
a7fff8d9ab init.insmod.gs101.cfg: Remove non-existent modules am: 0278f84cf8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14356848

Change-Id: I181edb0251f653119c78c222306e3bf426908e41
2021-04-29 23:02:14 +00:00
Lucas Dupin
ae1a872017 Enable blurs am: 52cc3f23c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14297682

Change-Id: I77b0f581a5791d2e77208a71b165f4a809fb7465
2021-04-29 23:01:39 +00:00
Daniel Mentz
0278f84cf8 init.insmod.gs101.cfg: Remove non-existent modules
Remove three .ko files that appear to no longer exist.

Bug: 169367087
Change-Id: Id570163404454dbcbe03a9d29ecdc640bdc6b356
2021-04-29 22:47:03 +00:00
Lucas Dupin
52cc3f23c6 Enable blurs
Test: manual
Bug: 181092919
Change-Id: I23a50b195b6aada354213f767483eeeab15263a7
2021-04-29 22:44:12 +00:00
Nicole Lee
9cb0e4dd12 init: grant read permission of always-on log for others am: 7311968443
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14339396

Change-Id: If8f4a02a2539f12689a2ab243750ccde8353629d
2021-04-29 21:01:20 +00:00
Alec Mouri
7dc89b7a4c Revert "Revert "Enable SurfaceFlinger Cache by default"" am: eee30bde78
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14341553

Change-Id: I54a3367740f7ba638f80523a2126f6063e4d4428
2021-04-29 21:01:14 +00:00
Nicole Lee
7311968443 init: grant read permission of always-on log for others
Bug: 186619367
Change-Id: Ie70d9c97d95f4cc90bc3d66d1309087dc3f148e5
2021-04-29 20:42:44 +00:00
Alec Mouri
eee30bde78 Revert "Revert "Enable SurfaceFlinger Cache by default""
This reverts commit 51c9d02193.

Reason for revert: Blocking flicker issues have been fixed.

Bug: 185398025

Change-Id: Ib712967e932cfcce3feca781731aba8264734dcd
2021-04-29 20:26:06 +00:00
Sean Callanan
08a1299283 Enable Gralloc ion sync am: 13c4abd67c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999058

Change-Id: I99ee5d462497f922fa55c2c668b84f8ab62a73f7
2021-04-29 17:14:25 +00:00
Sean Callanan
13c4abd67c Enable Gralloc ion sync
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked.  Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.

Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
2021-04-29 16:55:16 +00:00
samou
52b0fd23ff powerstats: Add TPU EnergyConsumer power attribution am: 513c4afaa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211586

Change-Id: I42d766828121cae87649b19b700e622cbefa6874
2021-04-29 16:30:24 +00:00
samou
513c4afaa1 powerstats: Add TPU EnergyConsumer power attribution
Bug: 185564760
Change-Id: I6550ed839599c979ee09492fb8eaabd50f04ebe2
2021-04-29 15:51:11 +00:00
terrycrhuang
2969a794ee Enable Shannon IMS and QNS log to debug level am: 41522d011f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14326975

Change-Id: I2d61033b52a2b2103439b0545a7c7497cd5127de
2021-04-29 08:49:25 +00:00
terrycrhuang
41522d011f Enable Shannon IMS and QNS log to debug level
Bug: 185609678
Test: Manual

Change-Id: Ia5be6f3925db93ab097a848b92d3d6df2c52ce10
2021-04-29 07:45:13 +00:00
jyhshiangwang
6fa190d56d Enable Tips icon on P21/P22 devices am: eaabbacd4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14320584

Change-Id: If7c45499aa3fed4bcf2b6bc4ce36aef1b71b4c99
2021-04-29 03:00:10 +00:00
jyhshiangwang
eaabbacd4c Enable Tips icon on P21/P22 devices
Because Tips app will enable launcher icon on all Pixel device
except Pixel 3/3a devices, use component-override to configure
P21/P22 devices to enable Tips launcher icon to pass PTS test.

Test: PTS https://android-build.googleplex.com/builds/forrest/run/L16600000870874063
Bug: 186497951
Change-Id: I3294812f93a64b74457faf894e1adca7493159e0
2021-04-29 01:36:17 +00:00
Victor Liu
5d49d53d66 device: uwb make am: ba22a106b8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14117029

Change-Id: Ib9e8410bb365ec8f5adc07ef08bd7cf754ade7c9
2021-04-28 19:47:07 +00:00
Victor Liu
ba22a106b8 device: uwb make
call vendor uwb.mk instead of specific modules

Bug: 184777464
Change-Id: Iaaf9c1735449fc6d2a2212f0f32d03a5bb9b577b
2021-04-28 19:08:51 +00:00
Alex Hong
e882dcf530 Temporarily disable the debugfs restriction on Android S am: f2023ff303
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14339397

Change-Id: I9a40349606bc536a4accd6e3945dc6451dda6407
2021-04-28 16:15:10 +00:00
Alex Hong
f2023ff303 Temporarily disable the debugfs restriction on Android S
Bug: 186625519
Change-Id: I7dc3895fbd96f798edd28f315f6cc5b1a79c6637
2021-04-28 15:55:34 +00:00