Commit Graph

96 Commits

Author SHA1 Message Date
Felix
566811d0f7 msm8953-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2021-03-05 15:28:16 +00:00
Kyle Lin
ced21791ef msm8953-common: Adjust dex2oat thread count after setup wizard
Test: Forrest appinstall test
Bug: 149395059
Change-Id: I9c5db865c616480b0f00629aba54e02b97bc4674
2021-03-05 15:28:16 +00:00
Pavan Kumar M
1b6c15c663 msm8953-common: Add permissions for RCS service
Add permissions to Rcs service to access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2021-03-05 15:28:16 +00:00
Ethan Chen
8d73c2f067 msm8953-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2021-03-05 15:28:16 +00:00
Ethan Chen
a54d87d166 msm8953-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2021-03-05 15:28:16 +00:00
David Sehr
c06de7f838 msm8953-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-03-05 15:28:16 +00:00
Kevin Chyn
062f4d7c7d msm8953-common: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-03-05 15:28:16 +00:00
vivekachooz
e8ab5eac6f msm8953-common: sepolicy: Allow camera hal to access ubwc property
vendor.video.disable.ubwc prop fails to read without this.

Change-Id: Ic0bd8e5b4a56a7e7776d7c57d4260aae4d957f64
2021-03-05 15:28:16 +00:00
Lucchetto
7ebebdc551 msm8953-common: Adapt libinit to Android 11
Change-Id: Ia6b6f753891b639dad4e380bdba6b594faf2a550
2021-02-03 13:42:09 -03:00
Roshan Pius
e9c28120b4 msm8953-common: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2021-02-03 13:42:09 -03:00
Martin Stjernholm
5dbec85823 msm8953-common: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
2021-02-03 13:42:09 -03:00
Nicolas Geoffray
26b32a3234 msm8953-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2021-02-03 13:42:09 -03:00
Robert Shih
7422cfbb7d msm8953-common: Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: I7453b035ca29c7ee889d03de0d55e6d947b3cb77
2021-02-03 13:42:09 -03:00
Yifan Hong
683258557d msm8953-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2021-02-03 13:42:09 -03:00
Ramakant Singh
324e5ceae8 msm8953-common: init: Add vendor prefix for shell
qti_init_shell renamed to
vendor_qti_init_shell

Change-Id: I4cfe1d8e15892a4948ece52aa799b2a60826d5f9
2021-02-03 13:42:09 -03:00
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