Commit Graph

131 Commits

Author SHA1 Message Date
Arian
fceea59c74 msm8953-common: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2021-02-03 13:42:09 -03:00
dianlujitao
e2b506061a msm8953-common: Provide shim for libril-qc-hal-qmi.so
Change-Id: Ic5d732f3e98ba45c886db9646d6ef30eb0d42bf4
2021-02-03 13:42:09 -03:00
Mikhail Naganov
c9baa6479f msm8953-common: Switch to Audio HAL V6
Switch to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test on taimen and walleye

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2021-02-03 13:42:09 -03:00
Arian
16d2a7b1b2 msm8953-common: Remove usb hidl entry from manifest.xml
Change-Id: I105e682daec37c5663592b3955565d46cdbc6f11
2021-02-03 13:42:09 -03:00
Jimmy Chen
677cbd53fb msm8953-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-02-03 13:42:09 -03:00
Jimmy Chen
d5e10be172 msm8953-common: Move wpa_supplicant VINTF definition to wpa_supplicant module
Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51
2021-02-03 13:42:09 -03:00
Ahmed ElArabawy
5be3582c40 msm8953-common: wifi: Remove IWifi hidl entry from manifest.xml
This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Icaff93193e10d4953d9947d2739b05959ece79f1
2021-02-03 13:42:09 -03:00
Ahmed ElArabawy
4376e03175 msm8953-common: Wifi: Remove hostapd hidl entry from manifest.xml
This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2a9cb25209efc94f6306f38d89cb5e1ff6f72bed
2021-02-03 13:42:09 -03:00
LuK1337
780672cea2 msm8953-common: sepolicy: Label /persist
Change-Id: I471c0d1fedb51eabc32b54ab35a9823db8efd034
2021-02-03 13:42:09 -03:00
LuK1337
c7eb206752 msm8953-common: Fix host_init_verifier errors 2021-02-03 13:42:09 -03:00
Divya Sharma
cf84da3077 msm8953-common: load_system_props is deprecated and causes a build error.
Change-Id: I71df37c605ed805dc1f8bc2e626a33cf6818e9f7
2021-02-03 13:42:09 -03:00
Joshua Blanchard
afa5c28987 msm8953-common: persist_camera_prop -> vendor_persist_camera_prop
* Add vendor prefix to persist_camera_prop.

Change-Id: I228b4d1b1c7f0354b31c08ceb08202235f825acb
2021-02-03 13:42:09 -03:00
LuK1337
6e1a74106a msm8953-common: Switch vintf manifest from copy files to build targets
* Fixes:
  build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES

Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2021-02-03 13:42:09 -03:00
P.Adarsh Reddy
6401c73046 msm8953-common: Add build broken flags in BoardConfig.mk
BUILD_BROKEN_USES_BUILD_COPY_HEADERS

Change-Id: I7b115f5bb7990c438c595b4b1ff536598786d529
2021-02-03 13:42:09 -03:00
ix5
479f832aef msm8953-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2021-02-03 13:42:09 -03:00
jeangraff30
6395a3e605 msm8953-common: Import public native libraries
from deen_sprout:10/QPKS30.54-22-11
2021-02-03 13:42:09 -03:00
Davide Garberi
d60baee4fa msm8953-common: Build libhidltransport and libhwbinder
Change-Id: I1b4b255ce40c94e3bf2e6234b7280fc094a9270b
2021-02-03 13:42:09 -03:00
Steven Moreland
63e44f7f3e msm8953-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2021-02-03 13:42:06 -03:00
Joshua Blanchard
7f87f1f8a5 Revert "msm8953-common: Sign TimeService app with dedicated certificate"
* No longer present in qcom sepolicy

This reverts commit 9861958ee37d2090a5ac759f44b3ee83a2afcc0d.

Change-Id: Ib24bfa6acd5a1e1e3eefb369e4d59597fa50c858
2021-01-31 18:24:26 -03:00
Jorge Lucas
d096ccf818 msm8953-common: Add missing permission for /dev/pn544 2021-01-31 18:24:26 -03:00
Jorge Lucas
d9313a152a msm8953-common: Add DTV Support
- Add hidl to manifest
- Fix Sepolicy
- Add proper permissions for /dev/isdbt
2021-01-31 18:24:25 -03:00
Jorge Lucas
2478e765f5 msm8953-common: camera: Adress denials 2021-01-31 18:24:25 -03:00
Jorge Lucas
baeea07419 msm8953-common: Camera: Allow persist_camera_prop for cameraserver 2021-01-31 18:24:25 -03:00
Jorge Lucas
2cfc9fb07b msm8953-common: Add fingerprint perms for sanders/potter
Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
2021-01-31 18:24:25 -03:00
Jorge Lucas
498023ed68 msm8953-common: Import init.recovery.qcom.rc from CAF 2021-01-31 18:24:25 -03:00
CrisBalGreece
718e615a83 msm8953-common: add a vendor copy of com.qualcomm.qti.wifidisplayhal@1.0.so
* It turns out that wifidisplayhalservice also wants a copy of it
  and with VNDK current it cannot read the system copy.
