Commit graph

329 commits

Author SHA1 Message Date
Alessio Balsini
55b3a32128 FUSE-BPF: Disable the feature
FUSE-BPF has been identified to be causing issues with the Audible app.
Disable the feature to mitigate the breakages while investigating the
issue.

Bug: 227042065
Test: adb shell getprop ro.fuse.bpf.enabled | grep false
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I9edbf4bcbc7c293f541936baf80e318a87eeb2a3
2022-03-28 11:55:29 +00:00
Etienne Ruffieux
3fec66cbb6 Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: Ia1d4fbe0e406e895d295936c524c5dbba6c269cd
2022-03-25 00:27:30 +00:00
Alessio Balsini
278c90473b FUSE-BPF: enable by default
Enable the ro.fuse.bpf.enabled flag in the system configuration to
enable the FUSE BPF feature.
This feature has already been tested on Cuttlefish devices and no issues
have been detected yet.

Bug: 202785178
Test: adb shell getprop ro.fuse.bpf.enabled
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I7344b8ac2e19fe07d4e27e4e0d28930450caf77e
2022-03-24 07:28:54 +00:00
horngchuang
d7ce913606 Add camera to feature list
Copy the rule android.hardware.camera.xml for a non auto-focus
camera.

Bug: 225749853
Test: adb shell pm list features
Change-Id: I61f47bd965bce476471325a38f6d136cc568d65c
2022-03-22 05:59:00 +00:00
Gina Ko
d8a9805e95 Fix typos
Remove redundant spaces so the variable is set correctly

Bug: 224556677
Test: Built R4 64bit
Signed-off-by: Gina Ko <yichunko@google.com>
Change-Id: Ide1f48cf04806234f637faea5edcd988403bafca
2022-03-14 20:17:22 +00:00
Gina Ko
18bd11a39e Refactor conditional to use DEVICE_IS_64BIT_ONLY
Bug: 218458605
Bug: 223622655
Signed-off-by: Gina Ko <yichunko@google.com>
Change-Id: Ia74ef39ab8433d036925a30217f49da8f6fd863b
2022-03-14 16:44:25 +00:00
Ben Murdoch
61bda99af9 handheld_core_hardware.xml should be included at device specific layer.
Bug: 223543820
Test: Manual, verify build artifacts
Change-Id: I22d8e3d599a4453fddc91541e622931ccd20f961
2022-03-14 10:45:06 +00:00
Eric Laurent
8c4393fcd7 Merge changes from topic "presubmit-am-36a18669628e494aa03061fbd2edd086" into sc-v2-dev-plus-aosp am: f2eebe6844
Original change: undetermined

Change-Id: Ia67361f3c9d38c3f35c6b62c0624ab5f97cf6dbe
2022-03-09 11:23:13 +00:00
Presubmit Automerger Backend
41f38b188c [automerge] Build with spatializer feature 2p: 9b73dc2c31
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17002491

Bug: 189423448
Change-Id: I7e694ecd7c2e2bef749f39b80990103e58f020b9
2022-03-08 15:25:29 +00:00
Alessio Balsini
48efd7d6bd FUSE-BPF: force disable sysprop flag
The FUSE-BPF feature has been enabled on some testing devices through
the system property flag "persist.sys.fuse.bpf.enable", but the flag
enabling change has been reverted as soon as failures has been reported.
Unfortunately, being the system property persistent, reverting the
enabling change is not sufficient to turn the feature down on devices
which already have it enabled, for which it has to be manually set to
"false".

Bug: 221812566
Test: getprop persist.sys.fuse.bpf.enable
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I87c93ddaefd79dfcf900eb2cbe2fe7518bf24755
2022-03-08 11:00:13 +00:00
Ytai Ben-Tsvi
9b73dc2c31 Build with spatializer feature
Build with Decibel spatializer library and enable spatial audio
feature

Bug: 189423448
Test: make.
Change-Id: Iff997d4100dcd2aabfdaf62b8abdba788cb9741c
2022-03-07 17:48:40 +01:00
Josh Wu
aad12bba4d Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-03-02 17:44:39 +00:00
Ankit Goyal
9a57dded37 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I8a36ecb0525d52022e1c21363a998cb0321bde7b
2022-03-02 01:56:58 +00:00
Alessio Balsini
a6530a8bf6 Revert "Use FUSE BPF by default"
This reverts commit fb8a0383e3.

Reason for revert: b/221093504

Change-Id: I808f9dd315ec7b57916385c64435808d3467a244
2022-02-25 20:11:45 +00:00
Alessio Balsini
fb8a0383e3 Use FUSE BPF by default
Enable the persist.sys.fuse.bpf.enable flag in the system configuration to
enable the FUSE BPF feature.
This feature has already been tested on Cuttlefish devices and no issues have
been detected yet.

