Commit graph

2958 commits

Author SHA1 Message Date
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
Roger Fang
84ca577c2c gs101: add audio suez devices am: 1d6c433572
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205927

Change-Id: Ia22a85328cfcd36ac1cd01d0b5f0c3ffe6d92f21
2021-04-28 08:54:24 +00:00
Roger Fang
114e55dcd7 gs101: import audio_amcs_ext library am: 9b811a56e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205935

Change-Id: I9acff1d8ec4d02c9fb28e9d2e6e6f9aa92acfd1c
2021-04-28 08:54:23 +00:00
Edwin Tung
0f93ebe0d2 gps: update gps driver 127.20.23.497356 am: 335ea2773b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310448

Change-Id: Ife7a0d88a0c8e871902acac52a2e8e640f9a6ede
2021-04-28 08:53:49 +00:00
Roger Fang
1d6c433572 gs101: add audio suez devices
ACTION_SPEAKER_IMPEDANCE
ACTION_HARDWARE_FAILED

Bug: 171854614
Test: manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I9c4bbde93edb22e65a092cb4a1f1f2eb9839d926
2021-04-28 08:50:40 +00:00
Roger Fang
9b811a56e7 gs101: import audio_amcs_ext library
Bug: 171854614
Test: Manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Icd843f292eff510d43bc664ddf1a550c19479648
2021-04-28 08:50:40 +00:00
Edwin Tung
335ea2773b gps: update gps driver 127.20.23.497356
Fixed issue that SUPL version is reverted back to 2.0.0
Fixed the long TTFF of warm starts with the LTE filter engaged
Fix wrong context detection issue
Fix a bug in power data callback
Improve SPA packet overrun issue in BBD

Bug: 176464615
Bug: 185203717
Bug: 184247641
Bug: 184922200
Bug: 180985871

Sanity Test: 186403144
Test: build pass

Change-Id: I9aef1697010128ab51502acd6f193440c6deb408
2021-04-28 08:33:44 +00:00
wenchangliu
60b5b0419b Align video codec max resolution capabilities with block size am: 6a3dcb978f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14326983

Change-Id: Ic851523c692eb0364932c97406e887de4944016c
2021-04-28 03:38:48 +00:00
wenchangliu
6a3dcb978f Align video codec max resolution capabilities with block size
Since application(Ex: Youtube) would limit supported quality
list from codec capabilities. We need to align max support resolution
with block size to provide proper codec capabilities.

Bug: 186374258
Test: Playing 2160p video in youtube
Change-Id: I2f26371eb9f22ef7c1f79e2eb193077963cbfc80
2021-04-28 03:23:00 +00:00
Edwin Wong
1c8af6a8a1 Update clearkey plugin to drm HAL v1.4 am: 9e879185f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13997036

Change-Id: I9659dce6a4a5dc70bbad08fe304bca438f98ca83
2021-04-27 17:25:01 +00:00
Edwin Wong
9e879185f3 Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I6d7a953373a4bbff69428e004127d9216a6bff79
2021-04-27 17:12:13 +00:00
Robin Peng
fddf468e79 shipping level 31, and keep target-level as-is am: c5b41648b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839236

Change-Id: Iffb576e12c7390694b9dc5884faec25ee783472b
2021-04-27 07:36:07 +00:00
Robin Peng
c5b41648b3 shipping level 31, and keep target-level as-is
PRODUCT_SHIPPING_API_LEVEL := 31
kernel target-level="6"
target-level="3" or ="4"

Bug: 167997902
Change-Id: I110e251a108bbca7b63cd90142c82b35e93287b7
2021-04-27 07:14:20 +00:00
Rick Yiu
0a48f1c5fd gs101: Change uclamp min value for camera am: 89f31f39c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14293794

Change-Id: Ie391539dc65ef327685680d36bb4d1a22bca0faa
2021-04-27 06:48:59 +00:00
Rick Yiu
89f31f39c2 gs101: Change uclamp min value for camera
With a scheduler change that refers to uclamp value of a rq, we need
to change uclamp min value for camera to get better performance.

Bug: 170648224
Test: check fps in video recording
Change-Id: I29e55706b49d5182935209d1d6f3552fb7f5d821
2021-04-27 06:09:06 +00:00
Franklin He
9dfc7af516 Add a boost to NNAPI DarwiNN HAL for better perf&power am: 8ac9fa6194
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14303050

Change-Id: I8182cd0f3ad42148c4d0ef47230e4e4781fdab27
2021-04-27 02:23:07 +00:00
Franklin He
8ac9fa6194 Add a boost to NNAPI DarwiNN HAL for better perf&power
See http://shortn/_X7vYHND2xN for testing with various NN models
faster execution of NNAPI results in less execution time and
in turn, less total power consumed.

Bug: 183576817
Test: adb push'd rc file to a device
      `cat /dev/cpuctl/nnapi-hal/cpu.uclamp.min` == 15.00
      ran MLPerf, got better scores

Change-Id: I398c3741fc46958f95a9b608a27b52da47c69597
2021-04-27 01:22:33 +00:00
Labib
93a495f297 Move radioext service declaration to VINTF fragment am: f65dc0799c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14299188

Change-Id: I19aa6da0dacd2e8efe3bf109f736635b97413b5d
2021-04-26 11:40:40 +00:00
Labib
f65dc0799c Move radioext service declaration to VINTF fragment
Bug: 185105182
Test: atest VtsHalRadioExtV1_3TargetTest
Change-Id: Iad15efea4acaa7ae3eb3c79e922e3f2a5888c657
2021-04-26 11:15:24 +00:00
Ray Chi
2360276089 gs101: usb: add state of usb extcon to monitorffs am: 72ef08cafa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14185527

Change-Id: Idae87d8d0588cecae48d25965c12284572dcf98c
2021-04-26 10:25:33 +00:00
Ray Chi
72ef08cafa gs101: usb: add state of usb extcon to monitorffs
Monitorffs needs to check the state of usb extcon to pull up
USB gadget. Therefore, this patch add state of usb extcon and
send this information to monitorffs.

Bug: 173086594
Test: verified pass
Change-Id: Ib2a1bb01813490185e1901fafdeba02458332e63
2021-04-26 10:00:12 +00:00
Kris Chen
bd012b8e6f gs101: udfps: enable biometric_suez_support am: 3af08d4f6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14294846

Change-Id: I1662e783b133c9f8a499657076cbe3a3b8d1710c
2021-04-26 00:37:55 +00:00
Kris Chen
3af08d4f6b gs101: udfps: enable biometric_suez_support
Bug: 186195932
Test: lunch oriole-userdebug; make -j$(nproc);
Test: Confirmed biometric suez code has run observed from logcat.
Change-Id: I1c4342ca3efa0c19b297dec6d911a8e803d0978c
2021-04-26 00:19:01 +00:00
Dmitri Plotnikov
e78368dbe9 Add BatteryStatsViewer to GS101-based userdebug and eng builds am: 35d31057e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14274662

Change-Id: Idc7b3482f7f1f455bd8dba9cf18f001a756b87e6
2021-04-23 21:54:52 +00:00
Dmitri Plotnikov
35d31057e7 Add BatteryStatsViewer to GS101-based userdebug and eng builds
Bug: 185952656
Test: build, flash, verify that BatteryStatsViewer is in the app list

Change-Id: I1fbbd21908d515027125aae6b3b7f27a1cd075d5
2021-04-23 21:46:42 +00:00
Jia-yi Chen
cf3327aab0 powerhint: update default value for target_load am: 311c43f70a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14271272

Change-Id: Iaa9fefd8377d05b94245fbb71f18ee71900aa18c
2021-04-23 21:44:59 +00:00
Jia-yi Chen
311c43f70a powerhint: update default value for target_load
Update the target_load used in ALT_DVFS for CCI PPC counter from
5 to 10 to make it less aggressive to push up the OPP to save power.

Bug: 183950156
Test: Boot & check the value vis sysfs
Change-Id: I9fd51dd616c288f5a97d73d6d80b47a63c2b1f75
2021-04-23 21:20:38 +00:00
Nicole Lee
9679bb70a7 device.mk: enable modem always on logging by default am: c932836b3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14293791

Change-Id: Ia0993dde962538046bd6fa6a91a51c1d77d85a78
2021-04-23 15:41:45 +00:00
Nicole Lee
c932836b3f device.mk: enable modem always on logging by default
Bug: 185629421
Change-Id: Id870f832cea30e43b819892cc0c6107cbb12bafa
2021-04-23 15:24:21 +00:00
Remi NGUYEN VAN
7cbac40ce5 Add connectivity overlay to gs101 am: 1e3469f18c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14260026

Change-Id: Ia7de58c5f47c8c4f34a20fc529692c244a60cf29
2021-04-23 08:50:10 +00:00
Remi NGUYEN VAN
1e3469f18c Add connectivity overlay to gs101
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

