Commit graph

1559 commits

Author SHA1 Message Date
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
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
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
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
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
b8a16df6e5 Add pinner configs for P21
Bug: 182593454
Test: dumpsys pinner
Change-Id: I85547d29ddc9111b0e3338681729c8318d9010dc
2021-03-31 08:52:29 +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
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
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
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
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
0b9827eceb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: I77a82021335ce535ad5199edd6f0ec2bbcda1ff8
2021-03-30 15:25:44 +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
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
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
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
ec089270cc Enable Gnss Pixel Monitor For Device
Enables location permissions needed for GnssPixelMonitor.
Bug: 178015947, 178015951
Test: atest -c GnssPixelMonitorTests

Change-Id: I77fb7feb4b57536d0edd63c3fba122f55616b90b
2021-03-25 20:03:19 +00:00
Chiawei Wang
f236f66384 pixelstats: add readproc to access process
We would like to collect stime of kswapd0 and kcompactd0.
readproc is required to access /proc/<pid>

Bug: 173101018
Test: build pass
Test: adb shell cmd stats print-logs
      adb logcat | grep 105014
      stime can be collected.
Change-Id: I8594f9e75a998718735503bbd5f2f5086a25c365
2021-03-25 07:55:01 +00:00
Krzysztof Kosiński
8d18593f3c Disable GCH lazy HAL.
Uses new GCH config toggle to ensure that the lazy HAL is
definitely not present on gs101 devices, as it currently causes
increased startup latency and CTS failures.

Bug: 183612387
Test: mm in hardware/google/camera, verify that lazy HAL is not
present in the out directory.

Change-Id: I3b17be1c216b796a9820e14b3520f6e43c6442ab
2021-03-24 09:56:47 -07:00
Adam Shih
b80f23dbdc adjust parameter for factory SELinux setting
Bug: 171942789
Test: flash factory ROM with SELinux permissive
Change-Id: Iddbc758e562d4a97c82a16322c44af2e24d91ed1
2021-03-24 13:25:02 +00:00
Adam Shih
48e389c89c Turn on SELinux
Bug: 171942789
Test: flashall, OTA, adb, bluetooth, wifi, LTE, phone call, SMS,
play audio, video, camera picture, recording, sensors, storage PTS,
thermal PTS, bugreport, GPS, lock screen

Change-Id: I85c22c7a7fd97aa30618455478974a71e19cfcab
2021-03-24 13:25:02 +00:00
Daeho Jeong
e966b2a635 init.rc: change the ownership of compression sysfs nodes
Changed the ownership of compression sysfs nodes for Pixelstats to reset
these values after reading them.

Test: check the ownership of /dev/sys/fs/by-name/userdata/compr_*
Bug: 173399386
Bug: 170789472
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I25bd80fb4b3db855de3c536084cf4b3c14bc8d74
2021-03-24 03:57:45 +00:00
SalmaxChang
080d173c55 init: Remove duplicated folders creation
The fstab will auto create folder as mount.

Bug: 176528556
Change-Id: I78ef08e0b904b4e58541a92775c9918f2538fa77
2021-03-24 03:48:55 +00:00
Oleg Matcovschi
9963cf04e0 BoardConfig: move androidboot.console to cmdline
Bug: 183531243
Change-Id: Ida1dd4c8f3a2b57a64955f6002c6bace1d0b40c9
2021-03-23 14:08:58 -07:00
Stephane Lee
33a1ce7421 Add UeventListener to pixelstats in gs101
Bug: 171793497
Test: Ensure that uevent listener reports data to statsd
Change-Id: I9e90f8483298934a78320f37dbf5eb1ac38e8f97
2021-03-23 17:23:03 +00:00
linpeter
d95bbb9740 init: set dimming_on node permission before start hwcompower
Give dimming_on node sutiable permission to allow
hwcomposer to set dimming_on to display driver.

Bug: 177141990
test: check file node permission
Change-Id: I1f78b77884d619f1e48a63ac11c4201089010a0d
2021-03-23 05:55:01 +00:00
Adam Shih
777c58e8ae Align modem's DAC setting with other AB partitions
Bug: 183174452
Test: Apply OTA locally under SELinux enforcing mode
Change-Id: I0cf4fdff565ded69cc342d7052aed990c6f55593
2021-03-23 04:54:57 +00:00
Adam Shih
435f68ed7b allow modem image to do OTA
Bug: 183174452
Test: run ./system/update_engine/scripts/update_device.py path/to/oriole-ota-*.zip
exit with status 0

Change-Id: I21a1cfcdf29eae1e06ed922cc44c1ff5b2916144
2021-03-23 00:08:27 +00:00
Oleg Matcovschi
9ef069c978 gs101: migrate to bootimg v4
Bug: 183237066
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If4ed53f3ea4964139b33ef691469a1dbbfa97e80
2021-03-22 19:28:26 +00:00
eddielan
5ad06a0dc2 Move config_biometric_sensors to device/google
Bug: 182868067
Test: Build Pass
Change-Id: I03b2d310ad58d6fa0c1a739b0d8cbd4ca4e3c231
2021-03-22 07:59:39 +00:00
David Li
62903463d5 audio: add /dev/acd-audio_dcdoff_ref for audio effect visualizer
Set /dev/acd-audio_dcdoff_ref as 0660 system audio
crw-rw---- 1 system audio u:object_r:aoc_device:s0  500,  29 2021-03-18 22:19 /dev/acd-audio_dcdoff_ref