Bug: 220151842
Bug: 202785178
Test: 'adb shell getprop | grep persist.sys.fuse.bpf.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: Ic4114fd23f6745992b513c0cf16d96aff73ad94a
2022-02-23 11:35:23 +00:00
Rick Chen
3fbbc5c703 Move sensor debug property to USF common folder.
Bug: 220215673
Test: lshal debug android.hardware.sensors@2.1::ISensors/default
      See sensor events output.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I2c206bd917f0997d2ce0c569b8f376897cff9863
(cherry picked from commit e69afb4814)
2022-02-23 02:10:08 +00:00
Robert Shih
2d94f8212b whitechapel: enable AIDL DRM HALs
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: I431554dcbef014f8235f048ee062a218a2131f9c
2022-02-23 01:08:17 +00:00
Jack Diver
42eba1b8e6 gs101: Add pixel_mali_soc config var
* Add gs101 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
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I8eceaf939f8c498b26a3df9b890c2b3848de9a99
2022-02-17 12:53:42 +00:00
Carter Hsu
c0ee644bda audio: update AUdioExt to 3.0
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I79b3fc0ecf9d7e5a6a860029da06deca36ba9573
2022-02-15 09:13:54 +00:00
Carter Hsu
8a44f52082 audio: Update Audio HIDL to 7.1
Bug: 205235270
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic54e2787ef27022556430c6c1db346b1e1348e39
2022-02-14 01:02:01 +00:00
weichinweng
fcd13c2a6c Align ASHA prop with BluetoothProperties am: 33f00feec1 am: 2eb5898ff5 am: 509789fe9c am: 06f1614c91
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1976974

Change-Id: I9f89a8c51c78e9aea571734f47573bc9fbbaa117
2022-02-11 03:15:33 +00:00
weichinweng
06f1614c91 Align ASHA prop with BluetoothProperties am: 33f00feec1 am: 2eb5898ff5 am: 509789fe9c
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1976974

Change-Id: I688eb358117ed993a07ef442c8f4a340fff030eb
2022-02-11 02:45:05 +00:00
weichinweng
509789fe9c Align ASHA prop with BluetoothProperties am: 33f00feec1 am: 2eb5898ff5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1976974

Change-Id: Id0d14edff51ab3b302a73d64fe8c70f0800f2793
2022-02-11 02:25:43 +00:00
Ankit Goyal
8b6040996b Remove outdated namespaces
Bug: 174232579
Test: Boots to home
Change-Id: I0df3cbf63bfa85bf092a973b3e5e10d8bdedb8ad
2022-02-11 00:52:54 +00:00
Ankit Goyal
9569216882 Update vulkan library name to vulkan.mali
Bug: 174232579
Test: Boots to home
Change-Id: I5d16d8b6215da49db49458f277da917385ec2052
2022-02-11 00:52:54 +00:00
weichinweng
33f00feec1 Align ASHA prop with BluetoothProperties
* Modify bluetooth.profile.asha.central to
  bluetooth.profile.asha.central.enabled

Tag: #feature
Test: manual
Bug: 211570675
Bug: 218454632
Change-Id: I04be495b881bfa3ed5b7a3a05f50d33e83743e35
2022-02-10 15:16:41 +00:00
Presubmit Automerger Backend
43dc7bc652 [automerge] Partial Revert "powerhint: remove powerhint.json for separating configs" 2p: feb6fd3e0f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16811163

Bug: 215655510
Change-Id: Iee95c52a8a69a3e3ab9f5f5a11d6069052f41b59
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:10 +00:00
Wei Wang
feb6fd3e0f Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
(cherry picked from commit 4a00d52966)
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:00 +00:00
Presubmit Automerger Backend
3569070df7 [automerge] powerhint: remove powerhint.json for separating configs 2p: eea7b26d08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16687457

Bug: 215655510
Change-Id: Idbbc763b97de7e123769fdc53547d72a7e83ddba
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:33 +00:00
Jimmy Shiu
eea7b26d08 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:24 +00:00
Kelvin Zhang
803fc9b494 Enable VABC xor on p21 devices
This is expected to reduce space requirements for OTA by 25%-40%
For more details see http://go/vabc-xor

