Commit graph

2595 commits

Author SHA1 Message Date
Wei Wang
df79b08139 Adjust little core rate limit
With recently merged kernel change pa/1916082, down rate limit  will be
adjusted dynamically. Without out this change, we would run into cases
that we too little down rate limit for little.

Bug: 186392111
Bug: 170511089
Test: boot and check rate limit
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I78d9894301c9f4f888d33010c9fcca20d51d4b20
2021-05-07 07:17:29 +00:00
Adam Shih
a2ef328fc7 remove redundant setting am: f2457f2d1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14460437

Change-Id: I0a6880299782f9b5920a67218f8025c354a28c36
2021-05-07 04:45:25 +00:00
Adam Shih
f2457f2d1e remove redundant setting
The path does not exist.
Bug: 187128213
Test: build pass and boot to home

Change-Id: I18aa60fafe1538972ad2111bfad483b54c6fab06
2021-05-07 04:31:02 +00:00
Carter Hsu
660954b329 haptic: add haptic ampilifer codec am: 5bc59075bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211585

Change-Id: I5e1574bfb98403a9e8f01158267e8fd6d8a6add1
2021-05-07 03:35:00 +00:00
Carter Hsu
5bc59075bd haptic: add haptic ampilifer codec
Bug: 178431048
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id20663a7469f04fda8dd49651fce88a815450af7
2021-05-07 03:10:19 +00:00
terrycrhuang
abfa8c93cc Add Google Dialer and Enable PARIS in PDK ROM am: 0f8dbe476b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440222

Change-Id: I3369dd4b8ace081d25310033e9c3ffb18b63048e
2021-05-07 00:45:11 +00:00
terrycrhuang
0f8dbe476b Add Google Dialer and Enable PARIS in PDK ROM
Use the environment variable USES_GOOGLE_DIALER_PARIS to decide to
replace AOSP Dialer by Google Dialer and enable PARIS.
The variable should be set in PDK release ROM and User could set it
locally as you want the AOSP build with them.

Bug: 187242540
Test: Loacal build. Google Dialer and Paris work

Change-Id: Ib823f5447db5fd593b9044c8cdb766165ce6cedf
2021-05-07 00:25:48 +00:00
Sunil Ravi
a493b27bcf Wifi: Added supplicant HAL interface declarations 1.3 and 1.4 am: 2832991570
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14456466

Change-Id: I473431032d4b08ac123d210ccb8fc4b357c4783e
2021-05-06 23:55:59 +00:00
Sunil Ravi
e1e2c19229 Revert "Wifi: Move supplicant service init to wpa_supplicant" am: 3d015b03ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14454980

Change-Id: I7a8a5802d6a4eba29389494d0952799b0462d57a
2021-05-06 23:55:59 +00:00
Sunil Ravi
2832991570 Wifi: Added supplicant HAL interface declarations 1.3 and 1.4
Bug: 187302501
Bug: 186636898

Test: boot and wifi function is ok
Test: p2p connection and throughput tests.
Change-Id: I599763e8c583f9566833183d4dbec13db1d040bc
2021-05-06 23:33:51 +00:00
Sunil Ravi
3d015b03ab Revert "Wifi: Move supplicant service init to wpa_supplicant"
This reverts commit 788012640b

Reason for revert: Caused throughput issue in p2p b/187302501

Bug: 187302501
Bug: 186636898

Test: boot and wifi function is ok
Test: p2p connection and throughput tests.

Change-Id: I70f4015040f10452acff697ee504b02cfb3c1e27
2021-05-06 23:33:51 +00:00
Lucas Dupin
3df93f2c9f Revert "Enable blurs" am: 3f04ce39c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14455045

Change-Id: If418e5c5e798531bc27b48f3e94c8775db9297a2
2021-05-06 23:14:36 +00:00
Lucas Dupin
3f04ce39c9 Revert "Enable blurs"
This reverts commit 52cc3f23c6.

Reason for revert: b/187310427
Bug: 187310427

Change-Id: I0190509dd2a5a3e727bce742e02cd21cf921caee
2021-05-06 22:54:48 +00:00
qinyiyan
e51de882f5 Add TPU metrics logger library to the device.mk am: 24815da75e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14444999

