sm6250-common: Initial commit

* From curtana_global-user 11 RKQ1.200826.002 V12.5.1.0.RJWMIXM release-keys

Change-Id: I6a6bcca35873b3bd3d24f512cf848511b5b6e5a0
This commit is contained in:
Alexander Winkowski 2021-12-21 17:02:50 +00:00
commit b0cbf67d5e
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
1135 changed files with 23990 additions and 0 deletions

275
Android.bp Normal file
View File

@ -0,0 +1,275 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/xiaomi/sm6250-common/setup-makefiles.sh
soong_namespace {
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.fm@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/vendor.qti.hardware.fm@1.0.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
android_app_import {
name: "CACertService",
owner: "xiaomi",
apk: "proprietary/vendor/app/CACertService/CACertService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: 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: "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: "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: "DeviceInfo",
owner: "xiaomi",
apk: "proprietary/system_ext/app/DeviceInfo/DeviceInfo.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "xiaomi",
apk: "proprietary/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "uceShimService",
owner: "xiaomi",
apk: "proprietary/system_ext/app/uceShimService/uceShimService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "dpmserviceapp",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "ims",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qti.dpmframework",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qti.dpmframework.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qualcomm.qti.imscmservice-V2.0-java",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qualcomm.qti.imscmservice-V2.1-java",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qualcomm.qti.imscmservice-V2.2-java",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qualcomm.qti.imscmservice-V2.2-java.jar"],
system_ext_specific: true,
}
dex_import {
name: "dpmapi",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/dpmapi.jar"],
system_ext_specific: true,
}
dex_import {
name: "qcrilhook",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/qcrilhook.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.gnss@2.1-service-qti",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti-hta",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.gnss@4.0-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.servicetracker@1.2-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.servicetracker@1.2-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}

9
Android.mk Normal file
View File

@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm6250-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter curtana excalibur gram joyeuse miatoll,$(TARGET_DEVICE)),)
endif

4
BoardConfigVendor.mk Normal file
View File

