Home
last modified time | relevance | path

Searched refs:CarrierConfigManager (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java22 import android.telephony.CarrierConfigManager;
77 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotifyManifestReceivers()
88 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotifyManifestReceivers()
121 CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotifyRuntimeReceivers()
130 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotifyRuntimeReceivers()
155 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotify()
158 CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotify()
170 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotify()
222 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testCarrierConfigChange()
225 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testCarrierConfigChange()
[all …]
DCarrierKeyDownloadMgrTest.java24 import android.telephony.CarrierConfigManager;
283 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChanged()
287 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testCarrierConfigChanged()
288 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testCarrierConfigChanged()
291 Intent mIntent = new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testCarrierConfigChanged()
306 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testAlarmRenewal()
310 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testAlarmRenewal()
311 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testAlarmRenewal()
DSubscriptionInfoUpdaterTest.java48 import android.telephony.CarrierConfigManager;
185 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimAbsent()
205 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimUnknown()
224 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimError()
243 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testWrongSimState()
293 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoaded()
342 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoadedEmptyOperatorNumeric()
386 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockedWithOutIccId()
475 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockWithIccId()
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java103 CarrierConfigManager.KEY_MMS_APPEND_TRANSACTION_ID_BOOL;
108 MMS_CONFIG_MMS_ENABLED = CarrierConfigManager.KEY_MMS_MMS_ENABLED_BOOL;
113 MMS_CONFIG_GROUP_MMS_ENABLED = CarrierConfigManager.KEY_MMS_GROUP_MMS_ENABLED_BOOL;
119 CarrierConfigManager.KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL;
124 MMS_CONFIG_ALIAS_ENABLED = CarrierConfigManager.KEY_MMS_ALIAS_ENABLED_BOOL;
129 MMS_CONFIG_ALLOW_ATTACH_AUDIO = CarrierConfigManager.KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL;
134 CarrierConfigManager.KEY_MMS_MULTIPART_SMS_ENABLED_BOOL;
139 CarrierConfigManager.KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL;
144 CarrierConfigManager.KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL;
149 CarrierConfigManager.KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL;
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java35 import android.telephony.CarrierConfigManager;
185 private CarrierConfigManager mConfigManager;
279 CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL)) { in isEnhanced4gLteModeSettingEnabledByUser()
296 CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL)) { in isEnhanced4gLteModeSettingEnabledByUserForSlot()
340 CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL) ? (enabled ? 1: 0) : 1; in setEnhanced4gLteModeSettingForSlot()
372 CarrierConfigManager.KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL)) { in isNonTtyOrTtyOnVolteEnabled()
390 CarrierConfigManager.KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL)) { in isNonTtyOrTtyOnVolteEnabledForSlot()
416 CarrierConfigManager.KEY_CARRIER_VOLTE_AVAILABLE_BOOL) in isVolteEnabledByPlatform()
433 CarrierConfigManager.KEY_CARRIER_VOLTE_AVAILABLE_BOOL) in isVolteEnabledByPlatformForSlot()
445 CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL)) { in isVolteProvisionedOnDevice()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java21 import android.telephony.CarrierConfigManager;
27 final CarrierConfigManager configManager = (CarrierConfigManager) context in isEntitlementCheckRequired()
33 return configManager.getConfig().getBoolean(CarrierConfigManager in isEntitlementCheckRequired()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCustomConfigLoader.java21 import android.telephony.CarrierConfigManager;
68 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) context.getSystemService( in loadCarrierActionList()
84 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
88 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
94 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
98 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailCause.java21 import android.telephony.CarrierConfigManager;
158 CarrierConfigManager configManager = (CarrierConfigManager) in isRestartRadioFail()
163 return b.getBoolean(CarrierConfigManager. in isRestartRadioFail()
180 CarrierConfigManager configManager = (CarrierConfigManager) in isPermanentFailure()
185 String[] permanentFailureStrings = b.getStringArray(CarrierConfigManager. in isPermanentFailure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java24 import android.telephony.CarrierConfigManager;
57 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in RatRatcheter()
95 if (CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED.equals(action)) {
105 final CarrierConfigManager configManager = (CarrierConfigManager) in resetRatFamilyMap()
116 String[] ratFamilies = b.getStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES); in resetRatFamilyMap()
DCarrierSmsUtils.java26 import android.telephony.CarrierConfigManager;
39 CarrierConfigManager.KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING;
75 CarrierConfigManager cm = (CarrierConfigManager) context.getSystemService( in getCarrierImsPackage()
DCarrierSignalAgent.java31 import android.telephony.CarrierConfigManager;
48 import static android.telephony.CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRA…
49 import static android.telephony.CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_A…
111 if (action.equals(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)) {
125 new IntentFilter(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in CarrierSignalAgent()
187 CarrierConfigManager configManager = (CarrierConfigManager) mPhone.getContext() in loadCarrierConfig()
DRetryManager.java23 import android.telephony.CarrierConfigManager;
339 CarrierConfigManager configManager = (CarrierConfigManager) in configureRetry()
344 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, in configureRetry()
347 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, in configureRetry()
350 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, in configureRetry()
355 CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS); in configureRetry()
DCarrierServiceStateTracker.java30 import android.telephony.CarrierConfigManager;
66 CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in CarrierServiceStateTracker()
201 CarrierConfigManager carrierConfigManager = (CarrierConfigManager)
296 CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT); in setDelay()
365 CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT); in setDelay()
DCallTracker.java25 import android.telephony.CarrierConfigManager;
210 CarrierConfigManager configManager = (CarrierConfigManager) in convertNumberIfNecessary()
215 … bundle.getStringArray(CarrierConfigManager.KEY_DIAL_STRING_REPLACE_STRING_ARRAY); in convertNumberIfNecessary()
DCarrierKeyDownloadManager.java34 import android.telephony.CarrierConfigManager;
111 filter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in CarrierKeyDownloadManager()
126 } else if (action.equals(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)) {
340 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in carrierUsesKeys()
350 mKeyAvailability = b.getInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT); in carrierUsesKeys()
351 mURL = b.getString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING); in carrierUsesKeys()
DPhoneInternalInterface.java24 import android.telephony.CarrierConfigManager;
167 static final int CDMA_RM_HOME = CarrierConfigManager.CDMA_ROAMING_MODE_HOME;
169 static final int CDMA_RM_AFFILIATED = CarrierConfigManager.CDMA_ROAMING_MODE_AFFILIATED;
171 static final int CDMA_RM_ANY = CarrierConfigManager.CDMA_ROAMING_MODE_ANY;
DGsmCdmaPhone.java56 import android.telephony.CarrierConfigManager;
224 if (intent.getAction().equals(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)) {
271 CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in initOnce()
1061 CarrierConfigManager configManager = in dial()
1062 (CarrierConfigManager) mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); in dial()
1064 .getBoolean(CarrierConfigManager.KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL); in dial()
1161 CarrierConfigManager configManager = in isNotificationOfWfcCallRequired()
1162 (CarrierConfigManager) mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); in isNotificationOfWfcCallRequired()
1170 CarrierConfigManager.KEY_NOTIFY_INTERNATIONAL_CALL_ON_WFC_BOOL); in isNotificationOfWfcCallRequired()
1395 CarrierConfigManager configManager = (CarrierConfigManager) in getVoiceMailNumber()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java26 import android.telephony.CarrierConfigManager;
55 filter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in CarrierNetworkConfig()
112 CarrierConfigManager carrierConfigManager = in updateNetworkConfig()
113 (CarrierConfigManager) context.getSystemService(Context.CARRIER_CONFIG_SERVICE); in updateNetworkConfig()
151 CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY); in processNetworkConfig()
DFrameworkFacade.java36 import android.telephony.CarrierConfigManager;
111 CarrierConfigManager configManager = (CarrierConfigManager) context in getConfigWiFiDisableInECBM()
115 CarrierConfigManager.KEY_CONFIG_WIFI_DISABLE_IN_ECBM); in getConfigWiFiDisableInECBM()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DCarrierDefaultReceiverTest.java23 import android.telephony.CarrierConfigManager;
49 private CarrierConfigManager mCarrierConfigMgr;
72 mContext.injectSystemService(CarrierConfigManager.class, mCarrierConfigMgr); in setUp()
87 b.putStringArray(CarrierConfigManager in testOnReceiveRedirection()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java31 import static android.telephony.CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED;
32 import static android.telephony.CarrierConfigManager.DATA_CYCLE_THRESHOLD_DISABLED;
33 import static android.telephony.CarrierConfigManager.DATA_CYCLE_USE_PLATFORM_DEFAULT;
34 import static android.telephony.CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG;
35 import static android.telephony.CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG;
36 import static android.telephony.CarrierConfigManager.KEY_MONTHLY_DATA_CYCLE_DAY_INT;
107 import android.telephony.CarrierConfigManager;
221 private @Mock CarrierConfigManager mCarrierConfigManager;
1199 PersistableBundle config = CarrierConfigManager.getDefaultConfig(); in testGetCycleDayFromCarrierConfig()
1233 PersistableBundle config = CarrierConfigManager.getDefaultConfig(); in testGetWarningBytesFromCarrierConfig()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java20 import android.telephony.CarrierConfigManager;
150 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerEmpty()
172 CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnNoRetry()
194 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnTwoRetries()
248 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsOneRetry()
286 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsTwoRetries()
334 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoMmsApnsTwoRetries()
382 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailed()
415 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailedWithTwoApns()
472 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailedWithThreeApns()
[all …]
DApnSettingTest.java34 import android.telephony.CarrierConfigManager;
230 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
274 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
284 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
319 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
330 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMetered()
367 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMetered()
378 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredAnother()
415 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredAnother()
460 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMeteredAnother()
[all …]
DDcTrackerTest.java56 import android.telephony.CarrierConfigManager;
648 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testUserDisableData()
699 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testUserDisableRoaming()
754 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testDataCallOnUserDisableRoaming()
860 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testCarrierActionSetMeteredApnsEnabled()
934 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataUnmeteredDataDisabled()
960 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupMeteredDataDisabled()
987 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupRestrictedDataDisabled()
1013 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupNotConnectable()
1040 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDefaultOnIWLAN()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java29 import android.telephony.CarrierConfigManager;
58 @Mock CarrierConfigManager mCarrierConfigManager;
74 bundle.putStringArray(CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY, in generateTestConfig()
148 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in receivedCarrierConfigChangedIntent()

123