Change-Id: Ib25ccaa979b52f68b22c9a1ff4aeec45f74b6a2f
2021-05-06 18:02:07 +00:00
qinyiyan
24815da75e Add TPU metrics logger library to the device.mk
Test: Forrest build with the commit and the libmetrics_logger.so is
present in the build.
Bug:151063663

Change-Id: Ib5b59acfb6bc929d24884740f593417afe392434
2021-05-06 17:45:00 +00:00
Tri Vo
0ee2eab28f Revert "Trusty metrics reporter service" am: b39a771980
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14453915

Change-Id: I04ce220b3434834bc35be4d09ece9b419a6676af
2021-05-06 17:24:11 +00:00
Tri Vo
b39a771980 Revert "Trusty metrics reporter service"
This reverts commit c0dc597e70.

Reason for revert: b/187417029

Change-Id: Ia571b39ef3e5d66c112505bebd323deb2f7cc823
2021-05-06 17:03:37 +00:00
Tri Vo
501fa4a654 Trusty metrics reporter service am: c0dc597e70
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14286216

Change-Id: I88dab151e2ba831cb90c46339845b6f0990287e8
2021-05-06 16:08:09 +00:00
Tri Vo
c0dc597e70 Trusty metrics reporter service
Bug: 173423860
Test: m
Change-Id: Ib54790d883bd797ce1efa98a1cb053b5a4e007f7
2021-05-06 15:52:50 +00:00
Kyle Lin
96b14d9ca0 init.gs101.rc: add memlat settings am: 3a3512c3a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14242666

Change-Id: Id1b60bb76a940bc7ddde8afc168ed5e73ef25ad5
2021-05-06 07:21:02 +00:00
Kyle Lin
3a3512c3a3 init.gs101.rc: add memlat settings
Bug: 170479743
Test: build and boot
Change-Id: I1f5f3ebdb2e4aeb3fe76de3b82358ea4783a571b
2021-05-06 07:05:34 +00:00
Alex Hong
152a605905 Remove android.hardware.drm@1.0 HAL services am: 5f5a621335
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440218

Change-Id: I309542df1112b2b8c57cc014ee69c734ad68e623
2021-05-06 04:39:55 +00:00
Alex Hong
5f5a621335 Remove android.hardware.drm@1.0 HAL services
The following interfaces are deprecated for Target FCM version 5
  android.hardware.drm@1.0::ICryptoFactory/default
  android.hardware.drm@1.0::IDrmFactory/default

Test: $ m check-vintf-all
      The device is bootable.
Bug: 186538652
Change-Id: I0babd05f17281406af10e4ea2435aca598910d36
2021-05-06 04:15:49 +00:00
David Li
5ee385665c audio: remove libdsp_aecns.so from device.mk am: e3718f2067
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14436096

Change-Id: Iedaeb706f61c3678720b5e5b117fb317762ab87a
2021-05-06 02:49:32 +00:00
David Li
e3718f2067 audio: remove libdsp_aecns.so from device.mk
Move AEC and NS to the liboffloadeffect

Bug: 187153996
Test: make -j128
Test: run cts --include-filter "CtsMediaTestCases android.media.cts.AudioPreProcessingTest"
Change-Id: Ida949d8ae3c06b4ab6743159cc952cdef3a73de7
2021-05-06 02:28:43 +00:00
Woody Lin
5d0eb0cfbc gs101: dumpstate: Dump s2d.lst to dumpstate_board.txt am: e9f27f4a68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440217

Change-Id: Ib89bfca0e29b890ee50dcae7bd382915c9288317
2021-05-05 20:54:21 +00:00
Woody Lin
e9f27f4a68 gs101: dumpstate: Dump s2d.lst to dumpstate_board.txt
Gzip s2d.lst and base64 it for dumping to dumpstate_board.txt.

Bug: 187228956
Change-Id: I911145ed6ecc345177cd979262126b7c49194528
2021-05-05 20:37:42 +00:00
Stephane Lee
43a8d0fe75 BatteryDefender: Explicitly set wireless path to reduce errors logs am: 331796ed8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14370778

