Commit graph

593 commits

Author SHA1 Message Date
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
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
Jasmine Cha
5b50e7384a audio: switch audio HAL to V7
bug: 180878031
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
      atest VtsHalAudioPolicyV1_0TargetTest
      manual audio test - playback/record/voice call

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9dbf808307f2de77eb47fbc0eabfa4d03464b36e
2021-04-15 01:02:19 +00:00
Quang Luong
59291d3c60 Add default lookup table for wifi coex
Bug: 184089520
Test: verify coex table was succesfully read in logs
Change-Id: I65e232307cf9527e3ecdc4b367f8277196025d36
2021-04-14 21:46:03 +00:00
Jakub Pawlowski
4e22787a38 gs101: use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2021-04-13 14:10:15 +00:00
chenpaul
4bcdbf3244 Include pixel logger in common device.mk
Test: Pixel Logger is worlable
Bug: 159650456
Change-Id: Ib1b2145aa4e0292b91f64f2b2f5c97c3e979666a
2021-04-13 11:54:19 +00:00
Wei Wang
3c84c460ba Enable adpf on P21 device
Bug: 177492680
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8a8cb061e4d99ee8c919584fc2a35e0ebcaadc38
2021-04-13 05:04:09 +00:00
Wiwit Rifa'i
cfaf39f1de Enable SurfaceFlinger Cache by default
Test: check SF Cache is enabled by default using perfetto trace
Bug: 172968540
Change-Id: I525b6db8d35207c1f2f8982d9fa64ed501592c6f
2021-04-12 06:41:44 +00:00
Taehwan Kim
d8b25b96f8 add media.c2.dmabuf.padding
Bug: 181380463
Test: ExoPlayer, YouTube playback OK. Recording OK.
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I7bc4d051d176252ae7758599ab11fce81c03487c
2021-04-12 04:49:09 +00:00
Adam Shih
1a1a12cd55 remove obsolete system property operations
Bug: 184213723
Test: The following error logs were gone
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.debug_level' to '0x494d' in property file '/vendor/build.prop': SELinux permission check failed
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.arch' to 'gs101' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: I1326752935665568285971944366e9e977ef9013
2021-04-06 02:42:05 +00:00
raylinhsu
00548302f3 Remove unused persist.demo.hdmirotationlock from device.mk
In pixel phone, we did not have the HDMI interface so we should remove
the persist.demo.hdmirotationlock from device.mk

Bug: 184104675
Test: There is no failed selinux log regarding
persist.demo.hdmirotationlock

Change-Id: I97299a941fe8b30b0397e8c181b02a435e4642b8
2021-04-06 01:51:51 +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
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
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
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
Adlai Holler
0b9827eceb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: I77a82021335ce535ad5199edd6f0ec2bbcda1ff8
2021-03-30 15:25:44 +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
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
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
Charlie Chen
935a1dd591 Revert "Switch back from DMABUF to ION/BLOB allocator"
This reverts commit f35c9cb038.
To enable DMABUF again.
Patch: https://android-review.googlesource.com/c/platform/system/memory/libdmabufheap/+/1634146/
fixed the error when using DMABUF

Bug: 153786620
Test: reboot O6 device and confirm the error does not show up again
Change-Id: Id378fe1fe8b9615f72138575cec8e5e1e20caec9
2021-03-16 16:28:15 +08:00
TreeHugger Robot
feb9224ab1 Merge "Add variables in google3a_config for camera tuning" into sc-dev 2021-03-15 03:02:55 +00:00
Erick Reyes
8103dae27a Merge "gs101: add edgetpu firmware package" into sc-dev 2021-03-12 21:25:48 +00:00
audreyhung
5b7f645900 Add variables in google3a_config for camera tuning
1. Add target_device into SOONG_CONFIG_NAMESPACES += google3a_config
for saperating projects (raven, oriole, slider)

2. Add conditional switch for aosp and others of TARGET_PRODUCT.

3. Pass all forrest builds under git_sc-dev with
   293c2c7462: Add variables in google3a_config for camera tuning
   7fd2d5a87c: Revert "Revert "Separate project-wise tuning folders for 3A""

Tag: All build test

47 build(s): 0 failed. 47 passed.

https://android-build.googleplex.com/builds/forrest/run/L45900000832571732

Bug: 177041310
Test: build pass, manually test on O6
Change-Id: I848a2702cecf1a35971ae5cba5ea83d4f6d65c1a
2021-03-12 06:50:10 +00:00
TreeHugger Robot
11c87a5851 Merge "gs101: exclude telephony if BOARD_WITHOUT_RADIO is true" into sc-dev 2021-03-12 05:47:52 +00:00
Jonglin Lee
fcddc385ca gs101: exclude telephony if BOARD_WITHOUT_RADIO is true
Only include telephony packages if radio is available.

