Commit graph

5025 commits

Author SHA1 Message Date
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
ichihlu
fbd55ffa06 Update to use secure share memory
Bug: 148421469
Test: TUI VTS pass

Change-Id: I17f5c9daa05bf8aed0f4dcda9a57557581945800
2021-04-20 10:58:13 +00:00
Victor Liu
53971307bd gs101: don't load uwb module at boot am: 2207cb4b9f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14243471

Change-Id: I31018a7f6d9a82f3fdc6975efdcff414f63f5537
2021-04-20 03:07:33 +00:00
Victor Liu
2207cb4b9f gs101: don't load uwb module at boot
Uwb power controls are still being implement.  Disable
the uwb module from loading automatically until uwb power
controls are implemented.

Bug: 185471298
Change-Id: Ie7021f6015c564613ded10dec2c9b92ff619af81
2021-04-20 03:00:17 +00:00
Taeju Park
60782eb42e Boosting application launch time using uclamp boost and increasing memory bandwidth am: 3323441408
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14194018

Change-Id: I59c78127414c0d44ddd433d63a7371421955b40f
2021-04-20 02:53:43 +00:00
Daniel Solomon
7bcee705e1 Revert "Enable SurfaceFlinger Cache by default" am: 51c9d02193
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14188633

Change-Id: I8497a6298f5a52716c62c85aee464c9e178b672e
2021-04-20 02:53:37 +00:00
Roger Wang
db736322cf remove hostapd_cli from user build am: dbd4616dae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14227323

Change-Id: Ie10967572f381f49151eadbb3162b4df731a1136
2021-04-20 02:53:13 +00:00
Taeju Park
3323441408 Boosting application launch time using uclamp boost and increasing memory bandwidth
Bug: 170510392
Change-Id: I50719ba090ac5ec079ed4fe73131e6f749dcf8c0
Signed-off-by: Taeju Park <taeju@google.com>
2021-04-20 02:14:17 +00:00
Daniel Solomon
51c9d02193 Revert "Enable SurfaceFlinger Cache by default"
This reverts commit cfaf39f1de.

Reason for revert: Causes display to blank out in some use cases.

Bug: 185398025
Change-Id: I0dc5761561b6b34d785e9d877460096e106f3e85
2021-04-20 01:45:30 +00:00
Roger Wang
dbd4616dae remove hostapd_cli from user build
Bug: 185724245
Test: hostapd_cli doesn't include in user build
Change-Id: I78101b6ca898cdec75e92a0e4c421752aaf721bf
2021-04-20 01:38:41 +00:00
Benjamin Schwartz
f8dd8226e7 dumpstate: Fix path to acpm_stats am: d4cff50b12
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14238486

Change-Id: If66eb3b5544d412d44f80292002b0e5b2cca1fcf
2021-04-19 22:09:13 +00:00
Benjamin Schwartz
d4cff50b12 dumpstate: Fix path to acpm_stats
Bug: 185819857
Test: adb shell dumpstate
Change-Id: I4b2ec4d89d7566cc8a3a86a0c8532937c8c5b9df
2021-04-19 13:40:29 -07:00
Stephane Lee
b34b344eab Fix ODPM dynamic rail config via file by allowing writes to enabled_rails am: a6926e9abb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14191188

Change-Id: I9dac2e1012df2dfd30b334ddbe6eaf3297f325de
2021-04-16 15:10:18 +00:00
Stephane Lee
a6926e9abb Fix ODPM dynamic rail config via file by allowing writes to enabled_rails
Test: Ensure that power stats no longer reports an config error on boot
Bug: 185423551
Change-Id: I5315e31a54b8cbc40fc0f4f361e5b3b81a29ceb8
2021-04-16 14:46:10 +00:00
Wilson Sung
d682301777 Set SOC manufacturer and chipset properties am: 230a835001
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211587

Change-Id: Id237909f8d480de0be538c7a94db9935ca8a3e6b
2021-04-16 13:31:03 +00:00
Wilson Sung
230a835001 Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Bug: 185307628
Bug: 181831540
Change-Id: I26d4b3767d336321bd562a8d5a289ce864536f5e
2021-04-16 13:05:57 +00:00
Jack Wu
9fbe6269e8 battery: disable wireless for pts battery test am: 7f6e0eee36
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14197325

Change-Id: I1e9d9a5bdd752f22182414a1141fbdea7c2ae4f2
2021-04-16 10:48:46 +00:00
Jack Wu
7f6e0eee36 battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If a device was put on dreamliner and shut dwon(drain out),
it powered up by DC_CHG and then shut down(0%) again - boot
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after devices boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 179094447
Test: set the property manually and query the result from file node.
Change-Id: Ic5791c53f735caa19c73bae750651d774c0d4615
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 84d73dafb7e44bd195adcc4cbb16bad28728aedc)
2021-04-16 10:23:18 +00:00
Jesse Hall
4d9b5f3c49 device.mk: install vulkan.gs101 unconditionally am: 80f0a6d3d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205715

Change-Id: I201f6f903919e698445b6946d7448b7d73cd5f5b
2021-04-16 08:59:34 +00:00
Jesse Hall
80f0a6d3d0 device.mk: install vulkan.gs101 unconditionally
We now have a prebuilt for this, so no longer need to disable it when
source isn't available.

Bug: 185066245
Test: build aosp_slider-userdebug w/o vendor/arm/mali/valhall, boot to home
Change-Id: If366112383743bd23798b8e0a4b305742ad415c8
2021-04-16 08:45:36 +00:00
Ruofei Ma
f861b23782 Publish performance points for AV1 codec am: ccd044049a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14202340

Change-Id: I5b07889ace1f68be1b3a0097a5d15ee7e34304ac
2021-04-16 06:31:02 +00:00