* Without the vendor copy though, Miracast still works, but let's
  provide a vendor copy to fix this error from appearing  in  our
  logcat.

F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "com.qualcomm.qti.wifidisplayhal@1.0.so" not found

Change-Id: I700a4ba61089eae035e0af3ac3e23ea9c80a5cbc
2021-01-31 18:24:25 -03:00
jeangraff30
5d7dcdfc69 msm8953: kang light hal from moto msm8937 tree 2021-01-31 18:24:06 -03:00
Vachounet
d92733b312 msm8953-common: Add homebutton perms and address denials
Signed-off-by: trpsl <trpsl755@gmail.com>
2021-01-03 21:39:10 -03:00
Joshua Blanchard
20bb266be8 msm8953-common: Give audio hal access to prox and spkr calibration data
* Speaker (and receiver) calibration files are located on persist
  partition. Grant audio permission to find and read these files.

* Moto's libspeakerbundle needs access to the proximity sensor,
  so allow it to find sensorservice so MotSpeakerHelperProximity
  can instantiate SensorManager.

Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
2021-01-03 21:39:10 -03:00
Joshua Blanchard
42e6a9e1f8 msm8953-common: sepolicy: Allow camera to read and set calibration data
Change-Id: I9a3d852fd2ac4501f1b38c2660fef366e1f26e30
2021-01-03 21:39:10 -03:00
jeangraff30
8351fcaa10 msm8953-common: switch to Camera2 2020-12-28 20:12:09 -03:00
jeangraff30
c274deb5fb msm8953-common: decomonize camera@1.0-impl
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-28 20:12:09 -03:00
Nolen Johnson
eafd88e2a0 msm8953-common: Decomonize Audio HAL
* Let maintainers decide whether they go prebuilt or source built.
2020-12-28 20:12:09 -03:00
Erfan Abdi
75cbd48ef8 msm8953-common: Wrap libgui_vendor into libwui
Change-Id: Ifa25ec6a2aaf3855c24b2a3a46b80abb8501b189
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2020-12-28 20:12:09 -03:00
Jorge Lucas
80b2a909c9 msm8953-common: Switch to VNDK full runtime
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2020-12-28 20:12:09 -03:00
jeangraff30
a6eeb5ffa5 msm8953-common: decomonize prop cam 2020-12-28 20:12:09 -03:00
jeangraff30
106e3b7277 msm8953-common: add support for albus
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-10 20:31:01 -03:00
jeangraff30
29dcca4f37 msm8953-common: Switch to android.hardware.nfc 1.1 2020-11-22 23:58:03 -03:00
jeangraff30
f62f212def msm8953-common: add missing cryptfshw 2020-11-22 23:58:00 -03:00
jeangraff30
5e3516f0b7 msm8953-common: add missing sensors blob 2020-11-22 18:18:41 +01:00
Aayush Gupta
a791807e4d msm8953-common: Address denials regarding to access sysfs_kgsl
[   45.239076] type=1400 audit(1601312101.298:24): avc: denied { search } for comm="DefaultPool5" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.google.android.apps.maps

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
2020-11-22 18:17:13 +01:00
jeangraff30
43f04a3e8d msm8953-common: kang properties from sdm632 tree 2020-11-22 18:17:11 +01:00
jhenrique09
b71e1a0a79 msm8953-common: Fix portrait mode on moto cam
* Moto cam checks for hwrev prop to allow portrait mode
2020-11-19 20:50:32 +01:00
jeangraff30
801bebb861 Revert "msm8953-common: wifi: Enable 2.4GHz channel bonding"
This reverts commit 065548fb6e.
2020-11-16 03:49:51 +01:00
jeangraff30
c4b73d6758 msm8953-common: Update sepolicy 2020-11-16 03:49:48 +01:00
Erfan Abdi
6f64594d42 msm8953-common: Move egis_input sepolicy to genfs 2020-11-15 21:16:05 +01:00
trpsl
675d96b639 msm8953-common: Address Dolby denials
Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2020-11-15 21:16:05 +01:00
jeangraff30
d68a31c631 msm8953-common: sepolicy: Address light hal 2020-11-15 21:16:05 +01:00
jeangraff30
7535f9d5ae msm8953-common: Import sepolicy from sdm660 tree 2020-11-15 21:16:02 +01:00
trpsl
464b0ce482 msm8953-common: Add Moto Dolby 2020-11-15 21:15:16 +01:00