/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 438 String apn = networkAttributes.mApn; 450 apn, 460 apn != null ? apn : "", 503 String apn = null; 505 apn = info.getExtraInfo(); 518 if (apn == null) { 521 apn = "dummy-apn"; 531 int apnIpType = getApnIpType(apn); 535 apn, 539 native_agps_data_conn_open(network.getNetworkHandle(), apn, apnIpType); [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 355 String apn = cursor.getString(cursor.getColumnIndexOrThrow( in getPreferApn() local 357 logd("[getPreferApn]- " + apn); in getPreferApn() 358 return apn; in getPreferApn() 388 public void setTestOverrideApn(String apn) { in setTestOverrideApn() argument 389 logd("[setTestOverrideApn]: " + apn); in setTestOverrideApn() 390 mTestOverrideApn = apn; in setTestOverrideApn() 528 public final String apn; field in CarrierResolver.CarrierMatchingRule 543 String gid1, String gid2, String plmn, String spn, String apn, in CarrierMatchingRule() argument 552 this.apn = apn; in CarrierMatchingRule() 567 apn = rule.apn; in CarrierMatchingRule() [all …]
|
D | RetryManager.java | 608 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument 609 if (apn != null) { in markApnPermanentFailed() 610 apn.setPermanentFailed(true); in markApnPermanentFailed() 642 for (ApnSetting apn : mWaitingApns) { in setWaitingApns() 643 apn.setPermanentFailed(false); in setWaitingApns()
|
D | PhoneNotifier.java | 75 void notifyDataConnectionFailed(Phone sender, String apnType, String apn, in notifyDataConnectionFailed() argument
|
D | DefaultPhoneNotifier.java | 175 String apn, @DataFailureCause int failCause) { in notifyDataConnectionFailed() 178 ApnSetting.getApnTypesBitmaskFromString(apnType), apn, failCause); in notifyDataConnectionFailed() local
|
D | PhoneSwitcher.java | 758 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectRequestNetworkMetrics() 770 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectReleaseNetworkMetrics()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | ApnSetting.java | 901 public static ApnSetting makeApnSetting(ApnSetting apn) { in makeApnSetting() argument 902 return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName, in makeApnSetting() 903 apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress, in makeApnSetting() 904 apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask, in makeApnSetting() 905 apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask, in makeApnSetting() 906 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting() 907 apn.mMaxConnsTime, apn.mMtu, apn.mMvnoType, apn.mMvnoMatchData, apn.mApnSetId, in makeApnSetting() 908 apn.mCarrierId, apn.mSkip464Xlat); in makeApnSetting() 1113 ApnSetting apn = fromString(apnString); in arrayFromString() local 1114 if (apn != null) { in arrayFromString() [all …]
|
D | DataProfile.java | 108 private DataProfile(int profileId, String apn, @ProtocolType int protocolType, int authType, in DataProfile() argument 115 this.mApn = apn; in DataProfile() 438 public @NonNull Builder setApn(@NonNull String apn) { in setApn() argument 439 mApn = apn; in setApn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 1574 ApnSetting apn = apnContext != null ? apnContext.getApnSetting() : null; in trySetupData() local 1576 apn != null ? apn.getApnName() : null, in trySetupData() 1834 for (ApnSetting apn : mAllApnSettings) { in fetchDunApns() 1835 if (apn.canHandleType(ApnSetting.TYPE_DUN)) { in fetchDunApns() 1836 dunCandidates.add(apn); in fetchDunApns() 2068 for (ApnSetting apn : mAllApnSettings) { in setInitialAttachApn() 2070 && !apn.isEmergencyApn()) { in setInitialAttachApn() 2071 firstNonEmergencyApnSetting = apn; in setInitialAttachApn() 2075 if (apn.canHandleType(ApnSetting.TYPE_IA)) { in setInitialAttachApn() 2077 log("setInitialApn: iaApnSetting=" + apn); in setInitialAttachApn() [all …]
|
D | ApnSettingUtils.java | 188 public static boolean isMetered(ApnSetting apn, Phone phone) { in isMetered() argument 189 if (phone == null || apn == null) { in isMetered() 193 for (int apnType : apn.getApnTypes()) { in isMetered()
|
D | ApnContext.java | 259 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument 260 mRetryManager.markApnPermanentFailed(apn); in markApnPermanentFailed()
|
D | DataConnection.java | 569 private void checkSetMtu(ApnSetting apn, LinkProperties lp) { in checkSetMtu() argument 572 if (apn == null || lp == null) return; in checkSetMtu() 579 if (apn != null && apn.getMtu() != PhoneConstants.UNSET_MTU) { in checkSetMtu() 580 lp.setMtu(apn.getMtu()); in checkSetMtu() 581 if (DBG) log("MTU set by APN to: " + apn.getMtu()); in checkSetMtu()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 77 @ApnType int apnTypes, @NonNull String apn, in PreciseDataConnectionState() argument 80 this(state, networkType, apnTypes, apn, linkProperties, failCause, null); in PreciseDataConnectionState() 100 @ApnType int apnTypes, @NonNull String apn, in PreciseDataConnectionState() argument 107 mApn = apn; in PreciseDataConnectionState()
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyRegistryManager.java | 628 @Nullable String apn, @DataFailureCause int failCause) { in notifyPreciseDataConnectionFailed() argument 630 sRegistry.notifyPreciseDataConnectionFailed(slotIndex, subId, apnType, apn, failCause); in notifyPreciseDataConnectionFailed()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 302 ApnSetting apn = ApnSetting.makeApnSetting( in testToString() local 310 assertEquals(expected, apn.toString()); in testToString() 313 apn = ApnSetting.makeApnSetting( in testToString() 321 assertEquals(expected, apn.toString()); in testToString()
|
D | RetryManagerTest.java | 384 ApnSetting apn = ApnSetting.makeApnSetting(mApn1); in testRetryManagerApnPermanentFailed() local 385 waitingApns.add(apn); in testRetryManagerApnPermanentFailed() 400 rm.markApnPermanentFailed(apn); in testRetryManagerApnPermanentFailed()
|
D | DataConnectionTest.java | 696 private boolean testShouldSkip464XlatEvent(ApnSetting apn) throws Exception { in testShouldSkip464XlatEvent() argument 700 doReturn(apn).when(mApnContext).getApnSetting(); in testShouldSkip464XlatEvent()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 2716 static void dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, jint apnIpType); 2718 jstring apn, jint apnIpType); 2733 void AGnssDispatcher::dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, in dataConnOpen() argument 2735 ScopedJniString jniApn{env, apn}; in dataConnOpen() 2742 jlong networkHandle, jstring apn, jint apnIpType) { in dataConnOpen() argument 2743 ScopedJniString jniApn{env, apn}; in dataConnOpen() 2771 JNIEnv* env, jobject /* obj */, jlong networkHandle, jstring apn, jint apnIpType) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() argument 2772 if (apn == nullptr) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() 2778 AGnssDispatcher::dataConnOpen(agnssIface_V2_0, env, networkHandle, apn, apnIpType); in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() 2780 AGnssDispatcher::dataConnOpen(agnssIface, env, apn, apnIpType); in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() [all …]
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 80 void notifyPreciseDataConnectionFailed(int phoneId, int subId, int apnType, String apn, in notifyPreciseDataConnectionFailed() argument
|
/frameworks/opt/telephony/proto/src/ |
D | carrierId.proto | 79 // [Optional] The Access Point Name, corresponding to "apn" field returned by
|
D | telephony.proto | 910 /** The apn associated with this event. */ 911 optional ApnType apn = 1; field 948 optional string apn = 3; field 1735 // The Access Point Name, corresponding to "apn" field returned by 1737 // Sample values: fast.t-mobile.com, internet. Note only log if this apn is not user edited.
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 1700 String apn = ""; in notifyDataConnectionForSubscriber() local 1706 apn = preciseState.getDataConnectionApn(); in notifyDataConnectionForSubscriber() 1713 + " state=" + state + "' apn='" + apn in notifyDataConnectionForSubscriber() 1779 broadcastDataConnectionStateChanged(state, apn, apnType, subId); in notifyDataConnectionForSubscriber() 1976 String apn, @DataFailureCause int failCause) { in notifyPreciseDataConnectionFailed() argument 2580 private void broadcastDataConnectionStateChanged(int state, String apn, in broadcastDataConnectionStateChanged() argument 2587 intent.putExtra(PHONE_CONSTANTS_DATA_APN_KEY, apn); in broadcastDataConnectionStateChanged()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 595 public void setupDataCall(String radioTechnology, String profile, String apn, String user, 644 public void setInitialAttachApn(String apn, String protocol, int authType, String username,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1420 public void writeSetupDataCall(int phoneId, int radioTechnology, int profileId, String apn, in writeSetupDataCall() argument 1426 if (apn != null) { in writeSetupDataCall() 1427 setupDataCall.apn = apn; in writeSetupDataCall() 2577 carrierIdMatchingResult.preferApn = TelephonyUtils.emptyIfNull(simInfo.apn); in writeCarrierIdMatchingEvent()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 1906 String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn); in setCarrierTestOverride() argument
|