Commit graph

358 commits

Author SHA1 Message Date
Taeju Park
7fca68cdd9 Port missing hints from powerhint.json of gs101
Bug: 207573395
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Ia9289b674c988666c1e7cdd10756a0509ec97b39
2022-02-14 23:25:33 +00:00
Robin Hsu
59615c9496 config.xml: pin /system/bin/surfaceflinger
Add /system/bin/surfaceflinger to the pinner service default pin list

Bug: 207573339
Test: by 'dumpsys pinner' command
Change-Id: If29333eb06f2aaaf88fdfbad27fe9de4258c5b27
2022-02-14 11:36:35 +00:00
Rick Yiu
13a4cde946 Dumpstate: Dump vendor group value
Dump attributes and tasks for each vendor group.

Bug: 216844247
Test: build pass
Change-Id: I001efa93fb1ea2fc283daaa28363a0cfc1eefbe8
2022-02-14 06:05:03 +00:00
Carter Hsu
3069e185ee audio: Update Audio HIDL to 7.1
Bug: 205235270
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie1d8b20b001936e6c72ffe3644475c4fb8dad604
2022-02-14 01:02:01 +00:00
Victor Liu
379b46448b uwb: removed unused calibration files
Bug: 218719905
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Iabdbbe03f9aa3cad457d2e086f2f567c9687d5a7
2022-02-11 16:29:05 +00:00
Rick Yiu
1b0d78ac5b Sync vendor task_profiles and init rc file
Sync the settings from P21.

Bug: 207573268
Test: build pass
Change-Id: Ia6f761c6247522707d34888347bec6736c227e9e
2022-02-11 13:47:55 +00:00
Kris Chen
0567190969 Configure permission for AOC UDFPS sysfs node.
Bug: 205242782
Bug: 215044794
Test: Verify system process can read/write to the node.
Change-Id: Iecadeb47e08abf300ccd93eb8e95c91eb3195fd2
2022-02-11 02:43:14 +00:00
Lokesh Gidra
a398ee823c Use same dalvik heap config as gs101
A different dalvik heap config is being used than the one used in gs101.
Since all the p22 devices have 6+GB RAM, use the corresponding
configuration.

Bug: 218910184
Test: adb shell getprop
Change-Id: Idcb86c3ae14b3409821c01bc9bf16f5b9a820596
2022-02-11 01:27:59 +00:00
Ankit Goyal
0cde43a0c6 Remove outdated namespaces
Bug: 174232579
Test: Boots to home
Change-Id: Ic41bb8e9b0cde2d9c3ca2ed94d03472e939518c5
2022-02-11 00:52:54 +00:00
Ankit Goyal
6410beb4b5 gs201: Remove prebuilt string from target names
Bug: 174232579
Test: Boots to home (with and without prebuilts)
Change-Id: I07e0e2f6ca5d1ff1e6fe83f04c525207b60224d9
2022-02-11 00:52:54 +00:00
Ankit Goyal
2dceacff25 Update mali_csffw firmware target to match the generated one
Bug: 174232579
Test: Boots to home
Change-Id: I3902ed43059195e5d646473020ba6d33bd9f2f0a
2022-02-11 00:52:54 +00:00
Ankit Goyal
5a66a5bc3a Update vulkan library name to vulkan.mali
Bug: 174232579
Test: Boots to home
Change-Id: I50d73b42accbb6984ae8c5df629bbc0f05e8e727
2022-02-11 00:52:54 +00:00
weichinweng
bb377d000c Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Bug: 218454632
Change-Id: I9089bd4a3c8e747db4b1a2501989ae36e68a8d26
2022-02-10 15:15:52 +00:00
Darren Hsu
6dffe2029d powerstats: add devfreq state residency for MFC and DISP
Bug: 218772968
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ib4b2986adf6cdd0ab74daa086ef843caa250ac84
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-02-10 13:00:20 +08:00
Ankit Goyal
fb9c573540 Update EGL library name to be consistent
Bug: 174232579
Bug: 213455888
Test: Check go/r35-merge
Change-Id: I70b12b814c0388bffd79c11fa16fe1cde34a801d
2022-02-05 01:54:10 +00:00
Rick Yiu
f96c71adf6 Remove high_capacity_start_cpu
The node is removed from kernel.