Bug: 185850634
Test: m
Change-Id: Iea8bf912e750375724421945103bcc58ece11f1b
2021-04-23 08:22:42 +00:00
Alex Buynytskyy
3f93eeb414 Enable Incremental on new pixel devices. am: 820d0ed766
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14288914

Change-Id: I654f687a940a973f9b5ded61b0d2eaa64ef3b2a5
2021-04-23 07:15:49 +00:00
Alex Buynytskyy
820d0ed766 Enable Incremental on new pixel devices.
Bug: 185298880
Fixes: 185298880
Test: atest IncrementalFeatureTest
Change-Id: I06dcb75307d71e693ad58150889b208c063c664a
2021-04-22 22:40:36 -07:00
Labib
6d33c7de0f Move radioext service declaration to VINTF fragment am: b293830afb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205941

Change-Id: Id3fb8bb8acad18a494dfc8d3f418d07128c3505d
2021-04-23 04:05:51 +00:00
Labib
b293830afb Move radioext service declaration to VINTF fragment
Bug: 185105182
Test: atest VtsHalRadioExtV1_3TargetTest
Change-Id: I537957dcb6c7fdfc99dc962ef248a283728bb6e2
2021-04-23 03:33:55 +00:00
Rick Chen
49bff78f52 gs101: Remove sensor HAL 1.0 config am: 891c1fdd80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14276571

Change-Id: I82bba4fa617cdcac1f0e4081b0765145f37f0e9d
2021-04-23 03:27:31 +00:00
Rick Chen
891c1fdd80 gs101: Remove sensor HAL 1.0 config
Also clean up unused sensor HAL config.

Bug: 184720736
Test: Verify basic sampling on O6
      Run VtsHalSensorsV1_0TargetTest and see no test items.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I9ba18473132f4bfa37a9fe2bbae4bb3dc015cc0e
2021-04-23 01:57:59 +00:00
Benjamin Schwartz
c3c76bd64c powerstats: Move NFC stats to device specific am: e171ad07f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14268413

Change-Id: I43ce262b597258d8b935d8a459f83162882078aa
2021-04-22 23:59:40 +00:00
Benjamin Schwartz
e171ad07f5 powerstats: Move NFC stats to device specific
Bug: 184722506
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I99b82c52d0dee1cf3b7eda7e4985d9b40db162d0
2021-04-22 15:28:23 -07:00
Oleg Matcovschi
df823b899f gs101: remove init.ramoops.sh am: 982119744c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14278316

Change-Id: I5fed384e8eb484a743068bce3ca623188631a42d
2021-04-22 18:57:58 +00:00
Oleg Matcovschi
982119744c gs101: remove init.ramoops.sh
Ramoops encryption/decryption is handled by bootloader now.

Bug: 173808916
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If98ca902728e2fc7674f5f18615de685dcebd488
2021-04-22 00:16:00 -07:00
qinyiyan
1f499bdf31 Add the DarwiNN NNAPI AIDL service to the device.mk. am: a45f9156ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14254576

Change-Id: I3c0c7d97c6062e260ca099f8f822f088b599a5f8
2021-04-21 20:08:25 +00:00
qinyiyan
a45f9156ad Add the DarwiNN NNAPI AIDL service to the device.mk.
Test: `m` and checked the $OUT/vendor/bin/hw/
Bug: 180454236
Change-Id: Ia0131494966dcb922eaf7c66d8d6a12ce58e0762
2021-04-21 19:52:48 +00:00
Ocean Chen
669f332390 [automerger skipped] pixelstats: start service on boot completed am: d91dde1d52 -s ours
am skip reason: skip tag Change-Id I35625b94540baf637db07db3147839a79536378c with SHA-1 1201874612 is already in history

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

Change-Id: Ie9e211740d078a0356b6deb06e96b92fd189acc6
2021-04-21 12:08:35 +00:00
Ocean Chen
d91dde1d52 pixelstats: start service on boot completed
Sometimes the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system

Otherwise, pixelstats cannot write these two sysnode

Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
Merged-In: I35625b94540baf637db07db3147839a79536378c
2021-04-21 11:54:10 +00:00
Jenny Ho
f4aa963497 init.gs101.rc: add adaptive charge node permission am: 9e468ac2f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14242677

Change-Id: I81c6e4ff044295ebaca64d39fa8ee1731b79d269
2021-04-21 06:15:02 +00:00
Jenny Ho
9e468ac2f7 init.gs101.rc: add adaptive charge node permission
Bug: 185751788
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9173d9e5ce00f6d5df1e4fe1ef20e7c073e90e19
2021-04-21 05:47:40 +00:00