garnet: Initial import

Change-Id: Ib229a3a4d2f8a1e602085fad2b6a757f994cdd99
This commit is contained in:
AdarshGrewal
2025-12-24 20:06:53 +05:30
commit 3e85cf266b
2023 changed files with 162066 additions and 0 deletions
+34457
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
#
# Automatically generated file. DO NOT MODIFY
#
LOCAL_PATH := $(call my-dir)
+3
View File
@@ -0,0 +1,3 @@
#
# Automatically generated file. DO NOT MODIFY
#
+2018
View File
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,254 @@
{
"version": "1.0",
"product": "garnet",
"support": {
"3rdcam_inhibit_enable": true,
"oom_update_support": true,
"cam_boost_early_enable": true,
"cam_boost_early_boost_perf": true,
"perceptible_support": true,
"lmkd_perceptible_support": true,
"dynamic_task_proctect_support": true,
"thread_inhibit_support": true,
"inhibit_tokill_cgroup_support": true,
"inhibit_sysapp_cgroup_support": true,
"hprof_dump_enable":false,
"light_white_support": true
},
"oom": {
"oom_level": "51200:0,89600:100,128000:200,179200:251,262144:701,393216:800",
"psi_level": "28,20,13,8"
},
"threshold": {
"skip_task": 2,
"skip_task_lower": 1,
"adj_threshold": 800,
"lowAdj_threshold": 0,
"3rd_lowAdj_threshold": 50,
"cam_boost_threshold": 3145728,
"kill_lowprio_sysapp_threshlod": 10240,
"kill_highprio_sysapp_threshlod": 30720,
"protect_locktask_num": 2,
"kill_tag": 31,
"3rd_skip_task_lower": 2,
"3rd_kill_tag": 31,
"update_state_delay_ms": 5000,
"dynamic_interval": 5000,
"free_memory_threshold": 524288,
"restart_kill_duration": 1000
},
"kill_configs": [
{
"name": "pss_threshold",
"config": {
"com.tencent.mm": 1024000,
"com.miui.gallery": 368640,
"com.miui.home": 716800,
"com.miui.personalassistant": 512000,
"com.miui.miwallpaper": 409600,
"com.xiaomi.bluetooth": 153600,
"com.xiaomi.xmsf:services": 20480,
"com.xiaomi.mtb": 15360,
"com.miui.systemAdSolution": 35840,
"com.modemdebug": 10240,
"com.google.process.gservices": 20480,
"com.milink.service": 40960,
"com.miui.mishare.connectivity": 20480,
"com.miui.presale": 25600,
"com.qualcomm.qti.autoregistration": 10240,
"com.android.settings": 35840,
"com.lbe.security.miui": 30720,
"com.miui.aod": 51200,
"com.miui.miwallpaper.geometry:GeometrySuperWallpaper": 563200,
"com.miui.miwallpaper.snowmountain:snowmountainSuperWallpaper": 563200,
"com.miui.miwallpaper.saturn:saturnSuperWallpaper": 563200,
"com.miui.miwallpaper.earth:earthSuperWallpaper": 563200,
"com.miui.miwallpaper.mars:marsSuperWallpaper": 563200,
"com.miui.voiceassist:core": 81920,
"com.miui.securityadd": 102400,
"com.mobiletools.systemhelper": 20480,
"com.android.htmlviewer:remote": 40960
}
},
{
"name": "adj_threshold",
"config": {
"com.tencent.mm": 250,
"com.miui.screenrecorder": 200,
"com.miui.securitycenter:ui": 250,
"com.miui.securityadd": 250,
"com.milink.service": 250,
"com.miui.mishare.connectivity": 250,
"com.android.incallui": 250,
"com.android.updater": 250,
"com.mi.health:device": 250
}
}
],
"dump_app_configs": {
"com.miui.home": 563200,
"com.android.systemui": 563200,
"com.miui.miwallpaper": 307200
},
"cpus_configs": {
"limit-level0": "0-1",
"limit-level1": "0-2",
"limit-level2": "0-3",
"limit-level3": "0-3"
},
"configs": [
{
"name": "protect_list",
"config": [
"com.tencent.mobileqq",
"com.ss.android.lark.kami",
"com.google.android.apps.photos"
]
},
{
"name": "black_list",
"config": [
"com.miui.newhome:launcher",
"com.xiaomi.smarthome:plugin0",
"com.xiaomi.smarthome",
"com.xiaomi.mipicks",
"com.xiaomi.misettings",
"com.android.settings:remote"
]
},
{
"name": "perceptible_list",
"config": [
"com.tencent.mm",
"com.miui.personalassistant",
"com.xiaomi.bluetooth",
"com.miui.securitycenter:ui",
"com.miui.systemAdSolution",
"com.google.process.gservices",
"com.milink.service",
"com.miui.mishare.connectivity",
"com.miui.presale",
"com.android.settings",
"com.android.updater",
"com.milink.service:core"
]
},
{
"name": "white_list",
"config": [
"com.android.camera",
"com.miui.miwallpaper",
"com.miui.home",
"com.miui.screenrecorder",
"com.tencent.mm:push",
"com.tencent.mobileqq:MSF",
"com.ss.android.lark.kami:wschannel",
"android.process.media",
"com.android.traceur",
"com.phonetest.application:CameraMemoryWatcher",
"android.camera.cts",
"android.camera.cts:errorLoggingServiceProcess",
"com.miui.avpressuretest",
"com.android.mms:mms_service",
"com.xiaomi.xmsf:services",
"com.xiaomi.mtb",
"com.modemdebug",
"com.qualcomm.qti.autoregistration",
"com.lbe.security.miui",
"com.miui.aod",
"com.android.incallui",
"com.miui.voiceassist:core",
"com.mi.health:device",
"com.miui.gallery"
]
},
{
"name": "inhibit_app_list",
"config": [
"com.google.android.providers.media.module",
"com.sohu.inputmethod.sogou.xiaomi",
"com.google.android.apps.photos",
"com.google.android.apps.maps",
"com.google.android.inputmethod.latin"
]
},
{
"name": "inhibit_sysapp_list",
"config": [
"com.lbe.security.miui",
"com.mi.health",
"com.milink.service",
"com.miui.analytics",
"com.miui.daemon",
"com.miui.mishare.connectivity",
"com.miui.securitycenter",
"com.miui.voiceassist",
"com.qualcomm.qti.workloadclassifier",
"com.xiaomi.bluetooth"
]
},
{
"name": "inhibit_native_list",
"config": [
"com.google.android.gms.persistent",
"/system/bin/logd",
"/vendor/bin/diag-router",
"/system/vendor/bin/cnss_diag"
]
},
{
"name": "dynamic_protect_list",
"config": [
"com.tencent.mm",
"com.tencent.mobileqq"
]
},
{
"name": "intercept_restart_list",
"config": [
"com.google.android.youtube",
"com.google.android.googlequicksearchbox:search",
"com.android.settings:remote",
"com.android.vending",
"com.miui.analytics",
"com.google.android.apps.photos",
"com.miui.cloudservice:galleryproxy",
"com.xiaomi.mipicks",
"com.facebook.katana",
"com.facebook.orca",
"com.ss.android.ugc.trill",
"com.telkomsel.telkomselcm"
]
}
],
"configs_cn": [
{
"name": "intercept_restart_list",
"config": [
"com.xiaomi.bsp.gps.nps",
"com.android.settings:remote",
"com.google.process.gservices",
"com.google.android.gms",
"com.google.android.gms.persistent",
"com.google.process.gapps",
"com.android.vending"
]
},
{
"name": "inhibit_app_list",
"config": [
"com.google.android.providers.media.module",
"com.sohu.inputmethod.sogou.xiaomi",
"com.google.process.gservices",
"com.google.android.gms",
"com.google.android.gms.persistent",
"com.google.process.gapps",
"com.android.vending"
]
}
],
"threshold_8Gmem": {
"recent_task_pss_threshold": 819200,
"cam_boost_threshold": 2936012
}
}
@@ -0,0 +1,55 @@
{
"configs": [
{
"name": "videocall_list",
"config": [
"com.android.incallui.InCallActivity",
"com.tencent.mm.plugin.voip.ui.VideoActivity",
"com.tencent.av.ui.AVActivity",
"com.immomo.molive.gui.activities.live.base.LiveActivity",
"com.tencent.wemeet.sdk.meeting.inmeeting.InMeetingActivity",
"com.ss.android.vc.meeting.module.preview.facade.MeetingPreviewActivity",
"com.alibaba.android.teleconf.mozi.activity.TeleVideoConfActivity",
"com.tencent.wemeet.sdk.meeting.inmeeting.InMeetingActivity",
"com.bytedance.android.xr.fusion.XrAvCallActivity",
"com.tencent.weishi.module.multi.PublisherMultiPageActivity",
"com.yxcorp.gifshow.camera.record.CameraActivity",
"com.bytedance.mira.stub.p0.StubSingleTaskActivity1",
"com.bilibili.bilibililive.ui.room.BlinkRoomActivityV2",
"com.tencent.mm.plugin.multitalk.ui.MultiTalkMainUI",
"com.xingin.capa.v2.feature.entrance.view.activity.entrance.CapaEntranceActivity2",
"com.taobao.fleamarket.call.ui.FishRtcCallActivity",
"com.yy.mobile.plugin.pluginmobilelive.MobileLiveActivity",
"com.whatsapp.voipcalling.VoipActivityV2"
]
},
{
"name": "highresolutionblob_list",
"config": [
"com.tencent.ttpic.module.camera.CameraActivity",
"com.linecorp.b612.android.activity.ActivityCamera",
"com.wudaokou.hippo.media.camera.CameraActivity",
"com.lemon.faceu.business.mainpage.MainActivity",
"com.mt.mtxx.camera.view.CameraActivity",
"com.light.beauty.mainpage.MainActivity",
"com.taobao.taopai.business.record.fragment.SocialRecordVideoActivity_Module",
"com.alipay.mobile.beehive.capture.activity.CaptureActivity",
"com.dianping.ugc.uploadphoto.ugcalbum.droplet.DrpLocalAlbumActivity",
"com.taobao.android.litecreator.modules.record.LCRecordActivity",
"com.jd.lib.unification.video.recorder.VideoRecorderActivity",
"com.baidu.homework.common.camera.CameraManyQuestionsActivity",
"com.jd.lib.scan.lib.zxing.client.android.CaptureActivity"
]
},
{
"name": "tplive_list",
"config": [
"com.ss.android.ugc.aweme.live.LiveBroadcastActivity",
"com.dy.liveV2.living.RecorderCameraActivityV2Portrait",
"com.dy.liveV2.living.RecorderCameraActivityV2Landscape",
"com.duowan.liveroom.LiveRoomActivity",
"com.kuaishou.live.anchor.basic.activity.LivePushActivity"
]
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- MIUI ADD: Modem_ModemEnhance -->
<MESubFeatureConfig>
<!--global -->
<!-- device_name = ro.product.device -->
<deviceConfig device_name="garnet">
<!-- hwc_name = ro.product.mod_device -->
<hwc hwc_name="GL" />
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
</deviceConfig>
<!--cn -->
<!-- device_name = ro.product.device -->
<deviceConfig device_name="garnet">
<!-- hwc_name = ro.product.mod_device -->
<hwc hwc_name="CN" />
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="2" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="3" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="4" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
<feature feature_id="5" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="6" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="7" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="8" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="9" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="10" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
<feature feature_id="11" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="12" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="13" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<feature feature_id="14" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
<feature feature_id="15" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
<!--bitMask 0x31f==68 -->
<GestureModeMapConfigBitMask bitMask="68" />
<GestureModeMapConfig>
<GestureModeMapItem usb="255" flip="255" receiver="1" voice="255" gestureState="255" orientState="255" distanceState="1" interferenceState="255" gameState="255" whiteState="255" outMode="4" outMode1="255" />
<GestureModeMapItem usb="255" flip="255" receiver="255" voice="255" gestureState="255" orientState="255" distanceState="255" interferenceState="255" gameState="255" whiteState="255" outMode="0" outMode1="255" /> <!--default -->
</GestureModeMapConfig>
</deviceConfig>
<!--default -->
<!-- device_name = ro.product.device -->
<deviceConfig device_name="garnet">
<!-- hwc_name = ro.product.mod_device -->
<hwc hwc_name="default" />
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
</deviceConfig>
</MESubFeatureConfig>
<!-- END Modem_ModemEnhance -->
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2014, 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.uimGba.uimgbalibrary"
file="/product/framework/uimgbalibrary.jar"/>
</permissions>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.uimGbaManager.uimgbamanagerlibrary"
file="/product/framework/uimgbamanagerlibrary.jar"
dependency="com.qualcomm.qti.uimGba.uimgbalibrary"/>
</permissions>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017, 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.uim.uimservicelibrary"
file="/product/framework/uimservicelibrary.jar"
dependency="qti-telephony-hidl-wrapper-prd"/>
</permissions>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.euicc">
<permission name="android.permission.ACCESS_NETWORK_STATE"/>
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<permission name="android.permission.FOREGROUND_SERVICE"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.INTERNET"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.REBOOT"/>
<permission name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
<permission name="android.permission.VIBRATE"/>
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="com.android.permission.INSTALL_EXISTING_PACKAGES" />
<permission name="com.android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="com.google.android.setupwizard.SETUP_COMPAT_SERVICE"/>
</privapp-permissions>
</permissions>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- MIUI ADD: Audio_OkGoogle -->
<permissions>
<privapp-permissions package="com.android.hotwordenrollment.okgoogle">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
</privapp-permissions>
<privapp-permissions package="com.android.hotwordenrollment.xgoogle">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
</privapp-permissions>
<privapp-permissions package="com.android.hotwordenrollment.tgoogle">
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
</privapp-permissions>
</permissions>
<!-- END Audio_OkGoogle -->
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,117 @@
<?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" />
<allow-in-power-save package="com.qti.xdivert" />
<!-- 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="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.qualcomm.qti.voiceai.usecase" />
<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.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" />
<hidden-api-whitelisted-app package="com.qti.service.colorservice" />
</config>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,104 @@
#
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on init && property:ro.boot.product.vendor.sku=pineapple
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=kalama
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=taro
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=cliffs
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=crow
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=parrot
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=ravelin
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=yupik
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=volcano
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=pitti
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=cape
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=ukee
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=blair
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=holi
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=diwali
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=Lahaina
enable qccsyshal
on init && property:ro.boot.product.vendor.sku=shima
enable qccsyshal
on init && property:ro.board.platform=bengal
enable qccsyshal
on init && property:ro.board.platform=taro
enable qccsyshal
on post-fs-data
mkdir /dev/socket/qcc_app 0770 system misc
chmod 2770 /dev/socket/qcc_app
mkdir /data/misc/qcc 0770 system misc
mkdir /data/misc/qcc/up 0770 system misc
mkdir /data/misc/qcc/down 0770 system misc
mkdir /data/misc/qcc/conf 0770 system misc
mkdir /data/misc/qcc/shared 0770 system misc
mkdir /data/misc/qcc/file_agent 0770 system misc
chown system misc /data/misc/qcc/file_agent
on property:vendor.qti.qcc.oper.mode=1
write /data/misc/qcc/conf/qcc.conf "OperationMode:1"
chown system misc /data/misc/qcc/conf/qcc.conf
chmod 0660 /data/misc/qcc/conf/qcc.conf
on property:vendor.qti.qcc.oper.mode=2
write /data/misc/qcc/conf/qcc.conf "OperationMode:2"
chown system misc /data/misc/qcc/conf/qcc.conf
chmod 0660 /data/misc/qcc/conf/qcc.conf
on property:vendor.qti.qcc.oper.mode=3
write /data/misc/qcc/conf/qcc.conf "OperationMode:3"
chown system misc /data/misc/qcc/conf/qcc.conf
chmod 0660 /data/misc/qcc/conf/qcc.conf
on property:vendor.qti.qcc.oper.mode=4
write /data/misc/qcc/conf/qcc.conf "OperationMode:4"
chown system misc /data/misc/qcc/conf/qcc.conf
chmod 0660 /data/misc/qcc/conf/qcc.conf
on property:vendor.qti.qcc.oper.mode=6
write /data/misc/qcc/conf/qcc.conf "OperationMode:6"
chown system misc /data/misc/qcc/conf/qcc.conf
chmod 0660 /data/misc/qcc/conf/qcc.conf
service qccsyshal /system/system_ext/bin/qccsyshal@1.2-service
class hal
user system
group misc system
disabled
@@ -0,0 +1,21 @@
<?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>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2022 Qualcomm Technologies, Inc.
All rights reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<permission name="com.qti.qcc.permission.VENDOR_QCC">
<group gid="misc" />
<group gid="system" />
</permission>
</permissions>
@@ -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>
@@ -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>
@@ -0,0 +1,92 @@
<?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"/>
<permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
</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>
<privapp-permissions package="com.qti.phone">
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
</privapp-permissions>
</permissions>
@@ -0,0 +1,37 @@
<!--
/*********************************************************************
Copyright (c) 2021-2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
**********************************************************************/
-->
<permissions>
<library name="vendor.qti.ims.factory-V2.0-java"
file="/system_ext/framework/vendor.qti.ims.factory-V2.0-java.jar"/>
<library name="vendor.qti.ims.connection-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.connection-V1.0-java.jar"/>
<library name="vendor.qti.ims.rcsuce-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.rcsuce-V1.0-java.jar"/>
<library name="vendor.qti.ims.rcssip-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.rcssip-V1.0-java.jar"/>
<library name="vendor.qti.ims.factory-V2.1-java"
file="/system_ext/framework/vendor.qti.ims.factory-V2.1-java.jar"/>
<library name="vendor.qti.ims.rcsuce-V1.1-java"
file="/system_ext/framework/vendor.qti.ims.rcsuce-V1.1-java.jar"/>
<library name="vendor.qti.ims.rcssip-V1.1-java"
file="/system_ext/framework/vendor.qti.ims.rcssip-V1.1-java.jar"/>
<library name="vendor.qti.ims.factory-V2.2-java"
file="/system_ext/framework/vendor.qti.ims.factory-V2.2-java.jar"/>
<library name="vendor.qti.ims.rcsuce-V1.2-java"
file="/system_ext/framework/vendor.qti.ims.rcsuce-V1.2-java.jar"/>
<library name="vendor.qti.ims.rcssip-V1.2-java"
file="/system_ext/framework/vendor.qti.ims.rcssip-V1.2-java.jar"/>
<library name="vendor.qti.ims.factoryaidlservice-V1-java"
file="/system_ext/framework/vendor.qti.ims.factoryaidlservice-V1-java.jar"/>
<library name="vendor.qti.ims.rcssipaidlservice-V1-java"
file="/system_ext/framework/vendor.qti.ims.rcssipaidlservice-V1-java.jar"/>
<library name="vendor.qti.ims.rcsuceaidlservice-V1-java"
file="/system_ext/framework/vendor.qti.ims.rcsuceaidlservice-V1-java.jar"/>
<library name="vendor.qti.ims.connectionaidlservice-V1-java"
file="/system_ext/framework/vendor.qti.ims.connectionaidlservice-V1-java.jar"/>
</permissions>
@@ -0,0 +1,172 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This XML file declares which system packages should be initially installed for new users based on
their user type. All system packages on the device should ideally have an entry in an xml file
(keyed by its manifest name).
Base user-types (every user will be at least one of these types) are:
- SYSTEM (user 0)
- FULL (any non-profile human user)
- PROFILE (profile human user)
the precise meaning of which is defined in
frameworks/base/core/java/android/content/pm/UserInfo.java.
Changes to the whitelist during system updates can result in installing additional system packages
to pre-existing users, but cannot uninstall pre-existing system packages from pre-existing users.
Full documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
-->
<config>
<!-- qcrilOemHook -->
<install-in-user-type package="com.qualcomm.qcrilmsgtunnel">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
<!-- uim-remote-service -->
<install-in-user-type package="com.qualcomm.uimremoteclient">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.uimremoteserver">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<!-- telephony-apps -->
<install-in-user-type package="com.qti.telephonysettings">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.atfwd">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.atfwd2">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.callfeaturessetting">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="org.codeaurora.dialer">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.confdialer">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type>
<install-in-user-type package="com.qti.confuridialer">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.ridemodeaudio">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type>
<install-in-user-type package="com.qti.qualcomm.datastatusnotification">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.qualcomm.deviceinfo">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="org.codeaurora.ims">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.telephonyservice">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.sam.service">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.xdivert">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.phone">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.modemtestmode">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.ims">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.remoteSimlockAuth">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<!-- telephony-internal -->
<install-in-user-type package="com.qualcomm.qti.imsiprivacy.tests">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.qualcomm.carriertest">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.uimlpatest">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<!-- telephony-noship -->
<install-in-user-type package="com.qualcomm.qti.devicestatisticsservice">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.euiccresource">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
<install-in-user-type package="com.android.MultiplePdpTest">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.lpa">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.uimGbaApp">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.uim">
<install-in user-type="SYSTEM" />
</install-in-user-type>
</config>
@@ -0,0 +1,40 @@
<?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.PRE_ALERTING_CALL_INFO" />
<!-- These are location components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.location" />
<hidden-api-whitelisted-app package="com.qualcomm.location" />
<hidden-api-whitelisted-app package="com.skyhook.blp" />
</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.

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