Commit d11fe5ff authored by Michael Bestas's avatar Michael Bestas Committed by jeangraff30
Browse files

sdm660-common: Initial blob import

* Base package: miui_JASMINEGlobal_V11.0.8.0.QDIMIXM_b6a1d1a428_10.0.zip
* aptX: crosshatch-ota-qp1a.190711.020-de9a52d3.zip
* mlipay: wayne_images_V11.0.3.0.PDCCNXM_20191127.0000.00_9.0_cn_1f235cc624.tgz
* soter: miui_MINote3_V11.0.3.0.PCHCNXM_60dcc350c6_9.0.zip

Change-Id: I8a78ee3e81b137cb0903d7f32673d8783501ba45
parents
/**
* Copyright (C) 2019-2020 The LineageOS Project
*
* 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.
*
* This file is generated by device/xiaomi/sdm660-common/setup-makefiles.sh
*/
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libantradio",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/lib/libantradio.so"],
},
android_arm64: {
srcs: ["proprietary/lib64/libantradio.so"],
},
},
compile_multilib: "both",
prefer: true,
}
android_app_import {
name: "SoterService",
owner: "xiaomi",
apk: "proprietary/app/SoterService/SoterService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
}
android_app_import {
name: "WfdService",
owner: "xiaomi",
apk: "proprietary/priv-app/WfdService/WfdService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}
android_app_import {
name: "com.qualcomm.location",
owner: "xiaomi",
apk: "proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}
android_app_import {
name: "CneApp",
owner: "xiaomi",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "IWlanService",
owner: "xiaomi",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "xiaomi",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: ":timeservice_app_cert-legacy-um",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
owner: "xiaomi",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "xiaomi",
apk: "proprietary/product/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "datastatusnotification",
owner: "xiaomi",
apk: "proprietary/product/app/datastatusnotification/datastatusnotification.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "imssettings",
owner: "xiaomi",
apk: "proprietary/product/app/imssettings/imssettings.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "uceShimService",
owner: "xiaomi",
apk: "proprietary/product/app/uceShimService/uceShimService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "dpmserviceapp",
owner: "xiaomi",
apk: "proprietary/product/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "ims",
owner: "xiaomi",
apk: "proprietary/product/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
owner: "xiaomi",
apk: "proprietary/product/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
dex_import {
name: "WfdCommon",
owner: "xiaomi",
jars: ["proprietary/framework/WfdCommon.jar"],
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.fm@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/product/lib/vendor.qti.hardware.fm@1.0.so"],
},
android_arm64: {
srcs: ["proprietary/product/lib64/vendor.qti.hardware.fm@1.0.so"],
},
},
compile_multilib: "both",
prefer: true,
product_specific: true,
}
# Copyright (C) 2018-2020 The LineageOS Project
#
# 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.
# This file is generated by device/xiaomi/sdm660-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter jasmine_sprout jason lavender twolip wayne,$(TARGET_DEVICE)),)
endif
# Copyright (C) 2018-2020 The LineageOS Project
#
# 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.
# This file is generated by device/xiaomi/sdm660-common/setup-makefiles.sh
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-70</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-73</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-78</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-75,-80</RSSIDropThreshold>
</profile>
</profiles>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-78</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-70</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-73</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-75,-80</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="5">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-70,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-73,-79</RSSIDropThreshold>
</profile>
</profiles>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-69</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-72</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-83</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-82,-87</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-67,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-70,-75</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-82,-83</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="5">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="6">
<!-- RSSI threshold from which all values greather than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-80</RSSIDropThreshold>
</profile>
</profiles>
</resources>
service wfdservice /system/bin/wfdservice
class main
user system
group audio camera inet uhid drmrpc media_rw media input net_admin
#removed these because of limit of 12 groups
#graphics net_bt net_bt_admin bluetooth
disabled
oneshot
on property:vendor.wfdservice=enable
start wfdservice
on property:vendor.wfdservice=disable
stop wfdservice
<?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"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
</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>
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<permissions>
<permission name="com.qti.permission.DIAG">
<group gid="oem_2901" />
</permission>
<permission name="com.qti.permission.AUDIO">
<group gid="audio" />
</permission>
</permissions>
This diff is collapsed.
This diff is collapsed.