Home
last modified time | relevance | path

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

/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DServiceEntitlement.java54 private final CarrierConfig carrierConfig; field in ServiceEntitlement
69 public ServiceEntitlement(Context context, CarrierConfig carrierConfig, int simSubscriptionId) { in ServiceEntitlement() argument
70 this.carrierConfig = carrierConfig; in ServiceEntitlement()
75 ServiceEntitlement(CarrierConfig carrierConfig, EapAkaApi eapAkaApi) { in ServiceEntitlement() argument
76 this.carrierConfig = carrierConfig; in ServiceEntitlement()
121 return eapAkaApi.queryEntitlementStatus(ImmutableList.of(appId), carrierConfig, request); in queryEntitlementStatus()
136 return eapAkaApi.queryEntitlementStatus(appIds, carrierConfig, request); in queryEntitlementStatus()
152 return eapAkaApi.performEsimOdsaOperation(appId, carrierConfig, request, operation); in performEsimOdsa()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaApi.java112 CarrierConfig carrierConfig, ServiceEntitlementRequest request) in queryEntitlementStatus() argument
114 Uri.Builder urlBuilder = Uri.parse(carrierConfig.serverUrl()).buildUpon(); in queryEntitlementStatus()
120 urlBuilder.toString(), carrierConfig, request.acceptContentType()).body(); in queryEntitlementStatus()
127 carrierConfig, in queryEntitlementStatus()
130 carrierConfig, in queryEntitlementStatus()
158 CarrierConfig carrierConfig, in respondToEapAkaChallenge() argument
177 carrierConfig, in respondToEapAkaChallenge()
185 carrierConfig, in respondToEapAkaChallenge()
190 carrierConfig, newChallenge, followSyncFailureCount - 1, contentType); in respondToEapAkaChallenge()
203 CarrierConfig carrierConfig, in challengeResponse() argument
[all …]
/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()
87 private Map<Integer, Integer> getCarrierApnTypeMap(PersistableBundle carrierConfig) { in getCarrierApnTypeMap() argument
88 if (carrierConfig == null) { in getCarrierApnTypeMap()
94 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.java521 String carrierConfig; in getDataServicePackageName() local
526 carrierConfig = CarrierConfigManager in getDataServicePackageName()
531 carrierConfig = CarrierConfigManager in getDataServicePackageName()
544 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getDataServicePackageName()
546 packageName = b.getString(carrierConfig, packageName); in getDataServicePackageName()
571 String carrierConfig; in getDataServiceClassName() local
575 carrierConfig = CarrierConfigManager in getDataServiceClassName()
580 carrierConfig = CarrierConfigManager in getDataServiceClassName()
593 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getDataServiceClassName()
595 className = b.getString(carrierConfig, className); in getDataServiceClassName()
DDcTracker.java1061 PersistableBundle carrierConfig; in initApnContexts() local
1065 carrierConfig = configManager.getConfigForSubId(mPhone.getSubId()); in initApnContexts()
1067 carrierConfig = null; in initApnContexts()
1069 initApnContexts(carrierConfig); in initApnContexts()
1073 private void initApnContexts(PersistableBundle carrierConfig) { in initApnContexts() argument
1082 new ApnConfigTypeRepository(carrierConfig).getTypes(); in initApnContexts()
1115 PersistableBundle carrierConfig; in sortApnContextByPriority() local
1119 carrierConfig = configManager.getConfigForSubId(mPhone.getSubId()); in sortApnContextByPriority()
1121 carrierConfig = null; in sortApnContextByPriority()
1127 new ApnConfigTypeRepository(carrierConfig).getTypes(); in sortApnContextByPriority()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaApiTest.java127 CarrierConfig carrierConfig = in queryEntitlementStatus_hasAuthenticationToken() local
134 ImmutableList.of(ServiceEntitlement.APP_VOWIFI), carrierConfig, request); in queryEntitlementStatus_hasAuthenticationToken()
159 CarrierConfig carrierConfig = CarrierConfig.builder().setServerUrl(TEST_URL).build(); in queryEntitlementStatus_noAuthenticationToken() local
164 ImmutableList.of(ServiceEntitlement.APP_VOWIFI), carrierConfig, request); in queryEntitlementStatus_noAuthenticationToken()
188 CarrierConfig carrierConfig = in queryEntitlementStatus_hasAuthenticationToken_multipleAppIds() local
193 mEapAkaApi.queryEntitlementStatus(appIds, carrierConfig, request); in queryEntitlementStatus_hasAuthenticationToken_multipleAppIds()
208 CarrierConfig carrierConfig = in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException() local
216 carrierConfig, in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException()
245 CarrierConfig carrierConfig = CarrierConfig.builder().setServerUrl(TEST_URL).build(); in queryEntitlementStatus_noAuthenticationToken_handleEapAkaSyncFailure() local
250 ImmutableList.of(ServiceEntitlement.APP_VOWIFI), carrierConfig, request); in queryEntitlementStatus_noAuthenticationToken_handleEapAkaSyncFailure()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkRegistrationManager.java315 String carrierConfig; in getPackageName() local
320 carrierConfig = CarrierConfigManager in getPackageName()
325 carrierConfig = CarrierConfigManager in getPackageName()
338 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getPackageName()
340 packageName = b.getString(carrierConfig, packageName); in getPackageName()
349 String carrierConfig; in getClassName() local
354 carrierConfig = CarrierConfigManager in getClassName()
359 carrierConfig = CarrierConfigManager in getClassName()
372 if (b != null && !TextUtils.isEmpty(b.getString(carrierConfig))) { in getClassName()
374 className = b.getString(carrierConfig, className); in getClassName()
DPhoneSwitcher.java918 PersistableBundle carrierConfig; in createApnRepository() local
920 carrierConfig = configManager.getConfigForSubId(subId); in createApnRepository()
922 carrierConfig = null; in createApnRepository()
924 return new ApnConfigTypeRepository(carrierConfig); in createApnRepository()
/frameworks/base/services/core/java/com/android/server/vcn/
DUnderlyingNetworkTracker.java547 private static int getWifiEntryRssiThreshold(@Nullable PersistableBundle carrierConfig) { in getWifiEntryRssiThreshold() argument
548 if (carrierConfig != null) { in getWifiEntryRssiThreshold()
549 return carrierConfig.getInt( in getWifiEntryRssiThreshold()
557 private static int getWifiExitRssiThreshold(@Nullable PersistableBundle carrierConfig) { in getWifiExitRssiThreshold() argument
558 if (carrierConfig != null) { in getWifiExitRssiThreshold()
559 return carrierConfig.getInt( in getWifiExitRssiThreshold()
618 PersistableBundle carrierConfig) { in calculatePriorityClass() argument
649 if (caps.getSignalStrength() >= getWifiExitRssiThreshold(carrierConfig) in calculatePriorityClass()
655 if (caps.getSignalStrength() >= getWifiEntryRssiThreshold(carrierConfig)) { in calculatePriorityClass()
676 PersistableBundle carrierConfig) { in getComparator() argument
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishServiceDescTracker.java122 public static PublishServiceDescTracker fromCarrierConfig(String[] carrierConfig) { in fromCarrierConfig() argument
131 if (carrierConfig != null) { in fromCarrierConfig()
132 for (String entry : carrierConfig) { in fromCarrierConfig()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java764 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() local
778 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() local
796 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticAddToGroup() local
811 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticAddToGroup() local
831 PersistableBundle carrierConfig = getCarrierConfigForSubInfoUpdate( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup() local
848 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup() local
875 PersistableBundle carrierConfig = new PersistableBundle(); in testUpdateFromCarrierConfigCarrierCertificates() local
876 carrierConfig.putStringArray( in testUpdateFromCarrierConfigCarrierCertificates()
891 carrierPackageName, carrierConfig); in testUpdateFromCarrierConfigCarrierCertificates() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java829 Map<Integer, String> carrierConfig = mCarrierServices.get(slotId); in getCarrierConfiguredPackageNames() local
830 if (carrierConfig == null) { in getCarrierConfiguredPackageNames()
831 carrierConfig = new ArrayMap<>(); in getCarrierConfiguredPackageNames()
832 mCarrierServices.put(slotId, carrierConfig); in getCarrierConfiguredPackageNames()
834 return carrierConfig; in getCarrierConfiguredPackageNames()
858 SparseArray<String> carrierConfig = mOverrideServices.get(slotId); in getOverridePackageName() local
859 if (carrierConfig == null) { in getOverridePackageName()
860 carrierConfig = new SparseArray<>(); in getOverridePackageName()
861 mOverrideServices.put(slotId, carrierConfig); in getOverridePackageName()
863 return carrierConfig; in getOverridePackageName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java1479 PersistableBundle carrierConfig = carrierConfigManager.getConfigForSubId(subId); in updateCarrierConfiguration() local
1480 if (carrierConfig == null) { in updateCarrierConfiguration()
1487 updateCarrierConfigCache(carrierConfig); in updateCarrierConfiguration()
1499 public void updateCarrierConfigCache(PersistableBundle carrierConfig) { in updateCarrierConfigCache() argument
1501 carrierConfig.getBoolean(CarrierConfigManager.KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL); in updateCarrierConfigCache()
1503 carrierConfig.getBoolean( in updateCarrierConfigCache()
1506 carrierConfig.getBoolean( in updateCarrierConfigCache()
1509 carrierConfig.getBoolean( in updateCarrierConfigCache()
1512 carrierConfig.getBoolean( in updateCarrierConfigCache()
1514 mNotifyVtHandoverToWifiFail = carrierConfig.getBoolean( in updateCarrierConfigCache()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabControllerImpl.java473 PersistableBundle carrierConfig = in getNonRcsCapabilityCacheExpiration() local
476 if (carrierConfig != null) { in getNonRcsCapabilityCacheExpiration()
477 value = carrierConfig.getInt( in getNonRcsCapabilityCacheExpiration()