Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java327 String apn = networkAttributes.mApn;
339 apn,
349 apn != null ? apn : "",
392 String apn = null;
394 apn = info.getExtraInfo();
407 if (apn == null) {
410 apn = "dummy-apn";
420 int apnIpType = getApnIpType(apn);
424 apn,
428 native_agps_data_conn_open(network.getNetworkHandle(), apn, apnIpType);
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java353 String apn = cursor.getString(cursor.getColumnIndexOrThrow( in getPreferApn() local
355 logd("[getPreferApn]- " + apn); in getPreferApn()
356 return apn; in getPreferApn()
386 public void setTestOverrideApn(String apn) { in setTestOverrideApn() argument
387 logd("[setTestOverrideApn]: " + apn); in setTestOverrideApn()
388 mTestOverrideApn = apn; in setTestOverrideApn()
526 public final String apn; field in CarrierResolver.CarrierMatchingRule
541 String gid1, String gid2, String plmn, String spn, String apn, in CarrierMatchingRule() argument
550 this.apn = apn; in CarrierMatchingRule()
565 apn = rule.apn; in CarrierMatchingRule()
[all …]
DRetryManager.java605 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument
606 if (apn != null) { in markApnPermanentFailed()
607 apn.setPermanentFailed(true); in markApnPermanentFailed()
639 for (ApnSetting apn : mWaitingApns) { in setWaitingApns()
640 apn.setPermanentFailed(false); in setWaitingApns()
DPhoneNotifier.java70 public void notifyPreciseDataConnectionFailed(Phone sender, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
DDefaultPhoneNotifier.java304 String apn, @DataFailCause.FailCause int failCause) { in notifyPreciseDataConnectionFailed()
307 apnType, apn, failCause); in notifyPreciseDataConnectionFailed() local
DPhoneSwitcher.java706 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectRequestNetworkMetrics()
718 onDemandDataSwitch.apn = TelephonyEvent.ApnType.APN_TYPE_MMS; in collectReleaseNetworkMetrics()
DPhone.java3247 public void notifyPreciseDataConnectionFailed(String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
3249 mNotifier.notifyPreciseDataConnectionFailed(this, apnType, apn, failCause); in notifyPreciseDataConnectionFailed()
4008 String gid2, String pnn, String spn, String carrierPrivilegeRules, String apn) { in setCarrierTestOverride() argument
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java796 public static ApnSetting makeApnSetting(ApnSetting apn) { in makeApnSetting() argument
797 return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName, in makeApnSetting()
798 apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress, in makeApnSetting()
799 apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask, in makeApnSetting()
800 apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask, in makeApnSetting()
801 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting()
802 apn.mMaxConnsTime, apn.mMtu, apn.mMvnoType, apn.mMvnoMatchData, apn.mApnSetId, in makeApnSetting()
803 apn.mCarrierId, apn.mSkip464Xlat); in makeApnSetting()
1008 ApnSetting apn = fromString(apnString); in arrayFromString() local
1009 if (apn != null) { in arrayFromString()
[all …]
DDataProfile.java106 private DataProfile(int profileId, String apn, @ProtocolType int protocolType, int authType, in DataProfile() argument
114 this.mApn = apn; in DataProfile()
417 public @NonNull Builder setApn(@NonNull String apn) { in setApn() argument
418 mApn = apn; in setApn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1751 for (ApnSetting apn : mAllApnSettings) { in fetchDunApns()
1752 if (apn.canHandleType(ApnSetting.TYPE_DUN)) { in fetchDunApns()
1753 dunCandidates.add(apn); in fetchDunApns()
1987 for (ApnSetting apn : mAllApnSettings) { in setInitialAttachApn()
1989 && !apn.canHandleType(ApnSetting.TYPE_EMERGENCY)) { in setInitialAttachApn()
1990 firstNonEmergencyApnSetting = apn; in setInitialAttachApn()
1994 if (apn.canHandleType(ApnSetting.TYPE_IA)) { in setInitialAttachApn()
1996 log("setInitialApn: iaApnSetting=" + apn); in setInitialAttachApn()
1997 iaApnSetting = apn; in setInitialAttachApn()
2000 && (apn.canHandleType(ApnSetting.TYPE_DEFAULT))) { 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.java246 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument
247 mRetryManager.markApnPermanentFailed(apn); in markApnPermanentFailed()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl57 String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument
61 String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnectionForSubscriber() argument
78 void notifyPreciseDataConnectionFailed(int phoneId, int subId, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
DITelephony.aidl1702 String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn); in setCarrierTestOverride() argument
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java65 @ApnSetting.ApnType int apnTypes, String apn, in PreciseDataConnectionState() argument
71 mAPN = apn; in PreciseDataConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DTelephonyRegistryMock.java312 String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
319 boolean isDataConnectivityPossible, String apn, String apnType, in notifyDataConnectionForSubscriber() argument
391 String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1412 public void notifyDataConnection(int state, boolean isDataAllowed, String apn, String apnType, in notifyDataConnection() argument
1418 isDataAllowed, apn, apnType, linkProperties, in notifyDataConnection()
1424 String apn, String apnType, in notifyDataConnectionForSubscriber() argument
1433 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType in notifyDataConnectionForSubscriber()
1469 ApnSetting.getApnTypesBitmaskFromString(apnType), apn, in notifyDataConnectionForSubscriber()
1486 broadcastDataConnectionStateChanged(state, isDataAllowed, apn, apnType, linkProperties, in notifyDataConnectionForSubscriber()
1488 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, in notifyDataConnectionForSubscriber()
1707 String apn, @DataFailCause.FailCause int failCause) { in notifyPreciseDataConnectionFailed()
1715 ApnSetting.getApnTypesBitmaskFromString(apnType), apn, null, failCause); in notifyPreciseDataConnectionFailed()
1733 TelephonyManager.NETWORK_TYPE_UNKNOWN, apnType, apn, null, failCause); in notifyPreciseDataConnectionFailed()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2226 static void dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, jint apnIpType);
2228 jstring apn, jint apnIpType);
2243 void AGnssDispatcher::dataConnOpen(sp<IAGnss_V1_0> agnssIface, JNIEnv* env, jstring apn, in dataConnOpen() argument
2245 ScopedJniString jniApn{env, apn}; in dataConnOpen()
2254 jlong networkHandle, jstring apn, jint apnIpType) { in dataConnOpen() argument
2255 ScopedJniString jniApn{env, apn}; in dataConnOpen()
2291 JNIEnv* env, jobject /* obj */, jlong networkHandle, jstring apn, jint apnIpType) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open() argument
2292 if (apn == nullptr) { in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open()
2298 AGnssDispatcher::dataConnOpen(agnssIface_V2_0, env, networkHandle, apn, apnIpType); in android_location_GnssNetworkConnectivityHandler_agps_data_conn_open()
2300 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.java625 private boolean testShouldSkip464XlatEvent(ApnSetting apn) throws Exception { in testShouldSkip464XlatEvent() argument
629 doReturn(apn).when(mApnContext).getApnSetting(); in testShouldSkip464XlatEvent()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto79 // [Optional] The Access Point Name, corresponding to "apn" field returned by
Dtelephony.proto819 /** The apn associated with this event. */
820 optional ApnType apn = 1; field
857 optional string apn = 3; field
1644 // The Access Point Name, corresponding to "apn" field returned by
1646 // Sample values: fast.t-mobile.com, internet. Note only log if this apn is not user edited.
/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.java1345 public void writeSetupDataCall(int phoneId, int radioTechnology, int profileId, String apn, in writeSetupDataCall() argument
1351 if (apn != null) { in writeSetupDataCall()
1352 setupDataCall.apn = apn; in writeSetupDataCall()
2479 carrierIdMatchingResult.preferApn = TextUtils.emptyIfNull(simInfo.apn); in writeCarrierIdMatchingEvent()

12