Commit graph

5831 commits

Author SHA1 Message Date
Adrian Salido
2aaf5916ce Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.

Bug: 180896425
Change-Id: If2eeaaebb3137bbfe9ba71f47e8b1efdcff14197
2021-04-05 23:44:15 +00:00
Wei Wang
c98adf0eaf Set uclamp nodes to root am: aeaf942d49
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14078088

Change-Id: I9f03c516f99d3a2555b4c83b61bcaad1568249f1
2021-04-02 22:51:23 +00:00
Wei Wang
aeaf942d49 Set uclamp nodes to root
Test: boot
Bug: 183626384
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Idebf93e6354810d19c40d5b6d364ed073a564a77
2021-04-02 21:23:53 +00:00
Long Ling
316f25d9d9 display: update adaptive color data am: eed3cc22bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14057468

Change-Id: I882900798b6075e58ea1e39377017517962f8089
2021-04-02 19:45:15 +00:00
Long Ling
eed3cc22bb display: update adaptive color data
Bug: 173287712
Test: read back via 'displaycolor_service 553 0 10 100'
Change-Id: Ib430ddae3e3e55a3ceb7f69d70fb129668fb68cb
2021-04-02 19:08:32 +00:00
Steve Pfetsch
9e830fd177 gs101: add twoshay's ITouchContextService to manifest am: 8da4ee4195
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14038493

Change-Id: I8526906eb5d0ea88772a36d7b551e218b5933a78
2021-04-02 18:18:07 +00:00
Steve Pfetsch
8da4ee4195 gs101: add twoshay's ITouchContextService to manifest
Bug: 174626987
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I22ee4bf604d807f2a0c64612d1f1a7f9025a43f9
2021-04-02 18:01:01 +00:00
Ricky Niu
4d5a6712df gs101: usb: remove flag "OLDER_GADGET" am: 88313cf20b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13988832

Change-Id: I96f2d0b42e89c3a159b274befac732f8dce11b7c
2021-04-02 04:58:35 +00:00
Ricky Niu
88313cf20b gs101: usb: remove flag "OLDER_GADGET"
The flag "OLDER_GADGET" is no need.
Using "11110000.dwc3" be the udc name.

Test: Build Pass and boot to home
Bug: 177879761
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I43c9e2815a6384c4dffdc47312fa0f372b34d9e9
2021-04-02 04:42:53 +00:00
SalmaxChang
83a67e30f3 init: restorecon efs partitions before chown am: f2eb39f4d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14065272

Change-Id: I377745dde5a1e707b7e2b87bcb16eb9636a7482e
2021-04-02 03:39:03 +00:00
SalmaxChang
f2eb39f4d6 init: restorecon efs partitions before chown
For the 1st boot with efs erased, we need to relabel efs first to chown
for rfsd and cbd to access.

Bug: 184221482
Test: Check rfsd and cbd could access efs w/wo erasing.

Change-Id: Ib186cf5c9375ebef177081a612d5486c35fc20f4
2021-04-02 01:13:30 +00:00
Ilya Matyukhin
0798ad2853 Enable both AIDL and HIDL UDFPS HALs am: e98d76c98e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14065078

Change-Id: Ica789bba941a1f388fc877ba8f9c3e90a528ef53
2021-04-02 00:53:37 +00:00
Ilya Matyukhin
e98d76c98e Enable both AIDL and HIDL UDFPS HALs
Bug: 175070939
Bug: 183054007
Test: Both binaries are installed on device
Change-Id: I8d791ba117c472a3388f301d78d088dc96eb4255
2021-04-02 00:22:00 +00:00
Sahil Goel
91d2c174d3 Add pregrant permissions for Voice Access am: b360446e82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999045

Change-Id: I19eb2e752b9c6fa810e13ae3197008da475acc9e
2021-04-01 19:29:28 +00:00
Sahil Goel
b360446e82 Add pregrant permissions for Voice Access
Approved android bug: b/182307492

Test: manual
Bug: 181901515
Change-Id: I8af4562a24d9b555c33c1110ae49f86c5ca4db2d
2021-04-01 18:54:19 +00:00
Midas Chien
a0c8eb407d gs101: display: update 90hz denylist am: 2b88831a1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14047909

Change-Id: Ie46534b10fbb9d5cb557bfca9c9b3e2d3e232a2c
2021-04-01 16:03:31 +00:00
Midas Chien
2b88831a1d gs101: display: update 90hz denylist
Add common 90hz denylist

Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: If3dc37ad1c3df05ffdf8176a48c2c19430b5ba98
2021-04-01 15:32:53 +00:00
Tai Kuo
4f95cc3972 touch: enable basic features am: f3714e78fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14059874

Change-Id: I84b97f21f3dc8e517c622674cd9a24114e990b07
2021-04-01 06:52:48 +00:00
Tai Kuo
f3714e78fc touch: enable basic features
android.hardware.faketouch
android.hardware.touchscreen
android.hardware.touchscreen.multitouch
android.hardware.touchscreen.multitouch.distinct
android.hardware.touchscreen.multitouch.jazzhand