Bug: 182514710
Test: confirmed packages excluded
Signed-off-by: Jonglin Lee <jonglin@google.com>
Change-Id: I3d0c723f310230f3e54bf28422ca24f2be0ee3b6
2021-03-11 16:43:12 -08:00
Chris Fries
0e26f54d1f Merge "Switch back from DMABUF to ION/BLOB allocator" into sc-dev 2021-03-11 23:50:55 +00:00
Wonsik Kim
f35c9cb038 Switch back from DMABUF to ION/BLOB allocator
Revert of the following changes:
I70af757f5 conf: change a group about dma_heap for video codec
Id4fc2f04b uses dmabufheap on codec2
I090f0491f disable to use BLOB allocator

Bug: 182312949
Test: boot without DMABUF failures
Change-Id: Ibeb05a1341c15a206b8c1d2b9c9765769f6472e1
2021-03-11 13:56:46 -08:00
George Chang
d6c856cb08 Merge "Remove libnfc-nci from common part" into sc-dev 2021-03-11 11:23:44 +00:00
Wei Sheng Shih
0b19a17b11 Merge "Revert "Add variables in google3a_config for camera tuning"" into sc-dev 2021-03-11 09:02:17 +00:00
Wei Sheng Shih
7e76a03890 Revert "Add variables in google3a_config for camera tuning"
Revert "Separate project-wise tuning folders for 3A"

Revert submission 13706458-Separate target device for tuning

Reason for revert: suspect build break b/182443731
Reverted Changes:
If91bb99b8:Separate project-wise tuning folders for 3A
I605e0327a:Add variables in google3a_config for camera tuning...

Change-Id: Ia4f5a5a6162d2ebe61500b513510555326d8ebb2
2021-03-11 08:35:25 +00:00
Audrey Hung
3fc9518695 Merge "Add variables in google3a_config for camera tuning" into sc-dev 2021-03-11 07:51:46 +00:00
Petri Gynther
ed3354f4c6 Merge "Remove extra copy of fstab.gs101" into sc-dev 2021-03-11 04:15:03 +00:00
Erick Reyes
e879e1d264 gs101: add edgetpu firmware package
Firmware is now migrated to Android.bp instead of PRODUCT_COPY_FILES

Bug: 182336890
Tested: Builds

Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I1ccf6462c907fe23821c041592dc07a715d3de1c
2021-03-10 16:00:44 -08:00
George Chang
ef7df93001 Remove libnfc-nci from common part
Bug: 182243379
Bug: 182351569
Test: build pass
Change-Id: Ib853fb48ace452aa4fcb22398e026af433eaec0b
2021-03-10 19:48:20 +08:00
audreyhung
4b7a3c8f6c Add variables in google3a_config for camera tuning
Add target_device into SOONG_CONFIG_NAMESPACES += google3a_config
for saperating projects (raven, oriole, slider)

Bug: 177041310
Test: build pass, manually test on O6
Change-Id: I605e0327a816fb7d04f57e679f287352e17abee0
2021-03-10 18:30:47 +08:00
Petri Gynther
e951022d5b Remove extra copy of fstab.gs101
vendor_ramdisk.img is assembled from two directories:
$(PRODUCT_OUT)/vendor_ramdisk
$(PRODUCT_OUT)/recovery/root

Eliminate extra copy of fstab.gs101, so that there are no duplicate
files in vendor_ramdisk.img. This is a must-have for toybox cpio,
which is used to extract the archive in kernel build (build/build.sh).

Bug: 182309216
Test: build + inspect vendor_ramdisk.img
Test: prebuilts/build-tools/path/linux-x86/cpio -id
Test: verify install + boot to home + boot to recovery
Change-Id: Ib7c5e9d2535e97945fb90b1e749e2bb33b75329b
2021-03-09 16:09:13 -08:00
Benjamin Schwartz
0d6392efa6 Remove power stats HAL 1.0 service
Bug: 179527556
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: device boot and examined logs to make sure no errors related to
missing power stats 1.0

Change-Id: Ib8cc394f9968edaf948a2d9700e9f7fcaa5b9dc0
2021-03-09 10:27:55 -08:00
TreeHugger Robot
d287e223f4 Merge "gs101: Use FUSE passthrough by default" into sc-dev 2021-03-09 14:55:44 +00:00
Eric Biggers
93b740b0b0 gs101: remove unused fstabs for eMMC storage
These devices will only use UFS, so remove the emmc and sdboot fstab
files which are unused and outdated.

Bug: 181883233
Change-Id: Ia94682eecca4d792c2a50d2336cd6a542ed282db
2021-03-08 10:17:55 -08:00
Eric Biggers
3014832d9a gs101: remove unneeded crypto properties
It is unnessary to set ro.crypto.dm_default_key.options_format.version=2
or ro.crypto.volume.filenames_mode=aes-256-cts on devices with
PRODUCT_SHIPPING_API_LEVEL >= 30, since in that case these settings are
already the default.

Bug: 181883233
Change-Id: I4da3ce857a45c479e5efcee481f74031093234d8
2021-03-08 10:17:55 -08:00
Alessio Balsini
eb39490266 gs101: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the P21 device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2021-03-08 12:05:36 +00:00
Zhijun He
b14c4e1920 camera: add more camera permissions
Bug: 182043664
Test: CTS
Change-Id: Ibc4d7300c81e9826ccaf6900d8a847a8192d1823
2021-03-07 23:44:26 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00