Commit graph

455 commits

Author SHA1 Message Date
Roger Fang
9b811a56e7 gs101: import audio_amcs_ext library
Bug: 171854614
Test: Manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Icd843f292eff510d43bc664ddf1a550c19479648
2021-04-28 08:50:40 +00:00
Edwin Wong
9e879185f3 Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I6d7a953373a4bbff69428e004127d9216a6bff79
2021-04-27 17:12:13 +00:00
Robin Peng
c5b41648b3 shipping level 31, and keep target-level as-is
PRODUCT_SHIPPING_API_LEVEL := 31
kernel target-level="6"
target-level="3" or ="4"

Bug: 167997902
Change-Id: I110e251a108bbca7b63cd90142c82b35e93287b7
2021-04-27 07:14:20 +00:00
Dmitri Plotnikov
35d31057e7 Add BatteryStatsViewer to GS101-based userdebug and eng builds
Bug: 185952656
Test: build, flash, verify that BatteryStatsViewer is in the app list

Change-Id: I1fbbd21908d515027125aae6b3b7f27a1cd075d5
2021-04-23 21:46:42 +00:00
Nicole Lee
c932836b3f device.mk: enable modem always on logging by default
Bug: 185629421
Change-Id: Id870f832cea30e43b819892cc0c6107cbb12bafa
2021-04-23 15:24:21 +00:00
Remi NGUYEN VAN
1e3469f18c Add connectivity overlay to gs101
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

Bug: 185850634
Test: m
Change-Id: Iea8bf912e750375724421945103bcc58ece11f1b
2021-04-23 08:22:42 +00:00
Alex Buynytskyy
820d0ed766 Enable Incremental on new pixel devices.
Bug: 185298880
Fixes: 185298880
Test: atest IncrementalFeatureTest
Change-Id: I06dcb75307d71e693ad58150889b208c063c664a
2021-04-22 22:40:36 -07:00
Rick Chen
891c1fdd80 gs101: Remove sensor HAL 1.0 config
Also clean up unused sensor HAL config.

Bug: 184720736
Test: Verify basic sampling on O6
      Run VtsHalSensorsV1_0TargetTest and see no test items.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I9ba18473132f4bfa37a9fe2bbae4bb3dc015cc0e
2021-04-23 01:57:59 +00:00
Oleg Matcovschi
982119744c gs101: remove init.ramoops.sh
Ramoops encryption/decryption is handled by bootloader now.

Bug: 173808916
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If98ca902728e2fc7674f5f18615de685dcebd488
2021-04-22 00:16:00 -07:00
qinyiyan
a45f9156ad Add the DarwiNN NNAPI AIDL service to the device.mk.
Test: `m` and checked the $OUT/vendor/bin/hw/
Bug: 180454236
Change-Id: Ia0131494966dcb922eaf7c66d8d6a12ce58e0762
2021-04-21 19:52:48 +00:00
Long Ling
59fed5ee6c device.mk remove displaycolor_service from user build
displaycolor_service is a development tool.

Bug: 185724500
Change-Id: I939dc99fd7e01f773c4cb3d794a6c6b477dcc544
2021-04-20 16:17:14 +00:00
Daniel Solomon
51c9d02193 Revert "Enable SurfaceFlinger Cache by default"
This reverts commit cfaf39f1de.

Reason for revert: Causes display to blank out in some use cases.

Bug: 185398025
Change-Id: I0dc5761561b6b34d785e9d877460096e106f3e85
2021-04-20 01:45:30 +00:00
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