@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm6250-common/setup-makefiles.sh

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
~ Not a Contribution.
-->
<!--
~ Copyright (C) 2016 The Android Open Source 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 XML file declares which signature|privileged permissions should be
granted to privileged applications on QTI devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<permissions>
<privapp-permissions package="com.quicinc.cne.CNEService">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
</privapp-permissions>
<privapp-permissions package="com.qti.dpmserviceapp">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.dialer">
<permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.STOP_APP_SWITCHES"/>
<permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
<permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.qti.qtiNetworkApp">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.ims">
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
</privapp-permissions>
<privapp-permissions package="com.android.soundrecorder">
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
</privapp-permissions>
<privapp-permissions package="com.quicinc.voice.activation">
<permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
<permission name="android.permission.MANAGE_SOUND_TRIGGER"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.carrierswitch">
<permission name="android.permission.REBOOT"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.wfd.service">
<permission name="android.permission.READ_FRAME_BUFFER"/>
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
</privapp-permissions>
<privapp-permissions package="com.android.mms">
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.WRITE_APN_SETTINGS"/>
<permission name="android.permission.CALL_PRIVILEGED"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.bluetooth.batestapp">
<permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
<permission name="android.permission.LOCAL_MAC_ADDRESS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.snapcam">
<permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.gallery">
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.callenhancement">
<permission name="android.permission.RECORD_AUDIO" />
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
<permission name="android.permission.READ_EXTERNAL_STORAGE" />
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" />
<permission name="android.permission.READ_BLOCKED_NUMBERS" />
<permission name="android.permission.VIBRATE" />
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
/* Copyright (c) 2017-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.
*/
-->
<config>
<!-- These are telephony components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.atfwd" />
<allow-in-power-save package="com.qualcomm.qti.telephonyservice" />
<allow-in-power-save package="com.qualcomm.qcrilmsgtunnel" />
<allow-in-power-save package="com.qualcomm.qti.ims" />
<allow-in-power-save package="com.qualcomm.qti.radioconfiginterface" />
<allow-in-power-save package="com.qualcomm.simcontacts" />
<allow-in-power-save package="com.qualcomm.qti.autoregistration" />
<allow-in-power-save package="com.qualcomm.qti.server.wigigapp" />
<allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" />
<allow-in-power-save package="com.quicinc.voice.activation" />
<allow-in-power-save package="com.android.mms" />
<allow-in-power-save package="com.android.exchange" />
<allow-in-power-save package="com.android.email" />
<allow-in-power-save package="com.qualcomm.qti.callenhancement" />
<allow-in-power-save package="com.qualcomm.qti.smartassistant" />
<!-- These telephony applications need access to non-[System]SDK APIs -->
<hidden-api-whitelisted-app package="com.qualcomm.uimremoteserver" />
<hidden-api-whitelisted-app package="com.qualcomm.uimremoteclient" />
<hidden-api-whitelisted-app package="com.qualcomm.atfwd" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.autoregistration" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.callenhancement" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.callfeaturessetting" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.confdialer" />
<hidden-api-whitelisted-app package="org.codeaurora.dialer" />
<hidden-api-whitelisted-app package="com.qti.qualcomm.datastatusnotification" />
<hidden-api-whitelisted-app package="com.qti.qualcomm.deviceinfo" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.modemtestmode" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.networksetting" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.qtisystemservice" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.telephonyservice" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfiginterface" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfigtest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.roamingsettings" />
<hidden-api-whitelisted-app package="com.qualcomm.simcontacts" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.simsettings" />
<hidden-api-whitelisted-app package="org.codeaurora.ims" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.ims" />
<hidden-api-whitelisted-app package="com.qti.xdivert" />
<hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" />
<hidden-api-whitelisted-app package="com.qti.confuridialer" />
<hidden-api-whitelisted-app package="com.qti.editnumber" />
<hidden-api-whitelisted-app package="com.qualcomm.embmstest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.ltedirect" />
<hidden-api-whitelisted-app package="com.android.MultiplePdpTest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.app" />
<hidden-api-whitelisted-app package="com.qualcomm.embms" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.embmstuneaway" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uimlpatest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uim" />
<hidden-api-whitelisted-app package="org.codeaurora.snapcam" />
<hidden-api-whitelisted-app package="com.android.mms" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.carrierswitch" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.carrierconfigure" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.sva" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.smartassistant" />
<hidden-api-whitelisted-app package="com.quicinc.voice.activation" />
<hidden-api-whitelisted-app package="com.android.backup" />
<hidden-api-whitelisted-app package="com.android.contacts" />
<hidden-api-whitelisted-app package="com.android.exchange" />
<hidden-api-whitelisted-app package="com.android.soundrecorder" />
<hidden-api-whitelisted-app package="com.android.camera2" />
<hidden-api-whitelisted-app package="org.codeaurora.gallery" />
<hidden-api-whitelisted-app package="com.example.connmgr" />
<hidden-api-whitelisted-app package="com.android.email" />
<hidden-api-whitelisted-app package="com.cyanogenmod.filemanager" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.presenceappSub2" />
<hidden-api-whitelisted-app package="com.qualcomm.secureindicator" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.sysmonappExternal" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.biometrics.voiceprint.voiceprintdemo" />
<hidden-api-whitelisted-app package="com.qti.vtloopback " />
<hidden-api-whitelisted-app package="com.android.bluetooth" />
<hidden-api-whitelisted-app package="org.codeaurora.bluetooth" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.qmmi" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.perfdump" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.client" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.service" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.server.wigigapp" />
<!-- These are location components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.location" />
<allow-in-power-save package="com.qualcomm.location.XT" />
<hidden-api-whitelisted-app package="com.qti.service.colorservice" />
</config>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2019 Qualcomm Technologies, Inc.
~ All Rights Reserved.
~ Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
~ Not a Contribution.
-->
<!--
~ Copyright (C) 2016 The Android Open Source 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 XML file declares which signature|privileged permissions should be
granted to privileged applications on QTI devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<permissions>
<privapp-permissions package="org.codeaurora.qti.qtiNetworkApp">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.carrierswitch">
<permission name="android.permission.REBOOT"/>
</privapp-permissions>
</permissions>