Bug: 201259891
Bug: 217240356
Test: build pass
Change-Id: I65cab433693aa31fdf56e056bede821b0aa5badd
2022-02-01 22:09:39 +00:00
Andrew Scull
661151aa2b Remove BOARD_PREBUILT_PVMFWIMAGE from the common board config
The pvmfw image is included by setting PRODUCT_BUILD_PVMFW_IMAGE in
device.mk and there shouldn't be this prebuilt override.

Bug: 199717422
Test: build
Change-Id: I0ba022e7b222ff89a4b2f991900abb3b4589396c
2022-02-01 13:21:37 +00:00
Yohei Yukawa
d98aaabfdb Migrate "rounded_corner_content_padding"
This CL updates resource overlay of

  rounded_corner_content_padding

so that the same device-specific value can be seen from both the
Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: I3edd624ce3ae7db479f58d1e8a4ccc4dc3edc3b3
2022-01-29 02:31:34 +00:00
George Lee
5f5dbb824b thermal: enable gpu/tpu permission for user_vote
Bug: 215814890
Test: Local test to verify permission
Signed-off-by: George Lee <geolee@google.com>

Change-Id: I09d3d9bc5033ba2f31adbb34fa8969dc75a767bc
2022-01-28 23:48:56 +00:00
Yifan Hong
83205f3e11 Delete extra health HIDL entry.
The AIDL health entry is already in fragments.

Bug: 216416660
Test: vts_treble_vintf_vendor_test
Change-Id: I237f13d06863adf7089c8930710da31cc479c3b5
2022-01-27 15:41:08 +00:00
Santiago Seifert
363944579b Unpin updatable-media from memory
Bug: 214499288
Change-Id: I9774ca50a453c2ffeae9ac99d0255f4cb90ad9f1
Test: Presubmit
2022-01-27 13:15:48 +00:00
Kurt Chang
27b5af0c92 [Graceful IMS cleanup] Set config_delay_for_ims_dereg_millis = 3000
Bug: 216586309
Test: build
Change-Id: I2193c65c3554f55d46fb76bd502cb78ef4da5636
2022-01-27 09:59:27 +00:00
Yifan Hong
51f88201b1 vendor.charger-gs201 -> vendor.charger
The name of the service is changed during
HIDL to AIDL migration. Since there are
triggers depending on init.svc.vendor.charger,
the name needs to be reverted.

Test: none
Bug: 215152892
Change-Id: Id3522de8f5ec6e6a350cf20998820cdc5afe272e
2022-01-26 15:39:21 -08:00
Craig Dooley
f9b1866978 Export TARGET_BOARD_PLATFORM for AoC
Bug: 215535889
Change-Id: Idba3bf9e9a15625db1a36bee5c30b8c42dea8a52
2022-01-26 19:13:00 +00:00
Kai Shi
fda5286dd1 Increase TCP wmem max size
Increase TCP wmem max size to allow high Tx throughput over wifi.

Bug: 213596972
Test: manual test to confirm TCP memory size is increased and wifi TCP throughput with default TCP window size can reach 700Mbps in HE80 mode.
Change-Id: Id1f6ea94da83825ca39093aba5c85bec5bee4a72
2022-01-26 17:15:38 +00:00
Krzysztof Kosiński
d185483165 Fix builds where LyricCameraHAL is not present.
This file contained incorrect commented-out conditionals that
were apparently copied and pasted from somewhere. Fix them to
match gs101 configuration.

Bug: 212047904
Test: build master-without-vendor
Change-Id: Ibecd05d6e5cf1ee94be57203b63c6aec3cab8aa6
2022-01-26 15:53:11 +00:00
TeYuan Wang
8bf22ece52 BCL: remove thermal zone policy change
ThermalHAL listens genl event, so we do not need to
modify the thermal zone policy to user_space

