# Define project specific obfuscation rules here.
# You can include the obfuscation configuration files in the current module's build-profile.json5.
#
# For more details, see
#

# Obfuscation options:
# -disable-obfuscation: disable all obfuscations
# -enable-property-obfuscation: obfuscate the property names
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
# -compact: remove unnecessary blank spaces and all line feeds
# -remove-log: remove all console.* statements
# -print-namecache: print the name cache that contains the mapping from the old names to new names
# -apply-namecache: reuse the given cache file

# Keep options:
# -keep-property-name: specifies property names that you want to keep
# -keep-global-name: specifies names that you want to keep in the global scope
-enable-toplevel-obfuscation
-enable-export-obfuscation
-enable-property-obfuscation

-keep-global-name
LogUtils
Constants
DataShareEnum
DataStorage
ApnProxy
DetailsCommon
ApnListCommon
SubDataType
ApnParamClass
DataListClass
ParamsType
OptionClass
CallSettingGlobalContextHelper
Encrypted
MobileDataGlobalContextHelper
PrivacyStatement
ReportUtil
SharedPreferencesUtils
sharedPreferencesUtils
MobileDataSharedPreferencesUtils
SimCardOneInfoStruct
SimCardTwoInfoStruct
SimCardInfoStruct
SatelliteSimCardInfoStruct
ToastUtil
EdmConstants
TitleParams
MiniTitleParams
PrivatePageTitleParams

