HALs are only allow to access files in /data/vendor starting
in Pi. Change SELinux policy to move data from /data/mediadrm
to /data/vendor/mediadrm.
Test: Play Movies & TV, Netflix
Ensure offline playback works after the move.
bug: 36601695
Change-Id: Ie7ed580036fe0b6113eb4c39210e90dc08478230
Taimen and Walleye are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.
Bug: 68012286
Test: lunch aosp_taimen; make -j
lunch aosp_walleye; make -j
Change-Id: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
Merged-In: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
(cherry picked from commit 2195c105e5)
We expect all files under /sys/class/rtc to be labeled sysfs_rtc.
/sys/class/rtc/rtc0 is a symlink to
/sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-00/800f000.qcom,spmi:qcom,pm8998@0:qcom,pm8998_rtc/rtc/rtc0
Bug: 68018685
Test: walleye boots with no denials to /sys/class/rtc/*.
Change-Id: Iacf2b55ae365661be29016729d5517403ff6e9a1
thermal-engine, which is a proprietary module for msm8998, is now
statically linking to this library.
Bug: 70551668
Test: walleye is buildable and boots to the UI
Merged-In: I1417a9632f89869f2f8e3dc786c3f1c9fae9e45a
Change-Id: I1417a9632f89869f2f8e3dc786c3f1c9fae9e45a
(cherry picked from commit 787a4648f2)
Replace it with FCM Version = 2, specified explicitly
in device manifest.
Test: builds
Bug: 69636193
Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
thermal-engine access to sysfs_batteryinfo.
Bug: 65643247
Bug: 70275668
Test: device boots with no denial to sysfs_batteryinfo or
sysfs_msm_subsys.
Change-Id: I09fd4057282236edfabc43fd2b4209fcee4e8332
The following symlinks are under /sys/class/net:
/sys/class/net/p2p0 -> /sys/devices/soc/18800000.qcom,icnss/net/p2p0
/sys/class/net/wlan0 -> /sys/devices/soc/18800000.qcom,icnss/net/wlan0
and we expect everything under /sys/class/net to be labeled sysfs_net.
Bug: 65643247
Test: netd_integration_test
Test: can browse internet without denials to sysfs_net
Change-Id: Ie92ac36b34f86847aaaef2199b9f3aaae05d991b
Bug: 69386746
Test: On master, able to connect to CHRE Daemon without
using adb shell setenforce 0
Change-Id: I590e495e4f032d8928ea1aa8264a285e1d424078
Add sepolicy for this operation, and update sepolicy to allow
collecting batteryinfo in bugreport for user builds.
Bug: 70094701, 70094083
Test: Take bugreport, verify battery type is present
Change-Id: Id67776301e2ed39a283a08483ac5eb8125aba96b
In order to enable debugging of power issues on 'user' builds, we need
to capture rpm stats and wifi power stats from debugfs. Allow this
for user builds.
Bug: 69003183
Test: Verify rpm & wifi power stats are present in bugreport
Change-Id: If9754137f9331832d055ee39d3fd3d5ec79cfc15
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug: 34980020
Test: Use wifi and wifi tethering on Taimen
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
Commit 611c3d70a "Move hal_bootctl rules to hal_bootctl_default"
breaks sideloading OTAs. It was introduced to fix a CTS regression
due to overly broad access to the vendor-owned misc_block partition.
The change also did a refactor of permissions for the bootctl HAL.
The fix leaves the one-line CTS fix in place and reverts the rest of
the refactor. This results in no change in permissions for the recovery
process which is already granted access to the misc_block partion in
core policy. "allow recovery dev_type:blk_file rw_file_perms;"
Bug: 69566734
Test: adb sideload ota
Change-Id: I67504482b166e1cf278be213e42bfde2ddfa6e67