Unverified Commit ecb146ff authored by SagarMakhar's avatar SagarMakhar
Browse files

sdm710-common: Update CNE and DPM



Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>
parent 30bb960c
......@@ -115,9 +115,9 @@ android_app_import {
}
android_app_import {
name: "CNEService",
name: "WfdService",
owner: "realme",
apk: "proprietary/priv-app/CNEService/CNEService.apk",
apk: "proprietary/priv-app/WfdService/WfdService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
......@@ -126,9 +126,9 @@ android_app_import {
}
android_app_import {
name: "WfdService",
name: "ims",
owner: "realme",
apk: "proprietary/priv-app/WfdService/WfdService.apk",
apk: "proprietary/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
......@@ -137,9 +137,9 @@ android_app_import {
}
android_app_import {
name: "dpmserviceapp",
name: "qcrilmsgtunnel",
owner: "realme",
apk: "proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk",
apk: "proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
......@@ -148,46 +148,47 @@ android_app_import {
}
android_app_import {
name: "ims",
name: "CneApp",
owner: "realme",
apk: "proprietary/priv-app/ims/ims.apk",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
soc_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
name: "TimeService",
owner: "realme",
apk: "proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
soc_specific: true,
}
android_app_import {
name: "TimeService",
name: "PowerOffAlarm",
owner: "realme",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
product_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
name: "dpmserviceapp",
owner: "realme",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
apk: "proprietary/product/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
......
#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
# Copyright (c) 2018 - 2019 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/product/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
<?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="com.qti.dpmframework"
file="/system/product/framework/com.qti.dpmframework.jar"/>
<permission name="com.qualcomm.permission.READPROC" >
<group gid="readproc" />
</permission>
</permissions>
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2014, 2019 Qualcomm Technologies, Inc. All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.-->
<permissions>
<library name="com.qti.dpmapi"
file="/system/product/framework/dpmapi.jar"/>
</permissions>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment