Commit 7f56dfdd authored by Luca Stefani's avatar Luca Stefani Committed by Kevin F. Haggerty
Browse files

sm6150-common: Add QC location support

Change-Id: If363679650179a0a7fad7b01055760b49caf26ca
parent a9e0fdbb
......@@ -254,6 +254,18 @@ LOCAL_MODULE_SUFFIX := .apk
LOCAL_PRIVILEGED_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := com.qualcomm.location
LOCAL_MODULE_OWNER := xiaomi
LOCAL_SRC_FILES := proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk
LOCAL_CERTIFICATE := platform
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_DEX_PREOPT := false
LOCAL_MODULE_SUFFIX := .apk
LOCAL_PRIVILEGED_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := dpmserviceapp
LOCAL_MODULE_OWNER := xiaomi
......
<?xml version="1.0" encoding="utf-8"?>
<!---/******************************************************************************
* @file com.qti.location.sdk.xml
* @brief configuration file for permission mapping and library publishing
* Copyright (c) 2015 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
* *****************************************************************************-->
<permissions>
<library name="com.qti.location.sdk" file="/system/framework/com.qti.location.sdk.jar"/>
</permissions>
<?xml version="1.0" encoding="utf-8"?>
<!---******************************************************************************
* @file com.qualcomm.location.xml
* @brief configuration file for permission mapping
* Copyright (c) 2012 Qualcomm Atheros, Inc.
* All Rights Reserved.
* Qualcomm Atheros Confidential and Proprietary.
* *****************************************************************************-->
<permissions>
<library name="services.core" file="/system/framework/services.jar"/>
<permission name="com.qualcomm.permission.IZAT" >
<group gid="gps" />
<group gid="system" />
<group gid="diag" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
<group gid="wifi" />
</permission>
</permissions>
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="izat.xt.srv" file="/system/framework/izat.xt.srv.jar"/>
</permissions>
<?xml version="1.0" encoding="utf-8" ?>
<!---/***********************************************************
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
**************************************************************-->
<permissions>
<privapp-permissions package="com.qualcomm.location">
<permission name="android.permission.CONTROL_LOCATION_UPDATES" />
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.MANAGE_USERS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.location.XT">
<permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
<permission name="android.permission.BIND_DEVICE_ADMIN"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>
......@@ -22,12 +22,16 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm6150-common/proprietary/etc/init/wfdservice.rc:system/etc/init/wfdservice.rc \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/cneapiclient.xml:system/etc/permissions/cneapiclient.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qti.dpmframework.xml:system/etc/permissions/com.qti.dpmframework.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qti.location.sdk.xml:system/etc/permissions/com.qti.location.sdk.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qualcomm.location.xml:system/etc/permissions/com.qualcomm.location.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml:system/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml:system/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.qualcomm.qti.imscmservice.xml:system/etc/permissions/com.qualcomm.qti.imscmservice.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/com.quicinc.cne.xml:system/etc/permissions/com.quicinc.cne.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/dpmapi.xml:system/etc/permissions/dpmapi.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/embms.xml:system/etc/permissions/embms.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/izat.xt.srv.xml:system/etc/permissions/izat.xt.srv.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/privapp-permissions-com.qualcomm.location.xml:system/etc/permissions/privapp-permissions-com.qualcomm.location.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/qcrilhook.xml:system/etc/permissions/qcrilhook.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/qti_libpermissions.xml:system/etc/permissions/qti_libpermissions.xml \
vendor/xiaomi/sm6150-common/proprietary/etc/permissions/qti_permissions.xml:system/etc/permissions/qti_permissions.xml \
......@@ -37,6 +41,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm6150-common/proprietary/framework/QtiTelephonyServicelibrary.jar:system/framework/QtiTelephonyServicelibrary.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/cneapiclient.jar:system/framework/cneapiclient.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/com.qti.dpmframework.jar:system/framework/com.qti.dpmframework.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/com.qti.location.sdk.jar:system/framework/com.qti.location.sdk.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar:system/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar:system/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/com.qualcomm.qti.uceservice-V2.0-java.jar:system/framework/com.qualcomm.qti.uceservice-V2.0-java.jar \
......@@ -52,6 +57,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm6150-common/proprietary/framework/com.quicinc.cne.server-V2.2-java.jar:system/framework/com.quicinc.cne.server-V2.2-java.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/dpmapi.jar:system/framework/dpmapi.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/embmslibrary.jar:system/framework/embmslibrary.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/izat.xt.srv.jar:system/framework/izat.xt.srv.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/qcrilhook.jar:system/framework/qcrilhook.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/qti-telephony-common.jar:system/framework/qti-telephony-common.jar \
vendor/xiaomi/sm6150-common/proprietary/framework/tcmclient.jar:system/framework/tcmclient.jar \
......@@ -107,10 +113,17 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm6150-common/proprietary/lib64/libfm-hci.so:system/lib64/libfm-hci.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/libimscamera_jni.so:system/lib64/libimscamera_jni.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/libimsmedia_jni.so:system/lib64/libimsmedia_jni.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/liblocationservice_jni.so:system/lib64/liblocationservice_jni.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/librcc.so:system/lib64/librcc.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/libwfdclient.so:system/lib64/libwfdclient.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/libwfdnative.so:system/lib64/libwfdnative.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/libxt_native.so:system/lib64/libxt_native.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.esepowermanager@1.0.so:system/lib64/vendor.qti.esepowermanager@1.0.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.gnss@1.0.so:system/lib64/vendor.qti.gnss@1.0.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.gnss@1.1.so:system/lib64/vendor.qti.gnss@1.1.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.gnss@1.2.so:system/lib64/vendor.qti.gnss@1.2.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.gnss@2.0.so:system/lib64/vendor.qti.gnss@2.0.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.gnss@2.1.so:system/lib64/vendor.qti.gnss@2.1.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so:system/lib64/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so:system/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so \
vendor/xiaomi/sm6150-common/proprietary/lib64/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so:system/lib64/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so \
......@@ -812,6 +825,7 @@ PRODUCT_PACKAGES += \
imssettings \
CNEService \
WfdService \
com.qualcomm.location \
dpmserviceapp \
ims \
qcrilmsgtunnel \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment