Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java37 import android.telephony.CarrierConfigManager;
97 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotifyManifestReceivers()
108 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotifyManifestReceivers()
141 CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotifyRuntimeReceivers()
150 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotifyRuntimeReceivers()
175 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotify()
178 CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testNotify()
187 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testNotify()
239 CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, in testCarrierConfigChange()
242 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in testCarrierConfigChange()
[all …]
DCarrierKeyDownloadMgrTest.java24 import android.telephony.CarrierConfigManager;
288 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChanged()
292 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testCarrierConfigChanged()
293 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testCarrierConfigChanged()
296 Intent mIntent = new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testCarrierConfigChanged()
311 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testAlarmRenewal()
315 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testAlarmRenewal()
316 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testAlarmRenewal()
DSubscriptionInfoUpdaterTest.java45 import android.telephony.CarrierConfigManager;
178 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimAbsent()
194 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimUnknown()
210 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimError()
226 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testWrongSimState()
273 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoaded()
319 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoadedEmptyOperatorNumeric()
348 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockedWithOutIccId()
432 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockWithIccId()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DImsStatusPreferenceControllerTest.java28 import android.telephony.CarrierConfigManager;
64 CarrierConfigManager carrierConfigManager = mock(CarrierConfigManager.class); in testIsAvailable()
65 doReturn(carrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in testIsAvailable()
68 config.putBoolean(CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, true); in testIsAvailable()
77 config.putBoolean(CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, false); in testIsAvailable()
87 doReturn(null).when(mContext).getSystemService(CarrierConfigManager.class); in testIsAvailable()
/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/telephony/java/android/telephony/
DSmsManager.java104 CarrierConfigManager.KEY_MMS_APPEND_TRANSACTION_ID_BOOL;
109 MMS_CONFIG_MMS_ENABLED = CarrierConfigManager.KEY_MMS_MMS_ENABLED_BOOL;
114 MMS_CONFIG_GROUP_MMS_ENABLED = CarrierConfigManager.KEY_MMS_GROUP_MMS_ENABLED_BOOL;
120 CarrierConfigManager.KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL;
125 MMS_CONFIG_ALIAS_ENABLED = CarrierConfigManager.KEY_MMS_ALIAS_ENABLED_BOOL;
130 MMS_CONFIG_ALLOW_ATTACH_AUDIO = CarrierConfigManager.KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL;
135 CarrierConfigManager.KEY_MMS_MULTIPART_SMS_ENABLED_BOOL;
140 CarrierConfigManager.KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL;
145 CarrierConfigManager.KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL;
150 CarrierConfigManager.KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL;
[all …]
/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;
81 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in RatRatcheter()
152 if (CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED.equals(action)) {
162 final CarrierConfigManager configManager = (CarrierConfigManager) in resetRatFamilyMap()
173 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()
DNetworkRegistrationManager.java32 import android.telephony.CarrierConfigManager;
53 private final CarrierConfigManager mCarrierConfigManager;
65 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in NetworkRegistrationManager()
199 carrierConfig = CarrierConfigManager in getPackageName()
204 carrierConfig = CarrierConfigManager in getPackageName()
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.java31 import android.telephony.CarrierConfigManager;
69 CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in CarrierServiceStateTracker()
268 CarrierConfigManager carrierConfigManager = (CarrierConfigManager)
370 CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT); in setDelay()
440 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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractImsStatusPreferenceController.java27 import android.telephony.CarrierConfigManager;
59 CarrierConfigManager configManager = mContext.getSystemService(CarrierConfigManager.class); in isAvailable()
66 CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL); in isAvailable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java32 import android.telephony.CarrierConfigManager;
98 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
100 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
102 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
104 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
106 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, in setDefaultValues()
108 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, in setDefaultValues()
110 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues()
112 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues()
177 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in testSetValues()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java32 import android.telephony.CarrierConfigManager;
366 private CarrierConfigManager mConfigManager;
448 CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL); in isEnhanced4gLteModeSettingEnabledByUser()
451 if (!getBooleanCarrierConfig(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL) in isEnhanced4gLteModeSettingEnabledByUser()
483 if (!getBooleanCarrierConfig(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL)) { in setEnhanced4gLteModeSetting()
485 CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL); in setEnhanced4gLteModeSetting()
529 CarrierConfigManager.KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL)) { in isNonTtyOrTtyOnVolteEnabled()
573 && getBooleanCarrierConfig(CarrierConfigManager.KEY_CARRIER_VOLTE_AVAILABLE_BOOL) in isVolteEnabledByPlatform()
598 CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL)) { in isVolteProvisionedOnDevice()
632 CarrierConfigManager.KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL)) { in isWfcProvisionedOnDevice()
[all …]
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java33 import android.telephony.CarrierConfigManager;
64 @Mock CarrierConfigManager mCarrierConfigManager;
88 bundle.putStringArray(CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY, in generateTestConfig()
163 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in verifyIsCarrierEncryptionInfoAvailableReturnsFalseWhenEncryptionInfoNotAvailable()
201 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in receivedCarrierConfigChangedIntent()
234 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java31 import android.telephony.CarrierConfigManager;
65 filter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in CarrierNetworkConfig()
166 CarrierConfigManager carrierConfigManager = in updateNetworkConfig()
167 (CarrierConfigManager) context.getSystemService(Context.CARRIER_CONFIG_SERVICE); in updateNetworkConfig()
205 CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY); in processNetworkConfig()
DFrameworkFacade.java36 import android.telephony.CarrierConfigManager;
129 CarrierConfigManager configManager = (CarrierConfigManager) context in getConfigWiFiDisableInECBM()
133 CarrierConfigManager.KEY_CONFIG_WIFI_DISABLE_IN_ECBM); in getConfigWiFiDisableInECBM()
/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;
315 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
359 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
369 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
404 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
415 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMetered()
452 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMetered()
463 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredAnother()
500 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredAnother()
545 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, in testIsIwlanMeteredAnother()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java36 import static android.telephony.CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED;
37 import static android.telephony.CarrierConfigManager.DATA_CYCLE_THRESHOLD_DISABLED;
38 import static android.telephony.CarrierConfigManager.DATA_CYCLE_USE_PLATFORM_DEFAULT;
39 import static android.telephony.CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG;
40 import static android.telephony.CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG;
41 import static android.telephony.CarrierConfigManager.KEY_MONTHLY_DATA_CYCLE_DAY_INT;
119 import android.telephony.CarrierConfigManager;
234 private @Mock CarrierConfigManager mCarrierConfigManager;
1276 PersistableBundle config = CarrierConfigManager.getDefaultConfig(); in testGetCycleDayFromCarrierConfig()
1310 PersistableBundle config = CarrierConfigManager.getDefaultConfig(); in testGetWarningBytesFromCarrierConfig()
[all …]

1234