Home
last modified time | relevance | path

Searched refs:apnType (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAccessNetworksManager.java149 public final int apnType; field in AccessNetworksManager.QualifiedNetworks
154 public QualifiedNetworks(@ApnType int apnType, @NonNull int[] qualifiedNetworks) { in QualifiedNetworks() argument
155 this.apnType = apnType; in QualifiedNetworks()
166 + ApnSetting.getApnTypeString(apnType) in toString()
260 for (int apnType : SUPPORTED_APN_TYPES) { in handleQualifiedNetworksChanged()
261 if ((apnTypes & apnType) == apnType) { in handleQualifiedNetworksChanged()
264 satisfiedApnTypes |= apnType; in handleQualifiedNetworksChanged()
267 if (mAvailableNetworks.get(apnType) != null) { in handleQualifiedNetworksChanged()
268 if (Arrays.equals(mAvailableNetworks.get(apnType), in handleQualifiedNetworksChanged()
271 + ApnSetting.getApnTypesStringFromBitmask(apnType) in handleQualifiedNetworksChanged()
[all …]
DDataSettingsManager.java427 public boolean isDataEnabled(@ApnType int apnType) { in isDataEnabled() argument
433 boolean isDataEnabledOverridden = isDataEnabledOverriddenForApn(apnType); in isDataEnabled()
767 private boolean isDataEnabledOverriddenForApn(@ApnType int apnType) { in isDataEnabledOverriddenForApn() argument
772 overridden = apnType == ApnSetting.TYPE_MMS; in isDataEnabledOverriddenForApn()
DTelephonyNetworkRequest.java342 .filter(apnType -> apnType != ApnSetting.TYPE_NONE) in canBeSatisfiedBy()
DDataUtils.java301 public static int apnTypeToNetworkCapability(@ApnType int apnType) {
302 return switch (apnType) {
DDataProfileManager.java618 for (int apnType : mDataConfigManager.getAllowedInitialAttachApnTypes()) { in updateInitialAttachDataProfileAtModem()
620 .filter(dp -> dp.canSatisfy(DataUtils.apnTypeToNetworkCapability(apnType))) in updateInitialAttachDataProfileAtModem()
DDataRetryManager.java1866 .map(apnType -> {
1868 .setApnType(apnType)
DDataNetwork.java3713 for (int apnType : mDataProfile.getApnSetting().getApnTypes()) {
3715 intent.putExtra(TelephonyManager.EXTRA_APN_TYPE, apnType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataConnectionStateTracker.java128 public int getDataState(int apnType) { in getDataState() argument
129 if (!mLastPreciseDataConnectionState.containsKey(apnType)) { in getDataState()
132 return mLastPreciseDataConnectionState.get(apnType).getState(); in getDataState()
158 for (int apnType : apnTypes) { in notifyDataConnectionStateChanged()
159 mLastPreciseDataConnectionState.put(apnType, connectionState); in notifyDataConnectionStateChanged()
DVoiceCallSessionStats.java770 int apnType = isEmergency ? ApnSetting.TYPE_EMERGENCY : ApnSetting.TYPE_IMS; in isHandoverInProgress() local
771 int dataState = DataConnectionStateTracker.getInstance(mPhoneId).getDataState(apnType); in isHandoverInProgress()
/frameworks/base/telephony/java/android/telephony/data/
DThrottleStatus.java313 public Builder setApnType(@Annotation.ApnType int apnType) { in setApnType() argument
314 this.mApnType = apnType; in setApnType()
DApnSetting.java1488 String apnType = getApnTypesStringFromBitmask(mApnTypeBitmask); in toContentValues() local
1489 apnValue.put(Telephony.Carriers.TYPE, nullToEmpty(apnType)); in toContentValues()
1567 public static @NonNull @ApnTypeString String getApnTypeString(@ApnType int apnType) { in getApnTypeString() argument
1568 if (apnType == TYPE_ALL) { in getApnTypeString()
1571 String apnTypeString = APN_TYPE_INT_MAP.get(apnType); in getApnTypeString()
1584 public static @ApnType int getApnTypeInt(@NonNull @ApnTypeString String apnType) { in getApnTypeInt() argument
1585 return APN_TYPE_STRING_MAP.getOrDefault(apnType.toLowerCase(Locale.ROOT), 0); in getApnTypeInt()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DDomainSelectionConnection.java755 public int getPreferredTransport(@ApnType int apnType, in getPreferredTransport() argument
759 if (networks.apnType == apnType) { in getPreferredTransport()
765 loge("getPreferredTransport no network found for " + ApnSetting.getApnTypeString(apnType)); in getPreferredTransport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierSignalAgent.java428 int apnType = original.getIntExtra(TelephonyManager.EXTRA_APN_TYPE, in createCompatIntent() local
430 compatIntent.putExtra(TelephonyIntents.EXTRA_APN_TYPE_INT, apnType); in createCompatIntent()
432 ApnSetting.getApnTypesStringFromBitmask(apnType)); in createCompatIntent()
DPhoneInternalInterface.java292 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument
302 PreciseDataConnectionState getPreciseDataConnectionState(String apnType); in getPreciseDataConnectionState() argument
DPhone.java2915 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
2920 public @Nullable PreciseDataConnectionState getPreciseDataConnectionState(String apnType) { in getPreciseDataConnectionState() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java318 int apnType = originalIntent.getIntExtra(TelephonyManager.EXTRA_APN_TYPE, in verifyLegacyApnTypes() local
320 String apnTypeString = ApnSetting.getApnTypeString(apnType); in verifyLegacyApnTypes()
325 assertEquals(apnType, in verifyLegacyApnTypes()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl2219 boolean isDataEnabledForApn(int apnType, int subId, String callingPackage); in isDataEnabledForApn() argument
2221 boolean isApnMetered(int apnType, int subId); in isApnMetered() argument
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java16114 public boolean isDataEnabledForApn(@ApnType int apnType) { in isDataEnabledForApn() argument
16119 return service.isDataEnabledForApn(apnType, getSubId(), pkgForDebug); in isDataEnabledForApn()
16138 public boolean isApnMetered(@ApnType int apnType) { in isApnMetered() argument
16142 return service.isApnMetered(apnType, getSubId()); in isApnMetered()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java2998 int state, int apnType) { in makePreciseDataConnectionState() argument
3004 .setApnTypeBitmask(apnType) in makePreciseDataConnectionState()