Bug: 204718864
Test: Confirm no selinux denied log, and thermal zone policy is not changed
Change-Id: I77119d79d65902f6ce5cb632349a8cf7aec1d664
2022-01-26 02:41:03 +00:00
TeYuan Wang
b4f08a7823 thermal: chown quiet_therm trip_point
Bug: 211777844
Test: Confirm quiet_therm trip_point_0_temp can be modified by thermalHAL
Change-Id: I5c1c901bdf979917cca2e60552250cfc8756d806
2022-01-26 02:41:03 +00:00
Midas Chien
ddaaf68b1a Update vsync work duration
Sync vsync work duration as initial setting.

Bug: 199468097
Bug: 199469541
TesT: dumpsys SurfaceFlinger, perfetto
Change-Id: I91f291daba55b24042fd161000109ec69bb3b0b0
2022-01-26 02:17:51 +00:00
Stephane Lee
3f39c58c00 Add device-specific support for GoogleBattery HAL 1.2.
Bug: 205021987
Test: Ensure Adaptive Charging/Battery health flags works as expected.
Change-Id: I147de0f4e46675126e4d9f82bc13f948c89060c4
2022-01-25 22:47:11 +00:00
Jerry Huang
453e50f39c media: Fine tune media_codecs_performance_c2.xml
Update stable performance point

Bug: 201979533
Test: android.video.cts.VideoEncoderDecoderTest
Change-Id: I5ee975a42dd7833fa44d6155e02c846f767f6554
2022-01-25 05:59:01 +00:00
Ray Chi
a872edb528 tune usb irq (dwc3) based on usb function
This among other things greatly increases tethering performance.

Bug: 202103325
Test: tput improved
(synced from commit f9e02b98b8243d2db566df16d4e763250ac9efaf)

Change-Id: I19b22d748352eb04bc27d85c0f69fa2571b63d53
2022-01-25 03:28:35 +00:00
Wiwit Rifa'i
cac15c0134 Enable SF caching by default
Bug: 216107814
Test: builds
Change-Id: I9374fb33e50de89ccb3e31bec22a132c82960617
2022-01-24 16:14:02 +00:00
Thurston Dang
70b9383b97 Backport 'Set /dev/sg1 permissions in ueventd.rc' to P22
... 'This way we don't need to guess when we need to chown.'

This is Tri's change to init.gs101.rc (http://go/a-g/15447093),
applied to init.<censored>.rc.

Under some circumstances (see bug), storageproxyd needs to access
/dev/sg1 but doesn't have permission, leading to other apps
blocking on storage.

Bug: 214910469
Test: Check that steps b/214910469#comment76 no longer gets stuck
Change-Id: I9e4133b6bb9ffab1e0044a16b3582436ccf5dd44
2022-01-24 05:13:57 +00:00
ChengYou Ho
da1cccc09e Report Verified Boot support
Bug: 206062307
Change-Id: I81f3e7390916d1092b7b27d8f389f995ecab0480
2022-01-24 02:37:22 +00:00
Thurston Dang
3a41cf3876 Backport 'Start storageproxyd early' to P22
... 'And restart it after /data is mounted.'

This is Tri's change to init.gs101.rc (http://go/a-g/15447094),
applied to init.<censored>.rc.

Bug: 187105270
Test: boot device, secure storage test com.android.storage-unittest.td
Change-Id: I226181b35c59f4882e466d2b8a839d32750e93e0
2022-01-22 19:05:46 +00:00
Hsiu-Chang Chen
e31f425e0e wifi: Update interface combinations
The interface combination should be {1 STA + 1 of (P2P or NAN)} or {1 AP}
Because WCN6740 doesn't support multiple independent hardware MACs
for STA/AP concurrency

Bug: 213398641
Test: The behavior of combination. STA and AP cannot enable concurrently.
Change-Id: I1825fcd173d19cc4081af0b65f7a3e79b73bf43e
2022-01-22 05:59:45 +00:00
Robin Peng
bf4d3bf612 Migrate vendor_dlkm modules.blocklist from android side to kernel side
Moving vendor_dlkm.modules.blocklist to the source repo and picking to
/<DEVICE>-kernel, the development experience can be aligned between
Kernel and Android codebase.

Bug: 214017561
Change-Id: Ia9994121309a8a0e5a664b64c51ffb3ad9110747
2022-01-21 11:56:22 +00:00
Nicole Lee
01390092df Separate modem logging configs for each project
As the modem logging configs have different group ID from
s5123 and s5300 platform, we need to use different config files
for each projects, move them from Pixel Logger to device
specific folders

