Home
last modified time | relevance | path

Searched refs:apn (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java331 String apn = networkAttributes.mApn;
343 apn,
353 apn != null ? apn : "",
396 String apn = null;
398 apn = info.getExtraInfo();
411 if (apn == null) {
414 apn = "dummy-apn";
424 int apnIpType = getApnIpType(apn);
428 apn,
432 native_agps_data_conn_open(network.getNetworkHandle(), apn, apnIpType);
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java354 String apn = cursor.getString(cursor.getColumnIndexOrThrow( in getPreferApn() local
356 logd("[getPreferApn]- " + apn); in getPreferApn()
357 return apn; in getPreferApn()
387 public void setTestOverrideApn(String apn) { in setTestOverrideApn() argument
388 logd("[setTestOverrideApn]: " + apn); in setTestOverrideApn()
389 mTestOverrideApn = apn; in setTestOverrideApn()
527 public final String apn; field in CarrierResolver.CarrierMatchingRule
542 String gid1, String gid2, String plmn, String spn, String apn, in CarrierMatchingRule() argument
551 this.apn = apn; in CarrierMatchingRule()
566 apn = rule.apn; in CarrierMatchingRule()
[all …]
DRetryManager.java606 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument
607 if (apn != null) { in markApnPermanentFailed()
608 apn.setPermanentFailed(true); in markApnPermanentFailed()
640 for (ApnSetting apn : mWaitingApns) { in setWaitingApns()
641 apn.setPermanentFailed(false); in setWaitingApns()
DPhoneNotifier.java75 void notifyDataConnectionFailed(Phone sender, String apnType, String apn, in notifyDataConnectionFailed() argument
DDefaultPhoneNotifier.java182 String apn, @DataFailureCause int failCause) { in notifyDataConnectionFailed()
184 sender.getPhoneId(), apnType, apn, failCause); in notifyDataConnectionFailed() local
DPhoneSwitcher.java749 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectRequestNetworkMetrics()
761 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectReleaseNetworkMetrics()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java898 public static ApnSetting makeApnSetting(ApnSetting apn) { in makeApnSetting() argument
899 return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName, in makeApnSetting()
900 apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress, in makeApnSetting()
901 apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask, in makeApnSetting()
902 apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask, in makeApnSetting()
903 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting()
904 apn.mMaxConnsTime, apn.mMtu, apn.mMvnoType, apn.mMvnoMatchData, apn.mApnSetId, in makeApnSetting()
905 apn.mCarrierId, apn.mSkip464Xlat); in makeApnSetting()
1110 ApnSetting apn = fromString(apnString); in arrayFromString() local
1111 if (apn != null) { in arrayFromString()
[all …]
DDataProfile.java108 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/
DDcTracker.java1544 ApnSetting apn = apnContext != null ? apnContext.getApnSetting() : null; in trySetupData() local
1546 apn != null ? apn.getApnName() : null, in trySetupData()
1817 for (ApnSetting apn : mAllApnSettings) { in fetchDunApns()
1818 if (apn.canHandleType(ApnSetting.TYPE_DUN)) { in fetchDunApns()
1819 dunCandidates.add(apn); in fetchDunApns()
2051 for (ApnSetting apn : mAllApnSettings) { in setInitialAttachApn()
2053 && !apn.isEmergencyApn()) { in setInitialAttachApn()
2054 firstNonEmergencyApnSetting = apn; in setInitialAttachApn()
2058 if (apn.canHandleType(ApnSetting.TYPE_IA)) { in setInitialAttachApn()
2060 log("setInitialApn: iaApnSetting=" + apn); in setInitialAttachApn()
[all …]
DApnSettingUtils.java188 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()
DApnContext.java258 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument
259 mRetryManager.markApnPermanentFailed(apn); in markApnPermanentFailed()
DDataConnection.java586 private void checkSetMtu(ApnSetting apn, LinkProperties lp) { in checkSetMtu() argument
589 if (apn == null || lp == null) return; in checkSetMtu()
596 if (apn != null && apn.getMtu() != PhoneConstants.UNSET_MTU) { in checkSetMtu()
597 lp.setMtu(apn.getMtu()); in checkSetMtu()
598 if (DBG) log("MTU set by APN to: " + apn.getMtu()); in checkSetMtu()
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java77 @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/
DTelephonyRegistryManager.java536 @Nullable String apn, @DataFailureCause int failCause) { in notifyPreciseDataConnectionFailed() argument
538 sRegistry.notifyPreciseDataConnectionFailed(slotIndex, subId, apnType, apn, failCause); in notifyPreciseDataConnectionFailed()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2246 static void dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, jint apnIpType);
2248 jstring apn, jint apnIpType);
2263 void AGnssDispatcher::dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, in dataConnOpen() argument
2265 ScopedJniString jniApn{env, apn}; in dataConnOpen()
2274 jlong networkHandle, jstring apn, jint apnIpType) { in dataConnOpen() argument
2275 ScopedJniString jniApn{env, apn}; in dataConnOpen()
2311 JNIEnv* env, jobject /* obj */, jlong networkHandle, jstring apn, jint apnIpType) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() argument
2312 if (apn == nullptr) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open()
2318 AGnssDispatcher::dataConnOpen(agnssIface_V2_0, env, networkHandle, apn, apnIpType); in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open()
2320 AGnssDispatcher::dataConnOpen(agnssIface, env, apn, apnIpType); in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java302 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()
DRetryManagerTest.java384 ApnSetting apn = ApnSetting.makeApnSetting(mApn1); in testRetryManagerApnPermanentFailed() local
385 waitingApns.add(apn); in testRetryManagerApnPermanentFailed()
400 rm.markApnPermanentFailed(apn); in testRetryManagerApnPermanentFailed()
DDataConnectionTest.java700 private boolean testShouldSkip464XlatEvent(ApnSetting apn) throws Exception { in testShouldSkip464XlatEvent() argument
704 doReturn(apn).when(mApnContext).getApnSetting(); in testShouldSkip464XlatEvent()
/frameworks/base/core/java/com/android/internal/telephony/
DITelephonyRegistry.aidl81 void notifyPreciseDataConnectionFailed(int phoneId, int subId, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
/frameworks/opt/telephony/proto/src/
DcarrierId.proto79 // [Optional] The Access Point Name, corresponding to "apn" field returned by
Dtelephony.proto910 /** 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/
DTelephonyRegistry.java1695 String apn = ""; in notifyDataConnectionForSubscriber() local
1701 apn = preciseState.getDataConnectionApn(); in notifyDataConnectionForSubscriber()
1708 + " state=" + state + "' apn='" + apn in notifyDataConnectionForSubscriber()
1774 broadcastDataConnectionStateChanged(state, apn, apnType, subId); in notifyDataConnectionForSubscriber()
1970 String apn, @DataFailureCause int failCause) { in notifyPreciseDataConnectionFailed()
2554 private void broadcastDataConnectionStateChanged(int state, String apn, in broadcastDataConnectionStateChanged() argument
2562 intent.putExtra(PhoneConstants.DATA_APN_KEY, apn); in broadcastDataConnectionStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken595 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/
DTelephonyMetrics.java1400 public void writeSetupDataCall(int phoneId, int radioTechnology, int profileId, String apn, in writeSetupDataCall() argument
1406 if (apn != null) { in writeSetupDataCall()
1407 setupDataCall.apn = apn; in writeSetupDataCall()
2548 carrierIdMatchingResult.preferApn = TelephonyUtils.emptyIfNull(simInfo.apn); in writeCarrierIdMatchingEvent()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1893 String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn); in setCarrierTestOverride() argument

12