Home
last modified time | relevance | path

Searched refs:carrierConfig (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnConfigTypeRepository.java42 public ApnConfigTypeRepository(PersistableBundle carrierConfig) { in ApnConfigTypeRepository() argument
44 setup(carrierConfig); in ApnConfigTypeRepository()
65 private void setup(PersistableBundle carrierConfig) { in setup() argument
67 addApns(getCarrierApnTypeMap(carrierConfig)); in setup()
86 private Map<Integer, Integer> getCarrierApnTypeMap(PersistableBundle carrierConfig) { in getCarrierApnTypeMap() argument
87 if (carrierConfig == null) { in getCarrierApnTypeMap()
93 carrierConfig.getStringArray(CarrierConfigManager.KEY_APN_PRIORITY_STRING_ARRAY); in getCarrierApnTypeMap()
DApnSettingUtils.java127 String carrierConfig; in isMeteredApnType() local
131 carrierConfig = CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS; in isMeteredApnType()
133 carrierConfig = CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS; in isMeteredApnType()
153 String[] meteredApnTypes = b.getStringArray(carrierConfig); in isMeteredApnType()
155 Rlog.e(LOG_TAG, carrierConfig + " is not available. " + "subId = " + subId); in isMeteredApnType()
DDataServiceManager.java445 String carrierConfig; in getDataServicePackageName() local
450 carrierConfig = CarrierConfigManager in getDataServicePackageName()
455 carrierConfig = CarrierConfigManager in getDataServicePackageName()
468 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getDataServicePackageName()
470 packageName = b.getString(carrierConfig, packageName); in getDataServicePackageName()
495 String carrierConfig; in getDataServiceClassName() local
499 carrierConfig = CarrierConfigManager in getDataServiceClassName()
504 carrierConfig = CarrierConfigManager in getDataServiceClassName()
517 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getDataServiceClassName()
519 className = b.getString(carrierConfig, className); in getDataServiceClassName()
DDcTracker.java980 PersistableBundle carrierConfig; in initApnContexts() local
984 carrierConfig = configManager.getConfigForSubId(mPhone.getSubId()); in initApnContexts()
986 carrierConfig = null; in initApnContexts()
988 initApnContexts(carrierConfig); in initApnContexts()
992 private void initApnContexts(PersistableBundle carrierConfig) { in initApnContexts() argument
1001 new ApnConfigTypeRepository(carrierConfig).getTypes(); in initApnContexts()
1024 PersistableBundle carrierConfig; in sortApnContextByPriority() local
1028 carrierConfig = configManager.getConfigForSubId(mPhone.getSubId()); in sortApnContextByPriority()
1030 carrierConfig = null; in sortApnContextByPriority()
1036 new ApnConfigTypeRepository(carrierConfig).getTypes(); in sortApnContextByPriority()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkRegistrationManager.java316 String carrierConfig; in getPackageName() local
321 carrierConfig = CarrierConfigManager in getPackageName()
326 carrierConfig = CarrierConfigManager in getPackageName()
339 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getPackageName()
341 packageName = b.getString(carrierConfig, packageName); in getPackageName()
350 String carrierConfig; in getClassName() local
355 carrierConfig = CarrierConfigManager in getClassName()
360 carrierConfig = CarrierConfigManager in getClassName()
373 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getClassName()
375 className = b.getString(carrierConfig, className); in getClassName()
DPhoneSwitcher.java717 PersistableBundle carrierConfig; in createApnRepository() local
719 carrierConfig = configManager.getConfigForSubId(subId); in createApnRepository()
721 carrierConfig = null; in createApnRepository()
723 return new ApnConfigTypeRepository(carrierConfig); in createApnRepository()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java334 final PersistableBundle carrierConfig = configManager.getConfigForSubId( in getCarrierConfig()
337 if (CarrierConfigManager.isConfigForIdentifiedCarrier(carrierConfig)) { in getCarrierConfig()
338 return carrierConfig; in getCarrierConfig()
352 final PersistableBundle carrierConfig = getCarrierConfig(config); in carrierConfigAffirmsEntitlementCheckNotRequired() local
353 if (carrierConfig == null) return false; in carrierConfigAffirmsEntitlementCheckNotRequired()
356 final boolean isEntitlementCheckRequired = carrierConfig.getBoolean( in carrierConfigAffirmsEntitlementCheckNotRequired()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java224 private void processNetworkConfig(PersistableBundle carrierConfig, String carrierName) { in processNetworkConfig() argument
225 if (carrierConfig == null) { in processNetworkConfig()
228 String[] networkConfigs = carrierConfig.getStringArray( in processNetworkConfig()
DWifiNetworkSelector.java494 CarrierNetworkConfig carrierConfig) { in getFilteredScanDetailsForCarrierUnsavedNetworks() argument
500 || !carrierConfig.isCarrierNetwork(scanResult.SSID)) { in getFilteredScanDetailsForCarrierUnsavedNetworks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java206 PasspointConfiguration carrierConfig = in createEphemeralProfileForMatchingAp() local
208 if (carrierConfig == null) { in createEphemeralProfileForMatchingAp()
212 mPasspointManager.installEphemeralPasspointConfigForCarrier(carrierConfig); in createEphemeralProfileForMatchingAp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java762 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() local
776 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() local
793 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticAddToGroup() local
808 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticAddToGroup() local
827 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup() local
844 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup() local
870 PersistableBundle carrierConfig = new PersistableBundle(); in testUpdateFromCarrierConfigCarrierCertificates() local
871 carrierConfig.putStringArray( in testUpdateFromCarrierConfigCarrierCertificates()
886 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigCarrierCertificates() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java824 Map<Integer, String> carrierConfig = mCarrierServices.get(slotId); in getCarrierConfiguredPackageNames() local
825 if (carrierConfig == null) { in getCarrierConfiguredPackageNames()
826 carrierConfig = new ArrayMap<>(); in getCarrierConfiguredPackageNames()
827 mCarrierServices.put(slotId, carrierConfig); in getCarrierConfiguredPackageNames()
829 return carrierConfig; in getCarrierConfiguredPackageNames()
846 SparseArray<String> carrierConfig = mOverrideServices.get(slotId); in getOverridePackageName() local
847 if (carrierConfig == null) { in getOverridePackageName()
848 carrierConfig = new SparseArray<>(); in getOverridePackageName()
849 mOverrideServices.put(slotId, carrierConfig); in getOverridePackageName()
851 return carrierConfig; in getOverridePackageName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java1324 PersistableBundle carrierConfig = carrierConfigManager.getConfigForSubId(subId); in cacheCarrierConfiguration() local
1325 if (carrierConfig == null) { in cacheCarrierConfiguration()
1332 updateCarrierConfigCache(carrierConfig); in cacheCarrierConfiguration()
1341 public void updateCarrierConfigCache(PersistableBundle carrierConfig) { in updateCarrierConfigCache() argument
1343 carrierConfig.getBoolean(CarrierConfigManager.KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL); in updateCarrierConfigCache()
1345 carrierConfig.getBoolean( in updateCarrierConfigCache()
1348 carrierConfig.getBoolean( in updateCarrierConfigCache()
1351 carrierConfig.getBoolean( in updateCarrierConfigCache()
1354 carrierConfig.getBoolean( in updateCarrierConfigCache()
1356 mNotifyVtHandoverToWifiFail = carrierConfig.getBoolean( in updateCarrierConfigCache()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java408 WifiConfiguration carrierConfig = configureNewSsid(CARRIER1_NET_ID, scanDetails.get(0), in testSupportsEncryptedImsi() local
414 assertEquals(carrierConfig.configKey(), selected.configKey()); in testSupportsEncryptedImsi()