Commit graph

170 commits

Author SHA1 Message Date
Ray Chi
7be02c0708 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 225789036
Test: build pass
Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
2022-03-30 04:42:16 +00:00
Tommy Chiu
1b3717c9d7 device: Include RKP VINF
Bug: 224920531
Bug: 221390931
Test: Build pass with PRODUCT_SHIPPING_API_LEVEL=32|33
Change-Id: I6ca8d6ef8e66daefce42e6e2a5b7c2a5104004b8
2022-03-28 02:56:32 +00:00
Adam Shih
552c403223 remove cuttlefish memtrack implementation
Bug: 225788729
Test: build ROM with the daemon gone
Change-Id: Ibe739256c6967e373a465e3ca9e7b42f61496fb0
2022-03-25 03:16:58 +00:00
Etienne Ruffieux
576864b7c1 Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I7c882558519968fffd460896d8ce2bd133be35c2
2022-03-25 00:27:30 +00:00
SalmaxChang
37f619ea3f device: remove gnss blanking file temporarily
The current CP does not support related RCM command.
Disable GNSS blanking temporarily.

Bug: 226074879
Change-Id: I7d433b269d7a5f3c532d949e58bf4190c9501462
2022-03-24 03:01:40 +00:00
Adam Shih
c676225fef enforce debugfs constraint on user build
Bug: 225815474
Test: build pass
Change-Id: I6507e784b3597220920f59d969bbeafdd199174b
2022-03-24 01:05:18 +00:00
Lucas Dupin
2964ee6020 Enable blurs
This was somehow disabled

Test: forrest build
Fixes: 225015208
Change-Id: I4ed97dfaf8362ace933b6d5e08408ee35d54ee13
2022-03-18 18:26:02 +00:00
SalmaxChang
602c38c63f conf: support to mount modem erofs image
- Create fstab.modem for modem as flexibility.
- Add and support both erofs and ext4 images for compatibility.

Bug: 201348703
Change-Id: Idc6dd8ef8f044c764f2811469806ee9e6defb87f
2022-03-17 05:56:33 +00:00
Devika Krishnadas
cf0372dc8b Increase Max framebuffer count to 3
Bug: 220804307
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I5b21d077e2c8f1ee0a22d19bfeb1e3afd29789d3
2022-03-17 02:01:10 +00:00
Jesse Hall
6581005c3c gpu: use hwui vulkan backend
The Vulkan backend is the intended production configuration and what we
shipped gs101 with.

Also checked remaining gpu configuration and minimized textual
differences from the gs101 device.mk for easier comparison.

Bug: 223406172
Test: Launcher, YouTube video playback, Pixel Camera preview & shot
Change-Id: I85e3c34ef424f7cef97bcfb6f5a10746fc0b9804
2022-03-08 11:34:55 -08:00
Jimmy Shiu
477bf34e81 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 207573241
Change-Id: Idcebb479cb52b536ffd8d1f79f00293d3c0c4131
2022-03-08 19:34:50 +08:00
Tommy Chiu
548aa0c030 KM: Add Device ID attestation support
Reference: ag/14623068

Bug: 222635310
Test:
android.keystore.cts.KeyAttestationTest#testMandatoryDeviceidAttestation

Change-Id: I4acfaf0d82e5805c84b36d0750d7e013de8a83ea
2022-03-08 07:07:49 +00:00
Josh Wu
e8aabb124f Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I9668afb6549491c65ec193f707ef936c3bb519ae
Merged-In: I9668afb6549491c65ec193f707ef936c3bb519ae
2022-03-02 13:08:41 +00:00
Tim Lin
5357ce3a42 enable IRadio 2.0
Bug: 206348419
Test: make
Change-Id: Iae1093aa6f7e9014fe47ae05e023922725885d03
2022-03-02 09:12:13 +00:00
Ankit Goyal
9e4f342440 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: Ie169b059d401ce58b217765dbac76b4de9eb2c96
2022-03-02 01:56:58 +00:00
Ankit Goyal
205a0a4851 Remove stale gralloc3 configs
Bug: 220910504
Test: Boots to home
Change-Id: I30a68849413b6927365773a52f543e3a032f18fa
2022-03-02 01:56:58 +00:00
Badhri Jagan Sridharan
a1deb18dfb Migrate IUsb implementation to AIDL
Cherry-pick of <775523d1eb>

This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
Merged-In: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-03-01 03:32:23 +00:00
Grace Chen
5443c7ec01 Enable DSDS by default
Bug: 197273281
Test: Confirm DSDS property.
Change-Id: I007ef6b81ddfdb3d9692f286bbcb85c2bae5dae5
2022-02-24 14:49:00 +00:00
Alex Hong
0c20f31dd7 Upgrade PRODUCT_SHIPPING_API_LEVEL from 31 to 32 for gs201 devices
Copy ueventd.rc to /vendor/etc instead of /vendor.
/vendor is no longer a supported path for Product Shipping API 32

Test: m checkvintf
      Device boot-to-home
Bug: 207076973
Change-Id: Iac11d342854e08739e6b83e5d8134097760ccfd2
2022-02-24 12:04:54 +08:00
Alex Hong
9984544ec8 Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices
Update the Target FCM level from 5 to 6
Update the product FCM xml

