Commit graph

2595 commits

Author SHA1 Message Date
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
Steve Pfetsch
1e5f64c0ba gs101: restore ITouchContextService to the device manifest am: 32b504ddca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14253404

Change-Id: I39d29b4cfd0d36af6039e5c7a1527a7d1604c55b
2021-04-20 23:40:21 +00:00
Steve Pfetsch
32b504ddca gs101: restore ITouchContextService to the device manifest
ITouchContextService entries were accidentally removed from
manifest*.xml, which prevented the touch context information
from reaching twoshay.

Bug: 185881875
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: Ife0e55d179c5e91beae73081a2c3e8891bdf15e5
2021-04-20 23:15:32 +00:00
Wenhao Wang
85a7ad6d93 Add restorecon for new label (persist_ss_file) am: 30ddea9d11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14246058

Change-Id: I7c8be19db26641c069acbb4df17355c924169bab
2021-04-20 17:54:13 +00:00
Wenhao Wang
30ddea9d11 Add restorecon for new label (persist_ss_file)
We create a new label for /mnt/vendor/persist/ss.
So add restorecon for the label.

Bug: 173971240
Bug: 173032298
Test: Trusty storage tests
Change-Id: I98267ba6c4472c2c0ae186b576ffc18de86e0378
2021-04-20 17:20:49 +00:00
Long Ling
1e9a0f4489 device.mk remove displaycolor_service from user build am: 59fed5ee6c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14240333

Change-Id: I03b1145da113e01630994bd16098c82460f833a8
2021-04-20 16:49:54 +00:00
Long Ling
59fed5ee6c device.mk remove displaycolor_service from user build
displaycolor_service is a development tool.

Bug: 185724500
Change-Id: I939dc99fd7e01f773c4cb3d794a6c6b477dcc544
2021-04-20 16:17:14 +00:00
Blake Kragten
becbc8bb9d Remove location access am: 8ed616d088
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14161259

Change-Id: I222113719510c33656d38b3e80af31bdff2a9322
2021-04-20 15:27:33 +00:00
Blake Kragten
8ed616d088 Remove location access
Location access is not needed for physical channel configuration changes
anymore

Bug: 185247832
Test: On Device
Test: atest ConnectivityThermalPowerManagerTests
Change-Id: Ic14b958b191324205ff916d7aff718ddfb3cee04
2021-04-20 15:06:38 +00:00
eddielan
35b8c1baba fpc1540: Configure fingerprint as SW33 am: c143d3746d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13835850

Change-Id: Id983d5b72c852c8043cf264b893d36f3df1c1e68
2021-04-20 12:57:52 +00:00
eddielan
c143d3746d fpc1540: Configure fingerprint as SW33
Bug: 182257152
Test: Build Pass
Change-Id: I2c12847ea5b4709219aa47cc3b578478b8f72dfc
2021-04-20 12:34:35 +00:00
Tai Kuo
fa9929b5cf BoardConfig: filter cl40l26 probe during the first stage init am: eba083050f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14141271

Change-Id: I726194d29fa22fb7826f895a6ab3e69be2e4c6a3
2021-04-20 12:18:21 +00:00
Tai Kuo
eba083050f BoardConfig: filter cl40l26 probe during the first stage init
Bug: 184610991
Test: probe timing was delayed
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I8f90697112160849091b8347079c9590c8e18099
2021-04-20 11:49:50 +00:00
ichihlu
0211c316f6 Update to use secure share memory am: fbd55ffa06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14160948

Change-Id: Iea7c528a661ee146ce3d4c0bb7ce9a373b83a3ca
2021-04-20 11:25:39 +00:00