Bug: 180984363
Bug: 165719427
Test: make -j128
Test: ls -alZ /dev/acd-audio_dcdoff_ref
Change-Id: I4720349eccd5e3b797ff8e964329fe6352d5bba0
2021-03-22 02:07:32 +00:00
Ilya Matyukhin
e9170d48ab Revert^2 "Include the Soong namespace of the UDFPS HAL"
548f6b81c4

Change-Id: I68fd69e0a1aefad67da7b23f817462cb330d3c6d
2021-03-21 00:48:41 +00:00
Kris Chen
71020ad126 gs101: exclude udfps.mk
Bug: 183247684
Test: lunch oriole-userdebug; make -j$(nproc);
Test: lunch passport-userdebug; make -j$(nproc)
Change-Id: Iafcd1c9dad0861b0569b6a0350501952af83007d
2021-03-20 01:58:04 +00:00
Ilya Matyukhin
548f6b81c4 Revert "Include the Soong namespace of the UDFPS HAL"
Revert submission 13892440-integrate-goodix-aidl

Reason for revert: b/183225087
Reverted Changes:
I928a7f4d6:Include the Soong namespace of the UDFPS HAL
I7acecd294:Transition to Android.bp
I91bdbceef:Merge the latest goodix AIDL drop

Change-Id: I8799dbcd629e74bd25e8b7d0026af432afc0a5b0
2021-03-19 19:58:07 +00:00
Ilya Matyukhin
4ff707104c Include the Soong namespace of the UDFPS HAL
Bug: 183054007
Test: build
Change-Id: I928a7f4d695aa51ed917fa3cd2d76373029dc198
2021-03-19 18:39:47 +00:00
Roger Wang
f4320ddc94 WiFi: Remove PixelWifiOverlayGs101
New Overlay (PixelWifiOverlay2021) was definded for
2021 projects. Hence, remove PixelWifiOverlayGs101.

Bug: 182766776
Test: overlay config can be read correctly.
Change-Id: I6c020b7a3ff507eccb3309b3eac64f6a61a59e32
2021-03-19 16:53:20 +00:00
Peter Liu
96268d3f51 camera power hint: tune the streaming standard.
1. CPU power seems also high on streaming stadrd mode.
Limit it to a rate that has no obvious performance degradation.
2. Raise the CCI target load to avoid governor raising the mif clock.

Bug: 182944906

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I47654cf2558fa168545e036c6cb58388eb2e2f0a
2021-03-19 04:17:39 +00:00
Quang Luong
7f8e41bd1b Enable default wifi coex algorithm
Bug: 181245154
Test: build
Change-Id: Ia19206307da3936fd32e40ae7bd08a631719e1d3
2021-03-18 13:27:47 -07:00
Benjamin Schwartz
6b4c8b4887 powerstats: Use unique_ptr
Bug: 183051413
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: atest VtsHalPowerStatsTargetTest
Change-Id: Ia15505b219e6a8fe61949f7d75cc6379de837153
2021-03-18 20:20:04 +00:00
Benjamin Schwartz
921b5c3606 Set short suspend threshold to 5 seconds
Bug: 171433995
Test: getprop suspend.short_suspend_threshold_millis
Test: dumpsys suspend_control_internal
Change-Id: Ic32ac59784e40307a29d5ab240475572356124dc
2021-03-18 19:50:31 +00:00
Jimmy Chen
d88b6b9f82 wifi: enable SAE H2E support
Bug: 182857386
Test: connect to 6GHz AP.
Change-Id: I8c7e6118225e053ab3a231c9029fc1492065c7c7
2021-03-18 16:50:47 +00:00
Minchan Kim
5d13529329 BoardConfig: enable dump migration failure
Enable dynamic debug to dump migration failure.

Bug: 182195592
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4817f84c1d2e15dad48f7c475d7072b88bc12114
2021-03-18 08:00:09 +00:00
Jimmy Shiu
2d8da5bd44 powerhint: Add FIXED_PERFORMANCE hints
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.

Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
2021-03-18 07:54:57 +00:00
Roger Wang
a27080df00 gs101: Enable MBB support
Set MBB overriding flag to true in config overlay to
enable MBB support.

Bug: 182859386
Test: Verified MBB is workable.
Change-Id: I33419c40a955bcb21ba80169175467ffafc2dae7
2021-03-18 04:55:48 +00:00
Aaron Tsai
815ce12ad5 Remove unused rmnet and data properties for fixing avc denial error
Bug: 181924792
Test: verified with the forrest ROM and error log gone

Change-Id: Ia8eae9e2c347d79d3c37a894a1919e8f443630f7
2021-03-17 10:18:28 +00:00
TreeHugger Robot
aa58caf942 Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev 2021-03-17 10:10:52 +00:00
Jenny Ho
60dca5dc0a Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev 2021-03-17 08:07:45 +00:00
Jenny Ho
e8ecf4ded7 Merge "dumpstate: Update eeprom dump path" into sc-dev 2021-03-17 08:07:45 +00:00
LABIB MD RASHID
9c47b4ff37 Merge "Sysfs node permission for modem" into sc-dev 2021-03-17 03:02:36 +00:00