Bug: 207076973
Test: m checkvintf
Change-Id: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e
Merged-In: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e
2022-02-24 04:03:32 +00:00
Alex Hong
592769127d Remove tetheroffload service
Test: m checkvintf
      run vts -m VtsHalTetheroffloadControlV1_0TargetTest
Bug: 207076973
Bug: 214494717
Change-Id: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
Merged-In: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
2022-02-24 04:03:32 +00:00
Jack Diver
4438b07c71 gs201: Build UMD from source
Bug: 185349920
Test: Build gs201 UMD from source
Test: Boot to home
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I34be0058ea1272966b0b848d9de365c23d28d5ec
2022-02-18 14:35:48 +00:00
diverj
7c11dd7d0e gs201: Add pixel_mali_soc config var
* Add gs201 soc soong_config_variable
* Remove unused mali soong namespaces

Test: Build UMD from source for gs101, gs201 and zuma
Test: checkbuild
Bug: 185349920
Bug: 174232579
Change-Id: Ie175e70a4a61a14e93225522735e1b789c28f6fa
Signed-off-by: Jack Diver <diverj@google.com>
2022-02-17 12:53:42 +00:00
Carter Hsu
dd48757095 audio: update AudioExt to 3.0
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia8decc9cb0962330cb0321b747929efe53f323ba
2022-02-15 09:13:54 +00:00
Gary Jian
9286e0a99f Support 5G on both stacks
Bug: 218650003
Test: manual
Change-Id: I6cd66c1db1c826934008949d7a6007541480d3f9
2022-02-15 07:44:31 +00:00
Ken Huang
ff3ce560fa Set 120Hz frame rate multiple threshold for gs201
Bug: 215043570
Test: play 24fps video and check refresh rate
Change-Id: Ie638f9dcf11e25bdd903d6cde2d0eeb794668e52
2022-02-15 04:07:54 +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
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
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
Craig Dooley
f9b1866978 Export TARGET_BOARD_PLATFORM for AoC
Bug: 215535889
Change-Id: Idba3bf9e9a15625db1a36bee5c30b8c42dea8a52
2022-01-26 19:13:00 +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
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
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
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
gwenlin
269b6f5047 Enable Google QNS for internal build
Bug: 208371668
Test: build
Change-Id: Ie99378d6d52d86a18f3991b5eecbfbe883c6a98b
2022-01-15 16:22:01 +00:00
Cole Faust
7766938364 Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert submission 16603844-colefaust_dauntless

Reason for revert: Broke other products that didn't set BOARD_WITHOUT_DTLS
Reverted Changes:
I3b4ab3ed2:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Iee95550f4:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I1b210d8ab:Make BOARD_WITHOUT_DTLS work without an override
I80bfec988:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I5f51cf010:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
If6592aa18:Remove BOARD_WITHOUT_DTLS

Change-Id: Ic47a1171ee2ebed0e0f78a191a7c21d41fa633e6
2022-01-14 02:43:01 +00:00
neoyu
38798148df P22: Sync config of silent CP crash handling from P21
Bug: 214226540
Test: manual
Change-Id: I4e915fc08c819d396577ae5a6b8841b632595041
2022-01-13 05:14:08 +00:00
Andrew Chant
3de791256d Add rebalance_interrupts
Add rebalance_interrupts to run at boot and rebalance interrupts.
Run once after modules have loaded and a second time after boot
has completed to ensure all interrupts have been assigned to
individual cores.

Bug: 148403062
Change-Id: I9685807e3028bef509c4064a5c09cbc48b91f7f0
(cherry picked from commit 77ceae1c094ff8ac4352a678457360d430692257)
2022-01-13 05:10:05 +00:00
Pat Tjin
e26fbacdd8 Move input surface to CCodec
64-bit only removes OMX, move input surface to CCodec.
(ref b/186447629)

Bug: 213924541
Test: camera
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Icd35279d1e99bbb2fce3ad0d5c953f921a04548d
2022-01-12 21:44:31 +00:00
Pat Tjin
ab3f2562aa Remove 64-bit-only configs and default to 64-bit-only
Remove option for _64 and default to 64-bit only builds.
Removes the (out of date) manifest_64 files.
Removes OMX since it is not supported for 64-bits.

Bug: 213924541
Test: Build, Boot, YouTube playback, Play store, Camera
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I1e97903b598a2fff46d912a009b2bc73f1b0f466
2022-01-12 21:44:31 +00:00
Cole Faust
7e72d8c517 Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Bug: 201700692
Test: Verified ninja files are unchanged
Change-Id: I3b4ab3ed289faebd83cbb848aad512ab8cc3458d
2022-01-12 20:14:30 +00:00
Ankit Goyal
26ed2c0dbb Revert^4 "Add gralloc switch"
7a59c25d6b

Change-Id: I382138e5dd1467d01cd4538609f19495ccdfa482
2022-01-12 18:55:58 +00:00
Long Ling
907d36781c enable sdr/hdr blending
Bug: 196171661
Change-Id: I4fde7565ffa0285c34c734e05279994a1724b93e
2022-01-12 02:19:07 +00:00
Yifan Hong
074c7216c4 Implement health AIDL HAL.
Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090
Change-Id: If6e730d8dbd7d7ca95cfd4f045ac045d69597568
2022-01-11 21:39:14 +00:00