Bug: 183471879
Test: build and check out folder
Test: push to DUT and check feature
  adb shell pm list features | grep touch
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Id910bd790bb495fec29938954efc30b74f6cd3fa
2021-04-01 12:12:36 +08:00
Benjamin Schwartz
2999dce53d powerstats: Add placeholder energy consumer for bt and wifi am: a0519357f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14054229

Change-Id: I69723341ad14ae9ef47ec4aa60d15979d2e29c0e
2021-03-31 20:51:49 +00:00
Benjamin Schwartz
a0519357f3 powerstats: Add placeholder energy consumer for bt and wifi
Bug: 184092278
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I00e277c6ddad81f970e7345870b0bf904ca433e9
2021-03-31 20:12:33 +00:00
Edwin Tung
c090397fa5 gps: update gps driver 126.20.23.494818 am: 2c8bc95925
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14044168

Change-Id: I8b650a579d437b373cdea108b662b364eeb81ac0
2021-03-31 19:09:18 +00:00
Edwin Tung
2c8bc95925 gps: update gps driver 126.20.23.494818
New CHPP Drop Integration.
Fix GLONASS CW test and SPA Tool notch filter.
Add B13 filter.
Fix seperated acquisition assistance issue.
Fix SPI MISO behavior.
Fix NI SUPL and concurrency issue
Support new RIL IPC.

Bug: 183119165
Bug: 183345035
Bug: 182336981
Bug: 181836637
Bug: 181835445
Bug: 181835089
Bug: 179616840
Bug: 179510763
Bug: 179105790
BUg: 176464615
Bug: 173981528

Sanity Test: 184116743
Test: build pass
Change-Id: I5a054d6784b9d37faa696f8d25f3a6cfeaf98e1a

Change-Id: Iac2afddd167bf1a649da84a4895181e7e6716467
2021-03-31 18:33:13 +00:00
Yu-Chi Cheng
ce90a3877a Removed public.libraries-google.txt from device.mk. am: 52dc796988
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14026305

Change-Id: I41d30e9bb04135deb50315e19f5c723c118cb40c
2021-03-31 15:03:57 +00:00
Yu-Chi Cheng
52dc796988 Removed public.libraries-google.txt from device.mk.
The public.libraries-google.txt used to contain the
libedgetpu_client.google.so in order to expose it through
/system_ext/. We are now switching to use its vendor
variant in order to let pre-built /product/ applications to
access it instead, hence removing this no longer used
/system_ext/ version.

Bug: 184008444
Test: tested on local Oriole + GCA
Change-Id: I291aa879c263411e0be0ba3c4089bd798e0c009d
2021-03-31 14:24:54 +00:00
Lisa Liu
6d928bddf8 Add pinner configs for P21 am: b8a16df6e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13895470

Change-Id: I74bcddb257612c765822fa69c682b29d84225db5
2021-03-31 09:19:46 +00:00
Lisa Liu
b8a16df6e5 Add pinner configs for P21
Bug: 182593454
Test: dumpsys pinner
Change-Id: I85547d29ddc9111b0e3338681729c8318d9010dc
2021-03-31 08:52:29 +00:00
Kris Chen
0d00a51f9a factory: Set UDFPS default calibration to LHBM am: 199194ed2c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031648

Change-Id: Ia08fb5d140337ea8ed939f0e445da1fc6969d9fd
2021-03-31 08:13:54 +00:00
Kris Chen
199194ed2c factory: Set UDFPS default calibration to LHBM
Bug: 183888460
Test: Flash factory build, launch factory test APK, confirm the UDFPS
      default calibration is LHBM.
Change-Id: Iabf48f767b2c67afdb2a3e8bb7ae427b14b3dac8
2021-03-31 07:36:13 +00:00
Tai Kuo
c2cad5a155 dumpstate: check the correct bus force active command path am: 4c46bf699f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031646

Change-Id: I9d75afbe0b4bf9bbf45ffb94eb204bfbd54b5143
2021-03-31 03:02:54 +00:00
Tai Kuo
4c46bf699f dumpstate: check the correct bus force active command path
Bug: 183557468
Bug: 181833046
Bug: 182976988
Test: adb shell "lshal debug \
 android.hardware.dumpstate@1.0::IDumpstateDevice/default touch"
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I447a267451f80ff0e5cdca321e08a2f8119e51ca
2021-03-31 02:20:54 +00:00
Anthony Han
ff6a71ae98 Enable Gralloc 4 am: ab130cecb4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839150

Change-Id: Ia9c07973c306002e7e93420ed00254a779aeb689
2021-03-31 00:15:39 +00:00
Anthony Han
ab130cecb4 Enable Gralloc 4
Bug: 143246001
Test: build and flash, verify
1. Setup screen animation looks correct,
2. Camera app works including taking a photo and video,
3. Video playback works e.g. Youtube and Exoplayer,
4. CtsNativeHardwareTestCases,
5. VtsHalGraphicsMapperV4_0TargetTest.
Change-Id: Idc8abdf3fbc66afda6a4a706878ced48ba882c7f
2021-03-31 00:03:02 +00:00
Vova Sharaienko
535a8756eb Stats: removed extra dependencies after transition to AIDL version am: 2bd569d2fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14038492