Binary file not shown.

BIN
proprietary/system_ext/bin/dpmd Executable file

Binary file not shown.

View File

@ -0,0 +1,78 @@
#configuration parameters for DPM Fast Dormancy and TCM module.
#Configuration params for FD slot 0
#delay_time while issuing dormancy_request
dpm_s0_fd_delay_time_timer_value:0
#Idle timer value when SCREEN state is ON
#dpm_fd_screen_on_idle_timer_value = actual_screen_on_timer + delay_time
dpm_s0_fd_screen_on_idle_timer_value:15
#Idle timer value when SCREEN state is OFF
#dpm_fd_screen_off_idle_timer_value = actual_screen_off_timer + delay_time
dpm_s0_fd_screen_off_idle_timer_value:3
#Idle timer value when TETHERING is ON
#This takes precedence over SCREEN state
#dpm_tethering_on_idle_timer_value = actual_tethering_on_timer + delay_time
dpm_s0_fd_tethering_on_idle_timer_value:15
#FastDormancy can be configured for a network type
#Default configuration 101000011100001000
dpm_s0_fd_enable_networks_mask:0x28708
#Configuration params for FD slot 1
#delay_time while issuing dormancy_request
dpm_s1_fd_delay_time_timer_value:0
#Idle timer value when SCREEN state is ON
#dpm_fd_screen_on_idle_timer_value = actual_screen_on_timer + delay_time
dpm_s1_fd_screen_on_idle_timer_value:15
#Idle timer value when SCREEN state is OFF
#dpm_fd_screen_off_idle_timer_value = actual_screen_off_timer + delay_time
dpm_s1_fd_screen_off_idle_timer_value:3
#Idle timer value when TETHERING is ON
#This takes precedence over SCREEN state
#dpm_tethering_on_idle_timer_value = actual_tethering_on_timer + delay_time
dpm_s1_fd_tethering_on_idle_timer_value:15
#FastDormancy can be configured for a network type
#Default configuration 101000011100001000
dpm_s1_fd_enable_networks_mask:0x28708
#Configuration params for TCM
#Idle timer value when SCREEN state is ON
#min : 1s and max :256s
dpm_tcm_screen_on_idle_timer_value:5
#Idle timer value when SCREEN state is OFF
#min : 0s and max :256s, tcm is disabled with screen off state
dpm_tcm_screen_off_idle_timer_value:0
#TCM can be configured for a network type
#Default configuration 11111111111111111110
dpm_tcm_enable_networks_mask:0xFFFFE
#FastDormancy and TCM can be configured for a network type
#NETWORK_TYPE_UNKNOWN = 0
#NETWORK_TYPE_GPRS = 1
#NETWORK_TYPE_EDGE = 2
#NETWORK_TYPE_UMTS = 3
#NETWORK_TYPE_CDMA = 4
#NETWORK_TYPE_EVDO_0 = 5
#NETWORK_TYPE_EVDO_A = 6
#NETWORK_TYPE_1xRTT = 7
#NETWORK_TYPE_HSDPA = 8
#NETWORK_TYPE_HSUPA = 9
#NETWORK_TYPE_HSPA = 10
#NETWORK_TYPE_IDEN = 11
#NETWORK_TYPE_EVDO_B = 12
#NETWORK_TYPE_LTE = 13
#NETWORK_TYPE_EHRPD = 14
#NETWORK_TYPE_HSPAP = 15
#NETWORK_TYPE_GSM = 16
#NETWORK_TYPE_TD_SCDMA = 17
#NETWORK_TYPE_IWLAN = 18
#NETWORK_TYPE_LTE_CA = 19;
#configuration params for Dormancy manager
#first larger inactivity soft timer to poll for dormancy in seconds.
dpm_dm_t1_inactivity_timer:15
#second smaller inactivity soft timer to poll for dormancy in seconds.
dpm_dm_t2_inactivity_timer:5
#number of times T2 can be repeated before registering for dormancy indication with modem directly.
dpm_dm_repeat_t2:5

View File

