From 49060855b3f40ac896f771f8e6cd341a16fd7c48 Mon Sep 17 00:00:00 2001 From: Valera1978 Date: Fri, 6 Dec 2019 13:33:45 +0300 Subject: [PATCH] update interfaces --- BoardConfig.mk | 3 +- configs/framework_manifest.xml | 39 +++ configs/manifest.xml | 32 +-- .../vendor_framework_compatibility_matrix.xml | 263 ------------------ device.mk | 14 +- 5 files changed, 55 insertions(+), 296 deletions(-) create mode 100644 configs/framework_manifest.xml delete mode 100644 configs/vendor_framework_compatibility_matrix.xml diff --git a/BoardConfig.mk b/BoardConfig.mk index 7620591..7065248 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -148,8 +148,7 @@ TARGET_HW_DISK_ENCRYPTION := true TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs # HIDL -DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/configs/vendor_framework_compatibility_matrix.xml -#DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/configs/framework_manifest.xml +DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/configs/framework_manifest.xml DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/configs/manifest.xml DEVICE_MATRIX_FILE := $(DEVICE_PATH)/configs/compatibility_matrix.xml diff --git a/configs/framework_manifest.xml b/configs/framework_manifest.xml new file mode 100644 index 0000000..b2276a5 --- /dev/null +++ b/configs/framework_manifest.xml @@ -0,0 +1,39 @@ + + + + + vendor.qti.hardware.radio.atcmdfwd + hwbinder + 1.0 + + IAtCmdFwd + AtCmdFwdService + + + diff --git a/configs/manifest.xml b/configs/manifest.xml index 5098f3d..b9037a3 100755 --- a/configs/manifest.xml +++ b/configs/manifest.xml @@ -64,7 +64,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.bluetooth - passthrough + hwbinder 1.0 IBluetoothHci @@ -173,7 +173,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.light - passthrough + hwbinder 2.0 ILight @@ -204,7 +204,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.power - passthrough + hwbinder 1.2 IPower @@ -244,25 +244,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.sensors - passthrough + hwbinder 1.0 ISensors default - android.hardware.soundtrigger - passthrough + hwbinder 2.1 ISoundTriggerHw @@ -296,15 +287,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. default - - android.hardware.usb.gadget - passthrough - 1.0 - - IUsbGadget - default - - android.hardware.vibrator hwbinder @@ -395,7 +377,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. default - + vendor.lineage.trust hwbinder diff --git a/configs/vendor_framework_compatibility_matrix.xml b/configs/vendor_framework_compatibility_matrix.xml deleted file mode 100644 index 4753814..0000000 --- a/configs/vendor_framework_compatibility_matrix.xml +++ /dev/null @@ -1,263 +0,0 @@ - - - - vendor.qti.hardware.perf - 1.0 - - IPerf - default - - - - vendor.display.color - 1.0-2 - - IDisplayColor - default - - - - vendor.display.postproc - 1.0 - - IDisplayPostproc - default - - - - vendor.display.config - 1.0-4 - - IDisplayConfig - default - - - - vendor.qti.hardware.qteeconnector - 1.0 - - IAppConnector - default - - - IGPAppConnector - default - - - - vendor.qti.hardware.factory - 1.0 - - IFactory - default - - - - com.qualcomm.qti.ant - 1.0 - - IAntHci - default - - - - com.qualcomm.qti.bluetooth_audio - 1.0 - - IBluetoothAudio - default - - - - com.qualcomm.qti.wifidisplayhal - 1.0 - - IHDCPSession - wifidisplayhdcphal - - - IDSManager - wifidisplaydshal - - - - android.hardware.gnss - 1.0-1 - - IGnss - default - - - - vendor.qti.hardware.alarm - 1.0 - - IAlarm - default - - - - vendor.qti.hardware.fm - 1.0 - - IFmHci - default - - - - vendor.qti.hardware.iop - 2.0 - - IIop - default - - - - vendor.qti.hardware.qdutils_disp - 1.0 - - IQdutilsDisp - default - - - - vendor.qti.hardware.sensorscalibrate - 1.0 - - ISensorsCalibrate - default - - - - vendor.qti.hardware.soter - 1.0 - - ISoter - default - - - - vendor.qti.hardware.tui_comm - 1.0 - - ITuiComm - default - - - - vendor.qti.hardware.vpp - 1.0-1 - - IHidlVppService - vppService - - - - android.hardware.wifi.supplicant - 1.0 - - ISupplicant - default - - - - vendor.qti.hardware.wigig.netperftuner - 1.0 - - INetPerfTuner - default - - - - vendor.qti.hardware.wigig.supptunnel - 1.0 - - ISuppTunnelProvider - default - - - - -vendor.qti.imsrtpservice - 1.0 - - IRTPService - imsrtpservice - - - - vendor.qti.voiceprint - 1.0 - - IQtiVoicePrintService - default - - - - android.hardware.gnss - 1.0 - - IGnss - gnss_vendor - - - - vendor.qti.gnss - 1.0-2 - 2.0 - - ILocHidlGnss - gnss_vendor - - - - vendor.qti.hardware.wifi.supplicant - 2.0 - - ISupplicantVendor - default - - - - vendor.qti.hardware.wifi.hostapd - 1.0 - - IHostapdVendor - default - - - - vendor.qti.data.factory - 1.0 - - IFactory - default - - - diff --git a/device.mk b/device.mk index 8f9f6d2..b0cc387 100755 --- a/device.mk +++ b/device.mk @@ -198,7 +198,7 @@ PRODUCT_PACKAGES += \ # Fingerprint PRODUCT_PACKAGES += \ - android.hardware.biometrics.fingerprint@2.1-service + android.hardware.biometrics.fingerprint@2.1-service.samsung # For config.fs PRODUCT_PACKAGES += \ @@ -283,12 +283,11 @@ PRODUCT_PACKAGES += \ # Lights PRODUCT_PACKAGES += \ - android.hardware.light@2.0-impl \ - lights.MSM8996 + android.hardware.light@2.0-service.samsung # LiveDisplay PRODUCT_PACKAGES += \ - vendor.lineage.livedisplay@2.0-service-sdm + vendor.lineage.livedisplay@2.0-service.samsung-qcom # Media PRODUCT_COPY_FILES += \ @@ -383,6 +382,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ textclassifier.bundle1 +# Touch features +PRODUCT_PACKAGES += \ + vendor.lineage.touch@1.0-service.samsung + # Trust HAL PRODUCT_PACKAGES += \ vendor.lineage.trust@1.0-service @@ -401,8 +404,7 @@ PRODUCT_PACKAGES += \ # Vibrator PRODUCT_PACKAGES += \ - android.hardware.vibrator@1.0-impl \ - android.hardware.vibrator@1.0-service + android.hardware.vibrator@1.0-service.lineage # WiFi PRODUCT_PACKAGES += \