Change-Id: Ia05fd64513f6ae93fcb6cf418573bad49ae5ae2c
2021-03-30 23:48:02 +00:00
Vova Sharaienko
2bd569d2fa Stats: removed extra dependencies after transition to AIDL version
Bug: 182352837
Bug: 178523659
Test: build, falsh & boot, showmap for pixelstats-vendor
Change-Id: I2eeaff18fb2bcd7d55f5bc0207169c9f38424023
2021-03-30 23:15:32 +00:00
Kai Shi
2dbd20f628 Remove Wifi link layer radio stats aggregation enable flag am: 1349e3e73b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14024798

Change-Id: I1c9edf032e46816aa932a284e45018927c3d0679
2021-03-30 17:08:34 +00:00
Kai Shi
1349e3e73b Remove Wifi link layer radio stats aggregation enable flag
Remove the overriding since the aggregation of Wifi link layer radio stats from all radios is enabled by default.

Bug: 183991297
Test: manual test
Change-Id: I9c0f657a4c3bd6242722e751ab0f7c0b0734dd8e
2021-03-30 17:08:17 +00:00
Adlai Holler
26cc4da6ac Enable skia reduceOpsTaskSplitting am: 0b9827eceb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14035732

Change-Id: If3727dc16f9b20cc894e1031e5dccffea397a027
2021-03-30 17:00:49 +00:00
Adlai Holler
0b9827eceb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: I77a82021335ce535ad5199edd6f0ec2bbcda1ff8
2021-03-30 15:25:44 +00:00
tangrobin
4f5f437a0f Enable EXPENSIVE_RENDERING power hint am: ea12333375
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13872265

Change-Id: I373c3b78e4b8455117959af69b47b51cff159a2e
2021-03-30 10:02:21 +00:00
tangrobin
ea12333375 Enable EXPENSIVE_RENDERING power hint
GPU takes long time (>8ms) when app launch animation and some pip case.
When doing animation, GPU needs to handle some heavy tasks like color
conversion, app rounded corner. Enable the expensive rendering hint to
raise the gpu frequency to avoid frame drop due to long gpu completion.

Bug: 179007786
Test: 1. Open Chrome/Chrome with pip from homescreen
         Swipe vertically to go back to home screen
         Measure the gpu completion time and "FrameMissed" count from systrace result
      2. 4K60fps HDR Video playback and measure the DoU Power impact
Change-Id: I37f92018e5fd5a925189431db39409f11079b778
2021-03-30 09:08:29 +00:00
Minchan Kim
0671da598d BoardConfig: enable cma_sysfs am: 3623b5745f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14019190

Change-Id: I2b080b28d0bea73e12c9a54169318df1d9d7835d
2021-03-29 23:11:48 +00:00
Minchan Kim
3623b5745f BoardConfig: enable cma_sysfs
Bug: 179256052
Test: confirmed /sys/kernel/mm/cma/reserved/alloc_pages_success works
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Ib24f1ecabdc199bf9e8a2c0ac7dba778a40c1cf9
2021-03-29 13:57:59 -07:00
Peter_Liang
00a41515e3 Correct the voice packs path of Text-To-Speech. am: f696927cbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14011925

Change-Id: Ieb554006358c3b88d6f52886abb2c78bdc8e7a6a
2021-03-29 04:14:30 +00:00
Peter_Liang
f696927cbb Correct the voice packs path of Text-To-Speech.
1.Correct the file path.
2.Should put into corresponding device folder for Oriole and Raven.

Bug: 167996145
Test: manual test
Change-Id: I6ee19147618abee4010da3b11035ce5dd8cd3cf3
2021-03-29 03:56:04 +00:00
Long Ling
a243e839dc Apply accessibility color features in native mode am: 49354a1381
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13936278

Change-Id: Ifc6d0eda228beb923281170facd234f424da0a89
2021-03-25 23:37:27 +00:00
Long Ling
ce43c7f72f gs101: display: update adaptive calibration file am: 9c4dcc18b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13925814

Change-Id: I38da1fc48ff4bf970f48a790f82ba77c68c2d0e8
2021-03-25 23:37:26 +00:00
Long Ling
49354a1381 Apply accessibility color features in native mode
Bug: 177965882
Change-Id: I431e9ef5aa2a42d5ac9de71239b76915bad0085a
2021-03-25 23:05:37 +00:00
Long Ling
9c4dcc18b0 gs101: display: update adaptive calibration file
Add boosted mode color data.
Add vendor boosted color mode in config file.

Bug: 139381597
Change-Id: I02197bbb49e41d966b1adc19e649960c1ba55ce8
2021-03-25 23:05:37 +00:00
Blake Kragten
59844eab20 Enable Gnss Pixel Monitor For Device am: ec089270cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13807688

Change-Id: I2cf91d552749a2c66b2af1866e5943858c7bf6a1
2021-03-25 20:29:11 +00:00