-keep-property-name
getSystemParam
isCellularDataEnabled
isCellularDataEnabledSync
getOperatorName
enableCellularData
disableCellularData
getCellularDataRoaming
enableCellularDataRoamingCardOne
enableCellularDataRoamingCardTwo
enableCellularDataRoamingCard
disableCellularDataRoamingCardOne
disableCellularDataRoamingCardTwo
disableCellularDataRoamingCard
enableImsSwitchCardOne
enableImsSwitchCardTwo
disableImsSwitchCardOne
disableImsSwitchCardTwo
isImsSwitchEnabled
setNetworkCapabilityLTEOn
setNetworkCapabilityLTEOff
setNetworkCapabilityNROn
setNetworkCapabilityNROff
getVersionName
d
i
w
e
CALL_SETTING_ABILITY_CONTEXT
SETTINGS_ABILITY_CONTEXT
MOBILE_DATA
MOBILE_DATA_DEFAULT
MOBILE_DATA_ENABLE_VALUE
DATA_ROAMING
DATA_ROAMING1
DATA_ROAMING2
DATA_ROAMING_ENABLE_VALUE
DATA_ROAMING_DEFAULT
MAX_SIM_COUNTS
VERSION
SETTINGS_DATA_GLOBAL_URI
SETTINGS_DATA_SYSTEM_URI
CALL_LOG_MERGE_TYPE
CALL_LOG_DEFAULT
IN_CALL_HANG_UP
IN_CALL_HANG_UP_DEFAULT
NUMBER_IDENTITY_OPTION
NUMBER_IDENTITY_KEY
OLD_NUMBER_IDENTITY_VALUE_ON
NEW_NUMBER_IDENTITY_VALUE_ON
NEW_NUMBER_IDENTITY_VALUE_OFF
BLUE_CONNECT_STATE
CALL_NOTIFY_TYPE
FUSION_CALL_KEY
INCALL_POWER_KEY
DISTRIBUTE_MODEM_STATE
DISTRIBUTE_SINK_CALL
UE_SELECT_SIM1
UE_SELECT_SIM2
UE_CLICK_ALERT_CANCEL
UE_CLICK_STOP_BTN
UE_CLICK_CANCEL_BTN
UE_IS_NOT_CTCARD
UE_IN_AIRPLANE
UE_TIANJITONG_OPEND
UE_INCALL
UE_INITIATIVE_QUIT
UE_AIRPLAN_QUIT
UE_PLUG_AND_UNPLUG
UE_SATELLITE_FIVE_MINUTE
PRIVACY_STATEMENT_VERSION
N0_SUPPORT
PALACE_MUSEUM
SUMMER_PALACE
DANDELION
CACTUS
HYACINTHS
SATELLITE_KEY
TYPE_CACTUS
SLOT_ID_ONE
SLOT_ID_TWO
preferApnCallback
initData
dataInsert
dataDelete
dataReset
dataQuery
dataUpdate
preferApnDataUpdate
preferApnDataQuery
initSaveData
proxy
port
profileID
name
apn
proxy
port
userName
passWord
server
mmsc
mmsProxy
mmsPort
mcc
mnc
authenticationType
apnType
apnProtocol
apnRoamingAgreement
apnState
bearerSystem
mvnoType
mvnoValue
isDefault
simMcc
simMnc
mccmnc
opkey
dataStorage
cardType
sharedPreferences
simId
constructor
getArray
initData
editData
getProxyPort
saveData
deleteData
dataList
mmsDataList
selectCommon
initSim
getSelectApn
getSelectApnVal
getSelectApnItem
isNeedToSetDefaultApnCommon
selectApnCommon
setPreferApn
getPreferApn
getMccmnc
getDataShareInfo
getAllApnList
sortArr
dataReset
key
type
displayName
description
option
title
msg
id
apnTypes
value
getContext
getValue
set
stringToUint8Array
uint8ArrayToString
sha256Summary
isStartService
agreeTime
privacyVersion
appVersion
versionName
satelliteUseStartTime
getInstance
reportDrawnCompleted
reportClickCallHistoryMerge
reportHistoryMergeAction
reportClickAutoRecord
reportClickUnLockNotify
reportNotifyTypeAction
reportClickIncomingRingTone
reportClickMore
reportCallWaitingState
reportClickVoiceMail
reportClickChangingCallBarringPwd
reportChangeCallBarringAlertAction
reportClickCallBarring
reportCallBarringAction
reportClickForwarding
reportCallForwardingSetAction
reportClickIncomingRejectSms
reportClickSpeedDial
reportSpeedDialSetSerialNum
reportClickAbout
reportClickCeliaSwitch
reportClickCollectPersonalInformation
reportSetMobileNetworkSwitch
reportCheckApnList
reportClickMobileRoamingButton
reportEnterSatelliteCall
reportSatelliteCallSelectSimCardAlert
reportOpenSatelliteCallIssue
reportClickUserProtocol
reportClickDisableProtocolBtn
reportClickUserPrivacy
reportClickDisablePrivacyBtn
reportClickUserPermissions
reportEnterSatelliteIsNeedCalibration
reportSatelliteCalibrationInfo
reportSatelliteLoadingInfo
reportSatelliteConnectInfo
reportSatelliteSignalChange
reportSatelliteConnectedClickMessage
reportSatelliteConnectedClickPhone
reportSatelliteClickReConnectingBtn
reportSatelliteClickReSearchBtn
reportOpenSatelliteSimCardInfo
reportSatelliteHighTempDial
reportSatelliteClickHighTempInCall
reportSatelliteCallQuit
reportSatelliteErrorCode
reportHyacinthEntrance
reportHyacinthActivate
reportHyacinthSwitch
reportHyacinthUncertain
reportHyacinthConnectFail
reportHyacinthConnectTime
reportHyacinthUseTime
reportClickCreateApn
reportClickResetDefaultApn
reportClickAvailableNetSwitch
reportClickCommonQuestion
reportSatelliteChangeFloatWindow
reportSatelliteNotConnectedForOneMinute
reportClickSatelliteRecalibrateBtn
reportEnterNumberIdentify
reportNumberIdentifySwitchButton
reportClickPrivacyStatement
reportClickPermissionDescription
reportSatelliteCallDisconnectWithCause
delayReportSwitchButtonStateEvent
reportSatelliteOpenDialog
reportOpenSatelliteDialogAction
reportClickVoiceControl
reportClickAdvance
reportImproveCallQualityStatus
reportTrafficSwitch
reportRoamingSwitch
reportAccessPointSelect
reportRiskIdentityEngine
init
getFromPreferences
saveToPreferences
slotId
isEsim
isActive
showNumber
showName
setData
isChecked
isPreferences
iMsi
updateObjectValue
sharedPreferencesUtils
addAirPlaneModeListener
removeAirPlaneModeListener
queryAirPlaneMode
createSubscriber
subscribeConfigChange
unSubscribeConfigChange
registerSimStateChange
unRegisterSimStateChange
unRegisterCallStateChange
registerCallStateChange
getSubId
updateObjectValue
FLAG_PATH_A
ICONS
ICON_RESOURCE_SRC
ICON_FORE_PATH
FORMAT_PNG
FORMAT_WEBP
ICON_BACK_PATH
FILE_SEPARATOR
APP_SANDBOX_PATH_A
FLAG_PATH_B
APP_SANDBOX_PATH_B
VIDEO_RINGTONE_DATA
DEFAULT_FONT_SIZE_SCALE
MAX_FONT_SCALE
VIDEO_RINGTONE_HISTORY_DATA_SP
VIDEO_RINGTONE_DATA_SP
VIDEO_RINGTONE_SOURCE_SETTING
VIDEO_RINGTONE_SOURCE_CONTACT
NO_RING_SOUND
VIDEO_RINGTONE_CONTACTS_FLAG
VIDEO_RINGTONE_THUMB_SUFFIX
VIDEO_RINGTONE_SUFFIX
CARD1_VALUE
CARD2_VALUE
VIDEO_RINGTONE_MAX_SIZE
VIDEO_RINGTONE_MAX_SIZE_STR
RINGTONE_SETTINGS_FLAG_VIDEO
checkPreMadeAPNIsEdit

-keep
./src/main/ets/utils/MmiCodeUtils.ets
./src/main/ets/utils/MmiCodeCall.ts
./src/main/ets/utils/Constants.ts
./src/main/ets/utils/ToastUtil.ets
./src/main/ets/utils/SystemModeUtils.ets