common: Add common QTI components

- To use this, set TARGET_COMMON_QTI_COMPONENTS := <components>.
   e.g. TARGET_COMMON_QTI_COMPONENTS := av bt perf
 - Configurations go inside qti-components/<component>/qti-<component>.mk
 - Blob list go in qti-components/<component>/proprietary-files.txt

Change-Id: I9868b02da59c69326f3587cf338187753955c1db
This commit is contained in:
TheStrix 2020-03-19 02:35:44 +05:30
parent 4cfb0a59d8
commit d0d9d95577
26 changed files with 938 additions and 2 deletions

View File

@ -1 +1,19 @@
include $(all-subdir-makefiles)
#
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH := $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH))

31
av/extract-files.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=av
export VENDOR=qcom/common
"./../extract-files.sh" "$@"

13
av/proprietary-files.txt Normal file
View File

@ -0,0 +1,13 @@
lib/libmmparser_lite.so
-lib/libqct_resampler.so
lib/extractors/libmmparserextractor.so
lib/libavenhancements.so
-lib/vendor.qti.hardware.audiohalext-utils.so
lib/libmmosal.so
-product/lib/vendor.qti.hardware.audiohalext@1.0.so
-product/lib64/vendor.qti.hardware.audiohalext@1.0.so
lib64/libmmparser_lite.so
lib64/extractors/libmmparserextractor.so
lib64/libavenhancements.so
-lib64/vendor.qti.hardware.audiohalext-utils.so
lib64/libmmosal.so

19
av/qti-av.mk Normal file
View File

@ -0,0 +1,19 @@
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Enable QCT resampler
AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/av/av-vendor.mk)

25
av/setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=av
export VENDOR=qcom/common
"./../setup-makefiles.sh" "$@"

31
bt/extract-files.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=bt
export VENDOR=qcom/common
"./../extract-files.sh" "$@"

2
bt/proprietary-files.txt Normal file
View File

@ -0,0 +1,2 @@
product/lib64/libaptXHD_encoder.so
product/lib64/libaptX_encoder.so

16
bt/qti-bt.mk Normal file
View File

@ -0,0 +1,16 @@
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/bt/bt-vendor.mk)

25
bt/setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=bt
export VENDOR=qcom/common
"./../setup-makefiles.sh" "$@"

View File

