/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | ImsStatusPreferenceControllerTest.java | 27 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierSignalAgentTest.java | 37 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 …]
|
D | CarrierKeyDownloadMgrTest.java | 37 import android.telephony.CarrierConfigManager; 294 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChanged() 298 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testCarrierConfigChanged() 299 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testCarrierConfigChanged() 302 Intent mIntent = new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testCarrierConfigChanged() 318 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testAlarmRenewal() 322 bundle.putInt(CarrierConfigManager.IMSI_KEY_AVAILABILITY_INT, 3); in testAlarmRenewal() 323 bundle.putString(CarrierConfigManager.IMSI_KEY_DOWNLOAD_URL_STRING, mURL); in testAlarmRenewal()
|
D | SubscriptionInfoUpdaterTest.java | 48 import android.telephony.CarrierConfigManager; 194 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimAbsent() 217 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimAbsentAndInactive() 234 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimUnknown() 251 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimError() 268 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testWrongSimState() 316 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoaded() 363 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLoadedEmptyOperatorNumeric() 390 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockedWithOutIccId() 477 CarrierConfigManager mConfigManager = (CarrierConfigManager) in testSimLockWithIccId() [all …]
|
D | CellSignalStrengthWcdmaTest.java | 25 import android.telephony.CarrierConfigManager; 98 b.putIntArray(CarrierConfigManager.KEY_WCDMA_RSCP_THRESHOLDS_INT_ARRAY, in testLevel() 105 b.putString(CarrierConfigManager.KEY_WCDMA_DEFAULT_SIGNAL_STRENGTH_MEASUREMENT_STRING, ""); in testLevel() 110 b.putString(CarrierConfigManager.KEY_WCDMA_DEFAULT_SIGNAL_STRENGTH_MEASUREMENT_STRING, in testLevel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | CarrierConfigEfData.java | 21 import android.telephony.CarrierConfigManager; 44 String spn = mConfig.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in getServiceProviderName() 52 CarrierConfigManager.KEY_SPN_DISPLAY_CONDITION_OVERRIDE_INT, in getServiceProviderNameDisplayCondition() 60 CarrierConfigManager.KEY_SPDI_OVERRIDE_STRING_ARRAY); in getServiceProviderDisplayInformation() 67 CarrierConfigManager.KEY_EHPLMN_OVERRIDE_STRING_ARRAY); in getEhplmnList() 74 CarrierConfigManager.KEY_PNN_OVERRIDE_STRING_ARRAY); in getPlmnNetworkNameList() 96 CarrierConfigManager.KEY_OPL_OVERRIDE_STRING_ARRAY); in getOperatorPlmnList()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CustomConfigLoader.java | 21 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/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 24 import android.telephony.CarrierConfigManager; 32 final CarrierConfigManager configManager = (CarrierConfigManager) context in isEntitlementCheckRequired() 38 return configManager.getConfig().getBoolean(CarrierConfigManager in isEntitlementCheckRequired()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 35 import android.telephony.CarrierConfigManager; 406 private CarrierConfigManager mConfigManager; 493 CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL); in isEnhanced4gLteModeSettingEnabledByUser() 497 if (!getBooleanCarrierConfig(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL) in isEnhanced4gLteModeSettingEnabledByUser() 498 || getBooleanCarrierConfig(CarrierConfigManager.KEY_HIDE_ENHANCED_4G_LTE_BOOL) in isEnhanced4gLteModeSettingEnabledByUser() 535 if (!getBooleanCarrierConfig(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL) || in setEnhanced4gLteModeSetting() 536 getBooleanCarrierConfig(CarrierConfigManager.KEY_HIDE_ENHANCED_4G_LTE_BOOL)) { in setEnhanced4gLteModeSetting() 538 CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL); in setEnhanced4gLteModeSetting() 600 return getBooleanCarrierConfig(CarrierConfigManager.KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL); in isTtyOnVoLteCapable() 635 && getBooleanCarrierConfig(CarrierConfigManager.KEY_CARRIER_VOLTE_AVAILABLE_BOOL) in isVolteEnabledByPlatform() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractImsStatusPreferenceController.java | 24 import android.telephony.CarrierConfigManager; 60 CarrierConfigManager configManager = mContext.getSystemService(CarrierConfigManager.class); in isAvailable() 67 CarrierConfigManager.KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL); in isAvailable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSmsUtils.java | 26 import android.telephony.CarrierConfigManager; 39 CarrierConfigManager.KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING; 75 CarrierConfigManager cm = (CarrierConfigManager) context.getSystemService( in getCarrierImsPackage()
|
D | NetworkRegistrationManager.java | 35 import android.telephony.CarrierConfigManager; 60 private final CarrierConfigManager mCarrierConfigManager; 77 if (CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED.equals(action) 79 CarrierConfigManager.EXTRA_SLOT_INDEX, 0)) { 100 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in NetworkRegistrationManager() 104 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in NetworkRegistrationManager() 289 carrierConfig = CarrierConfigManager in getPackageName() 294 carrierConfig = CarrierConfigManager in getPackageName()
|
D | RatRatcheter.java | 26 import android.telephony.CarrierConfigManager; 85 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in RatRatcheter() 186 if (CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED.equals(action)) { 196 final CarrierConfigManager configManager = (CarrierConfigManager) in resetRatFamilyMap() 207 String[] ratFamilies = b.getStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES); in resetRatFamilyMap()
|
D | RetryManager.java | 24 import android.telephony.CarrierConfigManager; 344 CarrierConfigManager configManager = (CarrierConfigManager) in configureRetry() 349 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, in configureRetry() 352 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, in configureRetry() 355 CarrierConfigManager.KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, in configureRetry() 360 CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS); in configureRetry()
|
D | CarrierSignalAgent.java | 32 import android.telephony.CarrierConfigManager; 50 import static android.telephony.CarrierConfigManager.KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRA… 51 import static android.telephony.CarrierConfigManager.KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_A… 113 if (action.equals(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)) { 127 new IntentFilter(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in CarrierSignalAgent() 189 CarrierConfigManager configManager = (CarrierConfigManager) mPhone.getContext() in loadCarrierConfig()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 121 CarrierConfigManager.KEY_MMS_APPEND_TRANSACTION_ID_BOOL; 126 MMS_CONFIG_MMS_ENABLED = CarrierConfigManager.KEY_MMS_MMS_ENABLED_BOOL; 131 MMS_CONFIG_GROUP_MMS_ENABLED = CarrierConfigManager.KEY_MMS_GROUP_MMS_ENABLED_BOOL; 137 CarrierConfigManager.KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL; 142 MMS_CONFIG_ALIAS_ENABLED = CarrierConfigManager.KEY_MMS_ALIAS_ENABLED_BOOL; 147 MMS_CONFIG_ALLOW_ATTACH_AUDIO = CarrierConfigManager.KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL; 152 CarrierConfigManager.KEY_MMS_MULTIPART_SMS_ENABLED_BOOL; 157 CarrierConfigManager.KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL; 162 CarrierConfigManager.KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL; 167 CarrierConfigManager.KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL; [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSettingUtils.java | 21 import android.telephony.CarrierConfigManager; 131 carrierConfig = CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS; in isMeteredApnType() 133 carrierConfig = CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS; in isMeteredApnType() 140 CarrierConfigManager configManager = (CarrierConfigManager) in isMeteredApnType()
|
D | AccessNetworksManager.java | 35 import android.telephony.CarrierConfigManager; 77 private final CarrierConfigManager mCarrierConfigManager; 96 if (CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED.equals(action) 98 CarrierConfigManager.EXTRA_SLOT_INDEX, 0)) { 210 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in AccessNetworksManager() 214 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in AccessNetworksManager() 298 String carrierConfigPackageName = b.getString(CarrierConfigManager in getQualifiedNetworksServicePackageName()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataFailCauseTest.java | 27 import android.telephony.CarrierConfigManager; 145 CarrierConfigManager configManager = (CarrierConfigManager) in setUp() 148 mPersistableBundle.putBoolean(CarrierConfigManager in setUp() 150 mPersistableBundle.putIntArray(CarrierConfigManager in setUp() 180 CarrierConfigManager.KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS, in testPermanentFailConfigured() 226 mPersistableBundle.putBoolean(CarrierConfigManager in testIsRadioRestartFailureRegularDeactivation() 242 mPersistableBundle.putIntArray(CarrierConfigManager in testIsRadioRestartFailureNotRegularDeactivation()
|
D | RetryManagerTest.java | 23 import android.telephony.CarrierConfigManager; 148 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerEmpty() 170 CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnNoRetry() 192 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnTwoRetries() 246 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsOneRetry() 284 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsTwoRetries() 332 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoMmsApnsTwoRetries() 380 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailed() 413 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailedWithTwoApns() 470 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailedWithThreeApns() [all …]
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultReceiverTest.java | 23 import android.telephony.CarrierConfigManager; 49 private CarrierConfigManager mCarrierConfigMgr; 72 mContext.injectSystemService(CarrierConfigManager.class, mCarrierConfigMgr); in setUp() 87 b.putStringArray(CarrierConfigManager in testOnReceiveRedirection()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsManagerTest.java | 33 import android.telephony.CarrierConfigManager; 116 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues() 118 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues() 120 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues() 122 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues() 124 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues() 126 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, in setDefaultValues() 128 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, in setDefaultValues() 130 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues() 132 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, true); in setDefaultValues() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkConfigTest.java | 32 import android.telephony.CarrierConfigManager; 66 @Mock CarrierConfigManager mCarrierConfigManager; 91 bundle.putStringArray(CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY, in generateTestConfig() 187 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in verifyIsCarrierEncryptionInfoAvailableReturnsFalseWhenEncryptionInfoNotAvailable() 226 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in receivedCarrierConfigChangedIntent() 259 new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED)); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssConfiguration.java | 22 import android.telephony.CarrierConfigManager; 306 CarrierConfigManager configManager = (CarrierConfigManager) in loadPropertiesFromCarrierConfig() 317 configs = CarrierConfigManager.getDefaultConfig(); in loadPropertiesFromCarrierConfig() 320 if (configKey.startsWith(CarrierConfigManager.Gps.KEY_PREFIX)) { in loadPropertiesFromCarrierConfig() 322 .substring(CarrierConfigManager.Gps.KEY_PREFIX.length()) in loadPropertiesFromCarrierConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CarrierNetworkConfig.java | 31 import android.telephony.CarrierConfigManager; 79 filter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in CarrierNetworkConfig() 188 CarrierConfigManager carrierConfigManager = in updateNetworkConfig() 189 (CarrierConfigManager) context.getSystemService(Context.CARRIER_CONFIG_SERVICE); in updateNetworkConfig() 229 CarrierConfigManager.KEY_CARRIER_WIFI_STRING_ARRAY); in processNetworkConfig()
|