Bug: 210784859
Change-Id: Ic0a3e4b72edcaa744fc284b0eaac58cad839f79a
2022-01-21 10:56:51 +00:00
Wayne Lin
b7c088c089 gps: update gps driver 129.20.23.524634
- Fixed null pointer dereferencing while injectNLPError
 - Added SuplUseFwCellInfo (default:true) xml attribute so that it can disable framework
 - Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

Verify test: 214493833
Test: build pass and GPS verify test pass

Change-Id: Ie932ab779cb8ff8cbb15adbe83cabd9e7cca498f
2022-01-21 04:52:14 +00:00
Greg Kaiser
e43aea3ef5 Revert "Rename supplicant RC file config variable in makefile."
Revert "Rename supplicant RC file config variable in Redbull mak..."

Revert "Rename supplicant RC file config variable in Coral makefile."

Revert submission 16623160-rename-supplicant-rc

Reason for revert: b/215524311  This is an uncommunicated, ecosystem-wide breaking change in order to rename a variable
Reverted Changes:
Id55a453d3:Rename supplicant RC file config variable in makef...
I1177d6aba:Rename supplicant RC file config variable in Sunfi...
I043c354e2:Rename supplicant RC file config variable in Redbu...
I324784add:Rename supplicant RC file config variable in Bonit...
Ibc9c5384b:Rename supplicant RC file config variable in Coral...
I5a20450a4:Rename supplicant RC file config variable in Cross...
I511597746:Rename local RC file config variable in Supplicant...

Change-Id: I46cbcea42e1f2df612fa70685f803ccabdd35f1b
2022-01-21 02:12:53 +00:00
Fangzhou Liu
536a1fea9b Add CPA latency files into bugreport
Bug: b/215395069
Test: Verify bugreport
Change-Id: I6e500a741388a17f023d160dc7aca6dee81ee7af
2022-01-20 01:59:59 +00:00
Gabriel Biren
9fbd2799ab Rename supplicant RC file config variable in makefile.
Bug: 208265623
Test: Build in pre-submit tests.
Change-Id: Id55a453d32d6af81f225de49455206132828ea72
2022-01-19 20:56:10 +00:00
George Lee
acbed80455 bcl: Update threshold levels
Bug: 197028142
Test: Boot and confirm level
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I16b357b6c9fb26fc338ec2af66cd43692072b6b5
2022-01-18 22:36:47 +00:00
Taehwan Kim
4f6385ae81 update media_codecs_aosp_c2.xml
Bug: 206057011
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib2724d03aee1deb35822491855168523a044ec12
2022-01-18 11:47:36 +00:00
joenchen
e625d127ad init change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 213299701
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: I57043afd6ac08740775680505ee6f3247d56a956
2022-01-17 10:21:16 +00:00
jonerlin
7d12f0defa bluetooth: correct btuart logger device node path
* modify dev/logbuffer_tty16 to dev/logbuffer_tty18

Bug: 213759828
Test: 1. Enable Bluetooth in P22 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
2. Enable Bluetooth in P21 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
3. Fake bthal ssrdump and check the coredump log.

Change-Id: I208fae8e5ddf60d7df52311c32249bf3ac401dbc
2022-01-17 09:06:28 +00:00
Ahmed ElArabawy
cbbc05bf94 wifi: Uprev IWifiExt to 1.3
This commit updates the manifest to use IWifiExt 1.3

Bug: 214108561
Test: Build successfully, and start with right HAL version
Change-Id: Ib1b402ade4bf88039e5862262aa3310cbad3fbca
2022-01-15 18:51:56 +00:00
gwenlin
269b6f5047 Enable Google QNS for internal build
Bug: 208371668
Test: build
Change-Id: Ie99378d6d52d86a18f3991b5eecbfbe883c6a98b
2022-01-15 16:22:01 +00:00
Jack Yu
cea56bb347 Added default TCP buffer size for Pixels
Bug: 213596972
Test: Manual
Change-Id: Ie7b3ba3714c9d121e95b8eb62c4b02649d7e80e2
2022-01-14 05:04:48 +00:00