Change-Id: Icb53bd27749c960a7738311c3a9c1d60c7b72abe
Test: th
2022-02-03 20:58:47 +00:00
Wei Wang
4a00d52966 Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-01-28 22:00:07 -08:00
Pat Tjin
a63220bcd1 Add tangor% to the pattern match
Some targets are using tangor_xxx and some use xxx_tangor,
cover both to avoid duplicate zygote props.

Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I43b18f6b5296f7b1575a8d5e817b3f2281dc1e1c
2022-01-28 00:48:26 +00:00
Jimmy Shiu
aa7f75a6c6 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-01-27 14:18:43 +00:00
Craig Dooley
a387c0f5c0 Export TARGET_BOARD_PLATFORM for AoC
Bug: 215535889
Change-Id: I03a3cfeaadb0fe60b7a56f99fa02334167b80e35
2022-01-26 19:13:00 +00:00
Etienne Ruffieux
9acb8c9976 Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f am: 0ba1150d9c
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: I7b19e99088243a48b1cd48472c78f4ee5fd8ce1d
2022-01-25 15:21:01 +00:00
Etienne Ruffieux
0ba1150d9c Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Ia9b527630b51453b176ac01dd1bf867ceac9e77b
2022-01-25 15:02:13 +00:00
Etienne Ruffieux
0f06739b7f Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Icd747ae44f7be923cef419a9d992212c3b5f3067
2022-01-25 14:44:55 +00:00
Etienne Ruffieux
1307232779 Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: I4e0c211b4a176fc9161b079d2799bfefbaf4651f
2022-01-25 09:47:04 +00:00
Badhri Jagan Sridharan
3c97a6bb68 Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Bug: 199357330
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-01-22 01:20:15 +00:00
Sasha Smundak
968f0e8f10 Use soong_config_ macros to set Soong config variables. am: 454cb66a74 am: db090bdc82
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1932105

Change-Id: I3d06f2ab16c451cfff5dbbc14283e9da7cdbce7f
2022-01-21 22:29:51 +00:00
Nicole Lee
920e1edc35 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: I1ec4386a31e175f8dfe8404cbfc70c221e51d71c
2022-01-21 10:56:51 +00:00
Cole Faust
db339d7ccb Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Remove BOARD_WITHOUT_DTLS"

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: Ibb34b7d0f36ffc1ddfa60fa8a23483891c89a78d
2022-01-14 02:43:01 +00:00
Pat Tjin
dae7d3ea02 Move tangor to 64-bit only
Bug: 213924541
Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I8e237ab1bf387608331375bee18dbf9b4912e5c1
2022-01-12 21:44:31 +00:00
Cole Faust
a3737c7b08 Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Bug: 201700692
Test: Verified ninja files are unchanged
Change-Id: Iee95550f4cec940e1d2535ba44f89126c3b04d68
2022-01-12 20:14:30 +00:00
Ankit Goyal
97d1b5aff0 Revert^4 "Add gralloc switch"
35de89e675

Change-Id: Ib8047a3a62674b4abc8501d00dd7a1138eaae2ea
2022-01-12 18:55:58 +00:00
Terry Huang
eed4ae2a53 Revert "Revert "[s5123][device] Change vendor telephony code path""
This reverts commit 479f361d77.

Reason for revert: Restore 16405845-t-codebase-seperate

Change-Id: Id7f5e8b7e4470416da0002768c3960e554c0cf6c
2022-01-11 08:54:47 +00:00
Cyan Hsieh
35de89e675 Revert^3 "Add gralloc switch"
9f0eac1cb9

Bug: 213540102
Change-Id: I7f7fe674cfcc6641dcaa9ac54f164adeb8c9fce8
2022-01-10 07:44:50 +00:00
Ankit Goyal
9f0eac1cb9 Revert^2 "Add gralloc switch"
9d9f9a7a54

Change-Id: Ie0681839ff3c961b58668cca97100b23b24cd218
2022-01-07 19:57:37 +00:00
Shubham Dubey
9d9f9a7a54 Revert "Add gralloc switch"
Revert "Namespace gralloc"

Revert "Add gralloc switch"

Revert "Namespace gralloc"

Revert "Namespace gralloc"

Revert "Gralloc - Update build rules with namespaces"

Revert "Gralloc - Update build rules with namespaces"

Revert "Namespace gralloc"

Revert submission 16356594-pixel-gralloc-build

Reason for revert: Breaks build_test2 target on master

BUGID: b/213540102

Reverted Changes:
Ia998ca7f1:Namespace gralloc
I644f46ade:Add gralloc switch
I3689a27c2:Namespace gralloc
Iea1bf2ce2:Clone gralloc4 to GrallocHAL
I083cfa4f0:Namespace gralloc4
If8c40cd13:Namespace gralloc
I464236fea:Namespace gralloc
Icaac6d24f:Add gralloc switch
I92b7212b8:Gralloc - Update build rules with namespaces
Ic8741d4ba:Gralloc - Update build rules with namespaces
I507cbbc73:Namespace gralloc

Change-Id: If196d063b0b3a6514e8c4941e1daf7da8b2face2
2022-01-07 15:25:17 +00:00