Commit af621677 authored by Adithya R's avatar Adithya R
Browse files

trinket-common: Initial vendor

parents
/**
* Copyright (C) 2019-2020 ArrowOS
*
* 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/trinket-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,
}
cc_prebuilt_library_shared {
name: "libMpeg4SwEncoder",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libMpeg4SwEncoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libMpeg4SwEncoder.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libplatformconfig",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libplatformconfig.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libplatformconfig.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.capabilityconfigstore@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/vendor.qti.hardware.capabilityconfigstore@1.0.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.qti.hardware.capabilityconfigstore@1.0.so"],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
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,
}
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: "IWlanService",
owner: "xiaomi",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "SoterService",
owner: "xiaomi",
apk: "proprietary/vendor/app/SoterService/SoterService.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",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "pasrservice",
owner: "xiaomi",
apk: "proprietary/vendor/app/pasrservice/pasrservice.apk",
certificate: "platform",
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: "atfwd",
owner: "xiaomi",
apk: "proprietary/product/app/atfwd/atfwd.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "colorservice",
owner: "xiaomi",
apk: "proprietary/product/app/colorservice/colorservice.apk",
presigned: true,
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: "embms",
owner: "xiaomi",
apk: "proprietary/product/app/embms/embms.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: "HotwordEnrollmentOKGoogleHEXAGON",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleHEXAGON",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
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"],
}
dex_import {
name: "com.qti.snapdragon.sdk.display",
owner: "xiaomi",
jars: ["proprietary/framework/com.qti.snapdragon.sdk.display.jar"],
}
dex_import {
name: "vendor.qti.hardware.soter-V1.0-java",
owner: "xiaomi",
jars: ["proprietary/product/framework/vendor.qti.hardware.soter-V1.0-java.jar"],
product_specific: true,
}
# Copyright (C) 2020 ArrowOS
#
# 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/trinket-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter ginkgo laurel_sprout,$(TARGET_DEVICE)),)
endif
# Copyright (C) 2020 ArrowOS
#
# 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/trinket-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>
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdservice /system/bin/wfdservice
class main
user system
disabled
oneshot
on property:vendor.wfdservice=enable
start wfdservice