Change-Id: Iaebd6a05728d7db9ad02a15b9441d9d7b827df36
2021-05-05 19:55:41 +00:00
Stephane Lee
331796ed8d BatteryDefender: Explicitly set wireless path to reduce errors logs
For gs101 devices, we must detect whether a wireless charger exists at
runtime, otherwise we'd need to create separate Health.cpp for each
product in order to instantiate the wireless path correctly.

Test: Ensure battery defender triggers via wireless connection.
   Ensure there are no warnings for devices that do not have a wireless
   charger
Bug: 165954398
Change-Id: Ibba202293141c017d3048980b643a80b5fb57ca4
2021-05-05 19:39:49 +00:00
Wei Wang
0931bf06f1 Disable ADPF hint am: 934721c1e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14430675

Change-Id: Ie2d5a2d8ca1c6c03db5807a98dc6394b93e85f5d
2021-05-05 17:20:14 +00:00
Wei Wang
934721c1e0 Disable ADPF hint
Test: boot
Bug: 170650323
BUg: 187212124
Change-Id: Ifa754efa138803c5cc36836b8313e819079e518a
2021-05-05 17:03:23 +00:00
Chris Fries
cad0809076 Revert "Revert "Revert "Enable SurfaceFlinger Cache by default""" am: 74a463ecb4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14429738

Change-Id: Ifcc139c4640ad0773f890de7d2db9e3c53e266a1
2021-05-05 16:46:38 +00:00
Chris Fries
74a463ecb4 Revert "Revert "Revert "Enable SurfaceFlinger Cache by default"""
This reverts commit eee30bde78.

Reason for revert: b/187193705

Change-Id: I02c2f94149ed59a6078759a65bc30de9a0d68fe2
Bug: 187193705
2021-05-05 16:30:29 +00:00
Alex Hong
5a23a95e9a Downgrade the PRODUCT_SHIPPING_API_LEVEL from 31 to 30 am: 2f8fde91a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440219

Change-Id: I5785a4cac774544f21cdc4f4c4141eca1c809e3c
2021-05-05 16:12:13 +00:00
Alex Hong
2f8fde91a1 Downgrade the PRODUCT_SHIPPING_API_LEVEL from 31 to 30
We should wait for the Android SC SDK finalization.
Remove the unnecessary "BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE".

Test: Build successfully and the device is bootable
      CtsOsTestCases: android.os.cts.BuildTest#testSdkInt pass
Bug: 187023500
Change-Id: Ib9adbb7a7c913790994a06ae1a57f95eebf84a78
2021-05-05 11:55:09 +00:00
Alex Hong
54c1440094 Replace the HIDL with AIDL for "android.hardware.memtrack" am: 69bc91e5f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14410246

Change-Id: I4bd0fcef27d022225c29a179de5b52f6d6158e07
2021-05-05 06:30:02 +00:00
Alex Hong
382189cde2 Update dumpstate HAL to V1.1 am: ad5196c2c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14410141

Change-Id: Ie23ad4549beba9a7048206f1144f72a3b9be8941
2021-05-05 06:30:01 +00:00
Alex Hong
69bc91e5f0 Replace the HIDL with AIDL for "android.hardware.memtrack"
The HIDL interface of "android.hardware.memtrack" is no longer supported for Android S.

Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
2021-05-05 06:09:11 +00:00
Alex Hong
ad5196c2c2 Update dumpstate HAL to V1.1
This is a manual porting from ag/10344396.
Replace the usage of "persist.vendor.verbose_logging_enabled" since we are not using
this property for Whitechapel.
Use the default property "persist.dumpstate.verbose_logging.enabled" instead.

Test: atest VtsHalDumpstateV1_1TargetTest pass
Bug: 186539439
Change-Id: I3f0d35647c0748d360b12d3be078d514f99d23d5
2021-05-05 06:09:11 +00:00
Jenny Ho
b482bf4125 init.gs101.rc: change TRICKLE/TEMP/DWELL permission to system am: c1c9613145
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419728

Change-Id: Id2c35ee1e0452186b9e39222d6e20052d0945480
2021-05-05 03:21:59 +00:00
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
c1c9613145 init.gs101.rc: change TRICKLE/TEMP/DWELL permission to system
For dump these informations into bugreports and debugging

Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I5e4efd83b1ae111a423cb13e1c35f31766f98252
2021-05-05 02:55:28 +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