Commit graph

455 commits

Author SHA1 Message Date
Ray Chi
a5f995d2f6 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: 194346886
Test: build pass
Change-Id: Iea0aed110183d9583db00d9b182d351de41573cd
2022-05-04 09:43:58 +08:00
Sal Savage
249302343c Merge "Use the ?= operator so BT properties can be overridden" am: e4a5a19b77
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2079814

Change-Id: I8292a770a5296c9705b26f1b72f8187025b30982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 00:09:08 +00:00
Sal Savage
a14326cf30 Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-04-29 02:04:11 +00:00
Sal Savage
0eea03d28a Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Merged-In: I45b1786f5556ba3e7d493ea17dc955cd317a1156
Change-Id: I45b1786f5556ba3e7d493ea17dc955cd317a1156
2022-04-28 14:17:27 -07:00
Alec Mouri
36c1e08127 Force gs101 to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: I2910f9d025ca6a6f3e73544e8f14346cfb0bc177
2022-04-28 20:37:45 +00:00
Sal Savage
3cb7308fd5 Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: I45b1786f5556ba3e7d493ea17dc955cd317a1156
2022-04-28 19:45:14 +00:00
Treehugger Robot
61384462ac Merge "Migrate IUsb implementation to AIDL" am: 798dbb39f5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2045080

Change-Id: Ie660c0cf4ab12717445ea26ed6cedccfa762dc5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:39:58 +00:00
Treehugger Robot
798dbb39f5 Merge "Migrate IUsb implementation to AIDL" 2022-04-27 16:21:29 +00:00
Sal Savage
79671e4a0f Update LE Audio profile properties to match spec and implementation am: 4e33220086
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2072118

Change-Id: I603b3899dfa54e8291ab87f7d4978288328ca6c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 21:48:34 +00:00
Sal Savage
4e33220086 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I5699914c673f4bdaeabef128ff94122bf1963f97
Change-Id: I5699914c673f4bdaeabef128ff94122bf1963f97
2022-04-22 22:59:25 +00:00
Sal Savage
2e7610e4d3 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I5699914c673f4bdaeabef128ff94122bf1963f97
2022-04-22 22:06:39 +00:00
Sal Savage
61d84ceb4a Enable bluetooth profiles with product.prop am: 3f9ed7fc84
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2060600

Change-Id: I389d076b7ed9fd61409678fe09bbe2c0a01c1fc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18 21:40:05 +00:00
Sal Savage
3f9ed7fc84 Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Merged-In: Id96e675bd0bc162329264c935d4418c0c6a52390
Change-Id: Id96e675bd0bc162329264c935d4418c0c6a52390
2022-04-12 13:06:22 -07:00
Eric Laurent
5fd61fc6ad [automerge] Revert "Build with spatializer feature" 2p: 1d5d80bcf7 am: 75797f2dc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17655078

Change-Id: Iff7f52350c254f63653636d009d30dc80bba5c57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 08:30:45 +00:00
Paul Thomson
6dda8feffc Update dEQP level to 2022
Bug: b/228449928
Change-Id: Ie939c26ab5412b29f9a1d7c3a5f938854d2b1253
2022-04-11 21:13:31 +00:00
Eric Laurent
75797f2dc9 [automerge] Revert "Build with spatializer feature" 2p: 1d5d80bcf7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17655078

Bug: 223736548
Change-Id: I56b07b6ed8bbaa5efeadb5f50a1a0d1bdefa2ea9
2022-04-08 14:36:37 +00:00
Eric Laurent
1d5d80bcf7 Revert "Build with spatializer feature"
Bug: 223736548
Test: make

This reverts commit 8e6ff8503d.

Change-Id: I0c03e3b62452b92a015e13c28292e93134c294a9
2022-04-08 16:07:50 +02:00
Sal Savage
52c99f6b72 Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Id96e675bd0bc162329264c935d4418c0c6a52390
2022-04-05 16:09:24 -07:00
Eric Laurent
9e1de421e6 Revert "Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e""
This reverts commit 2dc3c4cb18.

Reason for revert: Spatial audio demo

Change-Id: Ia3288900ca86f9555750c469385f365031d989f4
2022-04-01 18:51:54 +00:00
Eric Laurent
2dc3c4cb18 Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e"
This reverts commit 6618135690.

Reason for revert: Spatial audio demo

Change-Id: Ie44a31102cc6e335eaf922fa7c42c944a60b0920
2022-03-30 18:02:56 +00:00
Presubmit Automerger Backend
6618135690 [automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17435542

Change-Id: I598c374685ab2e891054167fc0c69e8fe4fbcac5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 17:37:26 +00:00
Presubmit Automerger Backend
95c69ea86e [automerge] Disable spatial audio feature 2p: 68f33d6043
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17435542

Bug: 225119469
Change-Id: I8e22f367c4815081e403f3f5c3d6be0b2928e193
2022-03-29 14:10:50 +00:00
Eric Laurent
68f33d6043 Disable spatial audio feature
Bug: 225119469
Test: verify MP3 offload
Change-Id: I6a8956ed8a0873cd2426c6a81d79452cc1f5b78f
2022-03-28 20:14:16 +02:00
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
Badhri Jagan Sridharan
3604f56e5e 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
Merged-In: I02753af4a41916b77ce110f9531504bf8c6a4691
(cherry picked from commit 3c97a6bb68)
2022-03-28 17:00:28 +08: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
Ytai Ben-Tsvi
8e6ff8503d Build with spatializer feature
Build with Decibel spatializer library and enable spatial audio
feature

Bug: 189423448
Test: make.
Change-Id: Iff997d4100dcd2aabfdaf62b8abdba788cb9741c
2022-03-09 10:00:08 +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
Xin Li
6ea7e8b035 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Ife2ff971eaeda2b132658ca2704bf1edde6fd80a
Change-Id: Ic1617d8e3b1aac8c2acc2c483b1347431e911a1e
2022-02-11 07:10:27 +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