@ -0,0 +1,23 @@
# Copyright (c) 2018 - 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
on post-fs-data
mkdir /data/dpm 0771 system system
chown system system /data/dpm
#start dpmd service
service dpmd /system/system_ext/bin/dpmd
class late_start
socket dpmd stream 660 root radio
socket tcm stream 660 root inet
socket dpmwrapper stream 660 root inet
group system readproc inet radio wakelock oem_2901
disabled
on property:persist.vendor.dpm.feature=*
start dpmd
on property:persist.vendor.dpm.feature=0
stop dpmd

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source 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.
-->
<permissions>
<library name="com.android.hotwordenrollment.common.util" file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"/>
</permissions>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2015-2016, 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="com.qti.dpmframework"
file="/system/system_ext/framework/com.qti.dpmframework.jar"/>
<library name="android.hidl.manager-V1.0-java"
file="/system/framework/android.hidl.manager-V1.0-java.jar"/>
<permission name="com.qualcomm.permission.READPROC" >
<group gid="readproc" />
</permission>
</permissions>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.imscmservice-V2.0-java"
file="/system/system_ext/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar" />
</permissions>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc. -->
<permissions>
<library name="com.qualcomm.qti.imscmservice-V2.1-java" file="/system/system_ext/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar" />
</permissions>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc. -->
<permissions>
<library name="com.qualcomm.qti.imscmservice-V2.2-java" file="/system/system_ext/framework/com.qualcomm.qti.imscmservice-V2.2-java.jar" />
</permissions>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2014, 2019-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="com.qti.dpmapi"
file="/system/system_ext/framework/dpmapi.jar"/>
</permissions>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.qualcomm.qcrilhook"
file="/system_ext/framework/qcrilhook.jar"
dependency="qti-telephony-utils:qti-telephony-hidl-wrapper" />
</permissions>

View File

@ -0,0 +1,10 @@
<?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>

View File

@ -0,0 +1,14 @@
<?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>

View File

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2020 Qualcomm Technologies, Inc.
~ All Rights Reserved.
~ Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
~ Not a Contribution.
-->
<!--
~ Copyright (C) 2016 The Android Open Source 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 XML file declares which signature|privileged permissions should be
granted to privileged applications on QTI devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<permissions>
<privapp-permissions package="org.codeaurora.dialer">
<permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.STOP_APP_SWITCHES"/>
<permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
<permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
<permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.ims">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
</privapp-permissions>
<privapp-permissions package="com.android.mms">
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.WRITE_APN_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.callenhancement">
<permission name="android.permission.RECORD_AUDIO" />
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
<permission name="android.permission.READ_EXTERNAL_STORAGE" />
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" />
<permission name="android.permission.READ_BLOCKED_NUMBERS" />
<permission name="android.permission.VIBRATE" />
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.qti.nrNetworkSettingApp">
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2014 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<permissions>
<library name="com.qualcomm.qti.QtiTelephonyServicelibrary"
file="/system/system_ext/framework/QtiTelephonyServicelibrary.jar"/>
</permissions>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
/* Copyright (c) 2017-2018, 2020 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.
*/
-->
<config>
<!-- Broadcast actions that are currently whitelisted. -->
<allow-implicit-broadcast action="org.codeaurora.intent.action.CALL_COMPOSER_INFO" />
</config>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/app/CneApp/CneApp.apk vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/ATFWD-daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/adpl vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/adsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/batterysecret vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cdsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnss-daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dpmQmiMgr vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dspservice vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/garden_app vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/hvdcp_opti vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/hw/qcrild vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/ims_rtp_daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/imsdatadaemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/imsqmidaemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/imsrcsd vendored Executable file

Binary file not shown.

33
proprietary/vendor/bin/init.qcom.sensors.sh vendored Executable file
View File

@ -0,0 +1,33 @@
#!/vendor/bin/sh
# Copyright (c) 2020 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 BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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.
#
#
# Function to start sensors for SSC enabled platforms
#
cp /vendor/etc/sensors/scripts/* /data/vendor/sensors/scripts/
chmod a+rw /data/vendor/sensors/scripts/*

Some files were not shown because too many files have changed in this diff Show More