@ -1,5 +1,23 @@
#
# Copyright 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DEVICE_PATH := device/qcom/common
# include additional build utilities
include device/qcom/common/utils.mk
include $(DEVICE_PATH)/utils.mk
TARGET_COMPILE_WITH_MSM_KERNEL := true
TARGET_USES_QCOM_MM_AUDIO := true
@ -7,3 +25,24 @@ TARGET_USES_QCOM_MM_AUDIO := true
BOARD_USES_ADRENO := true
TARGET_USES_AOSP_FOR_AUDIO ?= false
# QTI common components
ifneq (,$(filter av, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(DEVICE_PATH)/av/qti-av.mk
endif
ifneq (,$(filter bt, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(DEVICE_PATH)/bt/qti-bt.mk
endif
ifneq (,$(filter perf, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(DEVICE_PATH)/perf/qti-perf.mk
endif
ifneq (,$(filter telephony, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(DEVICE_PATH)/telephony/qti-telephony.mk
endif
ifneq (,$(filter wfd, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(DEVICE_PATH)/wfd/qti-wfd.mk
endif

69
extract-files.sh Executable file
View File

@ -0,0 +1,69 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ROOT="${MY_DIR}"/../../..
HELPER="${ROOT}/vendor/pa/build/tools/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true
SECTION=
KANG=
while [ "${#}" -gt 0 ]; do
case "${1}" in
-n | --no-cleanup )
CLEAN_VENDOR=false
;;
-k | --kang )
KANG="--kang"
;;
-s | --section )
SECTION="${2}"; shift
CLEAN_VENDOR=false
;;
* )
SRC="${1}"
;;
esac
shift
done
if [ -z "${SRC}" ]; then
SRC="adb"
fi
# Initialize the helper for device
setup_vendor "${COMPONENT}" "${VENDOR}" "${ROOT}" false "${CLEAN_VENDOR}" "" true
extract "${MY_DIR}/${COMPONENT}/proprietary-files.txt" "${SRC}" \
"${KANG}" --section "${SECTION}"
"${MY_DIR}/setup-makefiles.sh"

31
perf/extract-files.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=perf
export VENDOR=qcom/common
"./../extract-files.sh" "$@"

View File

@ -0,0 +1,26 @@
-app/workloadclassifier/workloadclassifier.apk
bin/perfservice
etc/init/perfservice.rc
etc/perf/wlc_model.tflite
etc/permissions/com.qualcomm.qti.Performance.xml
etc/permissions/com.qualcomm.qti.UxPerformance.xml
-framework/QPerformance.jar
-framework/UxPerformance.jar
lib64/libdolphin.so
lib64/libqti-at.so
lib64/libqti-iopd-client_system.so
lib64/libqti-perfd-client_system.so
lib64/libqti_performance.so
lib64/libqti-util_system.so
lib64/libqti_workloadclassifiermodel.so
lib/libdolphin.so
lib/libqti-at.so
lib/libqti-iopd-client_system.so
lib/libqti-perfd-client_system.so
lib/libqti_performance.so
lib/libqti-util_system.so
lib/libqti_workloadclassifiermodel.so
product/lib64/vendor.qti.hardware.iop@2.0.so
product/lib64/vendor.qti.hardware.perf@2.0.so
product/lib/vendor.qti.hardware.iop@2.0.so
product/lib/vendor.qti.hardware.perf@2.0.so

20
perf/qti-perf.mk Normal file
View File

@ -0,0 +1,20 @@
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PRODUCT_BOOT_JARS += \
QPerformance \
UxPerformance
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/perf/perf-vendor.mk)

25
perf/setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=perf
export VENDOR=qcom/common
"./../setup-makefiles.sh" "$@"

44
setup-makefiles.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ROOT="${MY_DIR}/../../.."
HELPER="${ROOT}/vendor/pa/build/tools/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
# Initialize the helper for device
setup_vendor "${COMPONENT}" "${VENDOR}" "${ROOT}" false true "" true
# Copyright headers and guards
write_headers
# The standard common blobs
write_makefiles "${MY_DIR}/${COMPONENT}/proprietary-files.txt" true
# Finish
write_footers

31
telephony/extract-files.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=telephony
export VENDOR=qcom/common
"./../extract-files.sh" "$@"

View File

@ -0,0 +1,39 @@
<!-- Copyright (c) 2018, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="framework">
<!-- atfwd -->
<hal format="hidl">
<name>vendor.qti.hardware.radio.atcmdfwd</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IAtCmdFwd</name>
<instance>AtCmdFwdService</instance>
</interface>
</hal>
</manifest>

View File

@ -0,0 +1,213 @@
etc/cne/Nexus/ATT/ATT_profiles.xml
etc/cne/Nexus/ROW/ROW_profiles.xml
etc/cne/Nexus/VZW/VZW_profiles.xml
etc/permissions/privapp-permissions-qti.xml
etc/permissions/qcnvitems.xml
etc/permissions/qti_libpermissions.xml
etc/permissions/qti_permissions.xml
framework/ActivityExt.jar
framework/ConnectivityExt.jar
framework/oem-services.jar
-framework/qcnvitems.jar
-framework/tcmclient.jar
lib64/libmmrtpdecoder.so
lib64/libmmrtpencoder.so
lib64/libqmi_cci_system.so
lib/libmmrtpdecoder.so
lib/libmmrtpencoder.so
lib/libqmi_cci_system.so
-product/app/atfwd/atfwd.apk
-product/app/CallFeaturesSetting/CallFeaturesSetting.apk
-product/app/datastatusnotification/datastatusnotification.apk
-product/app/DeviceInfo/DeviceInfo.apk
-product/app/DynamicDDSService/DynamicDDSService.apk
-product/app/embms/embms.apk
-product/app/imssettings/imssettings.apk
-product/app/QtiSystemService/QtiSystemService.apk
-product/app/QtiTelephonyService/QtiTelephonyService.apk
-product/app/remotesimlockservice/remotesimlockservice.apk
-product/app/SimSettings/SimSettings.apk
-product/app/uceShimService/uceShimService.apk
-product/app/uimgbaservice/uimgbaservice.apk
-product/app/uimlpaservice/uimlpaservice.apk
-product/app/uimremoteclient/uimremoteclient.apk
-product/app/uimremoteserver/uimremoteserver.apk
product/bin/dpmd
product/etc/dpm/dpm.conf
product/etc/init/dpmd.rc
product/etc/permissions/com.qti.dpmframework.xml
product/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml
product/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml
product/etc/permissions/com.qualcomm.qti.imscmservice-V2.2-java.xml
product/etc/permissions/dpmapi.xml
product/etc/permissions/embms-noship_product_privapp_permissions_qti.xml
product/etc/permissions/embms.xml
product/etc/permissions/lpa.xml
product/etc/permissions/qcrilhook.xml
product/etc/permissions/RemoteSimlock.xml
product/etc/permissions/telephonyservice.xml
product/etc/permissions/uimremoteclient.xml
product/etc/permissions/uimremoteserver.xml
product/etc/permissions/UimService.xml
product/etc/permissions/vendor.qti.hardware.data.connection-V1.0-java.xml
product/framework/com.qti.dpmframework.jar
product/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar
product/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar
product/framework/com.qualcomm.qti.imscmservice-V2.2-java.jar
product/framework/com.qualcomm.qti.uceservice-V2.0-java.jar
product/framework/com.qualcomm.qti.uceservice-V2.1-java.jar
product/framework/com.quicinc.cne.api-V1.1-java.jar
product/framework/com.quicinc.cne.constants-V1.0-java.jar
product/framework/com.quicinc.cne.constants-V2.0-java.jar
product/framework/com.quicinc.cne.constants-V2.1-java.jar
product/framework/dpmapi.jar
product/framework/embmslibrary.jar
product/framework/qcrilhook.jar
product/framework/qti-telephony-common.jar
product/framework/QtiTelephonyServicelibrary.jar
product/framework/uimlpalibrary.jar
product/framework/uimremoteclientlibrary.jar
product/framework/uimremoteserverlibrary.jar
product/framework/uimremotesimlocklibrary.jar
product/framework/uimservicelibrary.jar
product/framework/vendor.qti.data.factory-V1.0-java.jar
product/framework/vendor.qti.data.factory-V2.0-java.jar
product/framework/vendor.qti.data.factory-V2.1-java.jar
product/framework/vendor.qti.hardware.data.cne.internal.api-V1.0-java.jar
product/framework/vendor.qti.hardware.data.cne.internal.constants-V1.0-java.jar
product/framework/vendor.qti.hardware.data.connection-V1.0-java.jar
product/framework/vendor.qti.hardware.data.connection-V1.1-java.jar
product/framework/vendor.qti.hardware.data.dynamicdds-V1.0-java.jar
product/framework/vendor.qti.hardware.data.iwlan-V1.0-java.jar
product/framework/vendor.qti.hardware.data.latency-V1.0-java.jar
product/framework/vendor.qti.hardware.data.qmi-V1.0-java.jar
product/framework/vendor.qti.ims.callinfo-V1.0-java.jar
product/framework/vendor.qti.ims.rcsconfig-V1.0-java.jar
product/framework/vendor.qti.latency-V2.0-java.jar
product/lib64/com.qualcomm.qti.dpm.api@1.0.so
product/lib64/com.qualcomm.qti.imscmservice@1.0.so
product/lib64/com.qualcomm.qti.imscmservice@2.0.so
product/lib64/com.qualcomm.qti.imscmservice@2.1.so
product/lib64/com.qualcomm.qti.imscmservice@2.2.so
product/lib64/com.qualcomm.qti.uceservice@2.0.so
product/lib64/com.qualcomm.qti.uceservice@2.1.so
product/lib64/com.quicinc.cne.api@1.0.so
product/lib64/com.quicinc.cne.api@1.1.so
product/lib64/com.quicinc.cne.constants@1.0.so
product/lib64/com.quicinc.cne.constants@2.0.so
product/lib64/com.quicinc.cne.constants@2.1.so
product/lib64/libdiag_system.so
product/lib64/libdpmctmgr.so
product/lib64/libdpmfdmgr.so
product/lib64/libdpmframework.so
product/lib64/libdpmtcm.so
product/lib64/libimscamera_jni.so
product/lib64/libimsmedia_jni.so
product/lib64/lib-imsvideocodec.so
product/lib64/lib-imsvtextutils.so
product/lib64/lib-imsvt.so
product/lib64/lib-imsvtutils.so
product/lib64/libqmi_cci_system.so
product/lib64/libtrigger-handler.so
product/lib64/libupdateprof.qti.so
product/lib64/vendor.qti.data.factory@1.0.so
product/lib64/vendor.qti.data.factory@2.0.so
product/lib64/vendor.qti.data.factory@2.1.so
product/lib64/vendor.qti.hardware.data.cne.internal.api@1.0.so
product/lib64/vendor.qti.hardware.data.cne.internal.constants@1.0.so
product/lib64/vendor.qti.hardware.data.cne.internal.server@1.0.so
product/lib64/vendor.qti.hardware.data.connection@1.0.so
product/lib64/vendor.qti.hardware.data.dynamicdds@1.0.so
product/lib64/vendor.qti.hardware.data.iwlan@1.0.so
product/lib64/vendor.qti.hardware.data.latency@1.0.so
product/lib64/vendor.qti.hardware.data.qmi@1.0.so
product/lib64/vendor.qti.hardware.radio.am@1.0.so
product/lib64/vendor.qti.hardware.radio.ims@1.0.so
product/lib64/vendor.qti.hardware.radio.ims@1.1.so
product/lib64/vendor.qti.hardware.radio.ims@1.2.so
product/lib64/vendor.qti.hardware.radio.ims@1.3.so
product/lib64/vendor.qti.hardware.radio.ims@1.4.so
product/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
product/lib64/vendor.qti.hardware.radio.lpa@1.0.so
product/lib64/vendor.qti.hardware.radio.qcrilhook@1.0.so
product/lib64/vendor.qti.hardware.radio.qtiradio@1.0.so
product/lib64/vendor.qti.hardware.radio.qtiradio@2.0.so
product/lib64/vendor.qti.hardware.radio.qtiradio@2.1.so
product/lib64/vendor.qti.hardware.radio.qtiradio@2.2.so
product/lib64/vendor.qti.hardware.radio.qtiradio@2.3.so
product/lib64/vendor.qti.hardware.radio.qtiradio@2.4.so
product/lib64/vendor.qti.hardware.radio.uim@1.0.so
product/lib64/vendor.qti.hardware.radio.uim@1.1.so
product/lib64/vendor.qti.hardware.radio.uim@1.2.so
product/lib64/vendor.qti.hardware.radio.uim_remote_client@1.0.so
product/lib64/vendor.qti.hardware.radio.uim_remote_client@1.1.so
product/lib64/vendor.qti.hardware.radio.uim_remote_client@1.2.so
product/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
product/lib64/vendor.qti.imsrtpservice@2.0.so
product/lib64/vendor.qti.imsrtpservice@2.1.so
product/lib64/vendor.qti.latency@2.0.so
product/lib/com.qualcomm.qti.dpm.api@1.0.so
product/lib/com.qualcomm.qti.imscmservice@1.0.so
product/lib/com.qualcomm.qti.imscmservice@2.0.so
product/lib/com.qualcomm.qti.imscmservice@2.1.so
product/lib/com.qualcomm.qti.imscmservice@2.2.so
product/lib/com.qualcomm.qti.uceservice@2.0.so
product/lib/com.qualcomm.qti.uceservice@2.1.so
product/lib/com.quicinc.cne.api@1.0.so
product/lib/com.quicinc.cne.api@1.1.so
product/lib/com.quicinc.cne.constants@1.0.so
product/lib/com.quicinc.cne.constants@2.0.so
product/lib/com.quicinc.cne.constants@2.1.so
product/lib/libdiag_system.so
product/lib/libdpmctmgr.so
product/lib/libdpmfdmgr.so
product/lib/libdpmframework.so
product/lib/libdpmtcm.so
product/lib/libimscamera_jni.so
product/lib/libimsmedia_jni.so
product/lib/lib-imsvideocodec.so
product/lib/lib-imsvtextutils.so
product/lib/lib-imsvt.so
product/lib/lib-imsvtutils.so
product/lib/libtrigger-handler.so
product/lib/libupdateprof.qti.so
product/lib/vendor.qti.data.factory@1.0.so
product/lib/vendor.qti.data.factory@2.0.so
product/lib/vendor.qti.data.factory@2.1.so
product/lib/vendor.qti.hardware.data.cne.internal.api@1.0.so
product/lib/vendor.qti.hardware.data.cne.internal.constants@1.0.so
product/lib/vendor.qti.hardware.data.cne.internal.server@1.0.so
product/lib/vendor.qti.hardware.data.connection@1.0.so
product/lib/vendor.qti.hardware.data.dynamicdds@1.0.so
product/lib/vendor.qti.hardware.data.iwlan@1.0.so
product/lib/vendor.qti.hardware.data.latency@1.0.so
product/lib/vendor.qti.hardware.data.qmi@1.0.so
product/lib/vendor.qti.hardware.radio.am@1.0.so
product/lib/vendor.qti.hardware.radio.ims@1.0.so
product/lib/vendor.qti.hardware.radio.ims@1.1.so
product/lib/vendor.qti.hardware.radio.ims@1.2.so
product/lib/vendor.qti.hardware.radio.ims@1.3.so
product/lib/vendor.qti.hardware.radio.ims@1.4.so
product/lib/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
product/lib/vendor.qti.hardware.radio.lpa@1.0.so
product/lib/vendor.qti.hardware.radio.qcrilhook@1.0.so
product/lib/vendor.qti.hardware.radio.qtiradio@1.0.so
product/lib/vendor.qti.hardware.radio.qtiradio@2.0.so
product/lib/vendor.qti.hardware.radio.qtiradio@2.1.so
product/lib/vendor.qti.hardware.radio.qtiradio@2.2.so
product/lib/vendor.qti.hardware.radio.qtiradio@2.3.so
product/lib/vendor.qti.hardware.radio.qtiradio@2.4.so
product/lib/vendor.qti.hardware.radio.uim@1.0.so
product/lib/vendor.qti.hardware.radio.uim@1.1.so
product/lib/vendor.qti.hardware.radio.uim@1.2.so
product/lib/vendor.qti.hardware.radio.uim_remote_client@1.0.so
product/lib/vendor.qti.hardware.radio.uim_remote_client@1.1.so
product/lib/vendor.qti.hardware.radio.uim_remote_client@1.2.so
product/lib/vendor.qti.hardware.radio.uim_remote_server@1.0.so
product/lib/vendor.qti.imsrtpservice@2.0.so
product/lib/vendor.qti.imsrtpservice@2.1.so
product/lib/vendor.qti.latency@2.0.so
-product/priv-app/dpmserviceapp/dpmserviceapp.apk
-product/priv-app/ims/ims.apk
-product/priv-app/QAS_DVC_MSP/QAS_DVC_MSP.apk
-product/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk

View File

@ -0,0 +1,18 @@
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
DEVICE_FRAMEWORK_MANIFEST_FILE += device/qcom/common/qti-components/telephony/framework_manifest.xml
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/telephony/telephony-vendor.mk)

25
telephony/setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=telephony
export VENDOR=qcom/common
"./../setup-makefiles.sh" "$@"

31
wfd/extract-files.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=wfd
export VENDOR=qcom/common
"./../extract-files.sh" "$@"

View File

@ -0,0 +1,39 @@
<!-- Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="framework">
<!--Sigma hal-->
<hal format="hidl">
<name>vendor.qti.hardware.sigma_miracast</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>Isigma_miracast</name>
<instance>sigmahal</instance>
</interface>
</hal>
</manifest>

52
wfd/proprietary-files.txt Normal file
View File

@ -0,0 +1,52 @@
bin/wfdservice
etc/init/wfdservice.rc
etc/wfdconfigsink.xml
-framework/WfdCommon.jar
lib64/libFileMux.so
lib64/libmiracastsystem.so
lib64/libmmrtpdecoder.so
lib64/libmmrtpencoder.so
lib64/libOmxMux.so
lib64/libwfdclient.so
lib64/libwfdcommonutils.so
lib64/libwfdconfigutils.so
lib64/libwfdmminterface.so
lib64/libwfdmmsink.so
lib64/libwfdnative.so
lib64/libwfdrtsp.so
lib64/libwfdsinksm.so
lib64/libwfdsm.so
lib64/libwfduibcinterface.so
lib64/libwfduibcsinkinterface.so
lib64/libwfduibcsink.so
lib64/libwfduibcsrcinterface.so
lib64/libwfduibcsrc.so
lib64/vendor.qti.hardware.sigma_miracast@1.0-halimpl.so
lib/com.qualcomm.qti.wifidisplayhal@1.0.so
lib/libFileMux.so
lib/libmiracastsystem.so
lib/libmmrtpdecoder.so
lib/libmmrtpencoder.so
lib/libOmxMux.so
lib/libwfdavenhancements.so
lib/libwfdclient.so
lib/libwfdcommonutils.so
lib/libwfdconfigutils.so
lib/libwfdmminterface.so
lib/libwfdmmsink.so
lib/libwfdmmsrc_system.so
lib/libwfdrtsp.so
lib/libwfdservice.so
lib/libwfdsinksm.so
lib/libwfdsm.so
lib/libwfduibcinterface.so
lib/libwfduibcsinkinterface.so
lib/libwfduibcsink.so
lib/libwfduibcsrcinterface.so
lib/libwfduibcsrc.so
lib/vendor.qti.hardware.sigma_miracast@1.0-halimpl.so
-priv-app/WfdService/WfdService.apk
product/lib64/vendor.qti.hardware.sigma_miracast@1.0.so
product/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so
product/lib/vendor.qti.hardware.sigma_miracast@1.0.so
product/lib/vendor.qti.hardware.wifidisplaysession@1.0.so

29
wfd/qti-wfd.mk Normal file
View File

@ -0,0 +1,29 @@
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
DEVICE_FRAMEWORK_MANIFEST_FILE += device/qcom/common/qti-components/wfd/framework_manifest.xml
PRODUCT_PACKAGES += \
libnl \
libwfdaac
PRODUCT_BOOT_JARS += \
WfdCommon
PRODUCT_PROPERTY_OVERRIDES += \
persist.debug.wfd.enable=1 \
persist.sys.wfd.virtual=0
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/wfd/wfd-vendor.mk)

25
wfd/setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=wfd
export VENDOR=qcom/common
"./../setup-makefiles.sh" "$@"