/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | AccessNetworksManager.java | 149 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 …]
|
D | DataSettingsManager.java | 427 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()
|
D | TelephonyNetworkRequest.java | 342 .filter(apnType -> apnType != ApnSetting.TYPE_NONE) in canBeSatisfiedBy()
|
D | DataUtils.java | 301 public static int apnTypeToNetworkCapability(@ApnType int apnType) { 302 return switch (apnType) {
|
D | DataProfileManager.java | 618 for (int apnType : mDataConfigManager.getAllowedInitialAttachApnTypes()) { in updateInitialAttachDataProfileAtModem() 620 .filter(dp -> dp.canSatisfy(DataUtils.apnTypeToNetworkCapability(apnType))) in updateInitialAttachDataProfileAtModem()
|
D | DataRetryManager.java | 1866 .map(apnType -> { 1868 .setApnType(apnType)
|
D | DataNetwork.java | 3713 for (int apnType : mDataProfile.getApnSetting().getApnTypes()) { 3715 intent.putExtra(TelephonyManager.EXTRA_APN_TYPE, apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataConnectionStateTracker.java | 128 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()
|
D | VoiceCallSessionStats.java | 770 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/ |
D | ThrottleStatus.java | 313 public Builder setApnType(@Annotation.ApnType int apnType) { in setApnType() argument 314 this.mApnType = apnType; in setApnType()
|
D | ApnSetting.java | 1488 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/ |
D | DomainSelectionConnection.java | 755 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/ |
D | CarrierSignalAgent.java | 428 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()
|
D | PhoneInternalInterface.java | 292 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument 302 PreciseDataConnectionState getPreciseDataConnectionState(String apnType); in getPreciseDataConnectionState() argument
|
D | Phone.java | 2915 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/ |
D | CarrierSignalAgentTest.java | 318 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/ |
D | ITelephony.aidl | 2219 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/ |
D | TelephonyManager.java | 16114 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/ |
D | VoiceCallSessionStatsTest.java | 2998 int state, int apnType) { in makePreciseDataConnectionState() argument 3004 .setApnTypeBitmask(apnType) in makePreciseDataConnectionState()
|