Expose USB-C to calls to getTemperatures() in ThermalHAL for wahoo.
Bug: 67749183
Test: VtsHalThermalV1_0TargetTest pass
Change-Id: Ic45dea1c990e0c71a6ac621145b93cb0f7aa9519
(cherry picked from commit 51872d4950)
If sensorservice goes down while folio_daemon is running, folio_daemon
will gracefully exit and restart. If sensorservice remains down while
folio_daemon is starting, it will eventually crash due to the way the
ASensorManager_getInstanceForPackage() API behaves (i.e., it will exit
with a SIGABRT after five minutes of waiting). We can reduce the
chance of this happening by ensuring folio_daemon is only started when
its dependent services are explicitly started as well.
Note that this cannot guarantee that folio_daemon will *never* crash due
to SIGABRT, since there is no variant of
ASensorManager_getInstanceForPackage() that allows for graceful handling
of the service timeout. Events that negatively affect the availability
of sensors are outside the control of folio_daemon.
Bug: 73555660
Test: loaded on walleye and tested with `stop` and `start` commands
Change-Id: I65e1b72745719f2540bff7cab8e556725486bcad
(cherry picked from commit 9ebb33ed13)
We disabled auto_hibern8 in kernel, so there's no sysfs entry for that.
Bug: 75004568
Bug: 66697973
Bug: 65535484
Change-Id: Iaa95c60435b74ffb97c103701515e9aa55946a91
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Currently, HIDL manifests files only support a single version of a HIDL
interface. Even though the Neural Networks API has defined and
implemented a 1.1 HAL, the only real driver (HVX service driver) is
currently only 1.0.
This problem is similar to that in b/73556059. Soon, HIDL will be able
to support multiple interface versions in the device manifest. Until
then, or until the HVX service driver is upgraded to 1.1, the manifest
will be changed to 1.0.
Bug: 74443090
Test: mma
Change-Id: I46811231dff92e136dfccb88e85b8ce70b89ac1d
* changes:
Remove regex and label the whole directory.
Remove unnecessary permissions.
Grant hal_bootctl permissions for new type.
Ensure taking a bugreport generates no denials.
libnfc-nci.conf shouldn't be a part of vendor image, since it is
accessed by libnfc-nci and Nfc application, both are part of system
image.
Test: Nfc enable/disable
Bug: 72080121
Change-Id: I686ba234c7d2aa923070c3fa980c56b73b18e574
(cherry picked from commit 3197b56882ed9997043d87e6582f6ebaa0fdbace)
The flag definition:
BOARD_USES_SDM845_BLUETOOTH_HAL := true
adds SDM845 Bluetooth components to the build:
vendor/qcom/sdm845/proprietary/bluetooth/hidl_transport/Android.mk
vendor/qcom/sdm845/proprietary/bt/hci_qcomm_init/Android.mk
and removes MSM8998 Bluetooth components from the build:
vendor/qcom/msm8998/prebuilts/grease/target/product/msm8998/Android.mk
vendor/qcom/msm8998/proprietary/proprietary/bt/hci_qcomm_init/Android.mk
Effectively, Walleye/Taimen switch to the same QCOM BT HAL as B1/C1.
Bug: 73968979
Test: Manual build and test with BT A2DP headphones
(cherry picked from commit 7c2dc1679d)
Change-Id: I4d6444932a807e573f6e8d88c6ad4ba4de8f277a
This is cleaner, as it allows us to remove a regex and label the
entire directory, and it will hopefully improve performance.
Bug: 74209458
Bug: 74366296
Test: Boot device, verify file labels, and test wifi and camera.
Test: Locally flashed OTA by following go/manual-ab-ota.
Test: Locally tested updated_verifier by following b/74366296#comment8.
Merged-In: I003dc949cf109cc63d75cee9515ef72cb9d0f055
Change-Id: I85f07b2fc8bfb472f25a66e32d3c7d746886535e
(cherry picked from commit 8a70f7ef1d)
... to fix the mixed build. Wahoo doesn't have audio 2.0
so this is expected to break VtsTrebleVintfTest, but this allows
the GSI + wahoo vendor image to build (because GSI falsely requires
audio 2.0 but wahoo only provides 4.0).
Test: checkvintf manifest.xml compatibility_matrix.legacy.xml
Bug: 74341777
Change-Id: I3403127ae13bb12d9266d9f467391a51b135e73d
Modules that can't be built in PDK are disabled when TARGET_BUILD_PDK is
true
Bug: 71361051
Test: lunch aosp_walleye-userdebug
PDK_FUSION_PLATFORM_ZIP=vendor/pdk/walleye/walleye-userdebug/platform/platform.zip m -j
Change-Id: I2cc7ab6d667daab7d3566baf8a9b473cafc4e452
Remove sysfs file permissions and use the generic type for
directories.
Bug:74213358
Test: Flash OTA.
Merged-In: I27a27972f01a273b4eb65d72dd8f2827c1a374af
Change-Id: I27a27972f01a273b4eb65d72dd8f2827c1a374af
(cherry picked from commit 278cab5f37)
This commit adds new SELinux permissions and neverallow rules so that
taking a bugreport does not produce any denials.
Bug: 73256908
Test: Captured bugreports and verified that there were no denials.
Merged-In: I84ed2be7438a4202d37ff91cb3846f491de29d70
Change-Id: I84ed2be7438a4202d37ff91cb3846f491de29d70
(cherry picked from commit d7854eb513)
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
Bug: 36796459
Test: succeeded building and tested on a taimen device
Change-Id: Iaf77c0b2fb15bf75c48f7cbe5d5bb96bdd6417fe
Merged-In: Iaf77c0b2fb15bf75c48f7cbe5d5bb96bdd6417fe
(cherry picked from commit 4e66b11f93)
Bug: 63911257
Test: mm
Test: cts binaries for sample drivers on walleye
Test: vts binaries for sample drivers on walleye
Change-Id: Ifc1f0381e5ac8d63152ad18635dafced10aadfe8
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.
Bug: 73990433
Test: manual
Change-Id: I1edadcc3be6d88cc07c599cba024babc5abe0633
It's causing surfaceflinger denials and does not exist on other
devices. Grant kernel read access to vendor/firmware's new type.
denied { search } for comm="surfaceflinger" name="firmware"
scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_firmware_file:s0
tclass=dir
denied { read } for comm="surfaceflinger" name="a530_pm4.fw"
scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0
tclass=file permissive=0
Test: boot Taimen without denials.
Bug: 68213100
Change-Id: I8b070a0aae59e12391c881cec8a46b6b4dbe1c67