blob: dadcacac29f5a7d7fe089f8886e8d488dcd733f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# Copyright (C) 2021 Paranoid Android
#
# 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.
PRODUCT_SOONG_NAMESPACES += \
device/qcom/common/telephony
# APN List
PRODUCT_COPY_FILES += \
device/qcom/common/telephony/apns-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml \
# Carrier config
PRODUCT_PACKAGES += \
CarrierConfigResCommon
# Data Services
$(call inherit-product, vendor/qcom/opensource/dataservices/dataservices_vendor_product.mk)
# HIDL
DEVICE_FRAMEWORK_MANIFEST_FILE += device/qcom/common/telephony/framework_manifest.xml
# IPACM
$(call inherit-product, vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm_vendor_product.mk)
# RIL
ENABLE_VENDOR_RIL_SERVICE := true
PRODUCT_VENDOR_PROPERTIES += \
persist.radio.multisim.config=dsds \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.enableadvancedscan=true \
persist.vendor.radio.procedure_bytes=SKIP \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1
# Packages
PRODUCT_PACKAGES += \
CellBroadcastReceiver \
android.hardware.radio@1.5 \
android.hardware.radio.config@1.2 \
android.hardware.radio.deprecated@1.0 \
extphonelib \
extphonelib-product \
extphonelib.xml \
extphonelib_product.xml \
ims-ext-common \
ims_ext_common.xml \
libjson \
Stk \
tcmiface \
telephony-ext \
qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml \
qti-telephony-utils \
qti_telephony_utils.xml
PRODUCT_BOOT_JARS += \
tcmiface \
telephony-ext
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
# Properties
PRODUCT_SYSTEM_EXT_PROPERTIES += \
DEVICE_PROVISIONED=1 \
net.tethering.noprovisioning=true \
persist.sys.fflag.override.settings_network_and_internet_v2=true \
persist.vendor.cne.feature=1 \
persist.vendor.data.mode=concurrent \
persist.vendor.dpm.feature=11 \
ril.subscription.types=NV,RUIM \
ro.telephony.default_network=33,33 \
ro.vendor.use_data_netmgrd=true \
telephony.lteOnCdmaDevice=1
ifneq ($(TARGET_BUILD_VARIANT),eng)
PRODUCT_SYSTEM_EXT_PROPERTIES += \
persist.vendor.ims.disableADBLogs=1 \
persist.vendor.ims.disableDebugLogs=1 \
persist.vendor.ims.disableIMSLogs=1 \
persist.vendor.ims.disableQXDMLogs=1
endif
# Force VoLTE/VoWiFi/ViLTE
PRODUCT_SYSTEM_EXT_PROPERTIES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1
# Sensitive Phone Numbers list
PRODUCT_COPY_FILES += \
device/qcom/common/telephony/sensitive_pn.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sensitive_pn.xml
|