Unverified Commit 3252b2b1 authored by Sebastiano Barezzi's avatar Sebastiano Barezzi
Browse files

vince: Initial vendor tree

* Not pinned blobs from vince-user 8.1.0 OPM1.171019.019 V11.0.2.0.OEGMIXM release-keys

Change-Id: I8e8bdcd1e1348785db48961b4ef613e2cadcebc4
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/vince/setup-makefiles.sh
*/
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libbtconfigstore",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/lib/libbtconfigstore.so"],
},
android_arm64: {
srcs: ["proprietary/lib64/libbtconfigstore.so"],
},
},
compile_multilib: "both",
prefer: true,
}
cc_prebuilt_library_shared {
name: "libgpustats",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libgpustats.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libgpustats.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsdm-disp-vndapis",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libsdm-disp-vndapis.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libsdm-disp-vndapis.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libthermalclient",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libthermalclient.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libthermalclient.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libts_detected_face_hal",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libts_detected_face_hal.so"],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libts_face_beautify_hal",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libts_face_beautify_hal.so"],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libloc_api_v02",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libloc_api_v02.so"],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "xiaomi",
apk: "proprietary/app/QtiTelephonyService/QtiTelephonyService.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: "CneApp",
owner: "xiaomi",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "FingerprintExtensionService",
owner: "xiaomi",
apk: "proprietary/vendor/app/FingerprintExtensionService/FingerprintExtensionService.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: "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_binary {
name: "chargeonlymode",
owner: "xiaomi",
srcs: ["proprietary/bin/chargeonlymode"],
prefer: true,
}
# Copyright (C) 2017-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/vince/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),vince)
endif
# Copyright (C) 2017-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/vince/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"?>
<!--
/* ====================================================================
* Copyright (c) 2014 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
* =====================================================================
* @file com.qti.snapdragon.sdk.display.xml
*
*/
-->
<permissions>
<library
name="com.qti.snapdragon.sdk.display"
file="/system/framework/com.qti.snapdragon.sdk.display.jar" />
</permissions>
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.qualcomm.qcrilhook"
file="/system/framework/qcrilhook.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>
<library name="android.hidl.manager-V1.0-java"
file="/system/framework/android.hidl.manager-V1.0-java.jar"/>
</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>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2014 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->