summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/gamedwhitelist.xml81
-rw-r--r--configs/gps/flp.conf91
-rw-r--r--configs/gps/gps.conf212
-rw-r--r--configs/gps/izat.conf279
-rw-r--r--configs/gps/lowi.conf21
-rw-r--r--configs/gps/sap.conf70
-rw-r--r--configs/gps/xtwifi.conf75
-rw-r--r--configs/media_codecs.xml5
-rw-r--r--configs/media_codecs_performance.xml2
-rw-r--r--configs/media_profiles_V1_0.xml428
-rw-r--r--[-rwxr-xr-x]configs/media_profiles_vendor.xml (renamed from configs/media_profiles.xml)357
-rw-r--r--[-rwxr-xr-x]configs/msm_irqbalance.conf0
-rw-r--r--configs/privapp-permissions-qti.xml100
-rw-r--r--[-rwxr-xr-x]configs/qti_whitelist.xml (renamed from configs/appboosts.xml)45
-rw-r--r--configs/sec_config322
-rw-r--r--[-rwxr-xr-x]configs/whitelistedapps.xml36
16 files changed, 1623 insertions, 501 deletions
diff --git a/configs/gamedwhitelist.xml b/configs/gamedwhitelist.xml
deleted file mode 100755
index ed1e870..0000000
--- a/configs/gamedwhitelist.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-
-<!--
-/* Copyright (c) 2015-2016, 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.
- */
--->
-
- <!--
-/* Three lists exists,
- * GamedRoBlackList: the name pf the apps
- * for which the gamed profile should never be applied.
- * GamedROGame lists: the name of the apps for which gamed
- * profile should always be applied.
- * The above two lists are never modified. And contain at
- * max of 20 entries.
- * ReadWriteGamed lists is the list of the apps for which the
- * decision to apply a game-profile is based on the type of
- * the app. This list can contain 100 entries.
- * Can be over-written during the execution of the program.It
- * is maintained as a circular list.
- *
- * Activity Type for GamedAppList is determined as follows
- * GAME =1 , Benchmark =2 , App =3.
-*/ -->
-<AppCatalog>
- <GamedROBlackList>
- <AppAttributes
- PackageName="com.android.launcher2"
- ActivityType="3" />
- <AppAttributes
- PackageName="com.android.launcher3"
- ActivityType="3" />
- <AppAttributes
- PackageName="com.android.systemui"
- ActivityType="3" />
- <AppAttributes
- PackageName="com.google.android.talk"
- ActivityType="3" />
- <AppAttributes
- PackageName="com.facebook.katana"
- ActivityType="3" />
- </GamedROBlackList>
-
- <GamedROGameList>
- <AppAttributes
- PackageName="com.ea.games.r3_row"
- ActivityType="1" />
- <AppAttributes
- PackageName="com.kiloo.subwaysurf"
- ActivityType="1" />
- </GamedROGameList>
-
- <GamedRWAppList>
- </GamedRWAppList>
-
-</AppCatalog>
diff --git a/configs/gps/flp.conf b/configs/gps/flp.conf
new file mode 100644
index 0000000..dae3b82
--- /dev/null
+++ b/configs/gps/flp.conf
@@ -0,0 +1,91 @@
+###################################
+##### FLP settings #####
+###################################
+
+###################################
+# FLP BATCHING SIZE
+###################################
+# The number of batched locations
+# requested to modem. The desired number
+# defined below may not be satisfied, as
+# the modem can only return the number
+# of batched locations that can be allocated,
+# which is limited by memory. The default
+# batch size defined as 20 as below.
+BATCH_SIZE=20
+
+# The number of batched locations
+# requested to modem for outdoor
+# trip batching. The desired number
+# defined below may not be satisfied, as
+# the modem can only return the number
+# of batched locations that can be allocated,
+# which is limited by memory. The default
+# trip batch size defined as 600 as below.
+OUTDOOR_TRIP_BATCH_SIZE=600
+
+###################################
+# FLP BATCHING SESSION TIMEOUT
+###################################
+# Duration with which batch session timeout
+# happens in milliseconds. If not specified
+# or set to zero, batching session timeout
+# defaults to 20 seconds by the modem.
+# BATCH_SESSION_TIMEOUT=20000
+
+###################################
+# FLP CAPABILITIES BIT MASK
+###################################
+# GEOFENCE = 0x01
+# BATCHING = 0x02
+# default = GEOFENCE | BATCHING
+CAPABILITIES=0x03
+
+###################################
+# FLP BATCHING ACCURACY
+###################################
+# Set to one of the defined values below
+# to define the accuracy of batching.
+# If not specified, accuracy defaults
+# to LOW.
+# FLP BATCHING ACCURACY values:
+# Low accuracy = 0
+# Medium accuracy = 1
+# High accuracy = 2
+ACCURACY=1
+
+###################################
+# FLP GEOFENCE RESPONSIVENESS
+###################################
+# If set to one of the defined values below,
+# it will override the responsiveness for
+# FLP geofence, which implements the fused
+# location API. If not set to a value defined
+# below, which is default, it will not
+# override the responsivness.
+# FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE Values:
+# 1: LOW responsiveness
+# 2: MEDIUM responsiveness
+# 3: HIGH responsiveness
+FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE = 0
+
+####################################
+# By default APPS must support LB only if modem support
+# LB 1.5 and above. This parameter adds an exception
+# for targets where modem only supports LB 1.0.
+# This might be useful for primarily outdoor devices.
+# 0: MUST NOT ALLOW LB IF MODEM ONLY SUPPORTS
+# LB 1.0
+# 1: ALLOW LB IF MODEM ONLY SUPPORTS LB 1.0
+####################################
+ALLOW_LB_1_0 = 0
+
+####################################
+# By default if network fixes are not sensor assisted
+# these fixes must be dropped. This parameter adds an exception
+# for targets where there is no PDR and we still want to
+# report out network fixes
+# 0: MUST NOT ALLOW NETWORK FIXES
+# 1: ALLOW NETWORK FIXES
+####################################
+ALLOW_NETWORK_FIXES = 0
diff --git a/configs/gps/gps.conf b/configs/gps/gps.conf
new file mode 100644
index 0000000..54036df
--- /dev/null
+++ b/configs/gps/gps.conf
@@ -0,0 +1,212 @@
+#Uncommenting these urls would only enable
+#the power up auto injection and force injection(test case).
+#XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin
+#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin
+#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin
+
+#Version check for XTRA
+#DISABLE = 0
+#AUTO = 1
+#XTRA2 = 2
+#XTRA3 = 3
+XTRA_VERSION_CHECK=0
+
+XTRA_TEST_ENABLED = 1
+XTRA_THROTTLE_ENABLED = 0
+
+
+
+# Error Estimate
+# _SET = 1
+# _CLEAR = 0
+ERR_ESTIMATE=0
+
+#NTP server
+NTP_SERVER=time.izatcloud.net
+
+#XTRA CA path
+XTRA_CA_PATH=/system/etc/security/cacerts
+
+# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
+# 4 - Debug, 5 - Verbose
+# If DEBUG_LEVEL is commented, Android's logging levels will be used
+DEBUG_LEVEL = 5
+
+# Intermediate position report, 1=enable, 0=disable
+INTERMEDIATE_POS=0
+
+# Below bit mask configures how GPS functionalities
+# should be locked when user turns off GPS on Settings
+# Set bit 0x1 if MO GPS functionalities are to be locked
+# Set bit 0x2 if NI GPS functionalities are to be locked
+# default - non is locked for backward compatibility
+#GPS_LOCK = 0
+
+# supl version 1.0
+SUPL_VER=0x20000
+
+# Emergency SUPL, 1=enable, 0=disable
+#SUPL_ES=0
+
+#Choose PDN for Emergency SUPL
+#1 - Use emergency PDN
+#0 - Use regular SUPL PDN for Emergency SUPL
+USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
+
+#SUPL_MODE is a bit mask set in config.xml per carrier by default.
+#If it is uncommented here, this value will overwrite the value from
+#config.xml.
+#MSA=0X2
+#MSB=0X1
+#SUPL_MODE=
+
+# GPS Capabilities bit mask
+# SCHEDULING = 0x01
+# MSB = 0x02
+# MSA = 0x04
+# ON_DEMAND_TIME = 0x10
+# GEOFENCE = 0x20
+# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
+CAPABILITIES=0x37
+
+# Accuracy threshold for intermediate positions
+# less accurate positions are ignored, 0 for passing all positions
+# ACCURACY_THRES=5000
+
+################################
+##### AGPS server settings #####
+################################
+
+# FOR SUPL SUPPORT, set the following
+SUPL_HOST=supl.qxwz.com
+SUPL_PORT=7275
+
+# FOR C2K PDE SUPPORT, set the following
+# C2K_HOST=c2k.pde.com or IP
+# C2K_PORT=1234
+
+# Bitmask of slots that are available
+# for write/install to, where 1s indicate writable,
+# and the default value is 0 where no slots
+# are writable. For example, AGPS_CERT_WRITABLE_MASK
+# of b1000001010 makes 3 slots available
+# and the remaining 7 slots unwritable.
+#AGPS_CERT_WRITABLE_MASK=0
+
+####################################
+# LTE Positioning Profile Settings
+####################################
+# 0: Enable RRLP on LTE(Default)
+# 1: Enable LPP_User_Plane on LTE
+# 2: Enable LPP_Control_Plane
+# 3: Enable both LPP_User_Plane and LPP_Control_Plane
+LPP_PROFILE = 3
+
+################################
+# EXTRA SETTINGS
+################################
+# NMEA provider (1=Modem Processor, 0=Application Processor)
+NMEA_PROVIDER=0
+# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
+SGLTE_TARGET=0
+
+##################################################
+# Select Positioning Protocol on A-GLONASS system
+##################################################
+# 0x1: RRC CPlane
+# 0x2: RRLP UPlane
+# 0x4: LLP Uplane
+A_GLONASS_POS_PROTOCOL_SELECT = 0
+
+##################################################
+# Select technology for LPPe Control Plane
+##################################################
+# 0x1: DBH for LPPe CP
+# 0x2: WLAN AP Measurements for LPPe CP
+# 0x4: SRN AP measurement for CP
+# 0x8: Sensor Barometer Measurement LPPe CP
+LPPE_CP_TECHNOLOGY = 0
+
+##################################################
+# Select technology for LPPe User Plane
+##################################################
+# 0x1: DBH for LPPe UP
+# 0x2: WLAN AP Measurements for LPPe UP
+# 0x4: SRN AP measurement for UP
+# 0x8: Sensor Barometer Measurement LPPe UP
+LPPE_UP_TECHNOLOGY = 0
+
+##################################################
+# AGPS_CONFIG_INJECT
+##################################################
+# enable/disable injection of AGPS configurations:
+# SUPL_VER
+# SUPL_HOST
+# SUPL_PORT
+# C2K_HOST
+# C2K_PORT
+# LPP_PROFILE
+# A_GLONASS_POS_PROTOCOL_SELECT
+# 0: disable
+# 1: enable
+AGPS_CONFIG_INJECT = 1
+
+##################################################
+# GNSS settings for automotive use cases
+# Configurations in following section are
+# specific to automotive use cases, others
+# please do not change, keep the default values
+##################################################
+
+# AP Coarse Timestamp Uncertainty
+##################################################
+# default : 10
+# AP time stamp uncertainty, until GNSS receiver
+# is able to acquire better timing information
+AP_TIMESTAMP_UNCERTAINTY = 10
+
+##################################################
+# QDR engine availability status
+##################################################
+# 0 : NO QDR (default)
+# 1 : QDR enabled
+# This settings enables QDR Configuration for
+# automotive use case, if enabled then
+# DR_AP_Service needs to be enabled in izat.conf
+#EXTERNAL_DR_ENABLED = 0
+
+#####################################
+# DR_SYNC Pulse Availability
+#####################################
+# 0 : DR_SYNC pulse not available (default)
+# 1 : DR_SYNC pulse available
+# This configuration enables the driver to make use
+# of PPS events generated by DR_SYNC pulse
+# Standard Linux PPS driver needs to be enabled
+DR_SYNC_ENABLED = 0
+
+#####################################
+# PPS Device name
+#####################################
+PPS_DEVICENAME = /dev/pps0
+
+#####################################
+# AP Clock Accuracy
+#####################################
+# Quality of APPS processor clock (in PPM).
+# Value specified is used for calculation of
+# APPS time stamp uncertainty
+AP_CLOCK_PPM = 100
+
+#####################################
+# MAX ms difference to detect missing pulse
+#####################################
+# Specifies time threshold in ms to validate any missing PPS pulses
+MISSING_PULSE_TIME_DELTA = 900
+
+#####################################
+# Propagation time uncertainty
+#####################################
+# This settings enables time uncertainty propagation
+# logic incase of missing PPS pulse
+PROPAGATION_TIME_UNCERTAINTY = 1
diff --git a/configs/gps/izat.conf b/configs/gps/izat.conf
new file mode 100644
index 0000000..79d779c
--- /dev/null
+++ b/configs/gps/izat.conf
@@ -0,0 +1,279 @@
+#########################################
+# Log verbosity control for izat modules
+#########################################
+# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5
+IZAT_DEBUG_LEVEL = 5
+
+##################################################
+# Select WIFI Wait Timeout value in seconds for SUPL
+##################################################
+WIFI_WAIT_TIMEOUT_SELECT = 0
+
+##################################################
+# Time interval of injecting SRN scan data to modem
+# time in seconds.
+# Note: recommended value is between 1-5 sec
+##################################################
+LPPE_SRN_DATA_SCAN_INJECT_TIME=2
+
+################################
+# NLP Settings
+################################
+# NLP_MODE 1: OSNLP Only, 2: QNP Only, 3: Combo, 4: QNP preferred
+# For Automotive products, please use NLP_MODE = 4 only.
+# NLP_TOLERANCE_TIME_FIRST: Time in ms used in Combo mode
+# to determine how much Tolerance for first position
+# NLP_TOLERANCE_TIME_AFTER: Time in ms used in Combo mode
+# to determine how much Tolerance for positions after first
+# NLP_THRESHOLD: Sets how many failures needed before
+# switching preferred NLP in Combo mode
+# NLP_ACCURACY_MULTIPLE: Determines how far off the accuracy
+# must be, in multiples, between two NLP location reports to
+# be considered much worse accuracy. Used in switching logic
+# NLP COMBO MODE USES QNP WITH NO EULA CONSENT: Determines
+# whether or not to still send network location requests to
+# QNP when the EULA is not consented to by the user. QNP can
+# still return ZPP locations or injected locations even
+# without EULA consent, but the uncertainty can be high.
+# QNP preferred mode prefers QNP when there is EULA consent,
+# otherwise OSNLP is used.
+NLP_MODE = 1
+NLP_MODE_EMERGENCY = 2
+NLP_TOLERANCE_TIME_FIRST = 5000
+NLP_TOLERANCE_TIME_AFTER = 20000
+NLP_THRESHOLD = 3
+NLP_ACCURACY_MULTIPLE = 2
+NLP_COMBO_MODE_USES_QNP_WITH_NO_EULA_CONSENT = 1
+
+#########################################
+# NLP PACKAGE AND ACTION SETTINGS
+#########################################
+# OSNLP_PACKAGE/OSNLP_ACTION: name/action of default NLP package
+#OSNLP_PACKAGE = com.google.android.gms
+#OSNLP_ACTION = com.android.location.service.v3.NetworkLocationProvider
+# REGION_OSNLP_PACKAGE/REGION_OSNLP_ACTION:
+# These two values will be used as alternative
+# for particular region where default NLP is not functional.
+#REGION_OSNLP_PACKAGE = com.baidu.map.location
+#REGION_OSNLP_ACTION = com.android.location.service.v3.NetworkLocationProvider
+
+# Threshold period for ZPP triggers
+ZPP_TRIGGER_THRESHOLD=60000
+# Accuracy threshold for ZPP positions
+# less accurate positions are ignored
+ZPP_ACCURACY_THRESHOLD=20000
+
+###################################
+# GEOFENCE SERVICES
+###################################
+# If set to one of the defined values below, it will override
+# the responsiveness for geofence services, which implements
+# the Proximity Alert API. If not set to a value defined below,
+# which is default, it will not override the responsivness.
+# The geofence HAL API is unaffected by this value.
+# GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE Values:
+# 1: LOW responsiveness
+# 2: MEDIUM responsiveness
+# 3: HIGH responsiveness
+GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE = 0
+
+#####################################
+#GTP Opt-In app
+#####################################
+
+#GTP privacy policy version url
+#https support is required
+GTP_PRIVACY_VERSION_URL = https://info.izatcloud.net/privacy/version.html
+
+#GTP privacy policy version download retry interval
+#unit is second. default is 86400
+GTP_PRIVACY_RETRY_INTERVAL = 86400
+
+#####################################
+# IZAT PREMIUM FEATURE SETTINGS
+#####################################
+#Possible states of a feature:
+#DISABLED
+#BASIC
+#PREMIUM
+
+#GTP_CELL_PROC valid options:
+# AP
+# MODEM
+GTP_CELL_PROC=MODEM
+
+#GTP_CELL valid modes:
+# DISABLED
+# BASIC
+GTP_CELL=DISABLED
+
+#GTP_WIFI valid modes:
+# DISABLED
+# BASIC
+GTP_WIFI=DISABLED
+
+#GTP_WAA valid modes:
+# DISABLED
+# BASIC
+GTP_WAA=DISABLED
+
+#SAP valid modes:
+# DISABLED
+# BASIC
+# PREMIUM
+SAP=PREMIUM
+
+#ODCPI valid modes:
+#DISABLED
+#BASIC
+ODCPI=BASIC
+
+#FREE_WIFI_SCAN_INJECT valid modes:
+#DISABLED
+#BASIC
+FREE_WIFI_SCAN_INJECT=BASIC
+
+#SUPL_WIFI valid modes:
+#DISABLED
+#BASIC
+SUPL_WIFI=BASIC
+
+#WIFI_SUPPLICANT_INFO valid modes:
+#DISABLED
+#BASIC
+WIFI_SUPPLICANT_INFO=BASIC
+
+#####################################
+# Location process launcher settings
+#####################################
+
+# DO NOT MODIFY
+# Modifying below attributes without
+# caution can have serious implications.
+
+#Values for PROCESS_STATE:
+# ENABLED
+# DISABLED
+
+#PROCESS_NAME
+# Name of the executable file.
+
+#FEATURE MASKS:
+# GTP-WIFI 0X03
+# GTP-AP-CELL 0X0c
+# GTP-MP-CELL 0xc00
+# GTP-WAA 0X300
+# SAP 0Xc0
+# ODCPI 0x1000
+# FREE_WIFI_SCAN_INJECT 0x2000
+# SUPL_WIFI 0x4000
+# WIFI_SUPPLICANT_INFO 0x8000
+
+#Values for PLATFORMS can be:
+#1. Any valid values obtained from ro.board.platform separated by single space. For example: msm8960 msm8226
+#2. 'all' or 'all exclude' -> for All platforms
+#3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937
+
+#Values for BASEBAND can be:
+#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2
+#2. 'all' or 'all exclude' -> for all basebands
+#3. 'all exclude XXXX' -> All basebands exclude XXXX. For example: all exclude sglte
+PROCESS_NAME=DR_AP_Service
+PROCESS_ARGUMENT=
+PROCESS_STATE=DISABLED
+PROCESS_GROUPS=gps diag
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=automotive
+
+#Valyes for LEAN_TARGETS can be:
+#ENABLED -> if this process is supposed to run on lean and mean targets
+#DISABLED -> if this process is to be disabled on lean and mean targets
+PROCESS_NAME=garden_app
+PROCESS_ARGUMENT=-l 0 -T 1
+PROCESS_STATE=DISABLED
+PROCESS_GROUPS=gps diag
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=automotive
+
+PROCESS_NAME=gpsone_daemon
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=inet
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=msm7630_fusion
+BASEBAND=svlte2a sglte sglte2
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+PROCESS_NAME=lowi-server
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=gps net_admin wifi inet qcom_diag
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0xf303
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+PROCESS_NAME=xtwifi-inet-agent
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=inet gps
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xf0f
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+PROCESS_NAME=xtwifi-client
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=wifi inet gps system oem_2952
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xf0f
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+PROCESS_NAME=slim_daemon
+PROCESS_ARGUMENT=
+PROCESS_STATE=DISABLED
+PROCESS_GROUPS=gps qcom_diag can
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xf0
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+PROCESS_NAME=xtra-daemon
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=inet gps system
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+HARDWARE_TYPE=all
+
+##################################################
+# The name of process which launches XTRA client.
+# Default process name in software which launches
+# XTRA client is system-server. Uncomment the below
+# to set the desired process which will start the
+# XTRA client.
+##################################################
+# XC20_LAUNCH_PROCESS_NAME=garden_app
diff --git a/configs/gps/lowi.conf b/configs/gps/lowi.conf
new file mode 100644
index 0000000..5fdca39
--- /dev/null
+++ b/configs/gps/lowi.conf
@@ -0,0 +1,21 @@
+#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
+#
+# LOWI Config file
+#
+# GENERAL DESCRIPTION
+# This file contains the config params for LOWI
+#
+# Copyright (c) 2012-2013 Qualcomm Atheros, Inc.
+# All Rights Reserved.
+# Qualcomm Atheros Confidential and Proprietary.
+#
+# Export of this technology or software is regulated by the U.S. Government.
+# Diversion contrary to U.S. law prohibited.
+#=============================================================================*/
+
+# X86 ONLY - UBUNTU:
+# Copy this file in the same directory where the executable is
+
+# Log level
+# EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100
+LOWI_LOG_LEVEL = 3
diff --git a/configs/gps/sap.conf b/configs/gps/sap.conf
new file mode 100644
index 0000000..eb21f01
--- /dev/null
+++ b/configs/gps/sap.conf
@@ -0,0 +1,70 @@
+################################
+# Sensor Settings
+################################
+#The following parameters are optional.
+#Internal defaults support MEMS sensors
+#native to most handset devices.
+#Device specific sensor characterization
+#for improved performance is possible as
+#described in SAP application notes.
+#GYRO_BIAS_RANDOM_WALK=
+#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
+#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
+#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
+#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
+
+# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
+# used in loc_eng_reinit
+SENSOR_ACCEL_BATCHES_PER_SEC=2
+SENSOR_ACCEL_SAMPLES_PER_BATCH=5
+SENSOR_GYRO_BATCHES_PER_SEC=2
+SENSOR_GYRO_SAMPLES_PER_BATCH=5
+# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
+SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
+SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
+SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
+SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
+
+# Sensor Control Mode (0=AUTO, 1=FORCE_ON)
+# used in loc_eng_reinit
+SENSOR_CONTROL_MODE=0
+
+# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
+# used in loc_eng_reinit
+SENSOR_USAGE=0
+
+# Choose GSIFF sensor provider (1=Snapdragon Sensors Core, 2=Android NDK)
+SENSOR_PROVIDER=1
+
+# Bit mask used to define which sensor algorithms are used.
+# Setting each bit has the following definition:
+# 0x1 - DISABLE_INS_POSITIONING_FILTER
+# 0x0 - ENABLE_INS_POSITIONING_FILTER
+SENSOR_ALGORITHM_CONFIG_MASK=0x1
+
+#Vehicle Network Provider configuration
+
+#Service configuration strings
+#The number before colon in VN_X items defines version of the format of the rest of the string
+#VN_ACCEL_CFG=0:5
+#VN_GYRO_CFG=0:5.5
+#VN_ODOMETRY_CFG=0:2,4.5
+VN_ACCEL_CFG=1:128,0,12,0.0048828125,12,12,0.0048828125,24,12,0.0048828125
+VN_GYRO_CFG=1:129,0,16,0.00006103515625,16,16,0.00006103515625,32,16,0.00006103515625
+VN_ODOMETRY_CFG=1:130,0,1,5,6,32
+VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
+VN_DWS_CFG=1:132,5,8,1,2,3,1,1,5,2,7,2,9,2,11,2,13,2,15,2,17,2,19,2
+VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
+
+#Procesors clock ratio: AP and CAN bus microcontroller
+VN_PROC_CLOCK_RATIO=1.93165618815148
+
+# Time source used by Sensor HAL
+# Setting this value controls accuracy of location sensor services.
+# 0 - Unknown
+# 1 - CLOCK_BOOTTIME
+# 2 - CLOCK_MONOTONIC
+# 3 - CLOCK_REALTIME
+# 4 - CLOCK_BOOTTIME using Alarm timer interface
+NDK_PROVIDER_TIME_SOURCE=1
+
diff --git a/configs/gps/xtwifi.conf b/configs/gps/xtwifi.conf
new file mode 100644
index 0000000..583dd3f
--- /dev/null
+++ b/configs/gps/xtwifi.conf
@@ -0,0 +1,75 @@
+#GTP AP Project client core config file
+#
+#GENERAL DESCRIPTION
+#This is used by client core
+#
+#Copyright (c) 2012-2014 Qualcomm Atheros, Inc.
+#All Rights Reserved.
+#Qualcomm Atheros Confidential and Proprietary.
+#
+#Copyright (c) 2017 Qualcomm Technologies, Inc.
+#All Rights Reserved.
+#Confidential and Proprietary - Qualcomm Technologies, Inc.
+
+##############################################################################
+# non-IOT devices configuration items #
+# For non-IOT devices, configure below configuration items #
+# according to the app note: 80-NK218-1 and remove the configuration items #
+# in section of "IOT devices configuration items". #
+##############################################################################
+
+# ASN URI v2 to be used by some GTP AP modules that
+# need to run with ASN URI v2 protocol.
+XT_SERVER_ROOT_URL = https://gtp1.izatcloud.net:443/uds/v2
+
+# ASN URI v3 to be used by GTP AP modules that
+# can support ASN URI v3 protocol.
+XT_SERVER_ROOT_URL_V3 = https://gtp1.izatcloud.net:443/uds/v3
+
+# size, in bytes, of the cache on device
+SIZE_BYTE_TOTAL_CACHE = 5000000
+
+##############################################################################
+# IOT devices configuration items #
+# For IOT devices, configure below configuration items #
+# according to the app note and remove the configuration items in section of #
+# "non-IOT devices configuration items". #
+##############################################################################
+
+# ASN URI v3 to be used by GTP AP modules that
+# can support ASN URI v3 protocol.
+# XT_SERVER_ROOT_URL_V3 = https://gtpma1.izatcloud.net:443/uds/v3
+
+# 1: default mode, where mobile downloads tiles and partitions
+# 2: mode for memory and bandwidth limited devices, where mobile
+# downloads AP list and cell list
+# GTP_AP_MODE = 2
+
+# 1: MP cell features relies on GTP AP for either download or upload
+# 0: MP cell features does not rely on GTP AP
+# GTP_AP_NEEDED_BY_MP_CELL = 1
+
+##############################################################################
+# Configuration items applicable to all devices #
+##############################################################################
+
+# Log verbosity control for most of the GTP WiFi system, including native and
+# Java componenets
+# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5, ALL = 100
+DEBUG_GLOBAL_LOG_LEVEL = 2
+
+# this is used at the server side to distinguish uploads from different maker/model
+# default "Qualcomm"
+OEM_ID_IN_REQUEST_TO_SERVER = "Qualcomm"
+
+# this is used at the server side to distinguish uploads from different maker/model
+# default "UNKNOWN"
+MODEL_ID_IN_REQUEST_TO_SERVER = "UNKNOWN"
+
+##############################################################################
+# Qualcomm Network Location Provider config #
+##############################################################################
+
+# Accuracy Threshold for NLP position. Position exceeds thsi threshold will be filtered out.
+# Default is 25000 meters.
+LARGE_ACCURACY_THRESHOLD_TO_FILTER_NLP_POSITION = 25000
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
index e3735b8..578ed79 100644
--- a/configs/media_codecs.xml
+++ b/configs/media_codecs.xml
@@ -192,11 +192,6 @@ Only the three quirks included above are recognized at this point:
</MediaCodec>
</Encoders>
<Decoders>
- <!-- Audio Hardware -->
- <!-- Audio Software -->
- <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" >
- <Limit name="concurrent-instances" max="10" />
- </MediaCodec>
<!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
diff --git a/configs/media_codecs_performance.xml b/configs/media_codecs_performance.xml
index 773eb48..907bdfa 100644
--- a/configs/media_codecs_performance.xml
+++ b/configs/media_codecs_performance.xml
@@ -118,7 +118,7 @@
<Limit name="measured-frame-rate-640x360" range="210-215" />
<Limit name="measured-frame-rate-720x480" range="120-125" />
<Limit name="measured-frame-rate-1280x720" range="70-85" />
- <Limit name="measured-frame-rate-1920x1080" range="16-18" />
+ <Limit name="measured-frame-rate-1920x1080" range="27-29" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="190-210" />
diff --git a/configs/media_profiles_V1_0.xml b/configs/media_profiles_V1_0.xml
new file mode 100644
index 0000000..0935bbc
--- /dev/null
+++ b/configs/media_profiles_V1_0.xml
@@ -0,0 +1,428 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 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.
+-->
+<!DOCTYPE MediaSettings [
+<!ELEMENT MediaSettings (CamcorderProfiles,
+ EncoderOutputFileFormat+,
+ VideoEncoderCap+,
+ AudioEncoderCap+,
+ VideoDecoderCap,
+ AudioDecoderCap)>
+<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
+<!ELEMENT EncoderProfile (Video, Audio)>
+<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
+<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
+<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
+<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
+<!ELEMENT Video EMPTY>
+<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
+<!ATTLIST Video bitRate CDATA #REQUIRED>
+<!ATTLIST Video width CDATA #REQUIRED>
+<!ATTLIST Video height CDATA #REQUIRED>
+<!ATTLIST Video frameRate CDATA #REQUIRED>
+<!ELEMENT Audio EMPTY>
+<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
+<!ATTLIST Audio bitRate CDATA #REQUIRED>
+<!ATTLIST Audio sampleRate CDATA #REQUIRED>
+<!ATTLIST Audio channels (1|2) #REQUIRED>
+<!ELEMENT ImageEncoding EMPTY>
+<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
+<!ELEMENT ImageDecoding EMPTY>
+<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
+<!ELEMENT Camera EMPTY>
+<!ELEMENT EncoderOutputFileFormat EMPTY>
+<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
+<!ELEMENT VideoEncoderCap EMPTY>
+<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
+<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
+<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
+<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
+<!ELEMENT AudioEncoderCap EMPTY>
+<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
+<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
+<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
+<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
+<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
+<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
+<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
+<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
+<!ELEMENT VideoDecoderCap EMPTY>
+<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
+<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
+<!ELEMENT AudioDecoderCap EMPTY>
+<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
+<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
+<!ELEMENT VideoEditorCap EMPTY>
+<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
+<!ELEMENT ExportVideoProfile EMPTY>
+<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
+<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
+<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
+]>
+<!--
+ This file is used to declare the multimedia profiles and capabilities
+ on an android-powered device.
+-->
+<MediaSettings>
+ <!-- Each camcorder profile defines a set of predefined configuration parameters -->
+ <CamcorderProfiles cameraId="0">
+
+ <EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
+ <Video codec="m4v"
+ bitRate="128000"
+ width="320"
+ height="240"
+ frameRate="15" />
+ <Audio codec="amrnb"
+ bitRate="12200"
+ sampleRate="8000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="1200000"
+ width="352"
+ height="288"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="6000000"
+ width="720"
+ height="480"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="12000000"
+ width="1280"
+ height="720"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="17000000"
+ width="1920"
+ height="1080"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="192000"
+ width="176"
+ height="144"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="amrnb"
+ bitRate="12200"
+ sampleRate="8000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="1200000"
+ width="352"
+ height="288"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="6000000"
+ width="720"
+ height="480"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="12000000"
+ width="1280"
+ height="720"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="17000000"
+ width="1920"
+ height="1080"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <ImageEncoding quality="95" />
+ <ImageEncoding quality="80" />
+ <ImageEncoding quality="70" />
+ <ImageDecoding memCap="20000000" />
+
+ </CamcorderProfiles>
+
+ <CamcorderProfiles cameraId="1">
+
+ <EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
+ <Video codec="m4v"
+ bitRate="128000"
+ width="320"
+ height="240"
+ frameRate="15" />
+ <Audio codec="amrnb"
+ bitRate="12200"
+ sampleRate="8000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="1200000"
+ width="352"
+ height="288"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="6000000"
+ width="720"
+ height="480"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="12000000"
+ width="1280"
+ height="720"
+ frameRate="30" />
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="192000"
+ width="176"
+ height="144"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="amrnb"
+ bitRate="12200"
+ sampleRate="8000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="1200000"
+ width="352"
+ height="288"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="6000000"
+ width="720"
+ height="480"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
+ <Video codec="h264"
+ bitRate="12000000"
+ width="1280"
+ height="720"
+ frameRate="30" />
+ <!-- audio setting is ignored -->
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="48000"
+ channels="1" />
+ </EncoderProfile>
+
+ <ImageEncoding quality="95" />
+ <ImageEncoding quality="80" />
+ <ImageEncoding quality="70" />
+ <ImageDecoding memCap="20000000" />
+
+ </CamcorderProfiles>
+
+ <EncoderOutputFileFormat name="3gp" />
+ <EncoderOutputFileFormat name="mp4" />
+
+ <!--
+ If a codec is not enabled, it is invisible to the applications
+ In other words, the applications won't be able to use the codec
+ or query the capabilities of the codec at all if it is disabled
+ -->
+ <VideoEncoderCap name="h264" enabled="true"
+ minBitRate="64000" maxBitRate="40000000"
+ minFrameWidth="176" maxFrameWidth="1920"
+ minFrameHeight="144" maxFrameHeight="1080"
+ minFrameRate="15" maxFrameRate="30" />
+
+ <VideoEncoderCap name="h263" enabled="true"
+ minBitRate="64000" maxBitRate="2000000"
+ minFrameWidth="176" maxFrameWidth="800"
+ minFrameHeight="144" maxFrameHeight="480"
+ minFrameRate="15" maxFrameRate="30" />
+
+ <VideoEncoderCap name="m4v" enabled="true"
+ minBitRate="64000" maxBitRate="40000000"
+ minFrameWidth="176" maxFrameWidth="1920"
+ minFrameHeight="144" maxFrameHeight="1080"
+ minFrameRate="15" maxFrameRate="30" />
+
+ <AudioEncoderCap name="aac" enabled="true"
+ minBitRate="758" maxBitRate="288000"
+ minSampleRate="8000" maxSampleRate="48000"
+ minChannels="1" maxChannels="1" />
+
+ <AudioEncoderCap name="heaac" enabled="true"
+ minBitRate="8000" maxBitRate="64000"
+ minSampleRate="16000" maxSampleRate="48000"
+ minChannels="1" maxChannels="1" />
+
+ <AudioEncoderCap name="aaceld" enabled="true"
+ minBitRate="16000" maxBitRate="192000"
+ minSampleRate="16000" maxSampleRate="48000"
+ minChannels="1" maxChannels="1" />
+
+ <AudioEncoderCap name="amrwb" enabled="true"
+ minBitRate="6600" maxBitRate="23050"
+ minSampleRate="16000" maxSampleRate="16000"
+ minChannels="1" maxChannels="1" />
+
+ <AudioEncoderCap name="amrnb" enabled="true"
+ minBitRate="5525" maxBitRate="12200"
+ minSampleRate="8000" maxSampleRate="8000"
+ minChannels="1" maxChannels="1" />
+
+ <!--
+ FIXME:
+ We do not check decoder capabilities at present
+ At present, we only check whether windows media is visible
+ for TEST applications. For other applications, we do
+ not perform any checks at all.
+ -->
+ <VideoDecoderCap name="wmv" enabled="false"/>
+ <AudioDecoderCap name="wma" enabled="false"/>
+
+ <!--
+ The VideoEditor Capability configuration:
+ - maxInputFrameWidth: maximum video width of imported video clip.
+ - maxInputFrameHeight: maximum video height of imported video clip.
+ - maxOutputFrameWidth: maximum video width of exported video clip.
+ - maxOutputFrameHeight: maximum video height of exported video clip.
+ - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
+ used to limit the amount of memory for prefetched YUV frames.
+ For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
+ frames) memory.
+ -->
+ <VideoEditorCap maxInputFrameWidth="1920"
+ maxInputFrameHeight="1080" maxOutputFrameWidth="1920"
+ maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/>
+ <!--
+ The VideoEditor Export codec profile and level values
+ correspond to the values in OMX_Video.h.
+ E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
+ and level 4096 means OMX_VIDEO_AVCLevel41.
+ Please note that the values are in decimal.
+ These values are for video encoder.
+ -->
+ <!--
+ Codec = h.264, Baseline profile, level 4.0
+ -->
+ <ExportVideoProfile name="h264" profile= "1" level="2048"/>
+ <!--
+ Codec = h.263, Baseline profile, level 70
+ -->
+ <ExportVideoProfile name="h263" profile= "1" level="128"/>
+ <!--
+ Codec = mpeg4, Simple profile, level 5
+ -->
+ <ExportVideoProfile name="m4v" profile= "1" level="128"/>
+</MediaSettings>
diff --git a/configs/media_profiles.xml b/configs/media_profiles_vendor.xml
index c98d592..c37cd31 100755..100644
--- a/configs/media_profiles.xml
+++ b/configs/media_profiles_vendor.xml
@@ -37,7 +37,7 @@
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
-<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED>
+<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2|6) #REQUIRED>
@@ -63,7 +63,7 @@
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY>
-<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED>
+<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
@@ -188,45 +188,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="24" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -253,19 +214,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
@@ -337,20 +285,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="amrnb"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
@@ -393,47 +327,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -560,19 +453,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<!-- TIMELAPSE profiles for front camera -->
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
@@ -644,20 +524,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="amrnb"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
@@ -800,45 +666,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="24" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -865,19 +692,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
@@ -949,20 +763,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="amrnb"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
@@ -1005,47 +805,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -1159,45 +918,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="24" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -1224,19 +944,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
@@ -1308,20 +1015,6 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="amrnb"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
@@ -1364,47 +1057,6 @@
channels="2" />
</EncoderProfile>
- <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="2560"
- height="1440"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="20000000"
- width="2048"
- height="1080"
- frameRate="30" />
-
- <!-- audio setting is ignored -->
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="42000000"
- width="4096"
- height="2160"
- frameRate="30" />
-
- <Audio codec="aac"
- bitRate="156000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="42000000"
@@ -1490,11 +1142,6 @@
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
- <AudioEncoderCap name="lpcm" enabled="true"
- minBitRate="768000" maxBitRate="4608000"
- minSampleRate="8000" maxSampleRate="48000"
- minChannels="1" maxChannels="6" />
-
<!--
FIXME:
We do not check decoder capabilities at present
diff --git a/configs/msm_irqbalance.conf b/configs/msm_irqbalance.conf
index 981ba23..981ba23 100755..100644
--- a/configs/msm_irqbalance.conf
+++ b/configs/msm_irqbalance.conf
diff --git a/configs/privapp-permissions-qti.xml b/configs/privapp-permissions-qti.xml
new file mode 100644
index 0000000..ba1d98e
--- /dev/null
+++ b/configs/privapp-permissions-qti.xml
@@ -0,0 +1,100 @@
+<?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="se.dirac.acs">
+ <permission name="android.permission.INTERACT_ACROSS_USERS"/>
+ </privapp-permissions>
+ <privapp-permissions package="android.ext.services">
+ <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"/>
+ </privapp-permissions>
+ <privapp-permissions package="android.ext.services">
+ <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.CALL_PRIVILEGED"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.CHANGE_CONFIGURATION"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.MODIFY_PHONE_STATE"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.AutoTest">
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.CALL_PRIVILEGED"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.CHANGE_CONFIGURATION"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.MODIFY_PHONE_STATE"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.longcheertel.cit">
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.android.systemui">
+ <permission name="com.android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
+ </privapp-permissions>
+
+ <privapp-permissions package="com.caf.fmradio">
+ <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
+ </privapp-permissions>
+
+ <privapp-permissions package="com.caf.fmradio">
+ <permission name="android.permission.INTERACT_ACROSS_USERS"/>
+ </privapp-permissions>
+
+</permissions>
diff --git a/configs/appboosts.xml b/configs/qti_whitelist.xml
index a05c22c..c3bd736 100755..100644
--- a/configs/appboosts.xml
+++ b/configs/qti_whitelist.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2017, 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
@@ -30,33 +30,16 @@
*/
-->
-<PerfBoosts>
- <!--Boost params mappings need to be defined for target-->
- <BoostParamsMappings>
- <BoostAttributes
- MapType="freq"
- Target="sdm660"
- Resolution="1080p"
- Mappings="890, 1100, 1400, 1700, 2400" />
- <BoostAttributes
- MapType="freq"
- Target="sdm660"
- Resolution="2560"
- Mappings="890, 1100, 1400, 1700, 2400" />
- <BoostAttributes
- MapType="cluster"
- Target="sdm660"
- Resolution="any"
- Mappings="0, 1, 1" />
- <BoostAttributes
- MapType="freq"
- Target="sdm630"
- Resolution="1080p"
- Mappings="787, 1344, 1670, 1881, 2300" />
- <BoostAttributes
- MapType="cluster"
- Target="sdm630"
- Resolution="any"
- Mappings="0, 1, 1" />
- </BoostParamsMappings>
-</PerfBoosts>
+<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.qulacomm.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.StatsPollManager" />
+ <allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" />
+</config>
diff --git a/configs/sec_config b/configs/sec_config
new file mode 100644
index 0000000..7338454
--- /dev/null
+++ b/configs/sec_config
@@ -0,0 +1,322 @@
+/* IPC Security Config */
+/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
+16:4294967295:1000:1021
+/* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
+56:4294967295:1021
+/* Allow SS CTL service to be used by system and net_raw processes */
+43:4294967295:1000:3004
+/* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
+71:4294967295:1001
+/* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
+50:4294967295:1001
+/* QMI-SLIM service permitted to gps and net_raw */
+55:4294967295:1021
+/* Allow Sensor services to be used by sensor process */
+256:4294967295:1000:1006:1013:1021:1047
+257:4294967295:1000:1006:1013:1021:1047
+258:4294967295:1000:1006:1013:1021:1047
+259:4294967295:1000:1006:1013:1021:1047
+260:4294967295:1000:1006:1013:1021:1047
+261:4294967295:1000:1006:1013:1021:1047
+262:4294967295:1000:1006:1013:1021:1047
+263:4294967295:1000:1006:1013:1021:1047
+264:4294967295:1000:1006:1013:1021:1047
+265:4294967295:1000:1006:1013:1021:1047
+266:4294967295:1000:1006:1013:1021:1047
+267:4294967295:1000:1006:1013:1021:1047
+268:4294967295:1000:1006:1013:1021:1047
+269:4294967295:1000:1006:1013:1021:1047
+270:4294967295:1000:1006:1013:1021:1047
+271:4294967295:1000:1006:1013:1021:1047
+272:4294967295:1000:1006:1013:1021:1047
+273:4294967295:1000:1006:1013:1021:1047
+274:4294967295:1000:1006:1013:1021:1047
+275:4294967295:1000:1006:1013:1021:1047
+276:4294967295:1000:1006:1013:1021:1047
+277:4294967295:1000:1006:1013:1021:1047
+278:4294967295:1000:1006:1013:1021:1047
+279:4294967295:1000:1006:1013:1021:1047
+280:4294967295:1000:1006:1013:1021:1047
+281:4294967295:1000:1006:1013:1021:1047
+282:4294967295:1000:1006:1013:1021:1047
+283:4294967295:1000:1006:1013:1021:1047
+284:4294967295:1000:1006:1013:1021:1047
+285:4294967295:1000:1006:1013:1021:1047
+286:4294967295:1000:1006:1013:1021:1047
+287:4294967295:1000:1006:1013:1021:1047
+288:4294967295:1000:1006:1013:1021:1047
+289:4294967295:1000:1006:1013:1021:1047
+290:4294967295:1000:1006:1013:1021:1047
+291:4294967295:1000:1006:1013:1021:1047
+292:4294967295:1000:1006:1013:1021:1047
+293:4294967295:1000:1006:1013:1021:1047
+294:4294967295:1000:1006:1013:1021:1047
+295:4294967295:1000:1006:1013:1021:1047
+296:4294967295:1000:1006:1013:1021:1047
+297:4294967295:1000:1006:1013:1021:1047
+298:4294967295:1000:1006:1013:1021:1047
+299:4294967295:1000:1006:1013:1021:1047
+300:4294967295:1000:1006:1013:1021:1047
+301:4294967295:1000:1006:1013:1021:1047
+302:4294967295:1000:1006:1013:1021:1047
+303:4294967295:1000:1006:1013:1021:1047
+304:4294967295:1000:1006:1013:1021:1047
+305:4294967295:1000:1006:1013:1021:1047
+306:4294967295:1000:1006:1013:1021:1047
+307:4294967295:1000:1006:1013:1021:1047
+308:4294967295:1000:1006:1013:1021:1047
+309:4294967295:1000:1006:1013:1021:1047
+310:4294967295:1000:1006:1013:1021:1047
+311:4294967295:1000:1006:1013:1021:1047
+312:4294967295:1000:1006:1013:1021:1047
+313:4294967295:1000:1006:1013:1021:1047
+314:4294967295:1000:1006:1013:1021:1047
+315:4294967295:1000:1006:1013:1021:1047
+316:4294967295:1000:1006:1013:1021:1047
+317:4294967295:1000:1006:1013:1021:1047
+318:4294967295:1000:1006:1013:1021:1047
+319:4294967295:1000:1006:1013:1021:1047
+320:4294967295:1000:1006:1013:1021:1047
+321:4294967295:1000:1006:1013:1021:1047
+322:4294967295:1000:1006:1013:1021:1047
+323:4294967295:1000:1006:1013:1021:1047
+324:4294967295:1000:1006:1013:1021:1047
+325:4294967295:1000:1006:1013:1021:1047
+326:4294967295:1000:1006:1013:1021:1047
+327:4294967295:1000:1006:1013:1021:1047
+328:4294967295:1000:1006:1013:1021:1047
+329:4294967295:1000:1006:1013:1021:1047
+330:4294967295:1000:1006:1013:1021:1047
+331:4294967295:1000:1006:1013:1021:1047
+332:4294967295:1000:1006:1013:1021:1047
+333:4294967295:1000:1006:1013:1021:1047
+334:4294967295:1000:1006:1013:1021:1047
+335:4294967295:1000:1006:1013:1021:1047
+336:4294967295:1000:1006:1013:1021:1047
+337:4294967295:1000:1006:1013:1021:1047
+338:4294967295:1000:1006:1013:1021:1047
+339:4294967295:1000:1006:1013:1021:1047
+340:4294967295:1000:1006:1013:1021:1047
+341:4294967295:1000:1006:1013:1021:1047
+342:4294967295:1000:1006:1013:1021:1047
+343:4294967295:1000:1006:1013:1021:1047
+344:4294967295:1000:1006:1013:1021:1047
+345:4294967295:1000:1006:1013:1021:1047
+346:4294967295:1000:1006:1013:1021:1047
+347:4294967295:1000:1006:1013:1021:1047
+348:4294967295:1000:1006:1013:1021:1047
+349:4294967295:1000:1006:1013:1021:1047
+350:4294967295:1000:1006:1013:1021:1047
+351:4294967295:1000:1006:1013:1021:1047
+352:4294967295:1000:1006:1013:1021:1047
+353:4294967295:1000:1006:1013:1021:1047
+354:4294967295:1000:1006:1013:1021:1047
+355:4294967295:1000:1006:1013:1021:1047
+356:4294967295:1000:1006:1013:1021:1047
+357:4294967295:1000:1006:1013:1021:1047
+358:4294967295:1000:1006:1013:1021:1047
+359:4294967295:1000:1006:1013:1021:1047
+360:4294967295:1000:1006:1013:1021:1047
+361:4294967295:1000:1006:1013:1021:1047
+362:4294967295:1000:1006:1013:1021:1047
+363:4294967295:1000:1006:1013:1021:1047
+364:4294967295:1000:1006:1013:1021:1047
+365:4294967295:1000:1006:1013:1021:1047
+366:4294967295:1000:1006:1013:1021:1047
+367:4294967295:1000:1006:1013:1021:1047
+368:4294967295:1000:1006:1013:1021:1047
+369:4294967295:1000:1006:1013:1021:1047
+370:4294967295:1000:1006:1013:1021:1047
+371:4294967295:1000:1006:1013:1021:1047
+372:4294967295:1000:1006:1013:1021:1047
+373:4294967295:1000:1006:1013:1021:1047
+374:4294967295:1000:1006:1013:1021:1047
+375:4294967295:1000:1006:1013:1021:1047
+376:4294967295:1000:1006:1013:1021:1047
+377:4294967295:1000:1006:1013:1021:1047
+378:4294967295:1000:1006:1013:1021:1047
+379:4294967295:1000:1006:1013:1021:1047
+380:4294967295:1000:1006:1013:1021:1047
+381:4294967295:1000:1006:1013:1021:1047
+382:4294967295:1000:1006:1013:1021:1047
+383:4294967295:1000:1006:1013:1021:1047
+384:4294967295:1000:1006:1013:1021:1047
+385:4294967295:1000:1006:1013:1021:1047
+386:4294967295:1000:1006:1013:1021:1047
+387:4294967295:1000:1006:1013:1021:1047
+388:4294967295:1000:1006:1013:1021:1047
+389:4294967295:1000:1006:1013:1021:1047
+390:4294967295:1000:1006:1013:1021:1047
+391:4294967295:1000:1006:1013:1021:1047
+392:4294967295:1000:1006:1013:1021:1047
+393:4294967295:1000:1006:1013:1021:1047
+394:4294967295:1000:1006:1013:1021:1047
+395:4294967295:1000:1006:1013:1021:1047
+396:4294967295:1000:1006:1013:1021:1047
+397:4294967295:1000:1006:1013:1021:1047
+398:4294967295:1000:1006:1013:1021:1047
+399:4294967295:1000:1006:1013:1021:1047
+400:4294967295:1000:1006:1013:1021:1047
+401:4294967295:1000:1006:1013:1021:1047
+402:4294967295:1000:1006:1013:1021:1047
+403:4294967295:1000:1006:1013:1021:1047
+404:4294967295:1000:1006:1013:1021:1047
+405:4294967295:1000:1006:1013:1021:1047
+406:4294967295:1000:1006:1013:1021:1047
+407:4294967295:1000:1006:1013:1021:1047
+408:4294967295:1000:1006:1013:1021:1047
+409:4294967295:1000:1006:1013:1021:1047
+410:4294967295:1000:1006:1013:1021:1047
+411:4294967295:1000:1006:1013:1021:1047
+412:4294967295:1000:1006:1013:1021:1047
+413:4294967295:1000:1006:1013:1021:1047
+414:4294967295:1000:1006:1013:1021:1047
+415:4294967295:1000:1006:1013:1021:1047
+416:4294967295:1000:1006:1013:1021:1047
+417:4294967295:1000:1006:1013:1021:1047
+418:4294967295:1000:1006:1013:1021:1047
+419:4294967295:1000:1006:1013:1021:1047
+420:4294967295:1000:1006:1013:1021:1047
+421:4294967295:1000:1006:1013:1021:1047
+422:4294967295:1000:1006:1013:1021:1047
+423:4294967295:1000:1006:1013:1021:1047
+424:4294967295:1000:1006:1013:1021:1047
+425:4294967295:1000:1006:1013:1021:1047
+426:4294967295:1000:1006:1013:1021:1047
+427:4294967295:1000:1006:1013:1021:1047
+428:4294967295:1000:1006:1013:1021:1047
+429:4294967295:1000:1006:1013:1021:1047
+430:4294967295:1000:1006:1013:1021:1047
+431:4294967295:1000:1006:1013:1021:1047
+432:4294967295:1000:1006:1013:1021:1047
+433:4294967295:1000:1006:1013:1021:1047
+434:4294967295:1000:1006:1013:1021:1047
+435:4294967295:1000:1006:1013:1021:1047
+436:4294967295:1000:1006:1013:1021:1047
+437:4294967295:1000:1006:1013:1021:1047
+438:4294967295:1000:1006:1013:1021:1047
+439:4294967295:1000:1006:1013:1021:1047
+440:4294967295:1000:1006:1013:1021:1047
+441:4294967295:1000:1006:1013:1021:1047
+442:4294967295:1000:1006:1013:1021:1047
+443:4294967295:1000:1006:1013:1021:1047
+444:4294967295:1000:1006:1013:1021:1047
+445:4294967295:1000:1006:1013:1021:1047
+446:4294967295:1000:1006:1013:1021:1047
+447:4294967295:1000:1006:1013:1021:1047
+448:4294967295:1000:1006:1013:1021:1047
+449:4294967295:1000:1006:1013:1021:1047
+450:4294967295:1000:1006:1013:1021:1047
+451:4294967295:1000:1006:1013:1021:1047
+452:4294967295:1000:1006:1013:1021:1047
+453:4294967295:1000:1006:1013:1021:1047
+454:4294967295:1000:1006:1013:1021:1047
+455:4294967295:1000:1006:1013:1021:1047
+456:4294967295:1000:1006:1013:1021:1047
+457:4294967295:1000:1006:1013:1021:1047
+458:4294967295:1000:1006:1013:1021:1047
+459:4294967295:1000:1006:1013:1021:1047
+460:4294967295:1000:1006:1013:1021:1047
+461:4294967295:1000:1006:1013:1021:1047
+462:4294967295:1000:1006:1013:1021:1047
+463:4294967295:1000:1006:1013:1021:1047
+464:4294967295:1000:1006:1013:1021:1047
+465:4294967295:1000:1006:1013:1021:1047
+466:4294967295:1000:1006:1013:1021:1047
+467:4294967295:1000:1006:1013:1021:1047
+468:4294967295:1000:1006:1013:1021:1047
+469:4294967295:1000:1006:1013:1021:1047
+470:4294967295:1000:1006:1013:1021:1047
+471:4294967295:1000:1006:1013:1021:1047
+472:4294967295:1000:1006:1013:1021:1047
+473:4294967295:1000:1006:1013:1021:1047
+474:4294967295:1000:1006:1013:1021:1047
+475:4294967295:1000:1006:1013:1021:1047
+476:4294967295:1000:1006:1013:1021:1047
+477:4294967295:1000:1006:1013:1021:1047
+478:4294967295:1000:1006:1013:1021:1047
+479:4294967295:1000:1006:1013:1021:1047
+480:4294967295:1000:1006:1013:1021:1047
+481:4294967295:1000:1006:1013:1021:1047
+482:4294967295:1000:1006:1013:1021:1047
+483:4294967295:1000:1006:1013:1021:1047
+484:4294967295:1000:1006:1013:1021:1047
+485:4294967295:1000:1006:1013:1021:1047
+486:4294967295:1000:1006:1013:1021:1047
+487:4294967295:1000:1006:1013:1021:1047
+488:4294967295:1000:1006:1013:1021:1047
+489:4294967295:1000:1006:1013:1021:1047
+490:4294967295:1000:1006:1013:1021:1047
+491:4294967295:1000:1006:1013:1021:1047
+492:4294967295:1000:1006:1013:1021:1047
+493:4294967295:1000:1006:1013:1021:1047
+494:4294967295:1000:1006:1013:1021:1047
+495:4294967295:1000:1006:1013:1021:1047
+496:4294967295:1000:1006:1013:1021:1047
+497:4294967295:1000:1006:1013:1021:1047
+498:4294967295:1000:1006:1013:1021:1047
+499:4294967295:1000:1006:1013:1021:1047
+500:4294967295:1000:1006:1013:1021:1047
+501:4294967295:1000:1006:1013:1021:1047
+502:4294967295:1000:1006:1013:1021:1047
+503:4294967295:1000:1006:1013:1021:1047
+504:4294967295:1000:1006:1013:1021:1047
+505:4294967295:1000:1006:1013:1021:1047
+506:4294967295:1000:1006:1013:1021:1047
+507:4294967295:1000:1006:1013:1021:1047
+508:4294967295:1000:1006:1013:1021:1047
+509:4294967295:1000:1006:1013:1021:1047
+510:4294967295:1000:1006:1013:1021:1047
+511:4294967295:1000:1006:1013:1021:1047
+/* Allow RCS service to aquire net_raw permission */
+18:4294967295:1001:3004
+/* Allow QMID service to aquire net_raw permission */
+3:4294967295:1001:1021:3004
+2:4294967295:1000:1001:3004
+42:4294967295:1001:3004
+18:4294967295:1001:3004
+9:4294967295:1001:3004
+1:4294967295:1001:3004:1000
+4:4294967295:1001:3004
+7:4294967295:1001:3004
+8:4294967295:1001:3004:1000
+68:4294967295:1001:3004
+/* DPM */
+47:4294967295:1001:3004
+/* Allow communication to some QMI services with radio privilages */
+/* Format is <Service id>:<all instances>:<radio> */
+/* PBM */
+12:4294967295:1001
+/* WMS */
+5:4294967295:1001
+/* IMS VT */
+32:4294967295:1001
+/* IMSP */
+31:4294967295:1001
+/* PDC */
+36:4294967295:1001
+/* SAR */
+17:4294967295:1001
+/* RFRPE */
+41:4294967295:1001
+/*UIM*/
+11:4294967295:1001
+/*CAT*/
+10:4294967295:1001
+/*IMSA*/
+33:4294967295:1001
+/* CSVT */
+29:4294967295:1001
+/*SERVREG_NOTIF*/
+64:4294967295:1001
+66:4294967295:1001
+/*LTE*/
+70:4294967295:1001
+/* Allow Data dpmd to access QMI DFS */
+48:4294967295:1000:3004
+/* DIAG */
+4097:4294967295:2002:2950:3009:2901
+/* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
+69:4294967295:1000
+/* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
+57:4294967295:1000
diff --git a/configs/whitelistedapps.xml b/configs/whitelistedapps.xml
index 3bdf820..06e3874 100755..100644
--- a/configs/whitelistedapps.xml
+++ b/configs/whitelistedapps.xml
@@ -1,32 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
-/* Copyright (c) 2016, 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.
+/* Copyright (c) 2017 Qualcomm Technologies, Inc.
+ * All Rights Reserved.
+ * Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
@@ -75,9 +52,12 @@
<AppAttributes
PackageName="com.tencent.mm" />
</NetTriggerApps>
- <AppTriggerApps>
+ <HWAccelApps>
<AppAttributes PackageName="com.autonavi.xmgd.navigator" />
<AppAttributes PackageName="com.tencent.qqpimsecure" />
<AppAttributes PackageName="com.ludashi.benchmark" />
- </AppTriggerApps>
+ <AppAttributes PackageName="com.tencent.mobileqq" />
+ <AppAttributes PackageName="com.taobao.taobao" />
+ <AppAttributes PackageName="com.youdao.dict" />
+ </HWAccelApps>
</AppCatalog>